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)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Jan 2020 22:15:20 +0000 (23:15 +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

Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
target/linux/ath79/dts/ar934x.dtsi

index bb6c647452e6ce1f9b8c515f4826f8e5f1763fa7..8cd0b4e086748858c90ecaeb9dcfca4963831073 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>;