summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-10-02 19:15:27 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-11 17:22:12 +0400
commit438a4d66a561fe3d6dceeb9c7f30d23f52cb371b (patch)
tree277f5647ad4c71eef00221836c854345ad9cba52 /arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
parent9a545943a378ec1b3a9819de4b189ce5e822a6af (diff)
downloadlinux-438a4d66a561fe3d6dceeb9c7f30d23f52cb371b.tar.xz
eukrea_mbimxsd for cpuimx35: 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/arm/mach-mx3/eukrea_mbimxsd-baseboard.c')
-rw-r--r--arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
index cb667b6f17ae..886959906fbc 100644
--- a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
+++ b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
@@ -119,6 +119,16 @@ static struct pad_desc eukrea_mbimxsd_pads[] = {
MX35_PAD_STXD4__AUDMUX_AUD4_TXD,
MX35_PAD_SRXD4__AUDMUX_AUD4_RXD,
MX35_PAD_SCK4__AUDMUX_AUD4_TXC,
+ /* CAN2 */
+ MX35_PAD_TX5_RX0__CAN2_TXCAN,
+ MX35_PAD_TX4_RX1__CAN2_RXCAN,
+ /* SDCARD */
+ MX35_PAD_SD1_CMD__ESDHC1_CMD,
+ MX35_PAD_SD1_CLK__ESDHC1_CLK,
+ MX35_PAD_SD1_DATA0__ESDHC1_DAT0,
+ MX35_PAD_SD1_DATA1__ESDHC1_DAT1,
+ MX35_PAD_SD1_DATA2__ESDHC1_DAT2,
+ MX35_PAD_SD1_DATA3__ESDHC1_DAT3,
};
#define GPIO_LED1 (2 * 32 + 29)
@@ -244,6 +254,9 @@ void __init eukrea_mbimxsd35_baseboard_init(void)
imx35_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata);
+ imx35_add_flexcan1(NULL);
+ imx35_add_esdhc0(NULL);
+
gpio_request(GPIO_LED1, "LED1");
gpio_direction_output(GPIO_LED1, 1);
gpio_free(GPIO_LED1);