ath79: fix USB power GPIO for TP-Link TL-WR810N v1
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 2 Jan 2021 14:05:13 +0000 (15:05 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 11 Feb 2021 22:58:32 +0000 (23:58 +0100)
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: cdbf2de77768 ("ath79: Add support for TP-Link WR810N")
Fixes: FS#3522
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts

index 36f83809b89185c16fc8e1f99b4ff80172a9a33c..674947961697120ee122ce77a3046d98f717fffc 100644 (file)
@@ -11,7 +11,7 @@
                regulator-name = "usb_vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
+               gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
                enable-active-high;
        };
 };