--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "ar9344_tplink_tl-wdr4300.dtsi"
+
+/ {
+ model = "TP-Link TL-WDR4310 v1";
+ compatible = "tplink,tl-wdr4310-v1", "qca,ar9344";
+};
tplink,archer-c7-v5|\
tplink,tl-wdr3600-v1|\
tplink,tl-wdr4300-v1|\
- tplink,tl-wdr4300-v1-il)
+ tplink,tl-wdr4300-v1-il|\
+ tplink,tl-wdr4310-v1)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
;;
tplink,tl-wdr3600-v1|\
tplink,tl-wdr4300-v1|\
tplink,tl-wdr4300-v1-il|\
+ tplink,tl-wdr4310-v1|\
tplink,tl-wdr4900-v2|\
winchannel,wb2000)
caldata_extract "art" 0x5000 0x440
tplink,archer-c7-v2|\
tplink,tl-wdr3600-v1|\
tplink,tl-wdr4300-v1|\
-tplink,tl-wdr4300-v1-il)
+tplink,tl-wdr4300-v1-il|\
+tplink,tl-wdr4310-v1)
migrate_leds ":blue:=:green:"
;;
tplink,re355-v1)
endef
TARGET_DEVICES += tplink_tl-wdr4300-v1-il
+define Device/tplink_tl-wdr4310-v1
+ $(Device/tplink-8mlzma)
+ SOC := ar9344
+ DEVICE_MODEL := TL-WDR4310
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
+ TPLINK_HWID := 0x43100001
+ SUPPORTED_DEVICES += tl-wdr4300
+endef
+TARGET_DEVICES += tplink_tl-wdr4310-v1
+
define Device/tplink_tl-wdr4900-v2
$(Device/tplink-8mlzma)
SOC := qca9558