aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts1
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts1
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/01_leds10
3 files changed, 5 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts
index fa69110d45..cf0f5eb796 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts
@@ -61,6 +61,7 @@
wlan {
label = "tl-mr3020-v3:green:wlan";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
};
wps {
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts
index d2cb271efb..7b9033202c 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts
@@ -48,6 +48,7 @@
wlan {
label = "tl-wa801nd-v5:green:wlan";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
};
wps_red {
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
index 79f45ba545..877dbb60bd 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
@@ -64,9 +64,9 @@ tplink,archer-c50-v4)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "wlan5g" "$boardname:green:wlan5g" "phy1tpt"
;;
-tplink,tl-mr3020-v3)
- set_wifi_led "$boardname:green:wlan"
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+tplink,tl-mr3020-v3|\
+tplink,tl-wa801nd-v5)
+ ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
;;
tplink,tl-mr3420-v5|\
tplink,tl-wr842n-v5)
@@ -74,10 +74,6 @@ tplink,tl-wr842n-v5)
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
;;
-tplink,tl-wa801nd-v5)
- ucidef_set_led_wlan "wlan" "wlan" "$boardname:green:wlan" "phy0tpt"
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
- ;;
tplink,tl-wr840n-v4)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"