summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2010-02-17 14:09:32 -0800
committerTony Lindgren <tony@atomide.com>2010-02-23 10:57:39 -0800
commitbce066836644f12b239b86bbfdd475d7b24b9a49 (patch)
tree27484b45413022846731057d98e3b930d3278c59 /arch/arm/mach-omap2/usb-musb.c
parentbdfa35118c3149bfa7f6b259ca528f455af07c72 (diff)
omap: musb: Add USB support to 4430 SDP board file
This patch adds support for Mentor USB to 4430 SDP board file. It also defines the base address for HS USB OTG controller in OMAP4. Also updates platform specfic structure with base address and IRQ details. Signed-off-by: Maulik Mankad <x0082077@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Felipe Balbi <felipe.balbi@nokia.com> Cc: David Brownell <david-b@pacbell.net> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: Olof Johansson <olof@lixom.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index 2221a6ccdee..d5bea43e942 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -88,10 +88,15 @@ static struct platform_device musb_device = {
void __init usb_musb_init(struct omap_musb_board_data *board_data)
{
- if (cpu_is_omap243x())
+ if (cpu_is_omap243x()) {
musb_resources[0].start = OMAP243X_HS_BASE;
- else
+ } else if (cpu_is_omap34xx()) {
musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE;
+ } else if (cpu_is_omap44xx()) {
+ musb_resources[0].start = OMAP44XX_HSUSB_OTG_BASE;
+ musb_resources[1].start = INT_44XX_HS_USB_MC;
+ musb_resources[2].start = INT_44XX_HS_USB_DMA;
+ }
musb_resources[0].end = musb_resources[0].start + SZ_4K - 1;
/*