1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mtd/mtd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MTD (Memory Technology Device)
10 - Miquel Raynal <miquel.raynal@bootlin.com>
11 - Richard Weinberger <richard@nod.at>
15 pattern: "^(flash|.*sram|nand)(@.*)?$"
19 User-defined MTD device name. Can be used to assign user friendly
20 names to MTD devices (instead of the flash model or flash controller
21 based name) in order to ease flash device identification and/or
22 describe what they are used for.
31 $ref: /schemas/mtd/partitions/partitions.yaml
38 $ref: partitions/partition.yaml
41 "^partition@[0-9a-f]+":
42 $ref: partitions/partition.yaml
49 - $ref: ../nvmem/nvmem.yaml#
50 - $ref: ../nvmem/nvmem-deprecated-cells.yaml#
52 unevaluatedProperties: false
55 An OTP memory region. Some flashes provide a one-time-programmable
56 memory whose content can either be programmed by a user or is already
57 pre-programmed by the factory. Some flashes might provide both.
68 # This is a generic file other binding inherit from
69 additionalProperties: true
79 compatible = "jedec,spi-nor";
80 label = "System-firmware";
91 compatible = "jedec,spi-nor";
94 compatible = "factory-otp";
98 electronic-serial-number@0 {
104 compatible = "user-otp";
105 #address-cells = <1>;