aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
blob: eccfc4860d35203a8796ab3f46e6de41fb3edcc1 (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
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#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 8 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};
};

&usb0 {
	#address-cells = <1>;
	#size-cells = <0>;
	vbus-supply = <&reg_usb_vbus>;
	status = "okay";

	hub_port: port@1 {
		reg = <1>;
		#trigger-source-cells = <0>;
	};
};

&usb_phy {
	status = "okay";
};