xref: /linux/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1e17f38b7SDaniel Golle# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2e17f38b7SDaniel Golle%YAML 1.2
3e17f38b7SDaniel Golle---
4e17f38b7SDaniel Golle$id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml#
5e17f38b7SDaniel Golle$schema: http://devicetree.org/meta-schemas/core.yaml#
6e17f38b7SDaniel Golle
7e17f38b7SDaniel Golletitle: UBI volume
8e17f38b7SDaniel Golle
9e17f38b7SDaniel Golledescription: |
10e17f38b7SDaniel Golle  This binding describes a single UBI volume. Volumes can be matches either
11e17f38b7SDaniel Golle  by their ID or their name, or both.
12e17f38b7SDaniel Golle
13e17f38b7SDaniel Gollemaintainers:
14e17f38b7SDaniel Golle  - Daniel Golle <daniel@makrotopia.org>
15e17f38b7SDaniel Golle
16e17f38b7SDaniel Golleproperties:
17e17f38b7SDaniel Golle  volid:
18e17f38b7SDaniel Golle    $ref: /schemas/types.yaml#/definitions/uint32
19e17f38b7SDaniel Golle    description:
20e17f38b7SDaniel Golle      Match UBI volume ID
21e17f38b7SDaniel Golle
22e17f38b7SDaniel Golle  volname:
23e17f38b7SDaniel Golle    $ref: /schemas/types.yaml#/definitions/string
24e17f38b7SDaniel Golle    description:
25e17f38b7SDaniel Golle      Match UBI volume ID
26e17f38b7SDaniel Golle
27*a1de28ddSDaniel Golle  nvmem-layout:
28*a1de28ddSDaniel Golle    $ref: /schemas/nvmem/layouts/nvmem-layout.yaml#
29*a1de28ddSDaniel Golle    description:
30*a1de28ddSDaniel Golle      This container may reference an NVMEM layout parser.
31*a1de28ddSDaniel Golle
32e17f38b7SDaniel GolleanyOf:
33e17f38b7SDaniel Golle  - required:
34e17f38b7SDaniel Golle      - volid
35e17f38b7SDaniel Golle
36e17f38b7SDaniel Golle  - required:
37e17f38b7SDaniel Golle      - volname
38e17f38b7SDaniel Golle
39e17f38b7SDaniel Golle# This is a generic file other binding inherit from and extend
40e17f38b7SDaniel GolleadditionalProperties: true
41