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:27:38 +0000 (10:27 +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 d5439fa..63206b4 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";
 };