aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-10-02 11:15:29 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-11 09:22:14 -0400
commit6f8460eb823c37f6ba236cd261a6edceea4805e5 (patch)
treef55df13db58bff2c3ddb48cba54149463ec7d300 /arch
parentf5e40c28b63939ee63f1f9d865eece0a28444fd0 (diff)
eukrea_mbimxsd for cpuimx25: add CAN & SDCard support
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx25/Kconfig2
-rw-r--r--arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/Kconfig b/arch/arm/mach-mx25/Kconfig
index 326bb648f466..aa57e35ce3cd 100644
--- a/arch/arm/mach-mx25/Kconfig
+++ b/arch/arm/mach-mx25/Kconfig
@@ -12,6 +12,8 @@ config MACH_EUKREA_CPUIMX25
12 select IMX_HAVE_PLATFORM_IMX_I2C 12 select IMX_HAVE_PLATFORM_IMX_I2C
13 select IMX_HAVE_PLATFORM_IMX_UART 13 select IMX_HAVE_PLATFORM_IMX_UART
14 select IMX_HAVE_PLATFORM_MXC_NAND 14 select IMX_HAVE_PLATFORM_MXC_NAND
15 select IMX_HAVE_PLATFORM_FLEXCAN
16 select IMX_HAVE_PLATFORM_ESDHC
15 select MXC_ULPI if USB_ULPI 17 select MXC_ULPI if USB_ULPI
16 18
17choice 19choice
diff --git a/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c
index 2062dd930955..c1fe048c445e 100644
--- a/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c
+++ b/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c
@@ -89,6 +89,9 @@ static struct pad_desc eukrea_mbimxsd_pads[] = {
89 MX25_PAD_KPP_COL2__AUD5_TXC, 89 MX25_PAD_KPP_COL2__AUD5_TXC,
90 MX25_PAD_KPP_COL1__AUD5_RXD, 90 MX25_PAD_KPP_COL1__AUD5_RXD,
91 MX25_PAD_KPP_COL0__AUD5_TXD, 91 MX25_PAD_KPP_COL0__AUD5_TXD,
92 /* CAN */
93 MX25_PAD_GPIO_D__CAN2_RX,
94 MX25_PAD_GPIO_C__CAN2_TX,
92}; 95};
93 96
94#define GPIO_LED1 83 97#define GPIO_LED1 83
@@ -241,6 +244,9 @@ void __init eukrea_mbimxsd25_baseboard_init(void)
241 mxc_register_device(&mx25_fb_device, &eukrea_mximxsd_fb_pdata); 244 mxc_register_device(&mx25_fb_device, &eukrea_mximxsd_fb_pdata);
242 imx25_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata); 245 imx25_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata);
243 246
247 imx25_add_flexcan1(NULL);
248 imx25_add_esdhc0(NULL);
249
244 gpio_request(GPIO_LED1, "LED1"); 250 gpio_request(GPIO_LED1, "LED1");
245 gpio_direction_output(GPIO_LED1, 1); 251 gpio_direction_output(GPIO_LED1, 1);
246 gpio_free(GPIO_LED1); 252 gpio_free(GPIO_LED1);