ARM: dts: keystone: remove bogus IO resource entry from PCI binding

The PCI DT bindings contain a bogus entry for IO space which is not
supported on Keystone. The current bogus entry has an invalid size
and throws following error during boot.

[0.420713] keystone-pcie 21021000.pcie: error -22: failed to map
           resource [io  0x0000-0x400000003fff]

So remove it from the dts. While at it also add a bus-range
value that eliminates following log at boot up.

[0.420659] No bus range found for /soc/pcie@21020000, using [bus 00-ff]

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
This commit is contained in:
Murali Karicheri 2016-06-08 16:06:43 -07:00 committed by Santosh Shilimkar
parent af8c34ce6a
commit 59e13aac82
2 changed files with 6 additions and 4 deletions

View File

@ -96,12 +96,13 @@
#address-cells = <3>; #address-cells = <3>;
#size-cells = <2>; #size-cells = <2>;
reg = <0x21021000 0x2000>, <0x21020000 0x1000>, <0x02620128 4>; reg = <0x21021000 0x2000>, <0x21020000 0x1000>, <0x02620128 4>;
ranges = <0x81000000 0 0 0x23260000 0x4000 0x4000 ranges = <0x82000000 0 0x60000000 0x60000000
0x82000000 0 0x60000000 0x60000000 0 0x10000000>; 0 0x10000000>;
status = "disabled"; status = "disabled";
device_type = "pci"; device_type = "pci";
num-lanes = <2>; num-lanes = <2>;
bus-range = <0x00 0xff>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>; interrupt-map-mask = <0 0 0 7>;

View File

@ -294,12 +294,13 @@
#address-cells = <3>; #address-cells = <3>;
#size-cells = <2>; #size-cells = <2>;
reg = <0x21801000 0x2000>, <0x21800000 0x1000>, <0x02620128 4>; reg = <0x21801000 0x2000>, <0x21800000 0x1000>, <0x02620128 4>;
ranges = <0x81000000 0 0 0x23250000 0 0x4000 ranges = <0x82000000 0 0x50000000 0x50000000
0x82000000 0 0x50000000 0x50000000 0 0x10000000>; 0 0x10000000>;
status = "disabled"; status = "disabled";
device_type = "pci"; device_type = "pci";
num-lanes = <2>; num-lanes = <2>;
bus-range = <0x00 0xff>;
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 7>; interrupt-map-mask = <0 0 0 7>;