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