diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2011-02-17 09:31:29 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-18 04:56:38 -0500 |
commit | 9d72af6e3582977196e3474903950206dc3c590e (patch) | |
tree | 40915319ac45622a53e41c5f0134bfc522fde668 /arch/arm/mach-mx5/board-mx51_efikamx.c | |
parent | 7ac18a3845145f4f48e611640e33918ae450f955 (diff) |
efikamx: add usb h1 support
Now that usb has been fixed, we can enable usb h1 on efikamx
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx51_efikamx.c')
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_efikamx.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c index 272de6e883e7..8f173366b29c 100644 --- a/arch/arm/mach-mx5/board-mx51_efikamx.c +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c | |||
@@ -211,6 +211,20 @@ static void __init mx51_efikamx_init(void) | |||
211 | gpio_request(EFIKAMX_RESET, "reset"); | 211 | gpio_request(EFIKAMX_RESET, "reset"); |
212 | gpio_direction_output(EFIKAMX_RESET, 1); | 212 | gpio_direction_output(EFIKAMX_RESET, 1); |
213 | } | 213 | } |
214 | |||
215 | /* | ||
216 | * enable wifi by default only on mx | ||
217 | * sb and mx have same wlan pin but the value to enable it are | ||
218 | * different :/ | ||
219 | */ | ||
220 | gpio_request(EFIKA_WLAN_EN, "wlan_en"); | ||
221 | gpio_direction_output(EFIKA_WLAN_EN, 0); | ||
222 | msleep(10); | ||
223 | |||
224 | gpio_request(EFIKA_WLAN_RESET, "wlan_rst"); | ||
225 | gpio_direction_output(EFIKA_WLAN_RESET, 0); | ||
226 | msleep(10); | ||
227 | gpio_set_value(EFIKA_WLAN_RESET, 1); | ||
214 | } | 228 | } |
215 | 229 | ||
216 | static void __init mx51_efikamx_timer_init(void) | 230 | static void __init mx51_efikamx_timer_init(void) |