ath79: add support for TP-Link Archer D7/D7b v1
[openwrt/staging/ynezz.git] / target / linux / ath79 / generic / base-files / etc / board.d / 02_network
index 168399d5669877943f277080ed5d07455e9e95de..dbb722482b775d371cea9961f61cada4adc5a9fd 100755 (executable)
@@ -21,7 +21,6 @@ ath79_setup_interfaces()
        dlink,dir-505|\
        engenius,ecb1750|\
        glinet,gl-ar300m-lite|\
-       mikrotik,routerboard-wap-g-5hact2hnd|\
        netgear,ex6400|\
        netgear,ex7300|\
        ocedo,koala|\
@@ -41,7 +40,7 @@ ath79_setup_interfaces()
        tplink,re450-v1|\
        tplink,re450-v2|\
        tplink,tl-wr902ac-v1|\
-       ubnt,bullet-m|\
+       ubnt,bullet-m-ar7241|\
        ubnt,bullet-m-xw|\
        ubnt,lap-120|\
        ubnt,litebeam-ac-gen2|\
@@ -82,6 +81,7 @@ ath79_setup_interfaces()
        tplink,archer-c25-v1|\
        tplink,archer-c60-v1|\
        tplink,archer-c60-v2|\
+       tplink,archer-c60-v3|\
        tplink,tl-wdr3500-v1|\
        tplink,tl-wr842n-v1|\
        tplink,tl-wr842n-v3|\
@@ -252,6 +252,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "1:wan"
                ;;
+       tplink,archer-d7-v1|\
+       tplink,archer-d7b-v1)
+               ucidef_add_switch "switch0" \
+                       "0@eth1" "3:lan:3" "4:lan:2" "5:lan:1" "6@eth0" "2:wan:4" "1:wan:5"
+               ;;
        tplink,tl-mr6400-v1)
                ucidef_set_interfaces_lan_wan "eth0.1 eth1" "usb0"
                ucidef_add_switch "switch0" \
@@ -441,7 +446,7 @@ ath79_setup_macs()
                label_mac=$wan_mac
                ;;
        ubnt,airrouter|\
-       ubnt,bullet-m|\
+       ubnt,bullet-m-ar7241|\
        ubnt,nanostation-loco-m|\
        ubnt,nanostation-m|\
        ubnt,picostation-m|\