[8QXP][Android Automotive] Can't see pcie

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

[8QXP][Android Automotive] Can't see pcie

Jump to solution
751 Views
WolsYang
Contributor IV

Can not see pcie on i.MX8QXP internal PLL with Android Automotive 12.0.0_2.1.0 (Linux 5.15.32 BSP) 

mek_8q:/ # zcat /proc/config.gz | grep -i imx_pci                              
CONFIG_PHY_FSL_IMX_PCIE=y
mek_8q:/ # zcat /proc/config.gz | grep -i pci_imx                              
CONFIG_PCI_IMX6=y
CONFIG_PCI_IMX6_HOST=y
mek_8q:/ # dmesg | grep -i pci                                                 
[    0.000000] Kernel command line: stack_depot_disable=on kasan.stacktrace=off kvm-arm.mode=protected cgroup_disable=pressure console=ttyLP0,115200 earlycon init=/init androidboot.hardware=nxp firmware_class.pe
[    0.314189] PCI: CLS 0 bytes, default 64
[    2.834329] tcpci: probe of 1-0050 failed with error -1
mek_8q:/ # lspci                                                               
mek_8q:/ # 

The HW should be ok since we can see it in uboot(Please ignore gpio error, for quick test we did'nt set it yet.)

=> pci
pca953x gpio@1a: Error reading output register
imx_pcie pcie@0x5f010000: -16 unable to get clkreq.
imx_pcie pcie@0x5f010000: -2 unable to get disable-gpio.
pca953x gpio@1a: Error reading output register
imx_pcie pcie@0x5f010000: 3 unable to get power-on-gpio.
imx_pcie pcie@0x5f010000: -16 unable to get power-on-gpio.
PCI:   pcie phy link never came up

 Also we can see it on linux with this dts config

&pcieb{
	ext_osc = <0>;
};
0 Kudos
Reply
1 Solution
733 Views
WolsYang
Contributor IV
I close it because it like a DTS problem.
Seems we re-write DTS so this issue is gone, but we still don't know which point cause this issue come.

View solution in original post

0 Kudos
Reply
1 Reply
734 Views
WolsYang
Contributor IV
I close it because it like a DTS problem.
Seems we re-write DTS so this issue is gone, but we still don't know which point cause this issue come.
0 Kudos
Reply