aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-31 10:27:25 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-31 10:27:38 +0100
commitbc32f7deb57706e6235ec82ed0e2637c63deadff (patch)
tree2f74ab6d1852d714939f5024e659bb54da86444d /target
parent4096d33ce47bbe065b8d05a84b6d5e6d392bac53 (diff)
downloadupstream-bc32f7deb57706e6235ec82ed0e2637c63deadff.tar.gz
upstream-bc32f7deb57706e6235ec82ed0e2637c63deadff.tar.bz2
upstream-bc32f7deb57706e6235ec82ed0e2637c63deadff.zip
ramips: add missing DTS pcie node for WSR-600
Enables PCI bus and support for the MT7603 and RT5592 chips Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/WSR-600.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/WSR-600.dts
index d5439fa4c1..63206b4d61 100644
--- a/target/linux/ramips/dts/WSR-600.dts
+++ b/target/linux/ramips/dts/WSR-600.dts
@@ -157,6 +157,27 @@
};
};
+&pcie {
+ status = "okay";
+
+ pcie0 {
+ rt5592@0,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ ralink,mtd-eeprom = <&factory 0x8000>;
+ };
+ };
+
+ pcie1 {
+ mt76@1,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ mediatek,mtd-eeprom = <&factory 0x0000>;
+ mediatek,5ghz = <0>;
+ };
+ };
+};
+
&xhci {
status = "disabled";
};