aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/devices.c')
-rw-r--r--arch/arm/mach-mx5/devices.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices.c b/arch/arm/mach-mx5/devices.c
index ac55f7f0c204..1bda5cb339dc 100644
--- a/arch/arm/mach-mx5/devices.c
+++ b/arch/arm/mach-mx5/devices.c
@@ -97,6 +97,29 @@ struct platform_device mxc_usbh1_device = {
97 }, 97 },
98}; 98};
99 99
100static struct resource usbh2_resources[] = {
101 {
102 .start = MX51_OTG_BASE_ADDR + 0x400,
103 .end = MX51_OTG_BASE_ADDR + 0x400 + 0x1ff,
104 .flags = IORESOURCE_MEM,
105 },
106 {
107 .start = MX51_MXC_INT_USB_H2,
108 .flags = IORESOURCE_IRQ,
109 },
110};
111
112struct platform_device mxc_usbh2_device = {
113 .name = "mxc-ehci",
114 .id = 2,
115 .num_resources = ARRAY_SIZE(usbh2_resources),
116 .resource = usbh2_resources,
117 .dev = {
118 .dma_mask = &usb_dma_mask,
119 .coherent_dma_mask = DMA_BIT_MASK(32),
120 },
121};
122
100static struct resource mxc_kpp_resources[] = { 123static struct resource mxc_kpp_resources[] = {
101 { 124 {
102 .start = MX51_MXC_INT_KPP, 125 .start = MX51_MXC_INT_KPP,