| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: UBI volume |
| 8 |
|
| 9 |
description: | |
| 10 |
This binding describes a single UBI volume. Volumes can be matches either |
| 11 |
by their ID or their name, or both. |
| 12 |
|
| 13 |
maintainers: |
| 14 |
- Daniel Golle <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
volid: |
| 18 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 19 |
description: |
| 20 |
Match UBI volume ID |
| 21 |
|
| 22 |
volname: |
| 23 |
$ref: /schemas/types.yaml#/definitions/string |
| 24 |
description: |
| 25 |
Match UBI volume ID |
| 26 |
|
| 27 |
nvmem-layout: |
| 28 |
$ref: /schemas/nvmem/layouts/nvmem-layout.yaml# |
| 29 |
description: |
| 30 |
This container may reference an NVMEM layout parser. |
| 31 |
|
| 32 |
anyOf: |
| 33 |
- required: |
| 34 |
- volid |
| 35 |
|
| 36 |
- required: |
| 37 |
- volname |
| 38 |
|
| 39 |
# This is a generic file other binding inherit from and extend |
| 40 |
additionalProperties: true |