1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Fixed partitions
10 This binding can be used on platforms which have strong conventions about
11 which portions of a flash are used for what purposes, but which don't use an
12 on-flash partition table such as RedBoot.
14 The partition table should be a node named "partitions". Partitions are then
18 - Rafał Miłecki <rafal@milecki.pl>
22 const: fixed-partitions
24 "#address-cells": true
30 description: node describing a single flash partition
35 description: partition's offset and size within the flash
39 description: The label / name for this partition. If omitted, the label
40 is taken from the node name (excluding the unit address).
43 description: This parameter, if present, is a hint that this partition
44 should only be mounted read-only. This is usually used for flash
45 partitions containing early-boot firmware images or data which should
50 description: Do not unlock the partition at initialization time (not
51 supported on all devices)
55 description: This parameter, if present, allows one to emulate SLC mode
56 on a partition attached to an MLC NAND thus making this partition
57 immune to paired-pages corruptions
67 additionalProperties: true
72 compatible = "fixed-partitions";
78 reg = <0x0000000 0x100000>;
83 reg = <0x0100000 0x200000>;
88 compatible = "fixed-partitions";
92 /* a 4 GiB partition */
95 reg = <0x00000000 0x1 0x00000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <2>;
104 /* an 8 GiB partition */
106 label = "filesystem #1";
107 reg = <0x0 0x00000000 0x2 0x00000000>;
110 /* a 4 GiB partition */
111 partition@200000000 {
112 label = "filesystem #2";
113 reg = <0x2 0x00000000 0x1 0x00000000>;
118 compatible = "fixed-partitions";
119 #address-cells = <1>;
123 label = "bootloader";
124 reg = <0x000000 0x100000>;
129 compatible = "brcm,trx";
131 reg = <0x100000 0xe00000>;
135 compatible = "fixed-partitions";
136 label = "calibration";
137 reg = <0xf00000 0x100000>;
138 ranges = <0 0xf00000 0x100000>;
139 #address-cells = <1>;
144 reg = <0x000000 0x080000>;
149 reg = <0x080000 0x080000>;