From 66463a5b5d821352ac0fdcb1ee6a12c3336c51a1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 14 Nov 2014 16:53:07 +0000 Subject: ralink: update pcie driver to load ranges from dts Signed-off-by: John Crispin SVN-Revision: 43249 --- target/linux/ramips/dts/mt7620a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ramips/dts/mt7620a.dtsi') diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 37b65600ef..4e116e0ebe 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -443,6 +443,14 @@ interrupt-parent = <&cpuintc>; interrupts = <4>; + device_type = "pci"; + + bus-range = <0 255>; + ranges = < + 0x02000000 0 0x00000000 0x20000000 0 0x10000000 /* pci memory */ + 0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */ + >; + status = "disabled"; pcie-bridge { -- cgit v1.2.3