ARM: mx6: Add PCI express driver
Add PCIe driver for the Freescale i.MX6 SoC . This driver operates the PCIe block in RC mode only, the EP mode is NOT supported. The driver is tested with the Intel e1000 NIC driver. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Eric Nelson <eric.nelson@boundarydevices.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
committed by
Stefano Babic
parent
7981449280
commit
e9be4292e4
@@ -15,6 +15,33 @@
|
||||
#define IOMUXC_GPR1_OTG_ID_ENET_RX_ERR (0<<13)
|
||||
#define IOMUXC_GPR1_OTG_ID_GPIO1 (1<<13)
|
||||
#define IOMUXC_GPR1_OTG_ID_MASK (1<<13)
|
||||
#define IOMUXC_GPR1_REF_SSP_EN (1 << 16)
|
||||
#define IOMUXC_GPR1_TEST_POWERDOWN (1 << 18)
|
||||
|
||||
/*
|
||||
* IOMUXC_GPR8 bit fields
|
||||
*/
|
||||
#define IOMUXC_GPR8_PCS_TX_DEEMPH_GEN1_MASK (0x3f << 0)
|
||||
#define IOMUXC_GPR8_PCS_TX_DEEMPH_GEN1_OFFSET 0
|
||||
#define IOMUXC_GPR8_PCS_TX_DEEMPH_GEN2_3P5DB_MASK (0x3f << 6)
|
||||
#define IOMUXC_GPR8_PCS_TX_DEEMPH_GEN2_3P5DB_OFFSET 6
|
||||
#define IOMUXC_GPR8_PCS_TX_DEEMPH_GEN2_6DB_MASK (0x3f << 12)
|
||||
#define IOMUXC_GPR8_PCS_TX_DEEMPH_GEN2_6DB_OFFSET 12
|
||||
#define IOMUXC_GPR8_PCS_TX_SWING_FULL_MASK (0x7f << 18)
|
||||
#define IOMUXC_GPR8_PCS_TX_SWING_FULL_OFFSET 18
|
||||
#define IOMUXC_GPR8_PCS_TX_SWING_LOW_MASK (0x7f << 25)
|
||||
#define IOMUXC_GPR8_PCS_TX_SWING_LOW_OFFSET 25
|
||||
|
||||
/*
|
||||
* IOMUXC_GPR12 bit fields
|
||||
*/
|
||||
#define IOMUXC_GPR12_LOS_LEVEL_9 (0x9 << 4)
|
||||
#define IOMUXC_GPR12_LOS_LEVEL_MASK (0x1f << 4)
|
||||
#define IOMUXC_GPR12_APPS_LTSSM_ENABLE (1 << 10)
|
||||
#define IOMUXC_GPR12_DEVICE_TYPE_EP (0x0 << 12)
|
||||
#define IOMUXC_GPR12_DEVICE_TYPE_RC (0x2 << 12)
|
||||
#define IOMUXC_GPR12_DEVICE_TYPE_MASK (0xf << 12)
|
||||
|
||||
/*
|
||||
* IOMUXC_GPR13 bit fields
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user