lantiq: add Buffalo WBMR-300HPD support
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / board.d / 01_leds
index 39b693ac19e1cf38bcc718490f54c10aa343efcb..c365468030b9735ff3c26acd0881b1438e8b6723 100755 (executable)
@@ -42,6 +42,13 @@ P2812HNUF*)
 ARV7519RW22)
        ucidef_set_led_netdev "lan" "lan" "arv7519rw22:green:lan" "eth0.1"
        ;;
+WBMR300)
+       ucidef_set_led_switch "lan1" "LAN1" "wbmr300:green:lan1" "switch0" "0x08"
+       ucidef_set_led_switch "lan2" "LAN2" "wbmr300:green:lan2" "switch0" "0x04"
+       ucidef_set_led_switch "wan" "WAN" "wbmr300:green:wan" "switch0" "0x10"
+       ucidef_set_led_switch "lan3" "LAN3" "wbmr300:green:lan3" "switch0" "0x20"
+       ucidef_set_led_default "router" "router" "wbmr300:green:router" "1"
+       ;;
 *)
        ;;
 esac