PCI enable Imx8mq

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCI enable Imx8mq

596 Views
saurav-pandya
Contributor III

Hi ,

I am working on imx8mq-evk board to enable PCIe. There are no change in kernel configuration and device tree. no any device connected on PCI interface. I have got below error.

dmesg | grep -i pci
[ 0.113690] PCI: CLS 0 bytes, default 64
[ 1.343993] ehci-pci: EHCI PCI platform driver
[ 1.360140] ohci-pci: OHCI PCI platform driver
[ 2.277939] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[ 2.278507] imx6q-pcie 33c00000.pcie: 33c00000.pcie supply epdev_on not found, using dummy regulator
[ 2.313172] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us.
[ 2.321612] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[ 2.324620] imx6q-pcie 33c00000.pcie: PCIe PLL locked after 0 us.
[ 2.324663] imx6q-pcie 33c00000.pcie: host bridge /soc@0/pcie@33c00000 ranges:
[ 2.324675] imx6q-pcie 33c00000.pcie: No bus range found for /soc@0/pcie@33c00000, using [bus 00-ff]
[ 2.324704] imx6q-pcie 33c00000.pcie: IO 0x27f80000..0x27f8ffff -> 0x00000000
[ 2.324735] imx6q-pcie 33c00000.pcie: MEM 0x20000000..0x27efffff -> 0x20000000
[ 2.334390] imx6q-pcie 33800000.pcie: IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[ 2.347711] imx6q-pcie 33800000.pcie: MEM 0x18000000..0x1fefffff -> 0x18000000
[ 3.327518] imx6q-pcie 33c00000.pcie: Phy link never came up
[ 3.333234] imx6q-pcie 33c00000.pcie: failed to initialize host
[ 3.339177] imx6q-pcie 33c00000.pcie: unable to add pcie port.
[ 3.369938] imx6q-pcie 33800000.pcie: Phy link never came up
[ 3.375643] imx6q-pcie 33800000.pcie: failed to initialize host
[ 3.381587] imx6q-pcie 33800000.pcie: unable to add pcie port.

Please help me for this issue resolve.

 

Thanks,

Saurav

0 Kudos
1 Reply

569 Views
jamesbone
NXP TechSupport
NXP TechSupport

it is necessary to attach some device to board pcie connector

to see link up linux messages.

May be useful to check i.MX8MDQLQ EVK Board Hardware User's Guide

https://www.nxp.com/docs/en/user-guide/IMX8MDQLQEVKHUG.pdf 

 

0 Kudos