diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-22 17:36:48 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-08 18:35:34 +0100 |
commit | 7a0d9b2eea157c02938b6d33383feec7761f9f05 (patch) | |
tree | a6c48c36251c0288e24868e4d9404d81901c6703 /target/linux/ath79/dts | |
parent | bd3eb071fd365df528762c36e9bfa299ce079056 (diff) | |
download | upstream-7a0d9b2eea157c02938b6d33383feec7761f9f05.tar.gz upstream-7a0d9b2eea157c02938b6d33383feec7761f9f05.tar.bz2 upstream-7a0d9b2eea157c02938b6d33383feec7761f9f05.zip |
ath79: add support for TP-Link TL-WR841N/ND v12
This router has the same hardware as TP-LINK TL-WR841N/ND v11 (same
FCC ID, same TFTP image name...).
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 wr841nv11_tp_recovery.bin
(it's really v11, not v12)
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 8b76c6695b9274e3c12fdf80bcad7dc0c7202585)
Diffstat (limited to 'target/linux/ath79/dts')
3 files changed, 35 insertions, 23 deletions
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts index 29fca8b3a9..6c91757ceb 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts @@ -1,31 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /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-v11.dtsi" / { compatible = "tplink,tl-wr841-v11", "qca,qca9533"; model = "TP-Link TL-WR841N/ND v11"; - - aliases { - led-boot = &system_led; - led-failsafe = &system_led; - led-running = &system_led; - led-upgrade = &system_led; - }; -}; - -&gpio_leds { - system_led: system { - label = "tp-link:green:system"; - gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - }; - - wan_orange { - label = "tp-link:orange:wan"; - gpios = <&gpio 2 GPIO_ACTIVE_LOW>; - }; }; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dtsi new file mode 100644 index 0000000000..8ee7d149b9 --- /dev/null +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "qca9533_tplink_tl-wr841.dtsi" + +/ { + aliases { + led-boot = &system_led; + led-failsafe = &system_led; + led-running = &system_led; + led-upgrade = &system_led; + }; +}; + +&gpio_leds { + system_led: system { + label = "tp-link:green:system"; + gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; + + wan_orange { + label = "tp-link:orange:wan"; + gpios = <&gpio 2 GPIO_ACTIVE_LOW>; + }; +}; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v12.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v12.dts new file mode 100644 index 0000000000..1b7db6199e --- /dev/null +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v12.dts @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "qca9533_tplink_tl-wr841-v11.dtsi" + +/ { + compatible = "tplink,tl-wr841-v12", "qca,qca9533"; + model = "TP-Link TL-WR841N/ND v12"; +}; |