Hi community,
This post echoes this one which already gave a lot of answer: https://community.nxp.com/t5/Layerscape/LS1046A-can-not-detect-USB-device-on-u-boot/m-p/1561319#M114...
The issue:
We have a LS1046A based board, it includes one USB 2.0 plug on which we try to connect a USB stick, without success so far.
After investigating it seems that the USB_DRVVBUS signal never goes high, thus preventing the 5V (USB_VCC) from reaching the USB stick. Messing around with the RCW we managed to set this signal as GPIO and to force it up which brought the 5V to the USB plug, thus validating the "usb power circuitry" on U15, but still no device is detected regardless if it's powered or not.
Schematic for USB plug side:

Schematic for LS1046A side :

Details about the setup:
- no SYSCLK is available, PBI modified to clock USB PHYs through DIFF_CLK
- USB PHYs are not in reset, command "md 1570418" in UBOOT reads 0x9E000000 0x9E000000 0x9E000000 ...
- USB_N & USB_P are flipped, flipping those on a ref design from NXP still showed activity on the USB port even if it was 99% errors. We made a custom cable to flip them back.
- My software guy had to remove erratum_a009007 inside the soc.c (from uboot or the linux distro, not sure about that one) system wouldn't boot otherwise. That erratum is linked to USB3 configuration, doc says no write in the linked registers should happen if USB core is powered down

- USB power rails OK, they all go up within a 17ms delay:

- There is a history of CPU_VDD being as high as 11V (eleven volts) for short periods of time during the PCB bring-up
Some questions:
- Can I debug that issue entirely through UBOOT ? or there is a need for a linux layer to properly set things up
- Is there a way to make sure USB core is properly powered?
For the rest we are running out of juice in finding consistant leads, any help much appreciated, I can also update the setup details upon request should there need more informations.
Thanks in advance !