diff options
author | Thibaut VARÈNE <hacks@slashdirt.org> | 2022-08-17 19:36:41 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-08-29 16:23:26 +0200 |
commit | dced5f2c954060689422d79f3c64a997227ca8f4 (patch) | |
tree | d09978b9a68ac9ebc422ba8b9900b31d0b5c8e34 /target/linux/ramips/mt7621/base-files/etc/board.d | |
parent | e497818e18fad5bd471b1cf7b3e415a2fa40a2dc (diff) | |
download | upstream-dced5f2c954060689422d79f3c64a997227ca8f4.tar.gz upstream-dced5f2c954060689422d79f3c64a997227ca8f4.tar.bz2 upstream-dced5f2c954060689422d79f3c64a997227ca8f4.zip |
ramips: define Yuncore AX820 switch LEDs
This patch defines the two switch LED to bring them under user control.
Fixes: 158a5af80102d ("ramips: improve YunCore AX820 LEDs")
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
[rmilecki: leave "label"s in place]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 7bee10a7d2d16251113147c28dd4548af5c14bab)
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/01_leds | 4 |
1 files changed, 4 insertions, 0 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 bffb7c18c8..15e33e2f16 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -148,6 +148,10 @@ xiaomi,redmi-router-ac2100) youhua,wr1200js) ucidef_set_led_netdev "internet" "INTERNET" "green:wan" "wan" ;; +yuncore,ax820) + ucidef_set_led_netdev "lan" "LAN" "green:lan" "lan" + ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan" + ;; zbtlink,zbt-wg1608-16m) ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "lan1" ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "lan2" |