mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 18:59:13 +08:00
ath79: add support for UniFi AC-LR
The Unifi AC-LR has identical hardware to the Unifi AC-Lite. The antenna setup is different according to the vendor, which explains the thicker enclosure. Therefore, it is helpful to know the exact device variant, instead of having "Ubiquiti UniFi-AC-LITE/LR". Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de> [fix legacy name in commit message; add old boardname to SUPPORTED_DEVICES] Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
089b4f16aa
commit
07c1ddf522
@ -50,6 +50,7 @@ ath79_setup_interfaces()
|
||||
ubnt,nanostation-ac-loco|\
|
||||
ubnt,rocket-m|\
|
||||
ubnt,unifiac-lite|\
|
||||
ubnt,unifiac-lr|\
|
||||
ubnt,unifiac-mesh|\
|
||||
ubnt,unifi|\
|
||||
wd,mynet-wifi-rangeextender|\
|
||||
|
@ -102,6 +102,7 @@ case "$FIRMWARE" in
|
||||
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)
|
||||
;;
|
||||
ubnt,unifiac-lite|\
|
||||
ubnt,unifiac-lr|\
|
||||
ubnt,unifiac-mesh|\
|
||||
ubnt,unifiac-mesh-pro|\
|
||||
ubnt,lap-120|\
|
||||
|
@ -5,5 +5,5 @@
|
||||
|
||||
/ {
|
||||
compatible = "ubnt,unifiac-lite", "qca,qca9563";
|
||||
model = "Ubiquiti UniFi-AC-LITE/LR";
|
||||
model = "Ubiquiti UniFi-AC-LITE";
|
||||
};
|
||||
|
9
target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts
Normal file
9
target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts
Normal file
@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/dts-v1/;
|
||||
|
||||
#include "qca9563_ubnt_unifiac-lite.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "ubnt,unifiac-lr", "qca,qca9563";
|
||||
model = "Ubiquiti UniFi-AC-LR";
|
||||
};
|
@ -225,6 +225,13 @@ define Device/ubnt_unifiac-lite
|
||||
endef
|
||||
TARGET_DEVICES += ubnt_unifiac-lite
|
||||
|
||||
define Device/ubnt_unifiac-lr
|
||||
$(Device/ubnt_unifiac)
|
||||
DEVICE_MODEL := UniFi AC-LR
|
||||
SUPPORTED_DEVICES += unifiac-lite ubnt,unifiac-lite
|
||||
endef
|
||||
TARGET_DEVICES += ubnt_unifiac-lr
|
||||
|
||||
define Device/ubnt_unifiac-mesh
|
||||
$(Device/ubnt_unifiac)
|
||||
DEVICE_MODEL := UniFi AC-Mesh
|
||||
|
Loading…
x
Reference in New Issue
Block a user