aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap4panda.c
diff options
context:
space:
mode:
authorPanduranga Mallireddy <panduranga_mallireddy@ti.com>2011-02-15 03:40:32 -0500
committerTony Lindgren <tony@atomide.com>2011-02-22 11:37:03 -0500
commit66e171a3e8ed9179b2754831ae138e8fc251e4c7 (patch)
treee51a5a96a20a028195fa8a98bc2e2779dd97bbf3 /arch/arm/mach-omap2/board-omap4panda.c
parentd3f02fc3409824ff9b29bc23e60e76da768a1205 (diff)
omap: panda: wlan board muxing
Add board muxing to support the wlan wl1271 chip that is hardwired to mmc5 (fifth mmc controller) on the PANDA. Based on the wlan board muxing for zoom3 by Ohad Ben-Cohen <ohadb@ti.com> Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 220d3b85431b..9f4f86e73cea 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -387,6 +387,19 @@ static int __init omap4_panda_i2c_init(void)
387 387
388#ifdef CONFIG_OMAP_MUX 388#ifdef CONFIG_OMAP_MUX
389static struct omap_board_mux board_mux[] __initdata = { 389static struct omap_board_mux board_mux[] __initdata = {
390 /* WLAN IRQ - GPIO 53 */
391 OMAP4_MUX(GPMC_NCS3, OMAP_MUX_MODE3 | OMAP_PIN_INPUT),
392 /* WLAN POWER ENABLE - GPIO 43 */
393 OMAP4_MUX(GPMC_A19, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT),
394 /* WLAN SDIO: MMC5 CMD */
395 OMAP4_MUX(SDMMC5_CMD, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
396 /* WLAN SDIO: MMC5 CLK */
397 OMAP4_MUX(SDMMC5_CLK, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
398 /* WLAN SDIO: MMC5 DAT[0-3] */
399 OMAP4_MUX(SDMMC5_DAT0, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
400 OMAP4_MUX(SDMMC5_DAT1, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
401 OMAP4_MUX(SDMMC5_DAT2, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
402 OMAP4_MUX(SDMMC5_DAT3, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP),
390 { .reg_offset = OMAP_MUX_TERMINATOR }, 403 { .reg_offset = OMAP_MUX_TERMINATOR },
391}; 404};
392#else 405#else