ramips: add missing DTS pcie node for WSR-600
authorFelix Fietkau <nbd@nbd.name>
Tue, 31 Jan 2017 09:27:25 +0000 (10:27 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 31 Jan 2017 09:29:29 +0000 (10:29 +0100)
Enables PCI bus and support for the MT7603 and RT5592 chips

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/dts/WSR-600.dts

index d5439fa4c1ffba48f398e78111f4d09bc61b516b..63206b4d613d16bc65f8f93f4aa334e4dccecc9d 100644 (file)
        };
 };
 
+&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";
 };