arm64: dts: broadcom: bcm4906-netgear-r8000p: Drop unnecessary "ranges" in partition node
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 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
@@ -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
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.
Signed-off-by Rob Herring (Arm) <[email protected]>
Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks!
Signature · 1 line
Florian