Strictly speaking, the i.MX6 Linux supports only PCIe RC mode.
As stated in the next thread,
“PCIe host controller driver in 3.10.17 kernel”
https://community.freescale.com/message/423867#423867
“Did you enable RC or EP option in the kernel configuration when build the kernel image?
These two options are only used in imx6 pcie ep/rc validation system, please disable them
if they are enabled in your kernel configuration. Otherwise, imx6 pcie wouldn't work properly.”
The next is link for “i.MX6Q PCIe EP/RC Validation System” thread :
https://community.freescale.com/docs/DOC-95014
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------