msm8916-openwrt/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
Rosen Penev 506b4d563e
ath79: gpio to gpios
Fixes deprecated_gpio_property dtc warning

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-01-05 16:17:58 +01:00

29 lines
545 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#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>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
};
&usb0 {
status = "okay";
vbus-supply = <&reg_usb_vbus>;
};
&usb_phy {
status = "okay";
};