diff options
Diffstat (limited to 'arch/arm/mach-pxa/devices.c')
| -rw-r--r-- | arch/arm/mach-pxa/devices.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c index 061ec92eb1e2..50ff453ad370 100644 --- a/arch/arm/mach-pxa/devices.c +++ b/arch/arm/mach-pxa/devices.c | |||
| @@ -395,6 +395,37 @@ struct platform_device pxa25x_device_assp = { | |||
| 395 | 395 | ||
| 396 | #if defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx) | 396 | #if defined(CONFIG_PXA27x) || defined(CONFIG_PXA3xx) |
| 397 | 397 | ||
| 398 | static u64 pxa27x_ohci_dma_mask = DMA_BIT_MASK(32); | ||
| 399 | |||
| 400 | static struct resource pxa27x_resource_ohci[] = { | ||
| 401 | [0] = { | ||
| 402 | .start = 0x4C000000, | ||
| 403 | .end = 0x4C00ff6f, | ||
| 404 | .flags = IORESOURCE_MEM, | ||
| 405 | }, | ||
| 406 | [1] = { | ||
| 407 | .start = IRQ_USBH1, | ||
| 408 | .end = IRQ_USBH1, | ||
| 409 | .flags = IORESOURCE_IRQ, | ||
| 410 | }, | ||
| 411 | }; | ||
| 412 | |||
| 413 | struct platform_device pxa27x_device_ohci = { | ||
| 414 | .name = "pxa27x-ohci", | ||
| 415 | .id = -1, | ||
| 416 | .dev = { | ||
| 417 | .dma_mask = &pxa27x_ohci_dma_mask, | ||
| 418 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
| 419 | }, | ||
| 420 | .num_resources = ARRAY_SIZE(pxa27x_resource_ohci), | ||
| 421 | .resource = pxa27x_resource_ohci, | ||
| 422 | }; | ||
| 423 | |||
| 424 | void __init pxa_set_ohci_info(struct pxaohci_platform_data *info) | ||
| 425 | { | ||
| 426 | pxa_register_device(&pxa27x_device_ohci, info); | ||
| 427 | } | ||
| 428 | |||
| 398 | static u64 pxa27x_ssp1_dma_mask = DMA_BIT_MASK(32); | 429 | static u64 pxa27x_ssp1_dma_mask = DMA_BIT_MASK(32); |
| 399 | 430 | ||
| 400 | static struct resource pxa27x_resource_ssp1[] = { | 431 | static struct resource pxa27x_resource_ssp1[] = { |
