ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-mr200.dts
index bc7825df005f0fd7727467dea94aed34fcd3f22e..c3c0efdfe6b77f5890d4fe6a35e6aad4cf7752fd 100644 (file)
@@ -71,6 +71,7 @@
                wlan {
                        label = "archer-mr200:white:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1tpt";
                };
        };
 
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
-               ralink,function = "gpio";
+               groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
+               function = "gpio";
        };
 };
 
 &ethernet {
-               mtd-mac-address = <&rom 0xf100>;
-               mediatek,portmap = "llll";
-       };
+       mtd-mac-address = <&rom 0xf100>;
+};
 
 &ehci {
        status = "okay";