From 6256ca323235a9e0601796a45c5ebb9a70373362 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Sun, 8 Mar 2020 17:21:27 +0100 Subject: ipq40xx: add support for 8devices Habanero DVK This patch adds support for the 8devices Habanero development board. Specs are: CPU: QCA IPQ4019 RAM: DDR3L 512MB Storage: 32MB SPI-NOR and optional Parallel SLC NAND(Some boards ship with it and some without) WLAN1: 2.4 GHz built into IPQ4019 (802.11n) 2x2 WLAN2: 5 GHz built into IPO4019 (802.11ac Wawe-2) 2x2 Ethernet: 5x Gbit LAN (QCA 8075) USB: 1x USB 2.0 and 1x USB 3.0 (Both built into IPQ4019) MicroSD slot (Uses SD controller built into IPQ4019) SDIO3.0/EMMC slot (Uses the same SD controller) Mini PCI-E Gen 2.0 slot (Built into IPQ4019) 5x LEDs (4 GPIO controllable) 2x Pushbutton (1 is connected to GPIO, other to SoC reset) LCD ZIF socket (Uses the LCD controller built into IPQ4019 which has no driver support) 1x UART 115200 rate on J18 2x breakout development headers 12V DC Jack for power DIP switch for bootstrap configuration Installation instructions: Since boards ship with vendors fork of OpenWrt sysupgrade can be used. Signed-off-by: Robert Marko --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 4 ++++ .../linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 2 ++ 2 files changed, 6 insertions(+) (limited to 'target/linux/ipq40xx/base-files/etc') diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index fb41572e37..44cb9f9d12 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -12,6 +12,7 @@ ipq40xx_setup_interfaces() local board="$1" case "$board" in + 8dev,habanero-dvk|\ 8dev,jalapeno|\ alfa-network,ap120c-ac|\ engenius,ens620ext) @@ -97,6 +98,9 @@ ipq40xx_setup_macs() local label_mac="" case "$board" in + 8dev,habanero-dvk) + label_mac=$(mtd_get_mac_binary "ART" 0x1006) + ;; asus,rt-ac58u) CI_UBIPART=UBI_DEV wan_mac=$(mtd_get_mac_binary_ubi Factory 0x1006) diff --git a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 50bfbb0a86..c65fa30474 100644 --- a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -44,6 +44,7 @@ case "$FIRMWARE" in ;; "ath10k/pre-cal-ahb-a000000.wifi.bin") case "$board" in + 8dev,habanero-dvk |\ 8dev,jalapeno |\ alfa-network,ap120c-ac |\ cilab,meshpoint-one |\ @@ -124,6 +125,7 @@ case "$FIRMWARE" in ;; "ath10k/pre-cal-ahb-a800000.wifi.bin") case "$board" in + 8dev,habanero-dvk |\ 8dev,jalapeno |\ alfa-network,ap120c-ac |\ cilab,meshpoint-one |\ -- cgit v1.2.3