ramips: fix leds for TP-Link Archer C20 v4
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c20-v4.dts
index 502c271ae26a79461391564df979282ae7b04677..8e3df9c67639972a3fb2f1dbf1069ffb07b29a6d 100644 (file)
                wlan5g {
                        label = "archer-c20-v4:green:wlan5g";
                        gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1tpt";
                };
 
                wlan2g {
                        label = "archer-c20-v4:green:wlan2g";
                        gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
                };
 
                wps {
@@ -82,7 +84,7 @@
 
 &state_default {
        gpio {
-               ralink,group = "i2s", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
+               ralink,group = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
                ralink,function = "gpio";
        };
 };