diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-07 11:49:36 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-07 11:57:48 +0200 |
commit | 7cb721c03fdc163818f8114692229d0097d2f26b (patch) | |
tree | 1e0f4276862ff904d30d5d9be713cd0d9042408f /target/linux/ramips/mt7621 | |
parent | d8ab3216e688e3f810bf2d3109ad85a805582076 (diff) | |
download | upstream-7cb721c03fdc163818f8114692229d0097d2f26b.tar.gz upstream-7cb721c03fdc163818f8114692229d0097d2f26b.tar.bz2 upstream-7cb721c03fdc163818f8114692229d0097d2f26b.zip |
ramips: use WiFi LED DT triggers for TP-Link RE650 v1
This moves WiFi LED triggers from 01_leds to device tree.
While at it, convert the labels there to lower case; this is
more commonly used and the change will actually remove competition
between DT trigger and leftover uci config on already installed
systems.
Suggested-by: Georgi Vlaev <georgi.vlaev@gmail.com>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/etc/board.d/01_leds | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds index 2e3dca7901..37ebd0fb64 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -68,14 +68,14 @@ netgear,r6800) ucidef_set_led_netdev "lan3" "LAN3" "$boardname:white:lan3" "lan3" ucidef_set_led_netdev "lan4" "LAN4" "$boardname:white:lan4" "lan4" ;; -tplink,re350-v1|\ -tplink,re650-v1) +tplink,re350-v1) ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "$boardname:blue:wifi2G" "wlan0" ucidef_set_led_netdev "wifi5g" "Wifi 5G" "$boardname:blue:wifi5G" "wlan1" ucidef_set_led_netdev "eth_act" "LAN act" "$boardname:green:eth_act" "lan" "tx rx" ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "lan" "link" ;; -tplink,re500-v1) +tplink,re500-v1|\ +tplink,re650-v1) ucidef_set_led_netdev "eth_act" "LAN act" "$boardname:green:eth_act" "lan" "tx rx" ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "lan" "link" ;; |