ramips: fix WSR-1166 green power LED
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WSR-1166.dts
index de197725a37088431a58381b412cdfd8f8d6b9cf..8115efd13a15a92703f15ab33ee6e31c204bd0e3 100644 (file)
@@ -7,6 +7,7 @@
        model = "Buffalo WSR-1166DHP";
 
        memory@0 {
+               device_type = "memory";
                reg = <0x0 0x8000000>;
        };
 
                };
                power {
                        label = "buffalo:green:power";
-                       gpios = <&gpio0 14 1>;
+                       gpios = <&gpio1 14 1>;
                };
                diag {
                        label = "buffalo:orange:diag";
                compatible = "gpio-poweroff";
                gpios = <&gpio0 0 1>;
        };
+
+       pcie@1e140000 {
+               status = "okay";
+
+               pcie0 {
+                       mt76@0,0 {
+                               reg = <0x0000 0 0 0 0>;
+                               device_type = "pci";
+                               mediatek,mtd-eeprom = <&factory 0x8000>;
+                               mediatek,2ghz = <0>;
+                       };
+               };
+
+               pcie1 {
+                       mt76@1,0 {
+                               reg = <0x0000 0 0 0 0>;
+                               device_type = "pci";
+                               mediatek,mtd-eeprom = <&factory 0x0000>;
+                               mediatek,5ghz = <0>;
+                       };
+               };
+       };
 };