Hi Folks,
I have a imx8mm custom board with USB2 and USB1 interfaces like described here
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
Solved! Go to Solution.
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.
Hello,
Could you share your device tree?
Also, did you make changes to uboot defconfig?
Best regards,
Aldo.
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.