ramips: Fix WiFi after 5f7396ebef09b224edf08b0bda113613a42f0928
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / EW1200.dts
index 2f1cfc70df77a7cdc7ccebd4ff68b1fc769178c9..bf2ed15e8496ae7827b72cb3209bbdbc8beba020 100644 (file)
@@ -32,7 +32,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 1>;
+                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
@@ -97,8 +97,6 @@
 
        pcie0 {
                mt76@0,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
                        ieee80211-freq-limit = <5000000 6000000>;
                };
 
        pcie1 {
                mt76@1,0 {
-                       reg = <0x0000 0 0 0 0>;
-                       device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
                        ieee80211-freq-limit = <2400000 2500000>;
                };
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
+                       ralink,group = "wdt", "rgmii2", "jtag", "mdio";
                        ralink,function = "gpio";
                };
        };