summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-14 17:10:39 +0000
committerJohn Crispin <john@openwrt.org>2014-07-14 17:10:39 +0000
commit74db9511dc40410aceb6ab7122c965aa4bc42af3 (patch)
treeccc68ec277243b065bd8f580bdebaaca3fb988e9 /target/linux/ramips/base-files
parente33584f6b8281e0548ebd2c53463d32118858455 (diff)
downloadmtk-20170518-74db9511dc40410aceb6ab7122c965aa4bc42af3.zip
mtk-20170518-74db9511dc40410aceb6ab7122c965aa4bc42af3.tar.gz
mtk-20170518-74db9511dc40410aceb6ab7122c965aa4bc42af3.tar.bz2
ramips: basic support for Planex MZK-750DHP
some gpios are still missing. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41654
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
3 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index e958899..18a0448 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -90,6 +90,7 @@ case "$FIRMWARE" in
mofi3500-3gn | \
mpr-a1 | \
mpr-a2 | \
+ mzk-750dhp | \
pwh2004 | \
ncs601w | \
nbg-419n | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 39f46bb..b54b555 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -97,7 +97,8 @@ ramips_setup_interfaces()
dir-320-b1 | \
dir-615-h1 | \
hlk-rm04 | \
- mzk-w300nh2)
+ mzk-w300nh2 | \
+ mzk-750dhp)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index b36b53c..2e831d2 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -160,6 +160,9 @@ ramips_board_detect() {
*"HAME MPR-A2")
name="mpr-a2"
;;
+ *"Planex MZK-750DHP")
+ name="mzk-750dhp"
+ ;;
*"NBG-419N")
name="nbg-419n"
;;