Hi yongcai :
my board is sabrelite,I According to the sabresd for chang my board-mx6q_sabrelite.c.
That is:
/************************************************************************************************/
1.static const struct imx_pcie_platform_data mx6_sabrelite_pcie_data __initconst = {
.pcie_pwr_en = -EINVAL,
.pcie_rst = SABRELITE_PCIE_RST_B_REVB,
.pcie_wake_up = SABRELITE_PCIE_WAKE_B,
.pcie_dis = -EINVAL,]
#ifdef CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS
.type_ep = 1,
#else
.type_ep = 0,
#endif
};
2. I add "imx6q_add_pcie(&mx6_sabrelite_pcie_data);" in mx6_sabrelite_board_init;
3. System Type --->Freescale MXC Implementations --->[*] PCI Express support (no RC and EP)
Bus support ---> PCI Express support
/***********************************************************************************************/
but my pcie clock not out,and I use the CLK1_N/CLK_P for the pcie clock.
please!