Hello,
1. Hardware connection is correct
2.For the ext_osc property, i don't see there is any code to handle it in L6.6.y pcie or pcie phy driver. This property has been removed. In our test(two EVKs), we just need to use imx8mp-evk-pcie-ep.dts on ep side.
3. No need to set pcie_cz_enabled=yes
4. You can try to boot EP and setup EP with those functions entry, boot the RC, then the RC could scan the EP successfully.
Best Regards,
Zhiming
Hello,
In your hardware design, the RC provide the REF clock. So your first try is correct, but the current drivers can't support rescan which means that the RC can't scan the EP. You can try below two patches to enable it.
There is one solutions to remove devices and rescan.
root@imx8mpevk:~# echo 1 > /sys/bus/pci/devices/0000\:00\:00.0/remove
root@imx8mpevk:~# echo 1 > /sys/devices/platform/33800000.pcie/pcie_dis
root@imx8mpevk:~# echo 0 > /sys/devices/platform/33800000.pcie/pcie_dis
root@imx8mpevk:~# echo 1 > /sys/bus/pci/rescan
Best Regards,
Zhiming
Hello,
Are you using external reference clock or internal reference clock?
Best Regards,
Zhiming
Hi
The PCIe reference clock of PCIE EP comes from the host RC module.
Thanks