diff options
Diffstat (limited to 'dts/Bindings/mtd/mtd.yaml')
-rw-r--r-- | dts/Bindings/mtd/mtd.yaml | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/dts/Bindings/mtd/mtd.yaml b/dts/Bindings/mtd/mtd.yaml index 376b679cfc..ee442ecb11 100644 --- a/dts/Bindings/mtd/mtd.yaml +++ b/dts/Bindings/mtd/mtd.yaml @@ -4,15 +4,17 @@ $id: http://devicetree.org/schemas/mtd/mtd.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: MTD (Memory Technology Device) Device Tree Bindings +title: MTD (Memory Technology Device) maintainers: - Miquel Raynal <miquel.raynal@bootlin.com> - Richard Weinberger <richard@nod.at> +select: false + properties: $nodename: - pattern: "^flash(@.*)?$" + pattern: "^(flash|.*sram|nand)(@.*)?$" label: description: @@ -21,10 +23,35 @@ properties: based name) in order to ease flash device identification and/or describe what they are used for. + '#address-cells': + deprecated: true + + '#size-cells': + deprecated: true + + partitions: + $ref: /schemas/mtd/partitions/partitions.yaml + + required: + - compatible + patternProperties: + "@[0-9a-f]+$": + $ref: partitions/partition.yaml + deprecated: true + + "^partition@[0-9a-f]+": + $ref: partitions/partition.yaml + deprecated: true + "^otp(-[0-9]+)?$": type: object - $ref: ../nvmem/nvmem.yaml# + + allOf: + - $ref: ../nvmem/nvmem.yaml# + - $ref: ../nvmem/nvmem-deprecated-cells.yaml# + + unevaluatedProperties: false description: | An OTP memory region. Some flashes provide a one-time-programmable @@ -40,6 +67,7 @@ patternProperties: required: - compatible +# This is a generic file other binding inherit from additionalProperties: true examples: |