diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-02-12 10:00:21 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-19 06:30:27 -0500 |
commit | 7db21712aeb7c9693f7bc554923b35c35303a067 (patch) | |
tree | 410b1fd2e840e46760129b09a2dce3668b572168 /arch/arm/mach-realview/realview_pb11mp.c | |
parent | 6be62ba215059258b68072d4553f765f9b34f3d1 (diff) |
[ARM] 5397/1: RealView: Add support for the ISP1761 USB chip
This patch adds the platform_device and resource structures for the USB
ISP1761 chip, usable with the in-kernel isp1760 driver.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_pb11mp.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index ff50ec2e4320..ea1e60eca359 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -230,6 +230,19 @@ static struct resource realview_pb11mp_smsc911x_resources[] = { | |||
230 | }, | 230 | }, |
231 | }; | 231 | }; |
232 | 232 | ||
233 | static struct resource realview_pb11mp_isp1761_resources[] = { | ||
234 | [0] = { | ||
235 | .start = REALVIEW_PB11MP_USB_BASE, | ||
236 | .end = REALVIEW_PB11MP_USB_BASE + SZ_128K - 1, | ||
237 | .flags = IORESOURCE_MEM, | ||
238 | }, | ||
239 | [1] = { | ||
240 | .start = IRQ_TC11MP_USB, | ||
241 | .end = IRQ_TC11MP_USB, | ||
242 | .flags = IORESOURCE_IRQ, | ||
243 | }, | ||
244 | }; | ||
245 | |||
233 | static void __init gic_init_irq(void) | 246 | static void __init gic_init_irq(void) |
234 | { | 247 | { |
235 | unsigned int pldctrl; | 248 | unsigned int pldctrl; |
@@ -284,6 +297,7 @@ static void __init realview_pb11mp_init(void) | |||
284 | realview_eth_register(NULL, realview_pb11mp_smsc911x_resources); | 297 | realview_eth_register(NULL, realview_pb11mp_smsc911x_resources); |
285 | platform_device_register(&realview_i2c_device); | 298 | platform_device_register(&realview_i2c_device); |
286 | platform_device_register(&realview_cf_device); | 299 | platform_device_register(&realview_cf_device); |
300 | realview_usb_register(realview_pb11mp_isp1761_resources); | ||
287 | 301 | ||
288 | for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { | 302 | for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { |
289 | struct amba_device *d = amba_devs[i]; | 303 | struct amba_device *d = amba_devs[i]; |