ramips: add support for A5-V11 board (resubmit)
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index c462fd8142e16d72c496c4445b651c8aae977ca2..6510b1ae904302d1ebd8f85a4a55cb50ca68b0da 100755 (executable)
@@ -37,6 +37,12 @@ ramips_setup_interfaces()
        ucidef_set_interface_loopback
 
        case $board in
        ucidef_set_interface_loopback
 
        case $board in
+       a5-v11)
+               ucidef_set_interface_lan "eth0.1"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "0 6t"
+               ;;
+
        3g300m | \
        w150m | \
        all0256n | \
        3g300m | \
        w150m | \
        all0256n | \
@@ -110,7 +116,8 @@ ramips_setup_interfaces()
        dir-615-h1 | \
        hlk-rm04 | \
        mzk-w300nh2 | \
        dir-615-h1 | \
        hlk-rm04 | \
        mzk-w300nh2 | \
-       mzk-750dhp)
+       mzk-750dhp | \
+       wt1520)
                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"
                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"
@@ -126,6 +133,7 @@ ramips_setup_interfaces()
        hg255d | \
        rt-n14u | \
        wrtnode | \
        hg255d | \
        rt-n14u | \
        wrtnode | \
+       wt3020 | \
        ur-326n4g | \
        zbt-wa05)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ur-326n4g | \
        zbt-wa05)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -250,6 +258,7 @@ ramips_setup_macs()
                lan_mac=$(macaddr_add "$lan_mac" -2)
                ;;
 
                lan_mac=$(macaddr_add "$lan_mac" -2)
                ;;
 
+       a5-v11 |\
        bc2 |\
        broadway |\
        d105 |\
        bc2 |\
        broadway |\
        d105 |\