aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
diff options
context:
space:
mode:
authorKarl-Felix Glatzer <karl.glatzer@gmx.de>2018-12-12 17:56:15 +0100
committerJohn Crispin <john@phrozen.org>2018-12-17 08:09:13 +0100
commit1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f (patch)
tree001aee12a978295e813ce6b71a7b8640bad57557 /target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
parentd9753f0ec58429c9b9aa92918ff736004e4ca0d0 (diff)
downloadupstream-1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f.tar.gz
upstream-1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f.tar.bz2
upstream-1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f.zip
ath79: add support for TP-Link Archer A7
This patch adds support for TP-Link Archer A7 Specification: - SOC: QCA9563 - Flash: 16 MiB (SPI) - RAM: 128 MiB (DDR2) - Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN - Wireless: - 2.4GHz (bgn) SoC internal - 5GHz (ac) QCA988x - USB: 1x USB 2.0 port - Button: 1x power, 1x reset, 1x wps - LED: 10x LEDs - UART: holes in PCB - Vcc, GND, RX, TX from ethernet port side - 115200n8 Flash instructions: Upload openwrt-ath79-generic-tplink_archer-a7-v5-squashfs-factory.bin via the Webinterface. Flash instruction using tftp recovery: 1. Connect the computer to one of the LAN ports of the Archer A7 2. Set the computer IP to 192.168.0.66 3. Start a tftp server with the OpenWrt factory image in the tftp root directory renamed to ArcherC7v5_tp_recovery.bin 2. Connect power cable to Archer A7, press and hold the reset button and turn the router on 3. Keep the reset button pressed for ~5 seconds 4. Wait ~150 seconds to complete flashing Changes since first revision: - Flash instructions using stock image webinterface - Changed "Version 5" in model string to "v5" - Split DTS file in qca9563_tplink_archer-x7-v5.dtsi and qca9563_tplink_archer-a7-v5.dts - Firmware image is now build with dynamic partitioning - Default to ath10k-ct Changes since second revision: - Changed uboot@0 to uboot@20000 in DTS file - Fixed ordering issue in board led script - Specify firmware partition format in DTS file - Rebased Makefile device definition on common Device/tplink-safeloader-uimage definition - Merged switch section in network script (same configuration as tplink,tl-wdr3600 and tplink,tl-wdr4300) Signed-off-by: Karl-Felix Glatzer <karl.glatzer@gmx.de>
Diffstat (limited to 'target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts50
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts b/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
new file mode 100644
index 0000000000..8cf86c0bc4
--- /dev/null
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts
@@ -0,0 +1,50 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "qca9563_tplink_archer-x7-v5.dtsi"
+
+/ {
+ compatible = "tplink,archer-a7-v5", "qca,qca9563";
+ model = "TP-Link Archer A7 v5";
+};
+
+&mtdparts {
+ factory-uboot@0 {
+ label = "factory-uboot";
+ reg = <0x000000 0x020000>;
+ read-only;
+ };
+
+ uboot: u-boot@20000 {
+ label = "u-boot";
+ reg = <0x020000 0x020000>;
+ read-only;
+ };
+
+ firmware@40000 {
+ label = "firmware";
+ reg = <0x040000 0xec0000>;
+ compatible = "denx,uimage";
+ };
+
+ info: info@f40000 {
+ label = "info";
+ reg = <0xf40000 0x020000>;
+ };
+
+ config: config@f60000 {
+ label = "config";
+ reg = <0xf60000 0x050000>;
+ };
+
+ partition@fc0000 {
+ label = "partition-table";
+ reg = <0xfc0000 0x010000>;
+ };
+
+ art: art@ff0000 {
+ label = "art";
+ reg = <0xff0000 0x010000>;
+ read-only;
+ };
+};