aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2022-01-17 01:55:37 +0900
committerSungbo Eo <mans0n@gorani.run>2022-01-17 20:38:43 +0900
commit266b5c83c32c13dbd05f0d6f251815cbe6f55621 (patch)
treeb03e13651a97c2c3b4e65112b729fabb663e7043 /target/linux/ipq40xx/base-files/etc
parente257405c1bfa566a876104c3d4270643a27c336f (diff)
downloadupstream-266b5c83c32c13dbd05f0d6f251815cbe6f55621.tar.gz
upstream-266b5c83c32c13dbd05f0d6f251815cbe6f55621.tar.bz2
upstream-266b5c83c32c13dbd05f0d6f251815cbe6f55621.zip
ipq40xx: rename RT-AC42U WLAN/LAN LEDs
Assign LED numbers properly by adding function-enumerator property in DTS. While at it, remove default trigger of LAN LEDs as it will be handled in 01_leds anyway. Fixes: 51b9aef553a8 ("ipq40xx: add support for ASUS RT-ACRH17/RT-AC42U") Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/01_leds8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
index 26acfb6037..bc2ec58806 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds
@@ -13,10 +13,10 @@ alfa-network,ap120c-ac)
ucidef_set_led_netdev "wan" "WAN" "amber:wan" "eth1"
;;
asus,rt-ac42u)
- ucidef_set_led_switch "lan1" "LAN1" "blue:lan" "switch0" "0x02"
- ucidef_set_led_switch "lan2" "LAN2" "blue:lan_1" "switch0" "0x04"
- ucidef_set_led_switch "lan3" "LAN3" "blue:lan_2" "switch0" "0x08"
- ucidef_set_led_switch "lan4" "LAN4" "blue:lan_3" "switch0" "0x10"
+ ucidef_set_led_switch "lan1" "LAN1" "blue:lan-1" "switch0" "0x02"
+ ucidef_set_led_switch "lan2" "LAN2" "blue:lan-2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3" "LAN3" "blue:lan-3" "switch0" "0x08"
+ ucidef_set_led_switch "lan4" "LAN4" "blue:lan-4" "switch0" "0x10"
;;
asus,rt-ac58u)
ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"