diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 52dfd51a938e..5b78a87217e0 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -44,9 +44,9 @@ | |||
44 | #include <plat/gpmc.h> | 44 | #include <plat/gpmc.h> |
45 | #include <mach/hardware.h> | 45 | #include <mach/hardware.h> |
46 | #include <plat/nand.h> | 46 | #include <plat/nand.h> |
47 | #include <plat/mux.h> | ||
48 | #include <plat/usb.h> | 47 | #include <plat/usb.h> |
49 | 48 | ||
49 | #include "mux.h" | ||
50 | #include "sdram-micron-mt46h32m32lf-6.h" | 50 | #include "sdram-micron-mt46h32m32lf-6.h" |
51 | #include "mmc-twl4030.h" | 51 | #include "mmc-twl4030.h" |
52 | 52 | ||
@@ -405,9 +405,17 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | |||
405 | .reset_gpio_port[2] = -EINVAL | 405 | .reset_gpio_port[2] = -EINVAL |
406 | }; | 406 | }; |
407 | 407 | ||
408 | #ifdef CONFIG_OMAP_MUX | ||
409 | static struct omap_board_mux board_mux[] __initdata = { | ||
410 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
411 | }; | ||
412 | #else | ||
413 | #define board_mux NULL | ||
414 | #endif | ||
408 | 415 | ||
409 | static void __init overo_init(void) | 416 | static void __init overo_init(void) |
410 | { | 417 | { |
418 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
411 | overo_i2c_init(); | 419 | overo_i2c_init(); |
412 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); | 420 | platform_add_devices(overo_devices, ARRAY_SIZE(overo_devices)); |
413 | omap_serial_init(); | 421 | omap_serial_init(); |
@@ -418,8 +426,8 @@ static void __init overo_init(void) | |||
418 | overo_init_smsc911x(); | 426 | overo_init_smsc911x(); |
419 | 427 | ||
420 | /* Ensure SDRC pins are mux'd for self-refresh */ | 428 | /* Ensure SDRC pins are mux'd for self-refresh */ |
421 | omap_cfg_reg(H16_34XX_SDRC_CKE0); | 429 | omap_mux_init_signal("sdrc_cke0", OMAP_PIN_OUTPUT); |
422 | omap_cfg_reg(H17_34XX_SDRC_CKE1); | 430 | omap_mux_init_signal("sdrc_cke1", OMAP_PIN_OUTPUT); |
423 | 431 | ||
424 | if ((gpio_request(OVERO_GPIO_W2W_NRESET, | 432 | if ((gpio_request(OVERO_GPIO_W2W_NRESET, |
425 | "OVERO_GPIO_W2W_NRESET") == 0) && | 433 | "OVERO_GPIO_W2W_NRESET") == 0) && |