diff options
author | Marian Sarcinschi <znevna@gmail.com> | 2022-12-23 01:56:09 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-01-04 21:56:49 +0100 |
commit | c4b806d5c4ccc653968620e6e9aec93bc4e370e5 (patch) | |
tree | f9e8f01fa422d3562f6c1da5f878e5251243131b /target/linux/ramips/mt7621/base-files | |
parent | f655923b362e9f2d70672eee9c1fa82550a145a6 (diff) | |
download | upstream-c4b806d5c4ccc653968620e6e9aec93bc4e370e5.tar.gz upstream-c4b806d5c4ccc653968620e6e9aec93bc4e370e5.tar.bz2 upstream-c4b806d5c4ccc653968620e6e9aec93bc4e370e5.zip |
ramips: add missing LEDs to Asus RT-AX53U
This patch adds the missing LEDs to Asus RT-AX53U.
Based on PR #10400 and patch provided in #11068
- enable the two LEDs controlled by mt7915e for wireless;
- add label to power LED so it works properly and fix formatting;
- add the USB LED;
- switch LEDs are best left to be controlled by hardware for now.
Co-Authored-By: Ivan Rozhuk <rozhuk.im@gmail.com>
Co-Authored-By: Shiji Yang <yangshiji66@qq.com>
Co-Authored-By: Hartmut Birr <e9hack@gmail.com>
Tested-by: Felix Baumann <felix.bau@gmx.de>
Tested-by: Marian Sarcinschi <znevna@gmail.com>
Signed-off-by: Marian Sarcinschi <znevna@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/01_leds | 5 |
1 files changed, 5 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 6e8d35ea49..9e0eaac941 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 @@ -19,6 +19,11 @@ asus,rp-ac87) ucidef_set_led_rssi "rssimed-wlan1" "RSSIMED" "green:rssimed-wlan1" "wlan1" "40" "100" ucidef_set_led_rssi "rssihigh-wlan1" "RSSIHIGH" "green:rssihigh-wlan1" "wlan1" "70" "100" ;; +asus,rt-ax53u) + ucidef_set_led_usbport "usb" "USB" "blue:usb" "usb1-port2" + ucidef_set_led_wlan "wlan2g" "WiFi 2.4GHz" "mt76-phy0" "phy0tpt" + ucidef_set_led_wlan "wlan5g" "WiFi 5GHz" "mt76-phy1" "phy1tpt" + ;; asus,rt-n56u-b1) ucidef_set_led_netdev "lan" "LAN link" "blue:lan" "br-lan" ucidef_set_led_netdev "wan" "WAN link" "blue:wan" "wan" |