summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an.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/mt7628an.dtsi
parent7963782b8626e87906e4db6338b5508a080c29a1 (diff)
downloadmaster-31e0f0ae-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.tar.gz
master-31e0f0ae-66463a5b5d821352ac0fdcb1ee6a12c3336c51a1.tar.bz2
master-31e0f0ae-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/mt7628an.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index f0cb7b5f50..3223e162bd 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -213,6 +213,14 @@
status = "disabled";
+ device_type = "pci";
+
+ bus-range = <0 255>;
+ ranges = <
+ 0x02000000 0 0x00000000 0x20000000 0 0x10000000 /* pci memory */
+ 0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */
+ >;
+
pcie-bridge {
reg = <0x0000 0 0 0 0>;