aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-ldp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r--arch/arm/mach-omap2/board-ldp.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
index 995d4a2b2dfd..5fcb52e71298 100644
--- a/arch/arm/mach-omap2/board-ldp.c
+++ b/arch/arm/mach-omap2/board-ldp.c
@@ -44,7 +44,7 @@
44#include <plat/usb.h> 44#include <plat/usb.h>
45 45
46#include "mux.h" 46#include "mux.h"
47#include "mmc-twl4030.h" 47#include "hsmmc.h"
48 48
49#define LDP_SMSC911X_CS 1 49#define LDP_SMSC911X_CS 1
50#define LDP_SMSC911X_GPIO 152 50#define LDP_SMSC911X_GPIO 152
@@ -359,7 +359,7 @@ static int __init omap_i2c_init(void)
359 return 0; 359 return 0;
360} 360}
361 361
362static struct twl4030_hsmmc_info mmc[] __initdata = { 362static struct omap2_hsmmc_info mmc[] __initdata = {
363 { 363 {
364 .mmc = 1, 364 .mmc = 1,
365 .wires = 4, 365 .wires = 4,
@@ -383,6 +383,12 @@ static struct omap_board_mux board_mux[] __initdata = {
383#define board_mux NULL 383#define board_mux NULL
384#endif 384#endif
385 385
386static struct omap_musb_board_data musb_board_data = {
387 .interface_type = MUSB_INTERFACE_ULPI,
388 .mode = MUSB_OTG,
389 .power = 100,
390};
391
386static void __init omap_ldp_init(void) 392static void __init omap_ldp_init(void)
387{ 393{
388 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); 394 omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
@@ -394,9 +400,9 @@ static void __init omap_ldp_init(void)
394 ARRAY_SIZE(ldp_spi_board_info)); 400 ARRAY_SIZE(ldp_spi_board_info));
395 ads7846_dev_init(); 401 ads7846_dev_init();
396 omap_serial_init(); 402 omap_serial_init();
397 usb_musb_init(); 403 usb_musb_init(&musb_board_data);
398 404
399 twl4030_mmc_init(mmc); 405 omap2_hsmmc_init(mmc);
400 /* link regulators to MMC adapters */ 406 /* link regulators to MMC adapters */
401 ldp_vmmc1_supply.dev = mmc[0].dev; 407 ldp_vmmc1_supply.dev = mmc[0].dev;
402} 408}
@@ -404,7 +410,7 @@ static void __init omap_ldp_init(void)
404static void __init omap_ldp_map_io(void) 410static void __init omap_ldp_map_io(void)
405{ 411{
406 omap2_set_globals_343x(); 412 omap2_set_globals_343x();
407 omap2_map_common_io(); 413 omap34xx_map_common_io();
408} 414}
409 415
410MACHINE_START(OMAP_LDP, "OMAP LDP board") 416MACHINE_START(OMAP_LDP, "OMAP LDP board")