projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ea9ae
)
eukrea_mbimxsd51: add SD Card detect
author
Eric Bénard
<eric@eukrea.com>
Fri, 25 Feb 2011 13:38:31 +0000
(14:38 +0100)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 25 Mar 2011 12:33:54 +0000
(13:33 +0100)
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c
b/arch/arm/mach-mx5/eukrea_mbimxsd-baseboard.c
index c372a4373691b33e9749826dae6e74858af45eea..e6c1119c20ae4df4d1bd2e846cbaa25d08ee854b 100644
(file)
--- 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)