From a6f7268dc7519b57251532fe4239412e8acf4ca7 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Tom=20St=C3=B6veken?= <tom@naaa.de>
Date: Thu, 25 Feb 2021 19:49:10 +0100
Subject: [PATCH] ath79: fix USB power on TP-Link TL-WR810N v1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

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>
---
 target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts | 1 +
 1 file changed, 1 insertion(+)

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;
 	};
 };
 
-- 
2.30.2