Openwrt/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
Tom Stöveken a6f7268dc7 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>
2021-02-26 13:57:02 +01:00

29 lines
544 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qca953x_tplink_tl-wr810n.dtsi"
/ {
compatible = "tplink,tl-wr810n-v1", "qca,qca9531";
model = "TP-Link TL-WR810N v1";
reg_usb_vbus: reg_usb_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
};
&usb0 {
status = "okay";
vbus-supply = <&reg_usb_vbus>;
};
&usb_phy {
status = "okay";
};