ar71xx: add support for TL-WR802N Version 2
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 02_network
index 4f7ddacaca4a5084ce216688c1e4af251668d782..95faea070225d7305e311ccf6f685bd43cbce3bb 100755 (executable)
@@ -116,6 +116,7 @@ ar71xx_setup_interfaces()
        tl-wa901nd-v4|\
        tl-wr703n|\
        tl-wr802n-v1|\
+       tl-wr802n-v2|\
        tube2h|\
        unifiac-lite|\
        wndap360|\
@@ -136,6 +137,7 @@ ar71xx_setup_interfaces()
        om2p-hsv4|\
        pb42|\
        pb44|\
+       rb-750-r2|\
        rb-750up-r2|\
        rb-951ui-2hnd|\
        rb-951ui-2nd|\
@@ -205,9 +207,15 @@ ar71xx_setup_interfaces()
                        "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan"
                ;;
        archer-c59-v1|\
+       rb-450g)
+               ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
+               ucidef_add_switch "switch0" \
+                       "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2"
+               ;;
        archer-c60-v1)
+               ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
                ucidef_add_switch "switch0" \
-                       "0@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "5:lan:1" "1:wan"
+                       "0@eth1" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4"
                ;;
        arduino-yun|\
        dir-505-a1|\
@@ -373,11 +381,6 @@ ar71xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth1"
                ;;
-       rb-450g)
-               ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
-               ucidef_add_switch "switch0" \
-                       "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2"
-               ;;
        routerstation-pro)
                ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
                ucidef_add_switch "switch0" \