ath79: add support for TP-Link Deco M4R v1 and v2
[openwrt/staging/mkresin.git] / target / linux / ath79 / generic / base-files / etc / board.d / 02_network
index 54c415275719508b78d530b83823ec85eaf9cb9e..78e2624fe7d7c2cde4349e1961974a30c4b3c824 100644 (file)
@@ -13,6 +13,10 @@ ath79_setup_interfaces()
        allnet,all-wap02860ac|\
        alfa-network,ap121f|\
        alfa-network,pi-wifi4|\
+       alfa-network,tube-2hq|\
+       araknis,an-300-ap-i-n|\
+       araknis,an-500-ap-i-ac|\
+       araknis,an-700-ap-i-ac|\
        arduino,yun|\
        aruba,ap-105|\
        asus,rp-ac66|\
@@ -44,6 +48,7 @@ ath79_setup_interfaces()
        meraki,mr16|\
        netgear,ex6400|\
        netgear,ex7300|\
+       netgear,ex7300-v2|\
        ocedo,koala|\
        ocedo,raccoon|\
        onion,omega|\
@@ -58,6 +63,10 @@ ath79_setup_interfaces()
        pisen,wmb001n|\
        pisen,wmm003n|\
        siemens,ws-ap3610|\
+       sophos,ap55|\
+       sophos,ap55c|\
+       sophos,ap100|\
+       sophos,ap100c|\
        tplink,cpe210-v2|\
        tplink,cpe210-v3|\
        tplink,cpe510-v2|\
@@ -84,6 +93,7 @@ ath79_setup_interfaces()
        ubnt,lap-120|\
        ubnt,litebeam-ac-gen2|\
        ubnt,nanobeam-ac|\
+       ubnt,nanobeam-ac-xc|\
        ubnt,nanobridge-m|\
        ubnt,nanostation-ac-loco|\
        ubnt,nanostation-loco-m|\
@@ -334,6 +344,7 @@ ath79_setup_interfaces()
                ;;
        mercury,mw4530r-v1|\
        tplink,archer-a7-v5|\
+       tplink,archer-a9-v6|\
        tplink,archer-c6-v2|\
        tplink,archer-c6-v2-us|\
        tplink,archer-c7-v4|\
@@ -358,6 +369,7 @@ ath79_setup_interfaces()
        ubnt,nanobeam-ac-gen2|\
        ubnt,nanostation-ac|\
        yuncore,a782|\
+       yuncore,xd3200|\
        yuncore,xd4200)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan" "3:wan"
@@ -433,14 +445,12 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:1" "2:lan:3" "3:lan:2"
                ;;
-       tplink,tl-wpa8630-v1|\
-       tplink,tl-wpa8630p-v2-int|\
-       tplink,tl-wpa8630p-v2.0-eu|\
-       tplink,tl-wpa8630p-v2.1-eu)
+       tplink,tl-wpa8630-v1)
                # port 5 (internal) is the power-line port
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4"
                ;;
+       tplink,tl-wr841hp-v2|\
        tplink,tl-wr842n-v2|\
        tplink,tl-wr941hp-v1)
                ucidef_set_interface_wan "eth1"
@@ -498,6 +508,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan"
                ;;
+       tplink,deco-m4r-v1)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "3:lan:1" "5:lan:2"
+               ;;
+       hiwifi,hc6361|\
        xiaomi,mi-router-4q|\
        zbtlink,zbt-wd323)
                ucidef_set_interface_wan "eth1"
@@ -526,6 +541,7 @@ ath79_setup_macs()
        alfa-network,n5q|\
        alfa-network,pi-wifi4|\
        alfa-network,r36a|\
+       alfa-network,tube-2hq|\
        engenius,eap300-v2|\
        engenius,ens202ext-v1)
                label_mac=$(mtd_get_mac_binary art 0x1002)
@@ -686,6 +702,7 @@ ath79_setup_macs()
                label_mac=$lan_mac
                ;;
        tplink,archer-a7-v5|\
+       tplink,archer-a9-v6|\
        tplink,archer-c7-v4|\
        tplink,archer-c7-v5|\
        tplink,tl-wr1043nd-v4|\
@@ -712,6 +729,7 @@ ath79_setup_macs()
                ;;
        ubnt,litebeam-ac-gen2|\
        ubnt,nanobeam-ac-gen2|\
+       ubnt,nanobeam-ac-xc|\
        ubnt,powerbeam-5ac-500|\
        ubnt,powerbeam-5ac-gen2)
                label_mac=$(mtd_get_mac_binary art 0x5006)