diff options
Diffstat (limited to 'dts/Bindings/mtd/mtd.yaml')
-rw-r--r-- | dts/Bindings/mtd/mtd.yaml | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/dts/Bindings/mtd/mtd.yaml b/dts/Bindings/mtd/mtd.yaml index 3498e48567..ee442ecb11 100644 --- a/dts/Bindings/mtd/mtd.yaml +++ b/dts/Bindings/mtd/mtd.yaml @@ -10,9 +10,11 @@ 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: |