diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7343.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7343.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c index 79ce34e19a2..78881b4214d 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7343.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7343.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/serial.h> | 12 | #include <linux/serial.h> |
13 | #include <linux/serial_sci.h> | 13 | #include <linux/serial_sci.h> |
14 | #include <linux/uio_driver.h> | 14 | #include <linux/uio_driver.h> |
15 | #include <asm/clock.h> | ||
15 | 16 | ||
16 | static struct resource iic0_resources[] = { | 17 | static struct resource iic0_resources[] = { |
17 | [0] = { | 18 | [0] = { |
@@ -138,8 +139,22 @@ static struct platform_device *sh7343_devices[] __initdata = { | |||
138 | 139 | ||
139 | static int __init sh7343_devices_setup(void) | 140 | static int __init sh7343_devices_setup(void) |
140 | { | 141 | { |
142 | clk_always_enable("mstp031"); /* TLB */ | ||
143 | clk_always_enable("mstp030"); /* IC */ | ||
144 | clk_always_enable("mstp029"); /* OC */ | ||
145 | clk_always_enable("mstp028"); /* URAM */ | ||
146 | clk_always_enable("mstp026"); /* XYMEM */ | ||
147 | clk_always_enable("mstp023"); /* INTC3 */ | ||
148 | clk_always_enable("mstp022"); /* INTC */ | ||
149 | clk_always_enable("mstp020"); /* SuperHyway */ | ||
150 | clk_always_enable("mstp109"); /* I2C0 */ | ||
151 | clk_always_enable("mstp108"); /* I2C1 */ | ||
152 | clk_always_enable("mstp202"); /* VEU */ | ||
153 | clk_always_enable("mstp201"); /* VPU */ | ||
154 | |||
141 | platform_resource_setup_memory(&vpu_device, "vpu", 1 << 20); | 155 | platform_resource_setup_memory(&vpu_device, "vpu", 1 << 20); |
142 | platform_resource_setup_memory(&veu_device, "veu", 2 << 20); | 156 | platform_resource_setup_memory(&veu_device, "veu", 2 << 20); |
157 | |||
143 | return platform_add_devices(sh7343_devices, | 158 | return platform_add_devices(sh7343_devices, |
144 | ARRAY_SIZE(sh7343_devices)); | 159 | ARRAY_SIZE(sh7343_devices)); |
145 | } | 160 | } |