ath79: add support for TP-Link EAP265 HD
authorSander Vanheule <sander@svanheule.net>
Wed, 27 Apr 2022 15:27:28 +0000 (17:27 +0200)
committerSander Vanheule <sander@svanheule.net>
Wed, 27 Apr 2022 18:29:37 +0000 (20:29 +0200)
The EAP265 HD is a rebadged EAP245v3, so images are compatible with both
devices.

Link: https://fccid.io/TE7EAP265HD/Letter/6-Request-for-FCC-Change-ID-4823578.pdf
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/ath79/dts/qca9563_tplink_eap245-v3.dts
target/linux/ath79/image/generic-tp-link.mk

index ee9f5ff5c7f8341027ffc621ccc8f5a1f125ab63..5d789d78699c6fe96de7c79092c7647fee035248 100644 (file)
@@ -7,7 +7,7 @@
 
 / {
        compatible = "tplink,eap245-v3", "qca,qca9563";
-       model = "TP-Link EAP245 v3";
+       model = "TP-Link EAP245 v3 / EAP265 HD v1";
 
        aliases {
                led-boot = &led_status_green;
index 6479f6e26a8523c2275e3172368319c58f882c7a..ce0f81be6ecb8c040d5ecf9de4e15d5570a90ced 100644 (file)
@@ -451,6 +451,9 @@ define Device/tplink_eap245-v3
   IMAGE_SIZE := 14592k
   DEVICE_MODEL := EAP245
   DEVICE_VARIANT := v3
+  DEVICE_ALT0_VENDOR := $$(DEVICE_VENDOR)
+  DEVICE_ALT0_MODEL := EAP265 HD
+  DEVICE_ALT0_VARIANT := v1
   DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca99x0-ct
   TPLINK_BOARD_ID := EAP245-V3
 endef