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