ath79: add support for TP-Link Archer c7 v2
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index d978c34..e2a45b0 100755 (executable)
@@ -40,6 +40,12 @@ ath79_setup_interfaces()
                "0@eth1" "1:lan" "2:lan" "3:lan:3" "4:lan:4"
                ;;
 
+       "tplink,tl-archer-c7-v2")
+               ucidef_set_interfaces_lan_wan "eth1.1" "eth0.2"
+               ucidef_add_switch "switch0" \
+                       "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan"
+               ;;
+
        "tplink,tl-mr3020-v1")
                ucidef_set_interface_lan "eth0.1"
                ucidef_add_switch "switch0" "0@eth0" "1:lan"