ath79: move dts-v1 statement to ath79.dtsi
[openwrt/staging/mkresin.git] / target / linux / ath79 / dts / qca9531_tplink_tl-wr810n-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca953x_tplink_tl-wr810n.dtsi"
4
5 / {
6 compatible = "tplink,tl-wr810n-v1", "qca,qca9531";
7 model = "TP-Link TL-WR810N v1";
8
9 reg_usb_vbus: reg_usb_vbus {
10 compatible = "regulator-fixed";
11 regulator-name = "usb_vbus";
12 regulator-min-microvolt = <5000000>;
13 regulator-max-microvolt = <5000000>;
14 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
15 enable-active-high;
16 };
17 };
18
19 &usb0 {
20 #address-cells = <1>;
21 #size-cells = <0>;
22 vbus-supply = <&reg_usb_vbus>;
23 status = "okay";
24
25 hub_port: port@1 {
26 reg = <1>;
27 #trigger-source-cells = <0>;
28 };
29 };
30
31 &usb_phy {
32 status = "okay";
33 };