aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-14 16:53:07 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-14 16:53:07 +0000
commitaa77ecd2b79054abe89f30906d12dec0f93c91fc (patch)
tree8b9abafddef937871840a91a60cab14a29595570 /target/linux/ramips/dts/mt7628an.dtsi
parent82d17fb64a6508e8f6761fa7df37c07d9ff34f22 (diff)
downloadmaster-187ad058-aa77ecd2b79054abe89f30906d12dec0f93c91fc.tar.gz
master-187ad058-aa77ecd2b79054abe89f30906d12dec0f93c91fc.tar.bz2
master-187ad058-aa77ecd2b79054abe89f30906d12dec0f93c91fc.zip
ralink: update pcie driver to load ranges from dts
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43249 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>;