aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-17 12:51:08 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-17 12:51:08 +0000
commit69cb00bb453f7262ce6a945722c5bcd604a74112 (patch)
treeb6c3665976f2edee147fb116d44a173d01761c4c /target/linux/ramips/base-files/etc/board.d
parenteb31fefa1258f60ab358e2b99e547c569928947b (diff)
downloadmaster-187ad058-69cb00bb453f7262ce6a945722c5bcd604a74112.tar.gz
master-187ad058-69cb00bb453f7262ce6a945722c5bcd604a74112.tar.bz2
master-187ad058-69cb00bb453f7262ce6a945722c5bcd604a74112.zip
ramips: add support for Planex MZK-DP150N
This patch add support for Planex MZK-DP150N. a mini router on the MT7620A SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network7
2 files changed, 10 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 fe3a79d14d..0672a2272b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -265,6 +265,9 @@ case $board in
zte-q7)
set_wifi_led "zte:blue:status"
;;
+ mzk-dp150n)
+ ucidef_set_led_default "power" "power" "mzkdp150n:green:power" "1"
+ ;;
esac
board_config_flush
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 9fb3535149..f896afafee 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -261,6 +261,13 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
ucidef_add_switch_vlan "switch0" "2" "0 5t"
;;
+
+ mzk-dp150n)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 4 6t"
+ ;;
+
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then