qualcommax: ipq60xx: rename TP-Link EAP623-Outdoor HD v1 compatible

Originally, the .compatible string for EAP623-Outdoor HD tried to
shorten the "-outdoor" to "od". However, this naming was inconsistent
with the existing "eap610-outdoor". As "od" is not a common shorthand,
spell out the complete word: "eap623-outdoor-hd-v1".

Fixes: 5dbf93c8c5 ("ipq60xx: add support for TP-Link EAP623-Outdoor HD v1")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18804
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Alexandru Gagniuc 2025-05-14 11:47:23 -05:00 committed by Robert Marko
parent 53f477f034
commit d755c49f7a
7 changed files with 15 additions and 9 deletions

View file

@ -7,6 +7,12 @@ touch /etc/config/ubootenv
board=$(board_name)
ubootenv_add_mtd() {
local idx="$(find_mtd_index "${1}")"
[ -n "$idx" ] && \
ubootenv_add_uci_config "/dev/mtd$idx" "${2}" "${3}" "${4}"
}
case "$board" in
8devices,mango-dvk|\
8devices,mango-dvk-sfp|\
@ -25,7 +31,7 @@ netgear,wax214|\
netgear,wax610|\
netgear,wax610y|\
tplink,eap610-outdoor|\
tplink,eap623od-hd-v1|\
tplink,eap623-outdoor-hd-v1|\
tplink,eap620-hd-v3|\
tplink,eap625-outdoor-hd-v1)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"

View file

@ -12,7 +12,7 @@
/ {
model = "TP-Link EAP623-Outdoor HD V1.0";
compatible = "tplink,eap623od-hd-v1", "qcom,ipq6018";
compatible = "tplink,eap623-outdoor-hd-v1", "qcom,ipq6018";
aliases {
serial0 = &blsp1_uart3;

View file

@ -252,7 +252,7 @@ define Device/tplink_eap610-outdoor
endef
TARGET_DEVICES += tplink_eap610-outdoor
define Device/tplink_eap623od-hd-v1
define Device/tplink_eap623-outdoor-hd-v1
$(call Device/FitImage)
$(call Device/UbiFit)
DEVICE_VENDOR := TP-Link
@ -266,7 +266,7 @@ define Device/tplink_eap623od-hd-v1
IMAGE/web-ui-factory.bin := append-ubi | tplink-image-2022
TPLINK_SUPPORT_STRING := SupportList:\r\nEAP623-Outdoor HD(TP-Link|UN|AX1800-D):1.0\r\n
endef
TARGET_DEVICES += tplink_eap623od-hd-v1
TARGET_DEVICES += tplink_eap623-outdoor-hd-v1
define Device/tplink_eap625-outdoor-hd-v1
$(call Device/FitImage)

View file

@ -41,8 +41,8 @@ ipq60xx_setup_interfaces()
netgear,wax610|\
netgear,wax610y|\
tplink,eap610-outdoor|\
tplink,eap623od-hd-v1|\
tplink,eap620-hd-v3|\
tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
ucidef_set_interface_lan "lan" "dhcp"
;;
@ -70,7 +70,7 @@ ipq60xx_setup_macs()
;;
tplink,eap610-outdoor|\
tplink,eap620-hd-v3|\
tplink,eap623od-hd-v1|\
tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
label_mac=$(get_mac_binary /tmp/factory_data/default-mac 0)
lan_mac=$label_mac

View file

@ -70,7 +70,7 @@ case "$FIRMWARE" in
ath11k_set_macflag
;;
tplink,eap610-outdoor|\
tplink,eap623od-hd-v1|\
tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
caldata_from_file "/tmp/factory_data/radio" 0 0x10000
label_mac=$(get_mac_binary /tmp/factory_data/default-mac 0)

View file

@ -9,7 +9,7 @@ preinit_mount_factory_data() {
case $(board_name) in
tplink,eap610-outdoor|\
tplink,eap620-hd-v3|\
tplink,eap623od-hd-v1|\
tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
mtd_path=$(find_mtd_chardev "factory_data")
ubiattach --dev-path="$mtd_path" --devn=1

View file

@ -205,7 +205,7 @@ platform_do_upgrade() {
;;
tplink,eap610-outdoor|\
tplink,eap620-hd-v3|\
tplink,eap623od-hd-v1|\
tplink,eap623-outdoor-hd-v1|\
tplink,eap625-outdoor-hd-v1)
tplink_do_upgrade "$1"
;;