diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-09 12:49:17 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-13 20:43:15 +0200 |
commit | 7ef7dbaf7057da37afeefa3753bc4d0f0453e51f (patch) | |
tree | a763282c8ae1f546776b0d2643e61b20e3f95cd3 /target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts | |
parent | 488da882f5102e4283b4864e6180c2c7fb8f494a (diff) | |
download | upstream-7ef7dbaf7057da37afeefa3753bc4d0f0453e51f.tar.gz upstream-7ef7dbaf7057da37afeefa3753bc4d0f0453e51f.tar.bz2 upstream-7ef7dbaf7057da37afeefa3753bc4d0f0453e51f.zip |
ath79: add support for TP-Link TL-WPA8630 v1
This ports the TP-Link TL-WPA8630 v1 from ar71xx to ath79.
Specifications:
SoC: QCA9563
CPU: 750 MHz
Flash/RAM: 8 / 128 MiB
Ethernet: 3x 1G ports (QCA8337 switch)
WLAN: 2.4 GHz b/g/n, 5 GHz a/n/ac (ath10k)
Buttons, LEDs and network setup appear to be almost identical
to the v2 revision.
Powerline interface is connected to switch port 5 (Label LAN4).
Installation:
No "fresh" device was available for testing the factory image.
It is not known whether flashing via OEM firmware GUI is possible
or not. A discussion from 2018 [1] about that indicates a few
adjustments are necessary, but it is not clear whether those
are already implemented with the TPLINK_HEADER_VERSION = 2 or not.
Note that for the TL-WPA8630P v1, the TPLINK_HWID needs to be
changed to 0x86310001 to allow factory flashing.
[1] https://forum.openwrt.org/t/solved-tl-wpa8630p-lede-does-not-install/8161/27
Recovery:
Recovery is only possible via serial.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts new file mode 100644 index 0000000000..8912e2fc7c --- /dev/null +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "qca9563_tplink_tl-wpa8630.dtsi" + +/ { + compatible = "tplink,tl-wpa8630-v1", "qca,qca9563"; + model = "TP-Link TL-WPA8630 v1"; + + aliases { + label-mac-device = ð0; + }; +}; + +&keys { + wifi { + label = "WiFi button"; + linux,code = <KEY_RFKILL>; + gpios = <&gpio 8 GPIO_ACTIVE_LOW>; + debounce-interval = <60>; + }; +}; + +&partitions { + uboot: partition@0 { + label = "u-boot"; + reg = <0x000000 0x010000>; + read-only; + }; + + partition@10000 { + compatible = "tplink,firmware"; + label = "firmware"; + reg = <0x010000 0x7d0000>; + }; + + partition@7e0000 { + label = "mib0"; + reg = <0x7e0000 0x010000>; + read-only; + }; + + art: partition@7f0000 { + label = "art"; + reg = <0x7f0000 0x010000>; + read-only; + }; +}; + +ð0 { + mtd-mac-address = <&uboot 0x0fc00>; +}; + +&wmac { + mtd-mac-address = <&uboot 0x0fc00>; +}; |