]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
DTS: Provide USB host DTS description for i.MX53 devices
authorLukasz Majewski <lukma@denx.de>
Thu, 4 Apr 2019 10:26:49 +0000 (12:26 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2019 15:03:25 +0000 (17:03 +0200)
This code has been ported from Linux kernel - tag v5.1-rc2.
The difference from the kernel is the removal of:
fsl,usbmisc = <&usbmisc 1>;
fsl,usbphy = <&usbphy1>;

properties, which are not needed for correct u-boot operation (as PHY
setup is done in ehci-mx5.c file itself).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
arch/arm/dts/imx53.dtsi

index 0fd4acc6f5376d3364978c730f99f868e88283f3..5ba61747897e925aa7f9c3180c2c27438d4a340f 100644 (file)
@@ -35,6 +35,7 @@
                mmc1 = &esdhc2;
                mmc2 = &esdhc3;
                mmc3 = &esdhc4;
+               usb1 = &usbh1;
        };
 
        tzic: tz-interrupt-controller@fffc000 {
                                status = "disabled";
                        };
 
+                       usbh1: usb@53f80200 {
+                               compatible = "fsl,imx53-usb", "fsl,imx27-usb";
+                               reg = <0x53f80200 0x0200>;
+                               interrupts = <14>;
+                               clocks = <&clks IMX5_CLK_USBOH3_GATE>;
+                               dr_mode = "host";
+                               status = "disabled";
+                       };
+
                        clks: ccm@53fd4000{
                                compatible = "fsl,imx53-ccm";
                                reg = <0x53fd4000 0x4000>;