aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
blob: 227f57b9b4b9c07d05154b9efc83b50595e8852d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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";
};