diff options
author | Cezary Jackiewicz <cezary.jackiewicz@gmail.com> | 2016-09-25 21:09:31 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-09-27 17:50:21 +0200 |
commit | 66aae9a27154f837607337fc099bd72fe4a9edf9 (patch) | |
tree | 3ac90d841f9bf7b5ae9c4cd742046286f2a9a3db /target/linux/ramips/base-files | |
parent | 875cddd94cea002fae1b7eeb20ef2098410c44c1 (diff) | |
download | mtk-20170518-66aae9a27154f837607337fc099bd72fe4a9edf9.zip mtk-20170518-66aae9a27154f837607337fc099bd72fe4a9edf9.tar.gz mtk-20170518-66aae9a27154f837607337fc099bd72fe4a9edf9.tar.bz2 |
ramips: Add support for ZBT-CPE102
- CPU: MT7620N 580MHz
- Flash: 8MB
- RAM: 64MB
- build-in minipcie slot for modem 3G/4G
- one ethernet port 10/100Mbps
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 11 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 97c405d..29bba0b 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -318,6 +318,9 @@ zbt-ape522ii) ucidef_set_led_netdev "sys1" "wlan1" "$board:green:sys1" "wlan1" "tx rx" ucidef_set_led_netdev "sys2" "wlan0" "$board:green:sys2" "wlan0" "tx rx" ;; +zbt-cpe102) + ucidef_set_led_default "power" "power" "$board:green:4g-0" "0" + ;; zbt-wa05) ucidef_set_led_default "power" "power" "$board:blue:power" "1" set_wifi_led "$board:blue:air" 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 675dcc9..e757acb 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -53,6 +53,7 @@ ramips_setup_interfaces() w150m|\ widora-neo|\ wnce2001|\ + zbt-cpe102|\ zte-q7) ucidef_add_switch "switch0" ucidef_add_switch_attr "switch0" "enable" "false" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 969594d..1eb4036 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -208,6 +208,9 @@ get_status_led() { wrtnode) status_led="wrtnode:blue:indicator" ;; + zbt-cpe102) + status_led="$board:green:4g-0" + ;; esac } diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 98bc68c..3a72835 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -541,6 +541,9 @@ ramips_board_detect() { *"ZBT-APE522II") name="zbt-ape522ii" ;; + *"ZBT-CPE102") + name="zbt-cpe102" + ;; *"ZBT-WA05") name="zbt-wa05" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index e3a74e0..a71d806 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -160,6 +160,7 @@ platform_check_image() { y1|\ y1s|\ zbt-ape522ii|\ + zbt-cpe102|\ zbt-wa05|\ zbt-we826|\ zbt-wg2626|\ |