summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-01 09:17:06 +0000
committerJohn Crispin <john@openwrt.org>2016-03-01 09:17:06 +0000
commit96eb5c6fa8ead2bf749b78dff2f55a340cff020e (patch)
tree656a0d12212f28236f35d09887ac4cccc65032bf /target/linux/ramips/base-files/etc
parent59121fdd69f04ae766069944d10eacb2a4286316 (diff)
downloadmtk-20170518-96eb5c6fa8ead2bf749b78dff2f55a340cff020e.zip
mtk-20170518-96eb5c6fa8ead2bf749b78dff2f55a340cff020e.tar.gz
mtk-20170518-96eb5c6fa8ead2bf749b78dff2f55a340cff020e.tar.bz2
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> SVN-Revision: 48865
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-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 d1b4e15..8fd50fe 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 0121e51..0a680d0 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"