aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-09 10:26:41 +0000
committerJohn Crispin <john@openwrt.org>2016-04-09 10:26:41 +0000
commitd9799dea89ea1da5bbc0c9146a2e1ae5e54bd742 (patch)
tree4f4dfd04930430d21ffbf225dd53a8dc2c0017c0 /target/linux/ar71xx/base-files/etc/board.d
parent2cba297ea064df58259f2b4dafbcdd05291d38b5 (diff)
downloadupstream-d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742.tar.gz
upstream-d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742.tar.bz2
upstream-d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742.zip
ar71xx: add support for Compex WPJ342
OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 49157
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index bd488a26ff..c6a20149b5 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -405,6 +405,11 @@ gl-ar300)
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;;
+wpj342)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan" "2:wan"
+ ;;
+
wpj344)
ucidef_add_switch "switch0" \
"0@eth0" "3:lan" "2:wan"