diff options
author | Greg Ungerer <gerg@uclinux.org> | 2012-07-13 01:57:38 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-12-04 19:51:26 -0500 |
commit | a0f8f8c8a111a7cf3982c9bc1e7841e154e7d356 (patch) | |
tree | cf39d21fea82e9d2495772b15b9a04df474c839b /arch | |
parent | e2d3416461b4e13b69b25164debed9f68c95c522 (diff) |
m68knommu: add clock definitions for 523x ColdFire CPU types
Add a base set of clocks for the 523x ColdFire CPU types.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/platform/coldfire/m523x.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/m68k/platform/coldfire/m523x.c b/arch/m68k/platform/coldfire/m523x.c index ff37fe9553ea..2b10e9f198cd 100644 --- a/arch/m68k/platform/coldfire/m523x.c +++ b/arch/m68k/platform/coldfire/m523x.c | |||
@@ -19,6 +19,34 @@ | |||
19 | #include <asm/machdep.h> | 19 | #include <asm/machdep.h> |
20 | #include <asm/coldfire.h> | 20 | #include <asm/coldfire.h> |
21 | #include <asm/mcfsim.h> | 21 | #include <asm/mcfsim.h> |
22 | #include <asm/mcfclk.h> | ||
23 | |||
24 | /***************************************************************************/ | ||
25 | |||
26 | DEFINE_CLK(pll, "pll.0", MCF_CLK); | ||
27 | DEFINE_CLK(sys, "sys.0", MCF_BUSCLK); | ||
28 | DEFINE_CLK(mcfpit0, "mcfpit.0", MCF_CLK); | ||
29 | DEFINE_CLK(mcfpit1, "mcfpit.1", MCF_CLK); | ||
30 | DEFINE_CLK(mcfpit2, "mcfpit.2", MCF_CLK); | ||
31 | DEFINE_CLK(mcfpit3, "mcfpit.3", MCF_CLK); | ||
32 | DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); | ||
33 | DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); | ||
34 | DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK); | ||
35 | DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK); | ||
36 | |||
37 | struct clk *mcf_clks[] = { | ||
38 | &clk_pll, | ||
39 | &clk_sys, | ||
40 | &clk_mcfpit0, | ||
41 | &clk_mcfpit1, | ||
42 | &clk_mcfpit2, | ||
43 | &clk_mcfpit3, | ||
44 | &clk_mcfuart0, | ||
45 | &clk_mcfuart1, | ||
46 | &clk_mcfuart2, | ||
47 | &clk_fec0, | ||
48 | NULL | ||
49 | }; | ||
22 | 50 | ||
23 | /***************************************************************************/ | 51 | /***************************************************************************/ |
24 | 52 | ||