diff options
author | Jimmy Zhong <mb300sd@mb300sd.net> | 2016-08-03 13:58:01 -0400 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-08-10 03:03:50 +0200 |
commit | 2b1f4945b155ffee7f9c7f44bb90e5498b880ff5 (patch) | |
tree | cbf0bc8cb880f782c52a478c497b674b8d41c1b7 /target/linux/ramips/base-files | |
parent | 5947f7f85e191f8392847a199ad40a6de7be9408 (diff) | |
download | upstream-2b1f4945b155ffee7f9c7f44bb90e5498b880ff5.tar.gz upstream-2b1f4945b155ffee7f9c7f44bb90e5498b880ff5.tar.bz2 upstream-2b1f4945b155ffee7f9c7f44bb90e5498b880ff5.zip |
ramips: Add support for TEW-714TRU
Signed-off-by: Jimmy Zhong <mb300sd@mb300sd.net>
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 9 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 9624b1c64a..97c405d3fd 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -269,6 +269,10 @@ rt-n14u) set_wifi_led "$board:blue:air" set_usb_led "$board:blue:usb" ;; +tew-714tru) + set_usb_led "$board:red:usb" + set_wifi_led "$board:green:wifi" + ;; tiny-ac) set_wifi_led "$board:orange:wifi" 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 a404af9fbc..6aba1b0b1d 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -212,6 +212,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0" ;; + tew-714tru|\ v11st-fe|\ wzr-agl300nh) ucidef_add_switch "switch0" \ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 565d5138cb..1ea4fb2d71 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -403,6 +403,9 @@ ramips_board_detect() { *"TEW-692GR") name="tew-692gr" ;; + *"TEW-714TRU") + name="tew-714tru" + ;; *"UBNT-ERX") name="ubnt-erx" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 88547ca083..d9adf184d4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -118,6 +118,7 @@ platform_check_image() { sl-r7205|\ tew-691gr|\ tew-692gr|\ + tew-714tru|\ tiny-ac|\ ur-326n4g|\ ur-336un|\ |