diff options
Diffstat (limited to 'arch/sh/boards/mach-x3proto')
-rw-r--r-- | arch/sh/boards/mach-x3proto/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-x3proto/setup.c b/arch/sh/boards/mach-x3proto/setup.c index 8913ae39a802..efe4cb9f8a77 100644 --- a/arch/sh/boards/mach-x3proto/setup.c +++ b/arch/sh/boards/mach-x3proto/setup.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/irq.h> | 17 | #include <linux/irq.h> |
18 | #include <linux/interrupt.h> | 18 | #include <linux/interrupt.h> |
19 | #include <linux/usb/r8a66597.h> | 19 | #include <linux/usb/r8a66597.h> |
20 | #include <linux/usb/m66592.h> | ||
20 | #include <asm/ilsel.h> | 21 | #include <asm/ilsel.h> |
21 | 22 | ||
22 | static struct resource heartbeat_resources[] = { | 23 | static struct resource heartbeat_resources[] = { |
@@ -89,6 +90,11 @@ static struct platform_device r8a66597_usb_host_device = { | |||
89 | .resource = r8a66597_usb_host_resources, | 90 | .resource = r8a66597_usb_host_resources, |
90 | }; | 91 | }; |
91 | 92 | ||
93 | static struct m66592_platdata usbf_platdata = { | ||
94 | .xtal = M66592_PLATDATA_XTAL_24MHZ, | ||
95 | .vif = 1, | ||
96 | }; | ||
97 | |||
92 | static struct resource m66592_usb_peripheral_resources[] = { | 98 | static struct resource m66592_usb_peripheral_resources[] = { |
93 | [0] = { | 99 | [0] = { |
94 | .name = "m66592_udc", | 100 | .name = "m66592_udc", |
@@ -109,6 +115,7 @@ static struct platform_device m66592_usb_peripheral_device = { | |||
109 | .dev = { | 115 | .dev = { |
110 | .dma_mask = NULL, /* don't use dma */ | 116 | .dma_mask = NULL, /* don't use dma */ |
111 | .coherent_dma_mask = 0xffffffff, | 117 | .coherent_dma_mask = 0xffffffff, |
118 | .platform_data = &usbf_platdata, | ||
112 | }, | 119 | }, |
113 | .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources), | 120 | .num_resources = ARRAY_SIZE(m66592_usb_peripheral_resources), |
114 | .resource = m66592_usb_peripheral_resources, | 121 | .resource = m66592_usb_peripheral_resources, |