USB Device Detection Regression on X8 Bottom Port After Moving from Kirkstone to Scarthgap (Apalis iMX8QP + Ixora)

Hi @joaom.tx

First of all I noticed that the issue is only appearing with a USB3.0 stick, I just tested with USB2.0 stick and it works.

So here are the relevant outputs for both v1.0B and v1.1E under both kirkstone and scarthgap version

apalis-imx8qp_WB_v1.0B_kirkstone (2.6 KB)
apalis-imx8qp_v1.1E_kirkstone (2.3 KB)
apalis-imx8qp_WB_v1.0B_scarthgap (7.6 KB)
apalis-imx8qp_v1.1E_scarthgap (4.3 KB)

Notice that in scarthgap I am loading two dto for poweroff and reset (they are talked about here: GPIO Power-Off Overlay Not Working After Migration to Scarthgap (Apalis iMX8QP)) And it doesn’t change anything if I remove them.

Also for v1.0B I had to manually create device-tree in my yocto meta-layer because with scarthgap imx8qp-v1.0B does not fallback to imx8qm it tries to load imx8qp-apalis-eval.dtb by default, here is the content of recipes-kernel/linux in my meta-layer:
linux.zip (7.5 KB)

Based on those findings I think the problem comes from the fact that x8 bottom port is not falling back to high-speed usb when super-speed usb is plugged in but it simply ignores it. Wich in my opinion is a flaw. Especially because it only happens in this specific situation (imx8 v1.1E scarthgap)