mirror of https://github.com/hak5/openwrt.git
38 lines
714 B
Plaintext
38 lines
714 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
#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 = <®_usb_vbus>;
|
|
status = "okay";
|
|
|
|
hub_port: port@1 {
|
|
reg = <1>;
|
|
#trigger-source-cells = <0>;
|
|
};
|
|
};
|
|
|
|
&usb_phy {
|
|
status = "okay";
|
|
};
|