1 From 4f740351484e88bcea3776578288b6ec400829c8 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 15 Jan 2021 16:01:04 +0100
4 Subject: [PATCH 2/3] dt-bindings: mtd: add binding from 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 should be
11 marked to let system discover their purpose.
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
15 .../partitions/brcm,bcm4908-partitions.yaml | 68 +++++++++++++++++++
16 1 file changed, 68 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml
20 +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,bcm4908-partitions.yaml
22 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25 +$id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml#
26 +$schema: http://devicetree.org/meta-schemas/core.yaml#
28 +title: Broadcom BCM4908 partitioning
31 + Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used
32 + for regular booting, the other is treated as fallback.
34 + This binding allows defining all fixed partitions and marking those containing
35 + firmware. System can use that information e.g. for booting or flashing
39 + - Rafał Miłecki <rafal@milecki.pl>
43 + const: brcm,bcm4908-partitions
45 + "#address-cells": true
52 + - $ref: "partition.yaml#"
55 + const: brcm,bcm4908-firmware
61 +additionalProperties: false
66 + compatible = "brcm,bcm4908-partitions";
67 + #address-cells = <1>;
72 + reg = <0x0 0x100000>;
76 + compatible = "brcm,bcm4908-firmware";
77 + reg = <0x100000 0xf00000>;
81 + compatible = "brcm,bcm4908-firmware";
82 + reg = <0x1000000 0xf00000>;
86 + label = "calibration";
87 + reg = <0x1f00000 0x100000>;