[source] ramips: add missing DTS pcie node for WSR-600

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 31 01:29:42 PST 2017


nbd pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/bda982b97fae6073ab65c05c1c47bb5f71f8dccf

commit bda982b97fae6073ab65c05c1c47bb5f71f8dccf
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