summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2011-02-25 14:38:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-25 13:33:54 +0100
commitef560bfe01eff692a307b7d73e60625ccdf05d87 (patch)
treea8f59e57b163303313b44ac68c7e280a8258cb53 /arch/arm
parent01ea9aeae84536e2afe769be69b994de9f7ceed7 (diff)
downloadlinux-ef560bfe01eff692a307b7d73e60625ccdf05d87.tar.gz
linux-ef560bfe01eff692a307b7d73e60625ccdf05d87.tar.bz2
linux-ef560bfe01eff692a307b7d73e60625ccdf05d87.zip
eukrea_mbimxsd51: add SD Card detect
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c
index c372a4373691..e6c1119c20ae 100644
--- a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c
+++ b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c
@@ -67,6 +67,10 @@ static iomux_v3_cfg_t eukrea_mbimxsd_pads[] = {
MX51_PAD_SD1_DATA1__SD1_DATA1,
MX51_PAD_SD1_DATA2__SD1_DATA2,
MX51_PAD_SD1_DATA3__SD1_DATA3,
+ /* SD1 CD */
+ _MX51_PAD_GPIO1_0__SD1_CD | MUX_PAD_CTRL(PAD_CTL_PUS_22K_UP |
+ PAD_CTL_PKE | PAD_CTL_SRE_FAST |
+ PAD_CTL_DSE_HIGH | PAD_CTL_PUE | PAD_CTL_HYS),
};
#define GPIO_LED1 IMX_GPIO_NR(3, 30)