diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-08 14:23:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-08 14:23:02 -0500 |
commit | 895e031707954a9ca26ed4f5f794575313854ed1 (patch) | |
tree | ec7cd5515f346e6f94bc43e63d55ebc8ddf4173d /arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |
parent | 838e8bb71dc0c892bf8f84abd3c709d8fe3a8d3c (diff) | |
parent | a622cf69b806bbb1887913c04e01d0c25b892876 (diff) |
Merge branch 'linus' into x86/cleanups
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7366.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7366.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c index 6851dba02f31..e17db39b97aa 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7366.c | |||
@@ -36,6 +36,32 @@ static struct platform_device iic_device = { | |||
36 | .resource = iic_resources, | 36 | .resource = iic_resources, |
37 | }; | 37 | }; |
38 | 38 | ||
39 | static struct resource usb_host_resources[] = { | ||
40 | [0] = { | ||
41 | .name = "r8a66597_hcd", | ||
42 | .start = 0xa4d80000, | ||
43 | .end = 0xa4d800ff, | ||
44 | .flags = IORESOURCE_MEM, | ||
45 | }, | ||
46 | [1] = { | ||
47 | .name = "r8a66597_hcd", | ||
48 | .start = 65, | ||
49 | .end = 65, | ||
50 | .flags = IORESOURCE_IRQ, | ||
51 | }, | ||
52 | }; | ||
53 | |||
54 | static struct platform_device usb_host_device = { | ||
55 | .name = "r8a66597_hcd", | ||
56 | .id = -1, | ||
57 | .dev = { | ||
58 | .dma_mask = NULL, | ||
59 | .coherent_dma_mask = 0xffffffff, | ||
60 | }, | ||
61 | .num_resources = ARRAY_SIZE(usb_host_resources), | ||
62 | .resource = usb_host_resources, | ||
63 | }; | ||
64 | |||
39 | static struct uio_info vpu_platform_data = { | 65 | static struct uio_info vpu_platform_data = { |
40 | .name = "VPU5", | 66 | .name = "VPU5", |
41 | .version = "0", | 67 | .version = "0", |
@@ -142,6 +168,7 @@ static struct platform_device sci_device = { | |||
142 | static struct platform_device *sh7366_devices[] __initdata = { | 168 | static struct platform_device *sh7366_devices[] __initdata = { |
143 | &iic_device, | 169 | &iic_device, |
144 | &sci_device, | 170 | &sci_device, |
171 | &usb_host_device, | ||
145 | &vpu_device, | 172 | &vpu_device, |
146 | &veu0_device, | 173 | &veu0_device, |
147 | &veu1_device, | 174 | &veu1_device, |
@@ -158,6 +185,7 @@ static int __init sh7366_devices_setup(void) | |||
158 | clk_always_enable("mstp022"); /* INTC */ | 185 | clk_always_enable("mstp022"); /* INTC */ |
159 | clk_always_enable("mstp020"); /* SuperHyway */ | 186 | clk_always_enable("mstp020"); /* SuperHyway */ |
160 | clk_always_enable("mstp109"); /* I2C */ | 187 | clk_always_enable("mstp109"); /* I2C */ |
188 | clk_always_enable("mstp211"); /* USB */ | ||
161 | clk_always_enable("mstp207"); /* VEU-2 */ | 189 | clk_always_enable("mstp207"); /* VEU-2 */ |
162 | clk_always_enable("mstp202"); /* VEU-1 */ | 190 | clk_always_enable("mstp202"); /* VEU-1 */ |
163 | clk_always_enable("mstp201"); /* VPU */ | 191 | clk_always_enable("mstp201"); /* VPU */ |