i.MX8MM & i.MX8MQ USB2.0 Design Without USB TYPE-C Issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8MM & i.MX8MQ USB2.0 Design Without USB TYPE-C Issues

Jump to solution
682 Views
oprata
Contributor II

Hi Folks,

I have a imx8mm custom board with USB2 and USB1 interfaces like described here 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MM-i-MX8MQ-USB2-0-Design-Without-US...

I made changes on dts like described in like below. I used the yocto (manifest imx-5.15.32-2.0.0.xml) as base to build the OS image for the custom board. All the interface on custom board works fine except USB2 and USB1. Both interfaces don't work as I expected. The interface USB1 works as "device". I used this interface to load the OS image into the eMMC. Does anyone has  tips how to put the USB2 and USB1 to work as "host"?

Thanks in advance

Thanks in advance

0 Kudos
1 Solution
636 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

After a quick check your device tree looks correct, the only thing that is comes to mind is that you have it set as otg, not host, so I'll suggest to change it.

Please make sure that you have disabled tcpc at your uboot defconfig, CONFIG_USB_TCPC=n

Also, you may use the i.MX6 as reference for this:
https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6qdl-sabresd.dtsi?h=lf_v20...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=l...

Best regards,
Aldo.

View solution in original post

0 Kudos
3 Replies
649 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you share your device tree?
Also, did you make changes to uboot defconfig?

Best regards,
Aldo.

0 Kudos
647 Views
oprata
Contributor II

Hello Aldo

Consider the attached files.

Thanks in advance.

0 Kudos
637 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

After a quick check your device tree looks correct, the only thing that is comes to mind is that you have it set as otg, not host, so I'll suggest to change it.

Please make sure that you have disabled tcpc at your uboot defconfig, CONFIG_USB_TCPC=n

Also, you may use the i.MX6 as reference for this:
https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx6qdl-sabresd.dtsi?h=lf_v20...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=l...

Best regards,
Aldo.

0 Kudos