diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-10-19 03:08:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:22:16 -0400 |
commit | 3a0d30bcdfa73bd865f29899eb4bf29b58c4f54a (patch) | |
tree | 0f566b569e34af9fab7e22e2feec853b9a5cbfb5 /arch/arm/mach-omap2/usb-musb.c | |
parent | 436a389096e1feda2c382cad83b6a8d6de8615a0 (diff) |
USB: AM35x: Add musb support
AM35x has musb interface (version 1.8) and uses CPPI41 DMA engine.
It has USB phy built inside the IP itself.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r-- | arch/arm/mach-omap2/usb-musb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 33a5cde1c227..72605584bfff 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
30 | #include <mach/irqs.h> | 30 | #include <mach/irqs.h> |
31 | #include <mach/am35xx.h> | ||
31 | #include <plat/usb.h> | 32 | #include <plat/usb.h> |
32 | 33 | ||
33 | #ifdef CONFIG_USB_MUSB_SOC | 34 | #ifdef CONFIG_USB_MUSB_SOC |
@@ -89,6 +90,9 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data) | |||
89 | { | 90 | { |
90 | if (cpu_is_omap243x()) { | 91 | if (cpu_is_omap243x()) { |
91 | musb_resources[0].start = OMAP243X_HS_BASE; | 92 | musb_resources[0].start = OMAP243X_HS_BASE; |
93 | } else if (cpu_is_omap3517() || cpu_is_omap3505()) { | ||
94 | musb_resources[0].start = AM35XX_IPSS_USBOTGSS_BASE; | ||
95 | musb_resources[1].start = INT_35XX_USBOTG_IRQ; | ||
92 | } else if (cpu_is_omap34xx()) { | 96 | } else if (cpu_is_omap34xx()) { |
93 | musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE; | 97 | musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE; |
94 | } else if (cpu_is_omap44xx()) { | 98 | } else if (cpu_is_omap44xx()) { |