xref: /linux/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml (revision b8fc42dc065742bc68df6a61a2aff8cbe364fa17)
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
7title: UBI volume
8
9description: |
10  This binding describes a single UBI volume. Volumes can be matches either
11  by their ID or their name, or both.
12
13maintainers:
14  - Daniel Golle <daniel@makrotopia.org>
15
16properties:
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
32anyOf:
33  - required:
34      - volid
35
36  - required:
37      - volname
38
39# This is a generic file other binding inherit from and extend
40additionalProperties: true
41