diff options
author | Shiji Yang <yangshiji66@qq.com> | 2022-09-17 18:50:00 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-10-23 23:33:22 +0200 |
commit | 288b36c2ea32e1de1b7ad4772612d718199804e4 (patch) | |
tree | b824844587b62249d184e5b9c0f56020444c86ae /target/linux/ramips/mt76x8/base-files | |
parent | 9db3caa7490907d05a7378e48a69ee01a4461e99 (diff) | |
download | upstream-288b36c2ea32e1de1b7ad4772612d718199804e4.tar.gz upstream-288b36c2ea32e1de1b7ad4772612d718199804e4.tar.bz2 upstream-288b36c2ea32e1de1b7ad4772612d718199804e4.zip |
ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C
The blue WAN LED connected to GPIO37 is missing, so re-add it.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rw-r--r-- | target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds | 7 |
1 files changed, 7 insertions, 0 deletions
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 0af01d4393..8a21756225 100644 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds @@ -144,6 +144,13 @@ wavlink,wl-wn578a2) ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8" ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10" ;; +xiaomi,mi-router-4a-100m|\ +xiaomi,mi-router-4a-100m-intl) + ucidef_set_led_switch "wan" "WAN" "blue:wan" "switch0" "0x01" + ;; +xiaomi,mi-router-4c) + ucidef_set_led_switch "wan" "WAN" "blue:wan" "switch0" "0x02" + ;; zbtlink,zbt-we1226) ucidef_set_led_netdev "wifi_led" "wifi" "green:wlan" "wlan0" ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x01" |