ath79: add support for YunCore A770
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 01_leds
index 0fa4bc73bb9d572f28b7a218941e01b43a8f34f0..a7b6a65e0f72f1ff9b8ca54a0fd1096cf75cc55c 100755 (executable)
@@ -171,6 +171,10 @@ wd,mynet-wifi-rangeextender)
        ucidef_set_led_rssi "rssimedium" "RSSIMED" "$boardname:blue:rssi-med" "wlan0" "33" "100"
        ucidef_set_led_rssi "rssihigh" "RSSIMAX" "$boardname:blue:rssi-max" "wlan0" "66" "100"
        ;;
+yuncore,a770)
+       ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
+       ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x10"
+       ;;
 esac
 
 board_config_flush