ath79: add support for TP-Link WBS210 v2
authorBernhard Geier <freifunk@geierb.de>
Sun, 3 Nov 2019 12:58:12 +0000 (13:58 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 3 Nov 2019 12:59:18 +0000 (13:59 +0100)
commit3930aab2cb067d04f5c9ebbf1af57744e19355eb
tree4f3363da89309e2e11676ef64ecc00336b06b8dc
parent66ebca7103052ba851be2261a4452787959de9c2
ath79: add support for TP-Link WBS210 v2

TP-Link WBS210 v2 is an outdoor wireless CPE for 2.4 GHz with
two Ethernet ports based on Atheros AR9344

The device is the same as TP-Link CPE220 v2, but with higher TX power (27 dBm
instead of 12 dBm) and two antenna connectors instead of built-in antennas.

Specifications:
 - SoC: Atheros AR9344
 - RAM: 64MB
 - Storage: 8 MB SPI NOR
 - Wireless: 2.4GHz 300 Mbps, 2x RP-SMA connector, 27 dBm TX power
 - Ethernet: 1x 10/100 Mbps with 24V POE IN, 1x 10/100 Mbps

Installation:
Flash factory image through stock firmware WEB UI
or through TFTP
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP: 192.168.0.100
Stock device TFTP adress: 192.168.0.254

The TP-Link WBS devices use the same GPIOs as the CPE devices,
except for the link4 LED. For this one, WBS devices use "2", while
CPE devices use "16". (Tested on WBS210 v2)

Signed-off-by: Bernhard Geier <freifunk@geierb.de>
[added comment about GPIO]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/ar9344_tplink_cpe210-v1.dts
target/linux/ath79/dts/ar9344_tplink_cpe220-v2.dts
target/linux/ath79/dts/ar9344_tplink_cpe510-v1.dts
target/linux/ath79/dts/ar9344_tplink_cpexxx-v1.dtsi
target/linux/ath79/dts/ar9344_tplink_wbs210-v2.dts [new file with mode: 0644]
target/linux/ath79/generic/base-files/etc/board.d/01_leds
target/linux/ath79/generic/base-files/etc/board.d/02_network
target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
target/linux/ath79/image/generic-tp-link.mk
tools/firmware-utils/src/tplink-safeloader.c