aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
diff options
context:
space:
mode:
authorTOCK Chiu <tock.chiu@gmail.com>2018-12-24 10:36:59 +0800
committerChristian Lamparter <chunkeey@gmail.com>2018-12-27 14:06:38 +0100
commit8471944325db80ca37f7c756130070d0add58ff6 (patch)
tree96adc0822f214a551a1f7123767d805062b6e0f8 /target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
parent3bb44f42990a75e66972016cde75bed6a3f09ef9 (diff)
downloadupstream-8471944325db80ca37f7c756130070d0add58ff6.tar.gz
upstream-8471944325db80ca37f7c756130070d0add58ff6.tar.bz2
upstream-8471944325db80ca37f7c756130070d0add58ff6.zip
ath79: add support for TP-Link Archer C7 v5
This commit adds support for TP-Link Archer C7 v5, leveraging most effort from commit ea9baee and 1e4ee63. Archer C7 v5 is identical to Archer A7 v5 but with a different flash layout. Specification: - QCA9563 SoC (750 MHz) - 128 MiB of RAM (DDR2) - 16 MiB of flash (SPI) - 5x 1 Gbps Ethernet (1x WAN + 4x LAN) - 2.4GHz (bgn) SoC internal + 5GHz (ac) QCA9880 - 10x LED, 2x button - UART header on PCB Flash instructions: 1. Upload openwrt-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin via web interface. Flash instructions using TFTP recovery: 1. Plug PC to one of the LAN ports 2. Set PC to fixed IP address 192.168.0.66 3. Rename the factory image to ArcherC7v5_tp_recovery.bin and place it in TFTP root directory 4. Turn on the router with the reset button pressed for about 15 secs 5. Release the button and wait about 150 secs to complete flashing Signed-off-by: TOCK Chiu <tock.chiu@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts55
1 files changed, 55 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
new file mode 100644
index 0000000000..026d6c65e3
--- /dev/null
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts
@@ -0,0 +1,55 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "qca9563_tplink_archer-x7-v5.dtsi"
+
+/ {
+ compatible = "tplink,archer-c7-v5", "qca,qca9563";
+ model = "TP-Link Archer C7 v5";
+};
+
+&mtdparts {
+ partition@0 {
+ label = "factory-uboot";
+ reg = <0x000000 0x020000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "u-boot";
+ reg = <0x020000 0x020000>;
+ read-only;
+ };
+
+ partition@40000 {
+ label = "partition-table";
+ reg = <0x040000 0x010000>;
+ };
+
+ art: partition@50000 {
+ label = "art";
+ reg = <0x050000 0x010000>;
+ read-only;
+ };
+
+ info: partition@60000 {
+ label = "info";
+ reg = <0x060000 0x020000>;
+ };
+
+ partition@80000 {
+ label = "user-config";
+ reg = <0x080000 0x040000>;
+ };
+
+ partition@c0000 {
+ label = "firmware";
+ reg = <0x0c0000 0xf00000>;
+ compatible = "denx,uimage";
+ };
+
+ partition@ff0000 {
+ label = "default-config";
+ reg = <0xff0000 0x010000>;
+ };
+};