summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-03-06 14:41:57 +0000
committerLuka Perkov <luka@openwrt.org>2015-03-06 14:41:57 +0000
commitb065411a85c10d6be7f5cdb80026ad43c6303013 (patch)
tree24a6d69ed1d6a9d767ae9334e35360d30136e65b /target/linux/ar71xx/base-files/etc/uci-defaults
parent8dc388f769d7d4824e2a58f7ecb51d539d253d78 (diff)
downloadmtk-20170518-b065411a85c10d6be7f5cdb80026ad43c6303013.zip
mtk-20170518-b065411a85c10d6be7f5cdb80026ad43c6303013.tar.gz
mtk-20170518-b065411a85c10d6be7f5cdb80026ad43c6303013.tar.bz2
ar71xx: add support for compex wpj558
OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44620
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/02_network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index fdefb5a..20f34d5 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -359,6 +359,13 @@ wpe72)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
+wpj558)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "5 6t"
+ ucidef_add_switch_vlan "switch0" "2" "1 6t"
+ ;;
+
ap121 |\
ap121-mini |\
ap96 |\