aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-03-01 09:17:06 +0000
committerJohn Crispin <blogic@openwrt.org>2016-03-01 09:17:06 +0000
commit1c9268405ea006c8ac01c6cfef1774070ebafada (patch)
tree62acf38eaf00e5b51615548fb3f67995d08b37c0 /target/linux/ramips/base-files/etc/board.d
parent6a47427d7c471bcd274a1e41f91a32845feec34a (diff)
downloadmaster-187ad058-1c9268405ea006c8ac01c6cfef1774070ebafada.tar.gz
master-187ad058-1c9268405ea006c8ac01c6cfef1774070ebafada.tar.bz2
master-187ad058-1c9268405ea006c8ac01c6cfef1774070ebafada.zip
ramips: Added support for ZBT-826 / ZBT-1026
Support for these MT7620-based routers: https://wiki.openwrt.org/toh/zbt/we-826 Based on Oskari’s patches found here: https://dev.openwrt.org/ticket/19996 Signed-off-by: Jamie Stuart <jamie@onebillion.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/01_leds5
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/02_network1
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index d1b4e159ae..8fd50fedc7 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -268,6 +268,11 @@ zbt-wa05)
set_wifi_led "$board:blue:air"
set_usb_led "$board:blue:usb"
;;
+zbt-we826)
+ ucidef_set_led_default "power" "power" "$board:green:power" "1"
+ set_wifi_led "$board:green:wifi"
+ set_usb_led "$board:green:usb"
+ ;;
zbt-wr8305rt)
ucidef_set_led_default "power" "power" "$board:green:sys" "1"
set_usb_led "$board:green:usb"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 0121e51665..0a680d0975 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -209,6 +209,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "0:wan" "6@eth0"
;;
+ zbt-we826|\
zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"