ath79: ar934x: use reset for usb-phy-analog
authorJohann Neuhauser <johann@it-neuhauser.de>
Thu, 19 Dec 2019 12:11:26 +0000 (13:11 +0100)
committerPetr Štetiar <ynezz@true.cz>
Sun, 23 Feb 2020 07:27:32 +0000 (08:27 +0100)
This was already available on ar71xx, but is missing on ath79.
This solves the slow usb speed on TP-Link WDR3600/WDR4300 and similar,
as reported in Flyspray [0], OpenWRT Forum [1] and GitHub PR [2].

[0] https://bugs.openwrt.org/index.php?do=details&task_id=2567
[1] https://forum.openwrt.org/t/usb-wdr4300-low-speed-on-external-storage/46794
[2] https://github.com/openwrt/openwrt/pull/964

Tested-By: Lech Perczak <lech.perczak@gmail.com> [TL-WDR4300]
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
(cherry picked from commit bda6b6144dbe3e12d128b500821799ef472de4cb)

target/linux/ath79/dts/ar934x.dtsi

index ba1355d071f50416eab9a07fbef298ddece796b2..e96a3113b0a645f75d5382ce0b0bd7d37bea83fc 100644 (file)
        usb_phy: usb-phy {
                compatible = "qca,ar9340-usb-phy", "qca,ar7200-usb-phy";
 
-               reset-names = "usb-phy", "usb-suspend-override";
-               resets = <&rst 4>, <&rst 3>;
+               reset-names = "usb-phy-analog", "usb-phy", "usb-suspend-override";
+               resets = <&rst 11>, <&rst 4>, <&rst 3>;
 
                #phy-cells = <0>;