ath79: add support for TP-Link Archer A9 v6
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / etc / board.d / 02_network
index 025d55fec095ec24ae0ccb15a41c65f82ea75991..86ce8f5bd726ceff21c10dbde1847d860292000d 100644 (file)
@@ -13,8 +13,10 @@ ath79_setup_interfaces()
        allnet,all-wap02860ac|\
        alfa-network,ap121f|\
        alfa-network,pi-wifi4|\
+       alfa-network,tube-2hq|\
        arduino,yun|\
        aruba,ap-105|\
+       asus,rp-ac66|\
        avm,fritz1750e|\
        avm,fritz300e|\
        avm,fritzdvbc|\
@@ -43,8 +45,10 @@ ath79_setup_interfaces()
        meraki,mr16|\
        netgear,ex6400|\
        netgear,ex7300|\
+       netgear,ex7300-v2|\
        ocedo,koala|\
        ocedo,raccoon|\
+       onion,omega|\
        openmesh,mr600-v1|\
        openmesh,mr600-v2|\
        openmesh,mr900-v1|\
@@ -62,7 +66,9 @@ ath79_setup_interfaces()
        tplink,cpe510-v3|\
        tplink,cpe610-v1|\
        tplink,cpe610-v2|\
+       tplink,cpe710-v1|\
        tplink,eap225-outdoor-v1|\
+       tplink,eap225-v1|\
        tplink,eap225-v3|\
        tplink,eap245-v1|\
        tplink,re350k-v1|\
@@ -70,6 +76,8 @@ ath79_setup_interfaces()
        tplink,re450-v1|\
        tplink,re450-v2|\
        tplink,re450-v3|\
+       tplink,re455-v1|\
+       tplink,tl-wa1201-v2|\
        tplink,tl-wr902ac-v1|\
        ubnt,bullet-ac|\
        ubnt,bullet-m-ar7240|\
@@ -78,6 +86,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|\
@@ -85,7 +94,8 @@ ath79_setup_interfaces()
        ubnt,picostation-m|\
        ubnt,powerbeam-5ac-500|\
        ubnt,powerbeam-5ac-gen2|\
-       ubnt,powerbeam-m-xw|\
+       ubnt,powerbeam-m2-xw|\
+       ubnt,powerbeam-m5-xw|\
        ubnt,powerbridge-m|\
        ubnt,rocket-5ac-lite|\
        ubnt,rocket-m|\
@@ -114,11 +124,18 @@ ath79_setup_interfaces()
        ubnt,unifi-ap-outdoor-plus)
                ucidef_set_interface_lan "eth0 eth1"
                ;;
+       atheros,db120)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan"
+               ucidef_add_switch "switch1" \
+                       "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:lan"
+               ;;
        avm,fritz4020|\
        pcs,cr3000|\
        tplink,archer-c58-v1|\
        tplink,archer-c59-v1|\
-       tplink,archer-c59-v2)
+       tplink,archer-c59-v2|\
+       wd,mynet-n600)
                ucidef_set_interface_wan "eth1"
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2"
@@ -174,6 +191,7 @@ ath79_setup_interfaces()
        compex,wpj531-16m|\
        openmesh,a40|\
        openmesh,a60|\
+       openmesh,om2p-v1|\
        openmesh,om2p-v4|\
        openmesh,om2p-hs-v4|\
        plasmacloud,pa300|\
@@ -213,6 +231,10 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "3:lan" "2:wan"
                ;;
+       compex,wpj558-16m)
+               ucidef_add_switch "switch0" \
+                       "1:wan" "5:lan" "6@eth0"
+               ;;
        devolo,dlan-pro-1200plus-ac|\
        devolo,magic-2-wifi)
                ucidef_add_switch "switch0" \
@@ -250,6 +272,10 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "5:lan:1" "1:wan"
                ;;
+       embeddedwireless,balin)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "5:lan:1" "4:lan:2" "3:wan"
+               ;;
        embeddedwireless,dorin)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:wan" "2:lan:3" "3:lan:2"
@@ -271,6 +297,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan"
                ;;
+       glinet,gl-x300b)
+               ucidef_set_interface_wan "eth1"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "4:lan"
+               ;;
        iodata,etg3-r|\
        iodata,wn-ac1167dgr|\
        iodata,wn-ac1600dgr|\
@@ -281,6 +312,20 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
                ;;
+       jjplus,jwap230)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "5:wan:1" "1:lan:2" "6@eth1"
+               ;;
+       joyit,jt-or750i)
+               ucidef_set_interface_wan "eth1"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1"
+               ;;
+       letv,lba-047-ch)
+               ucidef_set_interface_wan "eth0"
+               ucidef_add_switch "switch0" \
+                       "0@eth1" "3:lan:2" "4:lan:1"
+               ;;
        librerouter,librerouter-v1)
                ucidef_add_switch "switch0" \
                        "0@eth0" "5:wan" "6@eth1" "4:lan"
@@ -292,6 +337,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|\
@@ -399,6 +445,7 @@ ath79_setup_interfaces()
                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"
@@ -484,6 +531,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)
@@ -510,6 +558,7 @@ ath79_setup_macs()
                wan_mac=$(macaddr_add $(mtd_get_mac_binary art 0x0) 1)
                ;;
        compex,wpj344-16m|\
+       compex,wpj558-16m|\
        compex,wpj563)
                wan_mac=$(mtd_get_mac_binary u-boot 0x2e018)
                ;;
@@ -555,6 +604,7 @@ ath79_setup_macs()
                ;;
        dlink,dir-859-a1|\
        qihoo,c301|\
+       wd,mynet-n600|\
        wd,mynet-n750)
                lan_mac=$(mtd_get_mac_ascii devdata "lanmac")
                wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
@@ -642,6 +692,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|\
@@ -668,6 +719,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)