[PATCH 3/3] arm64: dts: broadcom: bcmbca: bcm4908: Fix Netgear R8000P partitioning

From: Sam Edwards
Date: Wed Oct 09 2024 - 17:52:11 EST


As we have just modified the DT schema for BCM4908 partitioning in order
to accommodate `nvmem-cells` partitions, the workaround of using
`fixed-partitions` is no longer necessary to pass the DT check. Promote
this partition table to full-blown BCM4908 active-partition detection
and remove an inappropriate `ranges` property, thus fully complying with
the schema.

Signed-off-by: Sam Edwards <CFSworks@xxxxxxxxx>
---
.../arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
index 999d93730240..23adcfd52843 100644
--- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
@@ -139,7 +139,7 @@ &nandcs {
#size-cells = <0>;

partitions {
- compatible = "fixed-partitions";
+ compatible = "brcm,bcm4908-partitions";
#address-cells = <1>;
#size-cells = <1>;

@@ -150,7 +150,6 @@ partition@0 {

#address-cells = <1>;
#size-cells = <1>;
- ranges = <0 0x0 0x100000>;

base_mac_addr: mac@106a0 {
reg = <0x106a0 0x6>;
@@ -159,7 +158,6 @@ base_mac_addr: mac@106a0 {

partition@100000 {
compatible = "brcm,bcm4908-firmware";
- label = "firmware";
reg = <0x100000 0x4400000>;
};
};
--
2.44.2