aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3beagle.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3beagle.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 231cb4ec1847..6eb77e1f7c82 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -45,7 +45,7 @@
45#include <plat/timer-gp.h> 45#include <plat/timer-gp.h>
46 46
47#include "mux.h" 47#include "mux.h"
48#include "mmc-twl4030.h" 48#include "hsmmc.h"
49 49
50#define GPMC_CS0_BASE 0x60 50#define GPMC_CS0_BASE 0x60
51#define GPMC_CS_SIZE 0x30 51#define GPMC_CS_SIZE 0x30
@@ -108,7 +108,7 @@ static struct platform_device omap3beagle_nand_device = {
108 108
109#include "sdram-micron-mt46h32m32lf-6.h" 109#include "sdram-micron-mt46h32m32lf-6.h"
110 110
111static struct twl4030_hsmmc_info mmc[] = { 111static struct omap2_hsmmc_info mmc[] = {
112 { 112 {
113 .mmc = 1, 113 .mmc = 1,
114 .wires = 8, 114 .wires = 8,
@@ -147,7 +147,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
147 } 147 }
148 /* gpio + 0 is "mmc0_cd" (input/IRQ) */ 148 /* gpio + 0 is "mmc0_cd" (input/IRQ) */
149 mmc[0].gpio_cd = gpio + 0; 149 mmc[0].gpio_cd = gpio + 0;
150 twl4030_mmc_init(mmc); 150 omap2_hsmmc_init(mmc);
151 151
152 /* link regulators to MMC adapters */ 152 /* link regulators to MMC adapters */
153 beagle_vmmc1_supply.dev = mmc[0].dev; 153 beagle_vmmc1_supply.dev = mmc[0].dev;
@@ -430,6 +430,12 @@ static struct omap_board_mux board_mux[] __initdata = {
430#define board_mux NULL 430#define board_mux NULL
431#endif 431#endif
432 432
433static struct omap_musb_board_data musb_board_data = {
434 .interface_type = MUSB_INTERFACE_ULPI,
435 .mode = MUSB_OTG,
436 .power = 100,
437};
438
433static void __init omap3_beagle_init(void) 439static void __init omap3_beagle_init(void)
434{ 440{
435 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 441 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
@@ -443,7 +449,7 @@ static void __init omap3_beagle_init(void)
443 /* REVISIT leave DVI powered down until it's needed ... */ 449 /* REVISIT leave DVI powered down until it's needed ... */
444 gpio_direction_output(170, true); 450 gpio_direction_output(170, true);
445 451
446 usb_musb_init(); 452 usb_musb_init(&musb_board_data);
447 usb_ehci_init(&ehci_pdata); 453 usb_ehci_init(&ehci_pdata);
448 omap3beagle_flash_init(); 454 omap3beagle_flash_init();
449 455
@@ -455,7 +461,7 @@ static void __init omap3_beagle_init(void)
455static void __init omap3_beagle_map_io(void) 461static void __init omap3_beagle_map_io(void)
456{ 462{
457 omap2_set_globals_343x(); 463 omap2_set_globals_343x();
458 omap2_map_common_io(); 464 omap34xx_map_common_io();
459} 465}
460 466
461MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") 467MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")