[openwrt/openwrt] ath79: fix USB power GPIO for TP-Link TL-WR810N v1
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 11 18:02:26 EST 2021
adrian pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/2eb8444363c15558761699fe6a5ba926b49a780d
commit 2eb8444363c15558761699fe6a5ba926b49a780d
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Sat Jan 2 15:05:13 2021 +0100
ath79: fix USB power GPIO for TP-Link TL-WR810N v1
The TP-Link TL-WR810N v1 is known to cause soft-brick on ath79 and
work fine for ar71xx [1]. On closer inspection, the only apparent
difference is the GPIO used for the USB regulator, which deviates
between the two targets.
This applies the value from ar71xx to ath79.
Tested successfully by a forum user.
[1] https://forum.openwrt.org/t/tp-link-tl-wr810n-v1-ath79/48267
Fixes: cdbf2de77768 ("ath79: Add support for TP-Link WR810N")
Fixes: FS#3522
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
(cherry picked from commit 6934d30cf8d95bc8652b4dcd8180d14e5e8e2417)
---
target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
index 7d77352f84..4190ceb281 100644
--- a/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
@@ -15,7 +15,7 @@
regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
- gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
More information about the lede-commits
mailing list