Hi Mahmoud
reason may be hardware or software, for hardware one can check
clocks and power supplies using Hardware Guide PCIE recommendations
and PCIe example schematic in
i.MX 8QXP Design Files for the i.MX 8QXP MEK
https://www.nxp.com/downloads/en/software/i.MX8QXPDF.zip
For software one can look at dts file:
linux/arch/arm64/boot/dts/freescale/fsl-imx8qxp-mek.dtsi
fsl-imx8qxp-mek.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel
Description of PCIe driver in Linux Manual: Linux L4.14.98_2.0.0 Documentation
Recommended to use latest linux and scfw with all patches from
i.MX Software | NXP
Note "linux-imx-4.14.62" was provided as "beta" quality and may not work properly on i.MX8QXP.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------