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>
This commit is contained in:
Maulik Mankad
2010-02-17 14:09:32 -08:00
committed by Tony Lindgren
parent bdfa35118c
commit bce0668366
3 changed files with 18 additions and 2 deletions

View File

@ -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;
/*