aboutsummaryrefslogtreecommitdiffstats
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:29:29 +0100
commitbda982b97fae6073ab65c05c1c47bb5f71f8dccf (patch)
treec8abf3603dec3e1f31e87bd131ecbf86730deca9
parente038c600496109593449613bdf2f0580998b39bf (diff)
downloadupstream-bda982b97fae6073ab65c05c1c47bb5f71f8dccf.tar.gz
upstream-bda982b97fae6073ab65c05c1c47bb5f71f8dccf.tar.bz2
upstream-bda982b97fae6073ab65c05c1c47bb5f71f8dccf.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>
-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";
};