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 $ref: "partition.yaml#"
36 additionalProperties: true
41 compatible = "fixed-partitions";
47 reg = <0x0000000 0x100000>;
52 reg = <0x0100000 0x200000>;
57 compatible = "fixed-partitions";
61 /* a 4 GiB partition */
64 reg = <0x00000000 0x1 0x00000000>;
69 compatible = "fixed-partitions";
73 /* an 8 GiB partition */
75 label = "filesystem #1";
76 reg = <0x0 0x00000000 0x2 0x00000000>;
79 /* a 4 GiB partition */
81 label = "filesystem #2";
82 reg = <0x2 0x00000000 0x1 0x00000000>;
87 compatible = "fixed-partitions";
93 reg = <0x000000 0x100000>;
98 compatible = "brcm,trx";
100 reg = <0x100000 0xe00000>;
104 compatible = "fixed-partitions";
105 label = "calibration";
106 reg = <0xf00000 0x100000>;
107 ranges = <0 0xf00000 0x100000>;
108 #address-cells = <1>;
113 reg = <0x000000 0x080000>;
118 reg = <0x080000 0x080000>;