From 10d11859dfbad0b4482d1a50b20ef91eeeeca2d7 Mon Sep 17 00:00:00 2001 From: Chris Blake Date: Wed, 26 Apr 2017 22:09:27 -0500 Subject: ar71xx: add support for Aerohive AP-121 This adds support for Aerohive AP-121 access point. Specification: - SoC: Atheros AR9344-BC2A at 560MHz - WiFi 1: 2.4GHz Atheros AR9340? - SoC - WiFi 2: 5.0GHz Atheros AR9382-AL1A - Memory: 128MB from 2x Nanya NT5TU32M16DG-AC - SPI: 1MB Macronix MX25L8006E - NAND: 128MB Hynix H27U1G8F2BTR-BC - Ethernet: Atheros AR8035-A - USB: 1x 2.0 - TPM: Atmel SC3204 Flashing: 1. Hook into UART (9600 baud) and enter U-Boot. You may need to enter a password of administrator or AhNf?d@ta06 if prompted. 2. Once in U-Boot, download and flash LEDE factory image over tftp: dhcp; setenv serverip tftp-server-ip; tftpboot 0x81000000 lede-ar71xx-nand-hiveap-121-squashfs-factory.bin; nand erase 0x800000 0x800000; nand write 0x81000000 0x800000 0x800000; reset; Signed-off-by: Chris Blake [minor text changes in commit subject and description, fixed alphabetical order in etc/diag.sh, use only model name in lib/ar71xx.sh, fixed code style issues in mach-hiveap-121.c, ubinized factory image] Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt') diff --git a/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt b/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt index eb8219e363..9030954c27 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt +++ b/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt @@ -796,6 +796,18 @@ config ATH79_MACH_GS_OOLITE select ATH79_DEV_USB select ATH79_DEV_WMAC +config ATH79_MACH_HIVEAP_121 + bool "Aerohive HiveAP-121 support" + select SOC_AR934X + select ATH79_DEV_AP9X_PCI if PCI + select ATH79_DEV_ETH + select ATH79_DEV_GPIO_BUTTONS + select ATH79_DEV_LEDS_GPIO + select ATH79_DEV_M25P80 + select ATH79_DEV_NFC + select ATH79_DEV_USB + select ATH79_DEV_WMAC + config ATH79_MACH_HIWIFI_HC6361 bool "HiWiFi HC6361 board support" select SOC_AR933X -- cgit v1.2.3