ath79: add support for TP-Link TL-WDR4300 v1 (IL)
The TL-WDR4300 v1 sold in Israel has a different TPLINK_HWID.
Thanks to Josh4300 for testing on device.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit c642a97aa6)
			
			
This commit is contained in:
		| @@ -196,6 +196,7 @@ ath79_setup_interfaces() | |||||||
| 	tplink,archer-c7-v5|\ | 	tplink,archer-c7-v5|\ | ||||||
| 	tplink,tl-wdr3600-v1|\ | 	tplink,tl-wdr3600-v1|\ | ||||||
| 	tplink,tl-wdr4300-v1|\ | 	tplink,tl-wdr4300-v1|\ | ||||||
|  | 	tplink,tl-wdr4300-v1-il|\ | ||||||
| 	tplink,tl-wr941n-v7-cn) | 	tplink,tl-wr941n-v7-cn) | ||||||
| 		ucidef_add_switch "switch0" \ | 		ucidef_add_switch "switch0" \ | ||||||
| 			"0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" | 			"0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan" | ||||||
|   | |||||||
| @@ -154,6 +154,7 @@ case "$FIRMWARE" in | |||||||
| 	ocedo,raccoon|\ | 	ocedo,raccoon|\ | ||||||
| 	tplink,tl-wdr3600-v1|\ | 	tplink,tl-wdr3600-v1|\ | ||||||
| 	tplink,tl-wdr4300-v1|\ | 	tplink,tl-wdr4300-v1|\ | ||||||
|  | 	tplink,tl-wdr4300-v1-il|\ | ||||||
| 	tplink,tl-wdr4900-v2|\ | 	tplink,tl-wdr4900-v2|\ | ||||||
| 	winchannel,wb2000) | 	winchannel,wb2000) | ||||||
| 		ath9k_eeprom_extract "art" 20480 1088 | 		ath9k_eeprom_extract "art" 20480 1088 | ||||||
|   | |||||||
| @@ -0,0 +1,9 @@ | |||||||
|  | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||||||
|  | /dts-v1/; | ||||||
|  |  | ||||||
|  | #include "ar9344_tplink_tl-wdr4300.dtsi" | ||||||
|  |  | ||||||
|  | / { | ||||||
|  | 	model = "TP-Link TL-WDR4300 v1 (IL)"; | ||||||
|  | 	compatible = "tplink,tl-wdr4300-v1-il", "qca,ar9344"; | ||||||
|  | }; | ||||||
| @@ -234,6 +234,16 @@ define Device/tplink_tl-wdr4300-v1 | |||||||
| endef | endef | ||||||
| TARGET_DEVICES += tplink_tl-wdr4300-v1 | TARGET_DEVICES += tplink_tl-wdr4300-v1 | ||||||
|  |  | ||||||
|  | define Device/tplink_tl-wdr4300-v1-il | ||||||
|  |   $(Device/tplink-8mlzma) | ||||||
|  |   ATH_SOC := ar9344 | ||||||
|  |   DEVICE_TITLE := TP-Link TL-WDR4300 v1 (IL) | ||||||
|  |   DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport | ||||||
|  |   TPLINK_HWID := 0x43008001 | ||||||
|  |   SUPPORTED_DEVICES += tl-wdr4300 | ||||||
|  | endef | ||||||
|  | TARGET_DEVICES += tplink_tl-wdr4300-v1-il | ||||||
|  |  | ||||||
| define Device/tplink_tl-wdr4900-v2 | define Device/tplink_tl-wdr4900-v2 | ||||||
|   $(Device/tplink-8mlzma) |   $(Device/tplink-8mlzma) | ||||||
|   ATH_SOC := qca9558 |   ATH_SOC := qca9558 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Adrian Schmutzler
					Adrian Schmutzler