From 1edba538a97fe8a17a388a43506fe562533b02ed Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Thu, 2 Aug 2018 13:17:44 +0800 Subject: ath79: Fix led nodes for TL-WR740N v2 and add its clones This patch did the following things: 1. Separate ath9k-leds out of gpio leds so that all other leds will work before ath9k loded (e.g. during preinit/init stage). 2. Rename wps led to qss since that's how TP-Link mark it. 3. Rename LED prefix to tp-link because that dts is shared by many devices. 4. Rename to wr740n-v1 because v1 is the first and v2 just use the fw of v1. (This will require a forced sysupgrade if you comes from the previous wr740n v2 image.) 5. Remove SUPPORTED_DEVICES. (tl-wr740n-v2 doesn't exist anywhere so it's useless.) 6. Add all WR741ND v1 clones found in ar71xx. Signed-off-by: Chuanhong Guo --- target/linux/ath79/image/tiny-tp-link.mk | 47 +++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 4 deletions(-) (limited to 'target/linux/ath79/image/tiny-tp-link.mk') diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk index 44dd2700a5..6aefd9e14c 100644 --- a/target/linux/ath79/image/tiny-tp-link.mk +++ b/target/linux/ath79/image/tiny-tp-link.mk @@ -51,14 +51,21 @@ define Device/tplink_tl-wr703n endef TARGET_DEVICES += tplink_tl-wr703n -define Device/tplink_tl-wr740n-v2 +define Device/tplink_tl-wr740n-v1 $(Device/tplink-4m) ATH_SOC := ar7240 - DEVICE_TITLE := TP-Link TL-WR740N/ND v2 + DEVICE_TITLE := TP-Link TL-WR740N v1/v2 TPLINK_HWID := 0x07400001 - SUPPORTED_DEVICES += tl-wr740n-v2 endef -TARGET_DEVICES += tplink_tl-wr740n-v2 +TARGET_DEVICES += tplink_tl-wr740n-v1 + +define Device/tplink_tl-wr740n-v3 + $(Device/tplink-4m) + ATH_SOC := ar7240 + DEVICE_TITLE := TP-Link TL-WR740N v3 + TPLINK_HWID := 0x07400003 +endef +TARGET_DEVICES += tplink_tl-wr740n-v3 define Device/tplink_tl-wr740nd-v4 $(Device/tplink-4mlzma) @@ -69,6 +76,14 @@ define Device/tplink_tl-wr740nd-v4 endef TARGET_DEVICES += tplink_tl-wr740nd-v4 +define Device/tplink_tl-wr741-v1 + $(Device/tplink-4m) + ATH_SOC := ar7240 + DEVICE_TITLE := TP-Link TL-WR741N/ND v1/v2 + TPLINK_HWID := 0x07410001 +endef +TARGET_DEVICES += tplink_tl-wr741-v1 + define Device/tplink_tl-wr741nd-v4 $(Device/tplink-4mlzma) ATH_SOC := ar9331 @@ -78,6 +93,22 @@ define Device/tplink_tl-wr741nd-v4 endef TARGET_DEVICES += tplink_tl-wr741nd-v4 +define Device/tplink_tl-wr743nd-v1 + $(Device/tplink-4m) + ATH_SOC := ar7240 + DEVICE_TITLE := TP-Link TL-WR743ND v1 + TPLINK_HWID := 0x07430001 +endef +TARGET_DEVICES += tplink_tl-wr743nd-v1 + +define Device/tplink_tl-wr841-v5 + $(Device/tplink-4m) + ATH_SOC := ar7240 + DEVICE_TITLE := TP-Link TL-WR841N/ND v5/v6 + TPLINK_HWID := 0x08410005 +endef +TARGET_DEVICES += tplink_tl-wr841-v5 + define Device/tplink_tl-wr841-v7 $(Device/tplink-4m) ATH_SOC := ar7241 @@ -95,3 +126,11 @@ define Device/tplink_tl-wr841-v9 SUPPORTED_DEVICES += tl-wr841n-v9 endef TARGET_DEVICES += tplink_tl-wr841-v9 + +define Device/tplink_tl-wr941-v4 + $(Device/tplink-4m) + ATH_SOC := ar7240 + DEVICE_TITLE := TP-Link TL-WR941N/ND v4 + TPLINK_HWID := 0x09410004 +endef +TARGET_DEVICES += tplink_tl-wr941-v4 -- cgit v1.2.3