From 50db7654fc93a3b963529cffb554801eae4a3e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=B6rster?= Date: Thu, 31 Oct 2019 14:13:43 +0100 Subject: [PATCH] ath79-generic: add support for TP-Link Archer C6v2 Hardware specification: - SOC: Qualcomm QCA9563 @ 775MHz - Flash: GigaDevice GD25Q64CSIG (8MiB) - RAM: Zentel A3R1GE40JBF (128 MiB DDR2) - Ethernet: Qualcomm QCA8337N: 4x 1Gbps LAN + 1x 1Gbps WAN - Wireless: - 2.4GHz (bgn) QCA9563 integrated (3x3) - 5GHz (ac) Qualcomm QCA9886 (2x2) - Button: 1x power, 1x reset, 1x wps - LED: 6x LEDs: power, wlan2g, wlan5g, lan, wan, wps - UART: There's no UART header on the board --- docs/user/supported_devices.rst | 7 +++++++ targets/ath79-generic | 10 ++++++++++ targets/targets.mk | 1 + 3 files changed, 18 insertions(+) create mode 100644 targets/ath79-generic diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 5cb56e79..f1840c85 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -180,6 +180,13 @@ ar71xx-tiny [#deprecated]_ - TL-WR940N (v1, v2, v3, v4, v5, v6) - TL-WR941ND (v2, v3, v4, v5, v6) +ath79-generic +-------------- + +* TP-Link + + - Archer C6 (v2) + brcm2708-bcm2708 ---------------- diff --git a/targets/ath79-generic b/targets/ath79-generic new file mode 100644 index 00000000..7417c84d --- /dev/null +++ b/targets/ath79-generic @@ -0,0 +1,10 @@ +local ATH10K_PACKAGES = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca988x', '-ath10k-firmware-qca988x-ct'} +local ATH10K_PACKAGES_QCA9887 = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca9887', '-ath10k-firmware-qca9887-ct'} +local ATH10K_PACKAGES_QCA9888 = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca9888', '-ath10k-firmware-qca9888-ct'} + +-- TP-Link + +device('tp-link-archer-c6-v2', 'tplink_archer-c6-v2', { + packages = ATH10K_PACKAGES_QCA9888, +}) + diff --git a/targets/targets.mk b/targets/targets.mk index 5d2a189b..6d97d463 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -3,6 +3,7 @@ ifneq ($(GLUON_DEPRECATED),0) $(eval $(call GluonTarget,ar71xx,tiny)) endif $(eval $(call GluonTarget,ar71xx,nand)) +$(eval $(call GluonTarget,ath79,generic)) $(eval $(call GluonTarget,brcm2708,bcm2708)) $(eval $(call GluonTarget,brcm2708,bcm2709)) $(eval $(call GluonTarget,ipq40xx,generic))