diff options
Diffstat (limited to 'target/linux/bcm4908/patches-5.4/301-arm64-dts-broadcom-bcm4908-improve-partitions-descri.patch')
-rw-r--r-- | target/linux/bcm4908/patches-5.4/301-arm64-dts-broadcom-bcm4908-improve-partitions-descri.patch | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/target/linux/bcm4908/patches-5.4/301-arm64-dts-broadcom-bcm4908-improve-partitions-descri.patch b/target/linux/bcm4908/patches-5.4/301-arm64-dts-broadcom-bcm4908-improve-partitions-descri.patch new file mode 100644 index 0000000000..524a433335 --- /dev/null +++ b/target/linux/bcm4908/patches-5.4/301-arm64-dts-broadcom-bcm4908-improve-partitions-descri.patch @@ -0,0 +1,69 @@ +From e401e6fe9195eabfc6c81d8aed920a75b5d7987b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> +Date: Wed, 20 Jan 2021 20:53:35 +0100 +Subject: [PATCH] arm64: dts: broadcom: bcm4908: improve partitions description +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +1. Use proper bindings +2. Add missing partitions + +Signed-off-by: Rafał Miłecki <rafal@milecki.pl> +--- + .../bcm4908/bcm4906-netgear-r8000p.dts | 1 + + .../bcm4908/bcm4908-asus-gt-ac5300.dts | 27 ++++++++++++++++++- + 2 files changed, 27 insertions(+), 1 deletion(-) + +--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts ++++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts +@@ -62,6 +62,7 @@ + }; + + partition@100000 { ++ compatible = "brcm,bcm4908-firmware"; + label = "firmware"; + reg = <0x100000 0x4400000>; + }; +--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts ++++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts +@@ -121,7 +121,7 @@ + #size-cells = <0>; + + partitions { +- compatible = "fixed-partitions"; ++ compatible = "brcm,bcm4908-partitions"; + #address-cells = <1>; + #size-cells = <1>; + +@@ -129,5 +129,30 @@ + label = "cferom"; + reg = <0x0 0x100000>; + }; ++ ++ partition@100000 { ++ compatible = "brcm,bcm4908-firmware"; ++ reg = <0x100000 0x5700000>; ++ }; ++ ++ partition@5800000 { ++ compatible = "brcm,bcm4908-firmware"; ++ reg = <0x5800000 0x5700000>; ++ }; ++ ++ partition@af00000 { ++ label = "misc1"; ++ reg = <0xaf00000 0x800000>; ++ }; ++ ++ partition@b700000 { ++ label = "misc2"; ++ reg = <0xb700000 0x4000000>; ++ }; ++ ++ partition@f700000 { ++ label = "data"; ++ reg = <0xf700000 0x800000>; ++ }; + }; + }; |