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