aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorMichael Lee <igvtee@gmail.com>2016-05-28 22:22:10 +0800
committerJohn Crispin <john@phrozen.org>2016-06-13 22:51:43 +0200
commit9a4935687d6d79e0eeae37204794fc68e17c8b68 (patch)
treec4642ab6221cf968da84f6926d3bfe4e575c8e4b /target/linux/ramips/base-files/etc
parent49b74218362eca516af5a4697a00cd4fa5d3640b (diff)
downloadupstream-9a4935687d6d79e0eeae37204794fc68e17c8b68.tar.gz
upstream-9a4935687d6d79e0eeae37204794fc68e17c8b68.tar.bz2
upstream-9a4935687d6d79e0eeae37204794fc68e17c8b68.zip
ramips: add support for DuZun DM06
DuZun DM06 is a develop board based on mt7628 64M RAM, 8M SPI Flash, 1 WAN, 1 LAN. wm8960 codec with line out, line in and speaker output. Signed-off-by: Michael Lee <igvtee@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
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 4728c75312..6807eede31 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -172,6 +172,10 @@ ramips_setup_interfaces()
wrh-300cr)
ucidef_set_interface_lan "eth0"
;;
+ duzun-dm06)
+ ucidef_add_switch "switch0" \
+ "1:lan" "0:wan" "6@eth0"
+ ;;
e1700|\
mt7620a_mt7530)
ucidef_add_switch "switch1" \