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)(@.*)?$"
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
46 $ref: ../nvmem/nvmem.yaml#
47 unevaluatedProperties: false
50 An OTP memory region. Some flashes provide a one-time-programmable
51 memory whose content can either be programmed by a user or is already
52 pre-programmed by the factory. Some flashes might provide both.
63 # This is a generic file other binding inherit from
64 additionalProperties: true
74 compatible = "jedec,spi-nor";
75 label = "System-firmware";
86 compatible = "jedec,spi-nor";
89 compatible = "factory-otp";
93 electronic-serial-number@0 {
99 compatible = "user-otp";
100 #address-cells = <1>;