[source] ramips: add missing DTS pcie node for WSR-600
LEDE Commits
lede-commits at lists.infradead.org
Tue Jan 31 01:28:28 PST 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/bc32f7deb57706e6235ec82ed0e2637c63deadff
commit bc32f7deb57706e6235ec82ed0e2637c63deadff
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Jan 31 10:27:25 2017 +0100
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 at nbd.name>
---
target/linux/ramips/dts/WSR-600.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/WSR-600.dts
index d5439fa..63206b4 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 at 0,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ ralink,mtd-eeprom = <&factory 0x8000>;
+ };
+ };
+
+ pcie1 {
+ mt76 at 1,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ mediatek,mtd-eeprom = <&factory 0x0000>;
+ mediatek,5ghz = <0>;
+ };
+ };
+};
+
&xhci {
status = "disabled";
};
More information about the lede-commits
mailing list