[v2] arm64: dts: xilinx: fix PCI bus dtc warnings

Message ID 20170726210943.6875-6-robh@kernel.org
State New
Headers show

Commit Message

Rob Herring July 26, 2017, 9:09 p.m.
dtc recently added PCI bus checks. Fix these warnings.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
---
v2:
- rebase on v4.13-rc2

Michal, you said you applied v1, but it looks like it never was.

 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Michal Simek July 27, 2017, 6:22 a.m. | #1
On 26.7.2017 23:09, Rob Herring wrote:
> dtc recently added PCI bus checks. Fix these warnings.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
> ---
> v2:
> - rebase on v4.13-rc2
> 
> Michal, you said you applied v1, but it looks like it never was.


I have this in my branch but it wasn't merged to arm-soc tree yet.

https://github.com/Xilinx/linux-xlnx/commits/zynqmp/dt

Thanks,
Michal

Patch

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 54dc28351c8c..1a3f5e928bb9 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -221,6 +221,7 @@ 
 				  0x43000000 0x00000006 0x00000000 0x00000006
 				  0x00000000 0x00000002 0x00000000>;
 				  /* prefetchable memory */
+			bus-range = <0x00 0xff>;
 			interrupt-map-mask = <0x0 0x0 0x0 0x7>;
 			interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,
 					<0x0 0x0 0x0 0x2 &pcie_intc 0x2>,