ramips: add support for A5-V11 board (resubmit)
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index e027b3b..6510b1a 100755 (executable)
@@ -37,6 +37,12 @@ ramips_setup_interfaces()
        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 | \
@@ -97,6 +103,12 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "4 9t"
                ;;
 
+       ht-tm02)
+               ucidef_set_interface_lan "eth0.1"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "4 6t"
+               ;;
+
        3g-6200n | \
        dir-610-a1 | \
        dir-300-b7 | \
@@ -104,7 +116,8 @@ ramips_setup_interfaces()
        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"
@@ -120,6 +133,7 @@ ramips_setup_interfaces()
        hg255d | \
        rt-n14u | \
        wrtnode | \
+       wt3020 | \
        ur-326n4g | \
        zbt-wa05)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -244,6 +258,7 @@ ramips_setup_macs()
                lan_mac=$(macaddr_add "$lan_mac" -2)
                ;;
 
+       a5-v11 |\
        bc2 |\
        broadway |\
        d105 |\
@@ -253,6 +268,7 @@ ramips_setup_macs()
        hlk-rm04 | \
        mpr-a1 | \
        mpr-a2 | \
+        ht-tm02 | \
        dir-300-b7 | \
        dir-320-b1 | \
        psr-680w |\