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) Device Tree Bindings
10 - Miquel Raynal <miquel.raynal@bootlin.com>
11 - Richard Weinberger <richard@nod.at>
15 pattern: "^flash(@.*)?$"
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.
27 $ref: ../nvmem/nvmem.yaml#
30 An OTP memory region. Some flashes provide a one-time-programmable
31 memory whose content can either be programmed by a user or is already
32 pre-programmed by the factory. Some flashes might provide both.
43 additionalProperties: true
53 compatible = "jedec,spi-nor";
54 label = "System-firmware";
65 compatible = "jedec,spi-nor";
68 compatible = "factory-otp";
72 electronic-serial-number@0 {
78 compatible = "user-otp";