aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-14 16:53:07 +0000
committerJohn Crispin <john@openwrt.org>2014-11-14 16:53:07 +0000
commit66463a5b5d821352ac0fdcb1ee6a12c3336c51a1 (patch)
tree55581a710ef93092f440eea4ea30db4bf30882c0 /target/linux/ramips/dts/mt7620a.dtsi
parent7963782b8626e87906e4db6338b5508a080c29a1 (diff)
downloadupstream-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.tar.gz
upstream-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.tar.bz2
upstream-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.zip
ralink: update pcie driver to load ranges from dts
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43249
Diffstat (limited to 'target/linux/ramips/dts/mt7620a.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi8
1 files changed, 8 insertions, 0 deletions
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 {