diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index dd483c0526b..592d2cb504b 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -189,6 +189,7 @@ tplink,tl-wr941-v4) ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10" ;; tplink,tl-wr740n-v4|\ +tplink,tl-wr740n-v5|\ tplink,tl-wr741nd-v4|\ tplink,tl-wr841-v8|\ tplink,tl-wr842n-v2) diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 08e7c295867..25c39aa3ff7 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -234,6 +234,7 @@ ath79_setup_interfaces() "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0" ;; tplink,tl-wr740n-v4|\ + tplink,tl-wr740n-v5|\ tplink,tl-wr741nd-v4|\ tplink,tl-wr841-v8|\ tplink,tl-wr842n-v2) diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v5.dts b/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v5.dts new file mode 100644 index 00000000000..a031bf38750 --- /dev/null +++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v5.dts @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "ar9331_tplink_tl-wr741nd-v4.dtsi" + +/ { + model = "TP-Link TL-WR740N v5"; + compatible = "tplink,tl-wr740n-v5", "qca,ar9331"; +}; diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk index 817f5d8ed61..84b0d320b16 100644 --- a/target/linux/ath79/image/tiny-tp-link.mk +++ b/target/linux/ath79/image/tiny-tp-link.mk @@ -93,6 +93,14 @@ define Device/tplink_tl-wr740n-v4 endef TARGET_DEVICES += tplink_tl-wr740n-v4 +define Device/tplink_tl-wr740n-v5 + $(Device/tplink-4mlzma) + ATH_SOC := ar9331 + DEVICE_TITLE := TP-Link TL-WR740N v5 + TPLINK_HWID := 0x07400005 +endef +TARGET_DEVICES += tplink_tl-wr740n-v5 + define Device/tplink_tl-wr741-v1 $(Device/tplink-4m) ATH_SOC := ar7240