projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ralink: update pcie driver to load ranges from dts
[openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
mt7628an.dtsi
diff --git
a/target/linux/ramips/dts/mt7628an.dtsi
b/target/linux/ramips/dts/mt7628an.dtsi
index
f0cb7b5
..
3223e16
100644
(file)
--- a/
target/linux/ramips/dts/mt7628an.dtsi
+++ b/
target/linux/ramips/dts/mt7628an.dtsi
@@
-213,6
+213,14
@@
status = "disabled";
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>;
pcie-bridge {
reg = <0x0000 0 0 0 0>;