ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530N

As we already have support for CF-E316N v2 and many devices from
this vendor look similar, the support was included in existing
mach-*.c file, with few cleanups and fixes.

All 3 devices are based on Qualcomm/Atheros QCA9531 v2.

COMFAST CF-E320N v2 is a ceiling mount AP with PoE support.
Short specification:

- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, both with PoE support
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x RGB LED, 1x button
- UART (J1), GPIO (J9) and USB (J2) headers on PCB
- external watchdog (Pericon Technology PT7A7514)

COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support.
They seem to have different only the front panel.
Short specification:

- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, WAN with PoE support
- 1x USB 2.0 (in CF-E520N covered by panel, available on PCB)
- 32 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x LED, 1x button
- UART (J1) headers on PCB

Flash instruction:

Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz
2016-10-05 02:24:58 +02:00
committed by John Crispin
parent c380772c19
commit 31952dbd1c
10 changed files with 331 additions and 44 deletions

View File

@@ -23,10 +23,35 @@ define Device/cf-e316n-v2
BOARDNAME = CF-E316N-V2
IMAGE_SIZE = 16192k
CONSOLE = ttyS0,115200
MTDPARTS = spi0.0:64k(u-boot)ro,64k(art)ro,16192k(firmware),64k(nvram)ro
MTDPARTS = spi0.0:64k(u-boot)ro,64k(art)ro,16192k(firmware),64k(art-backup)ro
endef
TARGET_DEVICES += cf-e316n-v2
define Device/cf-e320n-v2
$(Device/cf-e316n-v2)
DEVICE_TITLE := COMFAST CF-E320N v2
DEVICE_PACKAGES := kmod-usb-core kmod-usb2
BOARDNAME = CF-E320N-V2
endef
TARGET_DEVICES += cf-e320n-v2
define Device/cf-e520n
DEVICE_TITLE := COMFAST CF-E520N
DEVICE_PACKAGES := kmod-usb-core kmod-usb2
BOARDNAME = CF-E520N
IMAGE_SIZE = 8000k
CONSOLE = ttyS0,115200
MTDPARTS = spi0.0:64k(u-boot)ro,64k(art)ro,8000k(firmware),64k(art-backup)ro
endef
TARGET_DEVICES += cf-e520n
define Device/cf-e530n
$(Device/cf-e520n)
DEVICE_TITLE := COMFAST CF-E530N
BOARDNAME = CF-E530N
endef
TARGET_DEVICES += cf-e530n
define Device/domywifi-dw33d
DEVICE_TITLE := DomyWifi DW33D
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-ledtrig-usbdev kmod-ath10k