ARM: dts: BCM5301X: Add missing "ranges property for PCIe nodes
PATCH 1/1 ARM: dts: BCM5301X: Add missing "ranges property for PCIe nodes
Add empty ranges properties to silence such warnings:
arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge) arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge) arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge)
to silence warnings. This is not a functional issue since the driver does not make use of the OF infrastructure for registering the PCIe controller(s) on this chip, but uses the BCMA bus.
--- arch/arm/boot/dts/bcm5301x.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/bcm5301x.dtsi +3 -0
@@ -240,6 +240,7 @@ chipcommon: chipcommon@0 { pcie0: pcie@12000 { reg = <0x00012000 0x1000>; device_type = "pci"; + ranges = <0 0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>;
@@ -248,6 +249,7 @@ pcie0: pcie@12000 { pcie1: pcie@13000 { reg = <0x00013000 0x1000>; device_type = "pci"; + ranges = <0 0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>;
@@ -256,6 +258,7 @@ pcie1: pcie@13000 { pcie2: pcie@14000 { reg = <0x00014000 0x1000>; device_type = "pci"; + ranges = <0 0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>;
Signature · 1 line
2.25.1
Quoted 6 lines · Florian Fainelli
Add empty ranges properties to silence such warnings:
arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (
pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge) arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge) arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge)
Quoted 7 lines
to silence warnings. This is not a functional issue since the driver does not make use of the OF infrastructure for registering the PCIe controller(s) on this chip, but uses the BCMA bus.
Fixes 61dc1e3850a6 ("ARM: dts: BCM5301X: Add basic PCI controller properties")Signed-off-by Florian Fainelli <[email protected]>Change-Id Ia4eba6d21b72620d2fd8d5c3548c1777d3c1c357
If this is OK, I will fix up the subject and the commit message to not have the Change-Id and avoid repeating the "silence such warnings". Thanks!
Signature · 1 line
Florian