From cdbf2de77768dfde560b4ea663b4eac0d3a5a581 Mon Sep 17 00:00:00 2001 From: Paul Wassi Date: Sat, 29 Dec 2018 00:45:22 +0100 Subject: ath79: Add support for TP-Link WR810N Device specifications given in b23b0fb28b760ce66a8f93d4681c8bd300d75d30 Signed-off-by: Paul Wassi --- .../ath79/dts/qca9531_tplink_tl-wr810n-v1.dts | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts (limited to 'target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts') diff --git a/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts new file mode 100644 index 0000000000..7d77352f84 --- /dev/null +++ b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include +#include + +#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"; +}; -- cgit v1.2.3