summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2009-10-29 11:34:40 +0530
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2009-10-31 19:29:35 +0530
commit4ac7c5816c376be4f4daddbc725a2caa3f41f43a (patch)
treef98e4d8c9a2c7f0a9009ac7d133aaf506995cf53 /arch/arm/mach-omap2
parent876f1d0282e0583140e5289041c6afdf353a2838 (diff)
OMAP4: Initialize ehci resource structure for OMAP4
Signed-off-by: Maulik Mankad <x0082077@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/usb-ehci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb-ehci.c b/arch/arm/mach-omap2/usb-ehci.c
index 1621e048c135..438fa49a18f4 100644
--- a/arch/arm/mach-omap2/usb-ehci.c
+++ b/arch/arm/mach-omap2/usb-ehci.c
@@ -376,6 +376,12 @@ void __init usb_ehci_init(enum ehci_hcd_omap_mode phy_mode,
int chargepump, int phy_reset, int reset_gpio_port1,
int reset_gpio_port2)
{
+ if (cpu_is_omap44xx()) {
+ ehci_resources[0].start = OMAP44XX_EHCI_BASE;
+ ehci_resources[0].end = OMAP44XX_EHCI_BASE + SZ_1K - 1;
+ ehci_resources[1].start = INT_44XX_EHCI_IRQ;
+ }
+
platform_device_add_data(&ehci_device, &pdata, sizeof(pdata));
/* Setup Pin IO MUX for EHCI */