ramips: add support for VoCore2
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index 63bf123b73ea91d1c434e09ccf386d20372ffec8..e84a52d4a6a1c276030d55547081fb997a7ecb1b 100755 (executable)
@@ -32,6 +32,11 @@ ramips_setup_interfaces()
        local board="$1"
 
        case $board in
+       11acnas|\
+       w2914nsv2)
+               ucidef_add_switch "switch0" \
+                       "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0"
+               ;;
        3g150b|\
        3g300m|\
        a5-v11|\
@@ -217,6 +222,11 @@ ramips_setup_interfaces()
        wl-330n)
                ucidef_set_interface_lan "eth0.1"
                ;;
+       mr200)
+               ucidef_add_switch "switch0" \
+                       "0:lan" "1:lan" "2:lan" "3:lan" "6t@eth0"
+               ucidef_set_interface_wan "usb0"
+               ;;
        mzk-dp150n|\
        vocore)
                ucidef_add_switch "switch0" \
@@ -239,6 +249,10 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0"
                ;;
+       vocore2)
+               ucidef_add_switch "switch0" \
+                       "0:lan" "2:lan" "6t@eth0"
+               ;;
        f5d8235-v1|\
        tew-714tru|\
        v11st-fe|\
@@ -246,10 +260,6 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5@eth0"
                ;;
-       w2914nsv2)
-               ucidef_add_switch "switch0" \
-                       "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0"
-               ;;
        wcr-150gn)
                ucidef_add_switch "switch0" \
                        "0:lan" "6t@eth0"