From 491ae3357e10be46ff6342cad5d2f820bf2cd9f9 Mon Sep 17 00:00:00 2001 From: Roman Kuzmitskii Date: Sun, 4 Oct 2020 05:43:41 +0000 Subject: ath79: add support for Ubiquiti airCube AC The Ubiquiti Network airCube AC is a cube shaped device supporting 2.4 GHz and 5 GHz with internal 2x2 MIMO antennas. It can be powered with either one of: - 24v power supply with 3.0mm x 1.0mm barrel plug - 24v passive PoE on first LAN port There are four 10/100/1000 Mbps ports (1 * WAN + 3 * LAN). First LAN port have optional PoE passthrough to the WAN port. SoC: Qualcomm / Atheros AR9342 RAM: 64 MB DDR2 Flash: 16 MB SPI NOR Ethernet: 4x 10/100/1000 Mbps (1 WAN + 3 LAN) LEDS: 1x via a SPI controller (not yet supported) Buttons: 1x Reset Serial: 1x (only RX and TX); 115200 baud, 8N1 Missing features: - LED control is not supported Physical to internal switch port mapping: - physical port #1 (poe in) = switchport 2 - physical port #2 = switchport 3 - physical port #3 = switchport 5 - physical port #4 (wan/poe out) = switchport 4 Factory update is tested and is the same as for Ubiquiti AirCube ISP hence the shared configuration between that devices. Signed-off-by: Roman Kuzmitskii --- target/linux/ath79/image/generic-ubnt.mk | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'target/linux/ath79/image/generic-ubnt.mk') diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk index c347bd1cf1..710ab54772 100644 --- a/target/linux/ath79/image/generic-ubnt.mk +++ b/target/linux/ath79/image/generic-ubnt.mk @@ -110,15 +110,28 @@ define Device/ubnt-xw UBNT_VERSION := 6.0.4 endef -define Device/ubnt_aircube-isp +define Device/ubnt-acb $(Device/ubnt) - SOC := qca9533 - DEVICE_MODEL := airCube ISP IMAGE_SIZE := 15744k - UBNT_BOARD := ACB-ISP - UBNT_CHIP := qca9533 + UBNT_BOARD := ACB UBNT_TYPE := ACB UBNT_VERSION := 2.5.0 +endef + +define Device/ubnt_aircube-ac + $(Device/ubnt-acb) + SOC := ar9342 + DEVICE_MODEL := airCube AC + UBNT_CHIP := ar9342 + DEVICE_PACKAGES += kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct +endef +TARGET_DEVICES += ubnt_aircube-ac + +define Device/ubnt_aircube-isp + $(Device/ubnt-acb) + SOC := qca9533 + DEVICE_MODEL := airCube ISP + UBNT_CHIP := qca9533 SUPPORTED_DEVICES += ubnt,acb-isp endef TARGET_DEVICES += ubnt_aircube-isp -- cgit v1.2.3