This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TUSB7320: PCI link is not setting up with TUSB7320 PCI USB controller.

Part Number: TUSB7320
Other Parts Discussed in Thread: TUSB7340

Tool/software: Linux

Hi,

I am using TUSB7320 PCI USB controller chip, which is interfaced with iMX7D SoC PCI.

I have enabled following configurations in the kernel regarding PCI,

CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_DOMAINS_GENERIC=y
CONFIG_PCI_SYSCALL=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y

CONFIG_PCIEASPM=y

CONFIG_PCIEASPM_DEFAULT=y

CONFIG_PCIE_PME=y

CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y

CONFIG_PCIE_DW=y
CONFIG_PCI_IMX6=y

Also enabled USB XHCI support,

CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y

Also properly enabled the pci interface in the device tree. But still when I boot the device, the PCI link is not established properly. And it shows the following error,

[    0.354503] PCI: CLS 0 bytes, default 64
[    0.536708] OF: PCI: host bridge /soc/pcie@0x33800000 ranges:
[    0.536729] OF: PCI:   No bus range found for /soc/pcie@0x33800000, using [bus 00-ff]
[    0.536754] OF: PCI:    IO 0x4ff80000..0x4ff8ffff -> 0x00000000
[    0.536772] OF: PCI:   MEM 0x40000000..0x4fefffff -> 0x40000000
[    0.862165] imx6q-pcie 33800000.pcie: phy link never came up
[    0.862179] imx6q-pcie 33800000.pcie: Link never came up
[    0.865297] imx6q-pcie 33800000.pcie: failed to initialize host
[    0.865495] imx6q-pcie: probe of 33800000.pcie failed with error -110
[    1.942245] ehci-pci: EHCI PCI platform driver

 

We have made sure that the power up sequences are happening properly with the chip. But still the system fails to detect the TUSB7320 PCI USB controller in the PCI bus. No device is listed when "lspci" command is given in the terminal. kindly help us to resolve this issue.

Thanks,

Koil Arul Raj.S