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