From: Tom Stöveken <tom@naaa.de>
Date: Thu, 25 Feb 2021 18:49:10 +0000 (+0100)
Subject: ath79: fix USB power on TP-Link TL-WR810N v1
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a6f7268dc7519b57251532fe4239412e8acf4ca7;p=openwrt%2Fstaging%2Fblogic.git

ath79: fix USB power on TP-Link TL-WR810N v1

Before: Kernel reported "usb_vbus: disabling" and the USB was not
        providing power
After:  USB power is switched on, peripheral is powered from the
        device

Signed-off-by: Tom Stöveken <tom@naaa.de>
[squash and tidy up]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---

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 674947961697..227f57b9b4b9 100644
--- a/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
@@ -13,6 +13,7 @@
 		regulator-max-microvolt = <5000000>;
 		gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
+		regulator-always-on;
 	};
 };