ath79: Fix support for TP-LINK Archer C7 v2
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index c5e23e4e50107476d4046c3098d4ef528d290f72..b209bdad29068d0033f788b1e7e95aade502ac6d 100755 (executable)
@@ -14,6 +14,7 @@ ath79_setup_interfaces()
                ;;
        "avm,fritz300e"|\
        "ocedo,raccoon"|\
+       "pcs,cap324"|\
        "tplink,re450-v2"|\
        "tplink,tl-mr10u"|\
        "tplink,tl-wr703n"|\
@@ -43,8 +44,12 @@ ath79_setup_interfaces()
                "0@eth1" "1:lan" "2:lan" "3:lan:3" "4:lan:4"
                ;;
 
+       "pcs,cr5000")
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+               ;;
+
        "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"
                ;;