Skip to contentSkip to conversation

arm64: dts: cavium: fix PCI bus dtc warnings

PATCH RESEND New Rob Herring 2 participants 2 messages Feb 1, 2018 – Feb 22, 2018 Device tree bindings

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH RESEND 1/1 arm64: dts: cavium: fix PCI bus dtc warnings

dtc recently added PCI bus checks. Fix these warnings:

arch/arm64/boot/dts/cavium/thunder2-99xx.dtb: Warning (pci_bridge): Node /pci missing bus-range for PCI bridge arch/arm64/boot/dts/cavium/thunder2-99xx.dtb: Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name

Cc Jayachandran C <[email protected]>

---
Arnd, Olof,

Going thru my backlog of patches and found this one never made it upstream. Please apply.

Rob

 arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi +2 -1
index 4220fbdcb24a..ff5c4c47b22b 100644
@@ -98,7 +98,7 @@
 		clock-output-names = "clk125mhz";
 	};
 
-	pci {
+	pcie at 30000000 {
 		compatible = "pci-host-ecam-generic";
 		device_type = "pci";
 		#interrupt-cells = <1>;
@@ -118,6 +118,7 @@
 		ranges =
 		  <0x02000000    0 0x40000000    0 0x40000000    0 0x20000000
 		   0x43000000 0x40 0x00000000 0x40 0x00000000 0x20 0x00000000>;
+		bus-range = <0 0xff>;
 		interrupt-map-mask = <0 0 0 7>;
 		interrupt-map =
 		      /* addr  pin  ic   icaddr  icintr */
Signature · 1 line
2.14.1
#1 lore raw

PATCH RESEND 1/1 arm64: dts: cavium: fix PCI bus dtc warnings

Quoted 5 lines · Rob Herring

dtc recently added PCI bus checks. Fix these warnings:

arch/arm64/boot/dts/cavium/thunder2-99xx.dtb: Warning (pci_bridge): Node /pci missing bus-range for PCI bridge arch/arm64/boot/dts/cavium/thunder2-99xx.dtb: Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name

Quoted 7 lines
Cc Jayachandran C <[email protected]>

---
Arnd, Olof,

Going thru my backlog of patches and found this one never made it upstream. Please apply.

Applied now, sorry for missing this.

Arnd