diff options
-rw-r--r-- | target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts | 5 | ||||
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/01_leds | 11 |
2 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts b/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts index 4c98c85dee..1dd0e5cfe0 100644 --- a/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts +++ b/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts @@ -28,9 +28,10 @@ linux,default-trigger = "usbport"; }; - wifi { - label = "rt-ac51u:blue:wifi"; + wifi2g { + label = "rt-ac51u:blue:wifi2g"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; }; }; diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds index d332e02bbd..c1deae59e3 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds @@ -47,12 +47,6 @@ asus,rt-n14u) ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" eth0.2 set_wifi_led "$boardname:blue:air" ;; -asus,rt-ac51u|\ -kingston,mlw221|\ -kingston,mlwg2|\ -sanlinking,d240) - set_wifi_led "$boardname:blue:wifi" - ;; bdcom,wap2100-sk) set_wifi_led "$boardname:green:wlan2g" ;; @@ -139,6 +133,11 @@ kimax,u35wf) set_wifi_led "$boardname:blue:wifi" ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0" ;; +kingston,mlw221|\ +kingston,mlwg2|\ +sanlinking,d240) + set_wifi_led "$boardname:blue:wifi" + ;; lava,lr-25g001) ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "wlan1" ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "wlan0" |