]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imxrt1050: add usbotg1, usbphy1 and usbmisc nodes
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 20 May 2021 14:10:16 +0000 (16:10 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jun 2021 11:03:54 +0000 (13:03 +0200)
Usb is now supported so add all required nodes for it in imxrt1050.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
arch/arm/dts/imxrt1050.dtsi

index 1f28304981861c703a6d80e027e446e2cd801d0c..6560a3827f06bad970d1178074ced59e63dfef13 100644 (file)
@@ -23,6 +23,7 @@
                gpio4 = &gpio5;
                mmc0 = &usdhc1;
                serial0 = &lpuart1;
+               usbphy0 = &usbphy1;
        };
 
        clocks {
                        clocks = <&osc>;
                        status = "disabled";
                };
+
+               usbphy1: usbphy@400d9000 {
+                       compatible = "fsl,imxrt-usbphy";
+                       reg = <0x400d9000 0x1000>;
+                       interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
+               };
+
+               usbmisc: usbmisc@402e0800 {
+                       #index-cells = <1>;
+                       compatible = "fsl,imxrt-usbmisc";
+                       reg = <0x402e0800 0x200>;
+                       clocks = <&clks IMXRT1050_CLK_USBOH3>;
+               };
+
+               usbotg1: usb@402e0000 {
+                       compatible = "fsl,imxrt-usb", "fsl,imx27-usb";
+                       reg = <0x402e0000 0x200>;
+                       interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clks IMXRT1050_CLK_USBOH3>;
+                       fsl,usbphy = <&usbphy1>;
+                       fsl,usbmisc = <&usbmisc 0>;
+                       ahb-burst-config = <0x0>;
+                       tx-burst-size-dword = <0x10>;
+                       rx-burst-size-dword = <0x10>;
+                       status = "disabled";
+               };
        };
 };