ARM: dts: imx7ulp: add imx7ulp USBOTG1 support
authorPeter Chen <peter.chen@nxp.com>
Mon, 24 Jun 2019 02:02:56 +0000 (10:02 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 24 Jun 2019 15:12:18 +0000 (23:12 +0800)
Add imx7ulp USBOTG1 support.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7ulp.dtsi

index 8fb9559718b73e0061558ba860d3a96cef679349..4f8f138b999982e855864fac153ba339869f5796 100644 (file)
@@ -30,6 +30,7 @@
                serial1 = &lpuart5;
                serial2 = &lpuart6;
                serial3 = &lpuart7;
+               usbphy0 = &usbphy1;
        };
 
        cpus {
                        clock-names = "ipg", "per";
                };
 
+               usbotg1: usb@40330000 {
+                       compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb";
+                       reg = <0x40330000 0x200>;
+                       interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&pcc2 IMX7ULP_CLK_USB0>;
+                       phys = <&usbphy1>;
+                       fsl,usbmisc = <&usbmisc1 0>;
+                       ahb-burst-config = <0x0>;
+                       tx-burst-size-dword = <0x8>;
+                       rx-burst-size-dword = <0x8>;
+                       status = "disabled";
+               };
+
+               usbmisc1: usbmisc@40330200 {
+                       compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc";
+                       #index-cells = <1>;
+                       reg = <0x40330200 0x200>;
+               };
+
+               usbphy1: usb-phy@0x40350000 {
+                       compatible = "fsl,imx7ulp-usbphy", "fsl,imx6ul-usbphy";
+                       reg = <0x40350000 0x1000>;
+                       interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&pcc2 IMX7ULP_CLK_USB_PHY>;
+                       #phy-cells = <0>;
+               };
+
                usdhc0: mmc@40370000 {
                        compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc";
                        reg = <0x40370000 0x10000>;