mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
6934d30cf8
The TP-Link TL-WR810N v1 is known to cause soft-brick on ath79 and
work fine for ar71xx [1]. On closer inspection, the only apparent
difference is the GPIO used for the USB regulator, which deviates
between the two targets.
This applies the value from ar71xx to ath79.
Tested successfully by a forum user.
[1] https://forum.openwrt.org/t/tp-link-tl-wr810n-v1-ath79/48267
Fixes: cdbf2de777
("ath79: Add support for TP-Link WR810N")
Fixes: FS#3522
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
28 lines
521 B
Plaintext
28 lines
521 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>;
|
|
gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
|
|
vbus-supply = <®_usb_vbus>;
|
|
};
|
|
|
|
&usb_phy {
|
|
status = "okay";
|
|
};
|