am33xx: Fix USB for am335x boards
authorMatwey V. Kornilov <matwey.kornilov@gmail.com>
Sat, 7 Aug 2021 11:17:38 +0000 (14:17 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 11 Sep 2021 00:10:20 +0000 (20:10 -0400)
USB nodes were mistakenly disabled in

    commit 942853dd96df ("arm: dts: Resync BeagleBone device trees")

This commit is to fix the following issue:

    starting USB...
    No working controllers found
    USB is stopped. Please issue 'usb start' first.
    starting USB...
    No working controllers found

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0782e8572ce43f521ed6ff15e4a7ab9aa5acdc85
Fixes: 942853dd96df ("arm: dts: Resync BeagleBone device trees")
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Reviewed-by: Paul Barker <paul.barker@sancloud.com>
arch/arm/dts/am33xx.dtsi

index ce07cec..b509302 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ti,hwmods = "usb_otg_hs";
-                       status = "disabled";
 
                        usb_ctrl_mod: control@44e10620 {
                                compatible = "ti,am335x-usb-ctrl-module";
                                reg = <0x44e10620 0x10
                                        0x44e10648 0x4>;
                                reg-names = "phy_ctrl", "wakeup";
-                               status = "disabled";
                        };
 
                        usb0_phy: usb-phy@47401300 {
                                compatible = "ti,am335x-usb-phy";
                                reg = <0x47401300 0x100>;
                                reg-names = "phy";
-                               status = "disabled";
                                ti,ctrl_mod = <&usb_ctrl_mod>;
                                #phy-cells = <0>;
                        };
 
                        usb0: usb@47401000 {
                                compatible = "ti,musb-am33xx";
-                               status = "disabled";
                                reg = <0x47401400 0x400
                                        0x47401000 0x200>;
                                reg-names = "mc", "control";
                                compatible = "ti,am335x-usb-phy";
                                reg = <0x47401b00 0x100>;
                                reg-names = "phy";
-                               status = "disabled";
                                ti,ctrl_mod = <&usb_ctrl_mod>;
                                #phy-cells = <0>;
                        };
 
                        usb1: usb@47401800 {
                                compatible = "ti,musb-am33xx";
-                               status = "disabled";
                                reg = <0x47401c00 0x400
                                        0x47401800 0x200>;
                                reg-names = "mc", "control";