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>
23 - const: fixed-partitions
25 - const: sercomm,sc-partitions
26 - const: fixed-partitions
28 "#address-cells": true
35 - $ref: "partition.yaml#"
40 const: sercomm,sc-partitions
44 description: Partition id in Sercomm partition map. Mtd
45 parser uses this id to find a record in the partition map
46 containing offset and size of the current partition. The
47 values from partition map overrides partition offset and
48 size defined in reg property of the dts. Frequently these
49 values are the same, but may differ if device has bad
50 eraseblocks on a flash.
51 $ref: /schemas/types.yaml#/definitions/uint32
57 additionalProperties: true
62 compatible = "fixed-partitions";
68 reg = <0x0000000 0x100000>;
73 reg = <0x0100000 0x200000>;
79 compatible = "fixed-partitions";
83 /* a 4 GiB partition */
86 reg = <0x00000000 0x1 0x00000000>;
92 compatible = "fixed-partitions";
96 /* an 8 GiB partition */
98 label = "filesystem #1";
99 reg = <0x0 0x00000000 0x2 0x00000000>;
102 /* a 4 GiB partition */
103 partition@200000000 {
104 label = "filesystem #2";
105 reg = <0x2 0x00000000 0x1 0x00000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
116 label = "bootloader";
117 reg = <0x000000 0x100000>;
122 compatible = "brcm,trx";
124 reg = <0x100000 0xe00000>;
128 compatible = "fixed-partitions";
129 label = "calibration";
130 reg = <0xf00000 0x100000>;
131 ranges = <0 0xf00000 0x100000>;
132 #address-cells = <1>;
137 reg = <0x000000 0x080000>;
142 reg = <0x080000 0x080000>;
149 compatible = "sercomm,sc-partitions", "fixed-partitions";
150 #address-cells = <1>;
155 reg = <0x0 0x100000>;
156 sercomm,scpart-id = <0>;
161 label = "dynamic partition map";
162 reg = <0x100000 0x100000>;
163 sercomm,scpart-id = <1>;
168 reg = <0x200000 0x100000>;
169 sercomm,scpart-id = <2>;