summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-26 11:43:06 +0000
committerJohn Crispin <john@openwrt.org>2016-04-26 11:43:06 +0000
commit279eeeb744f1d3e0d3af7b5801324b05fbf75ffa (patch)
tree45a0024232ca1f1089be955b1c4bbb49ea538732 /target/linux/ramips/base-files
parente55d86ef323377b40d35cf9d927cd2370e8d4842 (diff)
downloadmtk-20170518-279eeeb744f1d3e0d3af7b5801324b05fbf75ffa.zip
mtk-20170518-279eeeb744f1d3e0d3af7b5801324b05fbf75ffa.tar.gz
mtk-20170518-279eeeb744f1d3e0d3af7b5801324b05fbf75ffa.tar.bz2
ramips: add support for Planex MZK-EX300NP
MZK-EX300NP is MT7620A based wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49235
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 8 insertions, 1 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 367801d..a263b52 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -119,7 +119,8 @@ dir-615-h1)
ucidef_set_led_default "status" "Status LED (amber)" "$board:amber:status" "0"
set_wifi_led "rt2800pci-phy0::radio"
;;
-dir-620-d1)
+dir-620-d1|\
+mzk-ex300np)
set_wifi_led "$board:green:wifi"
;;
dir-810l|\
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 dc3d1bc..28fcc61 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -163,6 +163,7 @@ ramips_setup_interfaces()
cs-qr10|\
d105|\
hpm|\
+ mzk-ex300np|\
na930|\
wli-tx4-ag300n|\
wrh-300cr)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 2d43f54..352357c 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -155,6 +155,7 @@ get_status_led() {
whr-600d)
status_led="$board:orange:wifi"
;;
+ mzk-ex300np|\
rt-n10-plus|\
tew-691gr|\
tew-692gr|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 73dd599..13d325d 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -295,6 +295,9 @@ ramips_board_detect() {
*"MZK-DP150N")
name="mzk-dp150n"
;;
+ *"MZK-EX300NP")
+ name="mzk-ex300np"
+ ;;
*"MZK-W300NH2"*)
name="mzk-w300nh2"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index f153b02..522e78a 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -89,6 +89,7 @@ platform_check_image() {
mt7628|\
mzk-750dhp|\
mzk-dp150n|\
+ mzk-ex300np|\
mzk-w300nh2|\
mzk-wdpr|\
nbg-419n|\