aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2010-02-17 17:09:32 -0500
committerTony Lindgren <tony@atomide.com>2010-02-23 13:57:39 -0500
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 2221a6ccdeee..d5bea43e9422 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 = {
88 88
89void __init usb_musb_init(struct omap_musb_board_data *board_data) 89void __init usb_musb_init(struct omap_musb_board_data *board_data)
90{ 90{
91 if (cpu_is_omap243x()) 91 if (cpu_is_omap243x()) {
92 musb_resources[0].start = OMAP243X_HS_BASE; 92 musb_resources[0].start = OMAP243X_HS_BASE;
93 else 93 } else if (cpu_is_omap34xx()) {
94 musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE; 94 musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE;
95 } else if (cpu_is_omap44xx()) {
96 musb_resources[0].start = OMAP44XX_HSUSB_OTG_BASE;
97 musb_resources[1].start = INT_44XX_HS_USB_MC;
98 musb_resources[2].start = INT_44XX_HS_USB_DMA;
99 }
95 musb_resources[0].end = musb_resources[0].start + SZ_4K - 1; 100 musb_resources[0].end = musb_resources[0].start + SZ_4K - 1;
96 101
97 /* 102 /*