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 a6427efe2bfb0c8af441174da6ddf50e9f5bf434..78e2624fe7d7c2cde4349e1961974a30c4b3c824 100644 (file)
@@ -508,6 +508,10 @@ 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)