ath79: add support for TP-Link TL-WR841N/ND v10

The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.

Flash instruction (WebUI):
Download *-factory.bin image and upload it via the firmwary upgrade
function of the stock firmware WebUI.

Flash instruction (TFTP):
1. Set PC to fixed ip address 192.168.0.66
2. Download *-factory.bin image and rename it to wr841nv10_tp_recovery.bin
3. Start a tftp server with the image file in its root directory
4. Turn off the router
5. Press and hold Reset button
6. Turn on router with the reset button pressed and wait ~15 seconds
7. Release the reset button and after a short time
the firmware should be transferred from the tftp server
8. Wait ~30 second to complete recovery.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 4254193c1d)
openwrt-19.07
Adrian Schmutzler 2019-07-22 17:34:08 +02:00
parent 19ff3f5105
commit bd3eb071fd
5 changed files with 26 additions and 3 deletions

View File

@ -128,6 +128,7 @@ tplink,archer-c6-v2)
;; ;;
tplink,archer-c25-v1|\ tplink,archer-c25-v1|\
tplink,tl-wr841-v9|\ tplink,tl-wr841-v9|\
tplink,tl-wr841-v10|\
tplink,tl-wr841-v11|\ tplink,tl-wr841-v11|\
tplink,tl-wr842n-v3) tplink,tl-wr842n-v3)
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"

View File

@ -75,6 +75,7 @@ ath79_setup_interfaces()
tplink,tl-mr3420-v1|\ tplink,tl-mr3420-v1|\
tplink,tl-wr841-v7|\ tplink,tl-wr841-v7|\
tplink,tl-wr841-v9|\ tplink,tl-wr841-v9|\
tplink,tl-wr841-v10|\
tplink,tl-wr841-v11|\ tplink,tl-wr841-v11|\
tplink,tl-wr842n-v1|\ tplink,tl-wr842n-v1|\
tplink,tl-wr842n-v3|\ tplink,tl-wr842n-v3|\

View File

@ -0,0 +1,16 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "qca9533_tplink_tl-wr841.dtsi"
/ {
compatible = "tplink,tl-wr841-v10", "qca,qca9533";
model = "TP-Link TL-WR841N/ND v10";
aliases {
led-boot = &qss_led;
led-failsafe = &qss_led;
led-running = &qss_led;
led-upgrade = &qss_led;
};
};

View File

@ -1,9 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "qca9533_tplink_tl-wr841.dtsi" #include "qca9533_tplink_tl-wr841.dtsi"
/ { / {

View File

@ -153,6 +153,14 @@ define Device/tplink_tl-wr841-v9
endef endef
TARGET_DEVICES += tplink_tl-wr841-v9 TARGET_DEVICES += tplink_tl-wr841-v9
define Device/tplink_tl-wr841-v10
$(Device/tplink-4mlzma)
ATH_SOC := qca9533
DEVICE_TITLE := TP-Link TL-WR841N/ND v10
TPLINK_HWID := 0x08410010
endef
TARGET_DEVICES += tplink_tl-wr841-v10
define Device/tplink_tl-wr841-v11 define Device/tplink_tl-wr841-v11
$(Device/tplink-4mlzma) $(Device/tplink-4mlzma)
ATH_SOC := qca9533 ATH_SOC := qca9533