10f33f51405612169fe73056347c48ed119c63f3
[openwrt/staging/noltari.git] /
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Date: Mon, 15 Feb 2021 20:30:09 +0100
3 Subject: [PATCH] arm64: dts: broadcom: bcm4908: describe firmware partitions
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 BCM4908 bootloader supports multiple firmware partitions and has its own
9 bindings defined for them.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 ---
13 .../dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts | 1 +
14 .../dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts | 12 +++++++++++-
15 2 files changed, 12 insertions(+), 1 deletion(-)
16
17 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
18 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
19 @@ -135,6 +135,7 @@
20 };
21
22 partition@100000 {
23 + compatible = "brcm,bcm4908-firmware";
24 label = "firmware";
25 reg = <0x100000 0x4400000>;
26 };
27 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
28 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
29 @@ -122,7 +122,7 @@
30 #size-cells = <0>;
31
32 partitions {
33 - compatible = "fixed-partitions";
34 + compatible = "brcm,bcm4908-partitions";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 @@ -130,5 +130,15 @@
39 label = "cferom";
40 reg = <0x0 0x100000>;
41 };
42 +
43 + partition@100000 {
44 + compatible = "brcm,bcm4908-firmware";
45 + reg = <0x100000 0x5700000>;
46 + };
47 +
48 + partition@5800000 {
49 + compatible = "brcm,bcm4908-firmware";
50 + reg = <0x5800000 0x5700000>;
51 + };
52 };
53 };