ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C
[openwrt/staging/dedeckeh.git] / target / linux / ramips / mt76x8 / base-files / etc / board.d / 01_leds
index 0af01d4393272b2ea822184fe1e4c705c8b07276..8a21756225acfe2c9a364b80f89bf94312d7ebf4 100644 (file)
@@ -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"