aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3touchbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3touchbook.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3touchbook.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c
index fe3d22cb2457..3943d0f8322c 100644
--- a/arch/arm/mach-omap2/board-omap3touchbook.c
+++ b/arch/arm/mach-omap2/board-omap3touchbook.c
@@ -50,7 +50,7 @@
50#include <plat/timer-gp.h> 50#include <plat/timer-gp.h>
51 51
52#include "mux.h" 52#include "mux.h"
53#include "mmc-twl4030.h" 53#include "hsmmc.h"
54 54
55#include <asm/setup.h> 55#include <asm/setup.h>
56 56
@@ -122,7 +122,7 @@ static struct platform_device omap3touchbook_nand_device = {
122 122
123#include "sdram-micron-mt46h32m32lf-6.h" 123#include "sdram-micron-mt46h32m32lf-6.h"
124 124
125static struct twl4030_hsmmc_info mmc[] = { 125static struct omap2_hsmmc_info mmc[] = {
126 { 126 {
127 .mmc = 1, 127 .mmc = 1,
128 .wires = 8, 128 .wires = 8,
@@ -161,7 +161,7 @@ static int touchbook_twl_gpio_setup(struct device *dev,
161 } 161 }
162 /* gpio + 0 is "mmc0_cd" (input/IRQ) */ 162 /* gpio + 0 is "mmc0_cd" (input/IRQ) */
163 mmc[0].gpio_cd = gpio + 0; 163 mmc[0].gpio_cd = gpio + 0;
164 twl4030_mmc_init(mmc); 164 omap2_hsmmc_init(mmc);
165 165
166 /* link regulators to MMC adapters */ 166 /* link regulators to MMC adapters */
167 touchbook_vmmc1_supply.dev = mmc[0].dev; 167 touchbook_vmmc1_supply.dev = mmc[0].dev;
@@ -527,6 +527,12 @@ static void __init early_touchbook_revision(char **p)
527} 527}
528__early_param("tbr=", early_touchbook_revision); 528__early_param("tbr=", early_touchbook_revision);
529 529
530static struct omap_musb_board_data musb_board_data = {
531 .interface_type = MUSB_INTERFACE_ULPI,
532 .mode = MUSB_OTG,
533 .power = 100,
534};
535
530static void __init omap3_touchbook_init(void) 536static void __init omap3_touchbook_init(void)
531{ 537{
532 pm_power_off = omap3_touchbook_poweroff; 538 pm_power_off = omap3_touchbook_poweroff;
@@ -545,7 +551,7 @@ static void __init omap3_touchbook_init(void)
545 spi_register_board_info(omap3_ads7846_spi_board_info, 551 spi_register_board_info(omap3_ads7846_spi_board_info,
546 ARRAY_SIZE(omap3_ads7846_spi_board_info)); 552 ARRAY_SIZE(omap3_ads7846_spi_board_info));
547 omap3_ads7846_init(); 553 omap3_ads7846_init();
548 usb_musb_init(); 554 usb_musb_init(&musb_board_data);
549 usb_ehci_init(&ehci_pdata); 555 usb_ehci_init(&ehci_pdata);
550 omap3touchbook_flash_init(); 556 omap3touchbook_flash_init();
551 557
@@ -557,7 +563,7 @@ static void __init omap3_touchbook_init(void)
557static void __init omap3_touchbook_map_io(void) 563static void __init omap3_touchbook_map_io(void)
558{ 564{
559 omap2_set_globals_343x(); 565 omap2_set_globals_343x();
560 omap2_map_common_io(); 566 omap34xx_map_common_io();
561} 567}
562 568
563MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") 569MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board")