diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach')
-rwxr-xr-x | arch/arm/plat-mxc/include/mach/devices-common.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/iomux-mvf.h | 29 |
2 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h index 2ba8c8663402..a8a8034c1010 100755 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h @@ -37,7 +37,11 @@ struct imx_fec_data { resource_size_t iobase; resource_size_t irq; }; + struct platform_device *__init imx_add_fec( +#ifdef CONFIG_SOC_MVFA5 + const int id, +#endif const struct imx_fec_data *data, const struct fec_platform_data *pdata); diff --git a/arch/arm/plat-mxc/include/mach/iomux-mvf.h b/arch/arm/plat-mxc/include/mach/iomux-mvf.h index 309a8ca8e621..b1bbb0955010 100644 --- a/arch/arm/plat-mxc/include/mach/iomux-mvf.h +++ b/arch/arm/plat-mxc/include/mach/iomux-mvf.h @@ -153,6 +153,35 @@ typedef enum iomux_config { IOMUX_PAD(0x00D4, 0x00D4, 1, 0x0000, 0, \ MVF600_ENET_PAD_CTRL | PAD_CTL_OBE_ENABLE) +/*FEC1*/ +#define MVF600_PAD54_PTC9__RMII1_MDC \ + IOMUX_PAD(0x00D8, 0x00D8, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_OBE_ENABLE) +#define MVF600_PAD55_PTC10__RMII1_MDIO \ + IOMUX_PAD(0x00DC, 0x00DC, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_OBE_IBE_ENABLE) +#define MVF600_PAD56_PTC11__RMII1_CRS_DV \ + IOMUX_PAD(0x00E0, 0x00E0, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_IBE_ENABLE) +#define MVF600_PAD57_PTC12__RMII1_RXD1 \ + IOMUX_PAD(0x00E4, 0x00E4, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_IBE_ENABLE) +#define MVF600_PAD58_PTC13__RMII1_RXD0 \ + IOMUX_PAD(0x00E8, 0x00E8, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_IBE_ENABLE) +#define MVF600_PAD59_PTC14__RMII1_RXER \ + IOMUX_PAD(0x00EC, 0x00EC, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_IBE_ENABLE) +#define MVF600_PAD60_PTC15__RMII1_TXD1 \ + IOMUX_PAD(0x00F0, 0x00F0, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_OBE_ENABLE) +#define MVF600_PAD61_PTC16__RMII1_TXD0 \ + IOMUX_PAD(0x00F4, 0x00F4, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_OBE_ENABLE) +#define MVF600_PAD62_PTC17__RMII1_TXEN \ + IOMUX_PAD(0x00F8, 0x00F8, 1, 0x0000, 0, \ + MVF600_ENET_PAD_CTRL | PAD_CTL_OBE_ENABLE) + /*USB0/1 VBUS, using the GPIO*/ #define MVF600_PAD85_PTD6__USB0_VBUS_EN \ IOMUX_PAD(0x0154, 0x0154, 0, 0x0000, 0, \ |