Dear Community,
I have a custom designed base board with the Verdin iMX8M Mini Quad 2GB WB IT V1.1B based. The image used is Toradex Linux Reference Minimal BSP 6.3.0. If instead of using the SOM iMX8M mini, I connect the SOM iMX8M plus the USB ports stop working. I turn on the system and then I connect a USB camera on the USB_2 port (X2) and I get the following error:
[ 37.812798] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 38.317603] kauditd_printk_skb: 3 callbacks suppressed
[ 38.317614] audit: type=1334 audit(1724827909.450:17): prog-id=0 op=UNLOAD
[ 38.329764] audit: type=1334 audit(1724827909.450:18): prog-id=0 op=UNLOAD
[ 43.383630] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -110
[ 43.392214] cpufreq: __target_index: Failed to change cpu frequency: -110
[ 43.814778] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -110
[ 43.823371] cpufreq: __target_index: Failed to change cpu frequency: -110
[ 47.941768] xhci-hcd xhci-hcd.1.auto: Abort failed to stop command ring: -110
[ 47.959018] xhci-hcd xhci-hcd.1.auto: xHCI host controller not responding, assume dead
[ 47.966955] xhci-hcd xhci-hcd.1.auto: HC died; cleaning up
[ 47.972491] imx-sdma 30e10000.dma-controller: All bds consumed,restart now.
[ 47.979585] xhci-hcd xhci-hcd.1.auto: Timeout while waiting for configure endpoint command
[ 47.988227] usb 1-1: can’t set config #1, error -62
[ 47.993417] usb 1-1: USB disconnect, device number 2
If I disconnect the camera and reconnect it, it doesn’t seem any message by console and no device is detected. If I run uhubctl I get the following result:
No compatible devices detected!
Run with -h to get usage info.
I repeat, if I plug a SOM iMX8M mini on the same board everything works correctly, so I suspect that it is a device tree configuration problem. I have compared the DTSI files for both devices and they are very different.
I’m using the USB_2 with a schematic very similar to that in figure 27, where the IC1A has been replaced by the AOZ1353DI-01 (it is the same one used in the Dhalia board). I’m using USB_1 in host mode (USB_1_ID=0) with the same schematic as USB_2.
I hope someone can help me.
Thanks,
Julián