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
33 $ref: /schemas/types.yaml#/definitions/string
35 Compression algorithm used to store the data in this partition, chosen
36 from a list of well-known algorithms.
38 The contents are compressed using this algorithm.
56 description: Partition id in Sercomm partition map. Mtd parser
57 uses this id to find a record in the partition map containing
58 offset and size of the current partition. The values from
59 partition map overrides partition offset and size defined in
60 reg property of the dts. Frequently these values are the same,
61 but may differ if device has bad eraseblocks on a flash.
62 $ref: /schemas/types.yaml#/definitions/uint32
68 additionalProperties: true
73 compatible = "fixed-partitions";
79 reg = <0x0000000 0x100000>;
84 reg = <0x0100000 0x200000>;
91 compatible = "fixed-partitions";
95 /* a 4 GiB partition */
98 reg = <0x00000000 0x1 0x00000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <2>;
109 /* an 8 GiB partition */
111 label = "filesystem #1";
112 reg = <0x0 0x00000000 0x2 0x00000000>;
115 /* a 4 GiB partition */
116 partition@200000000 {
117 label = "filesystem #2";
118 reg = <0x2 0x00000000 0x1 0x00000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
129 label = "bootloader";
130 reg = <0x000000 0x100000>;
135 compatible = "brcm,trx";
137 reg = <0x100000 0xe00000>;
141 compatible = "fixed-partitions";
142 label = "calibration";
143 reg = <0xf00000 0x100000>;
144 ranges = <0 0xf00000 0x100000>;
145 #address-cells = <1>;
150 reg = <0x000000 0x080000>;
155 reg = <0x080000 0x080000>;
162 compatible = "sercomm,sc-partitions", "fixed-partitions";
163 #address-cells = <1>;
168 reg = <0x0 0x100000>;
169 sercomm,scpart-id = <0>;
174 label = "dynamic partition map";
175 reg = <0x100000 0x100000>;
176 sercomm,scpart-id = <1>;
181 reg = <0x200000 0x100000>;
182 sercomm,scpart-id = <2>;