diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-11 01:00:06 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-13 04:32:39 -0400 |
commit | b87cecef4ce4250c9bc44af04e60d71000d44581 (patch) | |
tree | 57b5141cf3de57bab161b485dba242538656b4f7 /arch/sh/kernel/cpu/sh4a/clock-sh7366.c | |
parent | 4780683a135abbe17f7867d295cd542cde5678b6 (diff) |
sh: sh7366 mstp32 clkdev lookup
Add sh7366 MSTP clocks to the clkdev lookup table.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/clock-sh7366.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7366.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7366.c b/arch/sh/kernel/cpu/sh4a/clock-sh7366.c index 8b9cd314998e..5649bfcb9f74 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7366.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7366.c | |||
@@ -205,6 +205,58 @@ static struct clk mstp_clks[MSTP_NR] = { | |||
205 | static struct clk_lookup lookups[] = { | 205 | static struct clk_lookup lookups[] = { |
206 | /* DIV6 clocks */ | 206 | /* DIV6 clocks */ |
207 | CLKDEV_CON_ID("video_clk", &div6_clks[DIV6_V]), | 207 | CLKDEV_CON_ID("video_clk", &div6_clks[DIV6_V]), |
208 | |||
209 | /* MSTP32 clocks */ | ||
210 | CLKDEV_CON_ID("tlb0", &mstp_clks[MSTP031]), | ||
211 | CLKDEV_CON_ID("ic0", &mstp_clks[MSTP030]), | ||
212 | CLKDEV_CON_ID("oc0", &mstp_clks[MSTP029]), | ||
213 | CLKDEV_CON_ID("rsmem0", &mstp_clks[MSTP028]), | ||
214 | CLKDEV_CON_ID("xymem0", &mstp_clks[MSTP026]), | ||
215 | CLKDEV_CON_ID("intc3", &mstp_clks[MSTP023]), | ||
216 | CLKDEV_CON_ID("intc0", &mstp_clks[MSTP022]), | ||
217 | CLKDEV_CON_ID("dmac0", &mstp_clks[MSTP021]), | ||
218 | CLKDEV_CON_ID("sh0", &mstp_clks[MSTP020]), | ||
219 | CLKDEV_CON_ID("hudi0", &mstp_clks[MSTP019]), | ||
220 | CLKDEV_CON_ID("ubc0", &mstp_clks[MSTP017]), | ||
221 | CLKDEV_CON_ID("tmu_fck", &mstp_clks[MSTP015]), | ||
222 | CLKDEV_CON_ID("cmt_fck", &mstp_clks[MSTP014]), | ||
223 | CLKDEV_CON_ID("rwdt0", &mstp_clks[MSTP013]), | ||
224 | CLKDEV_CON_ID("mfi0", &mstp_clks[MSTP011]), | ||
225 | CLKDEV_CON_ID("flctl0", &mstp_clks[MSTP010]), | ||
226 | { | ||
227 | /* SCIF0 */ | ||
228 | .dev_id = "sh-sci.0", | ||
229 | .con_id = "sci_fck", | ||
230 | .clk = &mstp_clks[MSTP007], | ||
231 | }, { | ||
232 | /* SCIF1 */ | ||
233 | .dev_id = "sh-sci.1", | ||
234 | .con_id = "sci_fck", | ||
235 | .clk = &mstp_clks[MSTP006], | ||
236 | }, { | ||
237 | /* SCIF2 */ | ||
238 | .dev_id = "sh-sci.2", | ||
239 | .con_id = "sci_fck", | ||
240 | .clk = &mstp_clks[MSTP005], | ||
241 | }, | ||
242 | CLKDEV_CON_ID("msiof0", &mstp_clks[MSTP002]), | ||
243 | CLKDEV_CON_ID("sbr0", &mstp_clks[MSTP001]), | ||
244 | CLKDEV_CON_ID("i2c0", &mstp_clks[MSTP109]), | ||
245 | CLKDEV_CON_ID("icb0", &mstp_clks[MSTP227]), | ||
246 | CLKDEV_CON_ID("meram0", &mstp_clks[MSTP226]), | ||
247 | CLKDEV_CON_ID("dacy1", &mstp_clks[MSTP224]), | ||
248 | CLKDEV_CON_ID("dacy0", &mstp_clks[MSTP223]), | ||
249 | CLKDEV_CON_ID("tsif0", &mstp_clks[MSTP222]), | ||
250 | CLKDEV_CON_ID("sdhi0", &mstp_clks[MSTP218]), | ||
251 | CLKDEV_CON_ID("mmcif0", &mstp_clks[MSTP217]), | ||
252 | CLKDEV_CON_ID("usbf0", &mstp_clks[MSTP211]), | ||
253 | CLKDEV_CON_ID("veu1", &mstp_clks[MSTP207]), | ||
254 | CLKDEV_CON_ID("vou0", &mstp_clks[MSTP205]), | ||
255 | CLKDEV_CON_ID("beu0", &mstp_clks[MSTP204]), | ||
256 | CLKDEV_CON_ID("ceu0", &mstp_clks[MSTP203]), | ||
257 | CLKDEV_CON_ID("veu0", &mstp_clks[MSTP202]), | ||
258 | CLKDEV_CON_ID("vpu0", &mstp_clks[MSTP201]), | ||
259 | CLKDEV_CON_ID("lcdc0", &mstp_clks[MSTP200]), | ||
208 | }; | 260 | }; |
209 | 261 | ||
210 | int __init arch_clk_init(void) | 262 | int __init arch_clk_init(void) |