diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 3985f35aee06..48789e0bb915 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <linux/regulator/machine.h> | 41 | #include <linux/regulator/machine.h> |
42 | #include <linux/mmc/host.h> | 42 | #include <linux/mmc/host.h> |
43 | #include <linux/export.h> | 43 | #include <linux/export.h> |
44 | #include <linux/usb/phy.h> | ||
44 | 45 | ||
45 | #include <asm/mach-types.h> | 46 | #include <asm/mach-types.h> |
46 | #include <asm/mach/arch.h> | 47 | #include <asm/mach/arch.h> |
@@ -309,7 +310,7 @@ static struct omap2_hsmmc_info mmc[] = { | |||
309 | .gpio_wp = 63, | 310 | .gpio_wp = 63, |
310 | .deferred = true, | 311 | .deferred = true, |
311 | }, | 312 | }, |
312 | #ifdef CONFIG_WL12XX_PLATFORM_DATA | 313 | #ifdef CONFIG_WILINK_PLATFORM_DATA |
313 | { | 314 | { |
314 | .name = "wl1271", | 315 | .name = "wl1271", |
315 | .mmc = 2, | 316 | .mmc = 2, |
@@ -450,7 +451,7 @@ static struct regulator_init_data omap3evm_vio = { | |||
450 | .consumer_supplies = omap3evm_vio_supply, | 451 | .consumer_supplies = omap3evm_vio_supply, |
451 | }; | 452 | }; |
452 | 453 | ||
453 | #ifdef CONFIG_WL12XX_PLATFORM_DATA | 454 | #ifdef CONFIG_WILINK_PLATFORM_DATA |
454 | 455 | ||
455 | #define OMAP3EVM_WLAN_PMENA_GPIO (150) | 456 | #define OMAP3EVM_WLAN_PMENA_GPIO (150) |
456 | #define OMAP3EVM_WLAN_IRQ_GPIO (149) | 457 | #define OMAP3EVM_WLAN_IRQ_GPIO (149) |
@@ -538,7 +539,7 @@ static int __init omap3_evm_i2c_init(void) | |||
538 | return 0; | 539 | return 0; |
539 | } | 540 | } |
540 | 541 | ||
541 | static struct usbhs_omap_board_data usbhs_bdata __initdata = { | 542 | static struct usbhs_omap_platform_data usbhs_bdata __initdata = { |
542 | 543 | ||
543 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, | 544 | .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED, |
544 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, | 545 | .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY, |
@@ -563,7 +564,7 @@ static struct omap_board_mux omap35x_board_mux[] __initdata = { | |||
563 | OMAP_PIN_OFF_NONE), | 564 | OMAP_PIN_OFF_NONE), |
564 | OMAP3_MUX(GPMC_WAIT2, OMAP_MUX_MODE4 | OMAP_PIN_INPUT_PULLUP | | 565 | OMAP3_MUX(GPMC_WAIT2, OMAP_MUX_MODE4 | OMAP_PIN_INPUT_PULLUP | |
565 | OMAP_PIN_OFF_NONE), | 566 | OMAP_PIN_OFF_NONE), |
566 | #ifdef CONFIG_WL12XX_PLATFORM_DATA | 567 | #ifdef CONFIG_WILINK_PLATFORM_DATA |
567 | /* WLAN IRQ - GPIO 149 */ | 568 | /* WLAN IRQ - GPIO 149 */ |
568 | OMAP3_MUX(UART1_RTS, OMAP_MUX_MODE4 | OMAP_PIN_INPUT), | 569 | OMAP3_MUX(UART1_RTS, OMAP_MUX_MODE4 | OMAP_PIN_INPUT), |
569 | 570 | ||
@@ -601,7 +602,7 @@ static struct omap_board_mux omap36x_board_mux[] __initdata = { | |||
601 | OMAP3_MUX(SYS_BOOT4, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | 602 | OMAP3_MUX(SYS_BOOT4, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), |
602 | OMAP3_MUX(SYS_BOOT5, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | 603 | OMAP3_MUX(SYS_BOOT5, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), |
603 | OMAP3_MUX(SYS_BOOT6, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | 604 | OMAP3_MUX(SYS_BOOT6, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), |
604 | #ifdef CONFIG_WL12XX_PLATFORM_DATA | 605 | #ifdef CONFIG_WILINK_PLATFORM_DATA |
605 | /* WLAN IRQ - GPIO 149 */ | 606 | /* WLAN IRQ - GPIO 149 */ |
606 | OMAP3_MUX(UART1_RTS, OMAP_MUX_MODE4 | OMAP_PIN_INPUT), | 607 | OMAP3_MUX(UART1_RTS, OMAP_MUX_MODE4 | OMAP_PIN_INPUT), |
607 | 608 | ||
@@ -637,7 +638,7 @@ static struct gpio omap3_evm_ehci_gpios[] __initdata = { | |||
637 | 638 | ||
638 | static void __init omap3_evm_wl12xx_init(void) | 639 | static void __init omap3_evm_wl12xx_init(void) |
639 | { | 640 | { |
640 | #ifdef CONFIG_WL12XX_PLATFORM_DATA | 641 | #ifdef CONFIG_WILINK_PLATFORM_DATA |
641 | int ret; | 642 | int ret; |
642 | 643 | ||
643 | /* WL12xx WLAN Init */ | 644 | /* WL12xx WLAN Init */ |
@@ -734,6 +735,7 @@ static void __init omap3_evm_init(void) | |||
734 | omap_mux_init_gpio(135, OMAP_PIN_OUTPUT); | 735 | omap_mux_init_gpio(135, OMAP_PIN_OUTPUT); |
735 | usbhs_bdata.reset_gpio_port[1] = 135; | 736 | usbhs_bdata.reset_gpio_port[1] = 135; |
736 | } | 737 | } |
738 | usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb"); | ||
737 | usb_musb_init(&musb_board_data); | 739 | usb_musb_init(&musb_board_data); |
738 | usbhs_init(&usbhs_bdata); | 740 | usbhs_init(&usbhs_bdata); |
739 | board_nand_init(omap3evm_nand_partitions, | 741 | board_nand_init(omap3evm_nand_partitions, |
@@ -744,7 +746,7 @@ static void __init omap3_evm_init(void) | |||
744 | omap3evm_init_smsc911x(); | 746 | omap3evm_init_smsc911x(); |
745 | omap3_evm_display_init(); | 747 | omap3_evm_display_init(); |
746 | omap3_evm_wl12xx_init(); | 748 | omap3_evm_wl12xx_init(); |
747 | omap_twl4030_audio_init("omap3evm"); | 749 | omap_twl4030_audio_init("omap3evm", NULL); |
748 | } | 750 | } |
749 | 751 | ||
750 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") | 752 | MACHINE_START(OMAP3EVM, "OMAP3 EVM") |
@@ -757,6 +759,6 @@ MACHINE_START(OMAP3EVM, "OMAP3 EVM") | |||
757 | .handle_irq = omap3_intc_handle_irq, | 759 | .handle_irq = omap3_intc_handle_irq, |
758 | .init_machine = omap3_evm_init, | 760 | .init_machine = omap3_evm_init, |
759 | .init_late = omap35xx_init_late, | 761 | .init_late = omap35xx_init_late, |
760 | .timer = &omap3_timer, | 762 | .init_time = omap3_sync32k_timer_init, |
761 | .restart = omap3xxx_restart, | 763 | .restart = omap3xxx_restart, |
762 | MACHINE_END | 764 | MACHINE_END |