aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-09 16:51:39 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-11 09:49:13 +0200
commit2d48f93ff4537628f6860cf6f562b7282384b035 (patch)
tree76bde06bd47f7fb92e3bde1bc56310772163d202 /target/linux/lantiq/base-files/etc/board.d/01_leds
parentcc87d144e18762db8fd40b2eed970111186994b2 (diff)
downloadupstream-2d48f93ff4537628f6860cf6f562b7282384b035.tar.gz
upstream-2d48f93ff4537628f6860cf6f562b7282384b035.tar.bz2
upstream-2d48f93ff4537628f6860cf6f562b7282384b035.zip
lantiq: add Buffalo WBMR-300HPD support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/01_leds7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/01_leds b/target/linux/lantiq/base-files/etc/board.d/01_leds
index 39b693ac19..c365468030 100755
--- a/target/linux/lantiq/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/base-files/etc/board.d/01_leds
@@ -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