Skip to contentSkip to conversation

arm64: dts: broadcom: bcm4906-netgear-r8000p: Drop unnecessary "ranges" in partition node

PATCH Applied Rob Herring (Arm) 2 participants 2 messages Jan 8 – Jan 9

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: broadcom: bcm4906-netgear-r8000p: Drop unnecessary "ranges" in partition node

"ranges" is only valid for MMIO addresses as it is used for translating addresses to CPU address. Even if a partial translation was supported, the DT is incorrect here as the nvmem-layout node would also need "ranges". So drop "ranges" and the associated cell size properties.

---
One more dts fix to add after reworking the partition bindings.

 arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 3 ---
 1 file changed, 3 deletions(-)
arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +0 -3
index a5f9ec92bd5e..c6d76ba04903 100644
@@ -146,9 +146,6 @@ partitions {
 		partition@0 {
 			label = "cferom";
 			reg = <0x0 0x100000>;
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0 0x0 0x100000>;
 
 			nvmem-layout {
 				compatible = "fixed-layout";
Signature · 1 line
2.51.0
maintainer Applied
#1 lore raw
Quoted 6 lines · Rob Herring (Arm)

"ranges" is only valid for MMIO addresses as it is used for translating addresses to CPU address. Even if a partial translation was supported, the DT is incorrect here as the nvmem-layout node would also need "ranges". So drop "ranges" and the associated cell size properties.

Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks!

Signature · 1 line
Florian