I am trying to insert wifi of qca9982 chip through pcie in IMX8MQ custom board.
However, pcie is not registered normally with the following message output:
[ 1.656089] imx6q-pcie 33800000.pcie: couldn't get pcie-phy
[ 1.693725] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[ 1.707218] imx6q-pcie 33800000.pcie: Parsing ranges property...
[ 1.707239] imx6q-pcie 33800000.pcie: IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[ 1.714673] imx6q-pcie 33800000.pcie: MEM 0x18000000..0x1fefffff -> 0x18000000
[ 1.837606] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us.
[ 2.974608] imx6q-pcie 33800000.pcie: Phy link never came up
[ 2.987892] imx6q-pcie 33800000.pcie: failed to initialize host
[ 2.993888] imx6q-pcie 33800000.pcie: unable to add pcie port.
As a result of debugging pci-imx6.c, the result value is returned as -ENODEV(-19) in the process of calling the dw_pcie_host_init() function. Please check if there are any additional things to check.
Hi Hyein
one can try to narrow down issue, if this is caused by pcie card or custom board.
For example try with several pcie card. For board please recheck pcie recommendations
provided in i.MX 8MDQLQ Hardware Developer’s Guide
Best regards
igor