From 0cd745bc3cb99ff3c0e7e204dd39c06c8ebf2b7c Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 14 Jul 2020 14:42:43 -0300 Subject: MLK-24374-2 arm64: dts: imx8qm: Move USBH1 to imx8qm-ss-conn Commit ee96e9f815d6 ("MLK-24368-1 arm64: dts: imx8qm: Add support for USBH1") caused i.MX8DXL USB PHYs to not go into low power mode via runtime suspend. Fix it by moving the usbh1, usbmisc2 and usbphynop2 to the specific imx8qm-ss-conn.dtsi file. While at it, change the usbphynop2 status as disabled. Reviewed-by: Jun Li Tested-by: Sebastien Haezebrouck Reported-by: Sebastien Haezebrouck Signed-off-by: Fabio Estevam Signed-off-by: Peter Chen --- arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi') diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi index 00ebdc6fc875..1f875642ec2a 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi @@ -4,6 +4,41 @@ * Dong Aisheng */ +&conn_subsys { + usbh1: usb@5b0e0000 { + compatible = "fsl,imx8qm-usb", "fsl,imx7ulp-usb", + "fsl,imx27-usb"; + reg = <0x5b0e0000 0x200>; + interrupt-parent = <&gic>; + interrupts = ; + phy_type = "hsic"; + dr_mode = "host"; + fsl,usbphy = <&usbphynop2>; + fsl,usbmisc = <&usbmisc2 0>; + clocks = <&usb2_lpcg 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; + #stream-id-cells = <1>; + power-domains = <&pd IMX_SC_R_USB_1>; + status = "disabled"; + }; + + usbmisc2: usbmisc@5b0e0200 { + #index-cells = <1>; + compatible = "fsl,imx7ulp-usbmisc", "fsl,imx6q-usbmisc"; + reg = <0x5b0e0200 0x200>; + }; + + usbphynop2: usbphynop2 { + compatible = "usb-nop-xceiv"; + clocks = <&usb2_lpcg 1>; + clock-names = "main_clk"; + power-domains = <&pd IMX_SC_R_USB_0_PHY>; + status = "disabled"; + }; +}; + &fec1 { compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec"; iommus = <&smmu 0x12 0x7f80>; -- cgit v1.2.3