Message ID | 20220711204300.708218-2-git@aiyionpri.me |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show |
Series | [1/2] ath79: rename references of UniFi to UniFi AP | expand |
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts new file mode 100644 index 0000000000..ab2b455228 --- /dev/null +++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "ar7241_ubnt_unifi-ap.dtsi" + +/ { + compatible = "ubnt,unifi", "qca,ar7241"; + model = "Ubiquiti UniFi AP LR"; +}; diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk index e6a6de48f0..fe158e584b 100644 --- a/target/linux/ath79/image/generic-ubnt.mk +++ b/target/linux/ath79/image/generic-ubnt.mk @@ -217,6 +217,14 @@ define Device/ubnt_unifi-ap endef TARGET_DEVICES += ubnt_unifi-ap +define Device/ubnt_unifi-ap-lr + $(Device/ubnt-bz) + DEVICE_MODEL := UniFi AP + DEVICE_VARIANT := LR + SUPPORTED_DEVICES += unifi ubnt,unifi ubnt,unifi-ap +endef +TARGET_DEVICES += ubnt_unifi-ap-lr + define Device/ubnt_unifiac DEVICE_VENDOR := Ubiquiti SOC := qca9563
The hardware difference is the antenna which has a higher gain compared to the original UniFi AP. The variant was supported before in ar71xx. Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me> --- target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts | 8 ++++++++ target/linux/ath79/image/generic-ubnt.mk | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 target/linux/ath79/dts/ar7241_ubnt_unifi-ap-lr.dts