We have custom board with imx7d and TI TUSB7320 USB3.0 controller connected on PCIe. The USB controller is not getting listed with lspci command.
We haved checked that,
1. PCI Clock from the processor side is coming correctly.
2. PCI Ref clock is coming correctly.
3. Reset(PERST#), Wakup(WAKE#) and GRST# are configured correctly to their required state.
4. Checked that external oscillator frequency in the TUSB7320 USB3.0 controller is 48Mhz.
We also referred the NXP FORUM regarding questions about TUSB7320 USB3.0 controller. Everybody could at least able to list the PCI USB controller using lspci command. But in our case we couldn't able to do it. Kindly guide us resolve this. Also if possible please share us any reference design that we can check interfacing imx7d and TI TUSB7320 USB3.0 controller.
We got the following debug kernel messages about PCI during boot,
[ 0.354425] PCI: CLS 0 bytes, default 64
[ 0.536323] OF: PCI: host bridge /soc/pcie@0x33800000 ranges:
[ 0.536342] OF: PCI: No bus range found for /soc/pcie@0x33800000, using [bus 00-ff]
[ 0.536368] OF: PCI: IO 0x4ff80000..0x4ff8ffff -> 0x00000000
[ 0.536385] OF: PCI: MEM 0x40000000..0x4fefffff -> 0x40000000
[ 0.741938] imx6q-pcie 33800000.pcie: phy link never came up
[ 0.741956] imx6q-pcie 33800000.pcie: DEBUG_R0: 0x0000bc43, DEBUG_R1: 0x08000000
[ 0.741965] imx6q-pcie 33800000.pcie: Link never came up
[ 0.741977] imx6q-pcie 33800000.pcie: PHY DEBUG_R0=0x00004a03 DEBUG_R1=0x08000000
[ 0.745095] imx6q-pcie 33800000.pcie: failed to initialize host
[ 0.745292] imx6q-pcie: probe of 33800000.pcie failed with error -110
[ 1.910751] ehci-pci: EHCI PCI platform driver
The lspci command gives no response as follows,
root@imx7d-2gb:~# lspci -v
We are using,
1. Custom board with iMX7D processor.
2. Kernel Version - 4.9.11
3. Latest yocto BSP.
Koil Arul Raj.S