ar71xx: add support for YunCore SR3200 and XD3200
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 02_network
index df87c96a3f80f44bd75d5d910b791ea636a3964c..57d690d60cc9c06ffd0b3520216e24c381454d1c 100755 (executable)
@@ -66,6 +66,8 @@ ar71xx_setup_interfaces()
        bullet-m|\
        c-55|\
        cap4200ag|\
+       cf-e380ac-v1|\
+       cf-e380ac-v2|\
        eap120|\
        eap300v2|\
        eap7660d|\
@@ -228,6 +230,7 @@ ar71xx_setup_interfaces()
        dir-835-a1|\
        esr900|\
        mynet-n750|\
+       sr3200|\
        wndr3700v4|\
        wndr4300)
                ucidef_add_switch "switch0" \
@@ -343,9 +346,13 @@ ar71xx_setup_interfaces()
        rb-450)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
                ucidef_add_switch "switch0" \
-                       "0:lan" "1:lan" "2:lan" "3:lan" "5@eth1"
+                       "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth1"
+               ;;
+       rb-450g)
+               ucidef_set_interfaces_lan_wan "eth1" "eth0"
+               ucidef_add_switch "switch0" \
+                       "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2"
                ;;
-       rb-450g|\
        routerstation-pro)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
                ucidef_add_switch "switch0" \
@@ -389,7 +396,8 @@ ar71xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:wan"
                ;;
-       unifiac-pro)
+       unifiac-pro|\
+       xd3200)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan" "3:wan"
                ;;