1 From 6e9dff6fe3fbc452f16566e4a7e293b0decefdba Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 11 Feb 2021 23:04:26 +0100
4 Subject: [PATCH] dt-bindings: mtd: add binding for BCM4908 partitions
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 BCM4908 uses fixed partitions layout but function of some partitions may
10 vary. Some devices use multiple firmware partitions and those partitions
11 should be marked to let system discover their purpose.
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Richard Weinberger <richard@nod.at>
16 .../partitions/brcm,bcm4908-partitions.yaml | 70 +++++++++++++++++++
17 1 file changed, 70 insertions(+)
18 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml
21 +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml
23 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
26 +$id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml#
27 +$schema: http://devicetree.org/meta-schemas/core.yaml#
29 +title: Broadcom BCM4908 partitioning
32 + Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used
33 + for regular booting, the other is treated as fallback.
35 + This binding allows defining all fixed partitions and marking those containing
36 + firmware. System can use that information e.g. for booting or flashing
40 + - Rafał Miłecki <rafal@milecki.pl>
44 + const: brcm,bcm4908-partitions
53 + "^partition@[0-9a-f]+$":
54 + $ref: "partition.yaml#"
57 + const: brcm,bcm4908-firmware
58 + unevaluatedProperties: false
64 +additionalProperties: false
69 + compatible = "brcm,bcm4908-partitions";
70 + #address-cells = <1>;
75 + reg = <0x0 0x100000>;
79 + compatible = "brcm,bcm4908-firmware";
80 + reg = <0x100000 0xf00000>;
84 + compatible = "brcm,bcm4908-firmware";
85 + reg = <0x1000000 0xf00000>;
89 + label = "calibration";
90 + reg = <0x1f00000 0x100000>;