diff options
author | Greg Ungerer <gerg@uclinux.org> | 2012-07-13 01:58:41 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-12-04 19:51:27 -0500 |
commit | ee1e6b3277de8eb1e3cfb683533c6d72d4ddaa40 (patch) | |
tree | 56574dedb96b947b888b1f0087d53ff1751c06a7 /arch/m68k | |
parent | a0f8f8c8a111a7cf3982c9bc1e7841e154e7d356 (diff) |
m68knommu: add clock definitions for 5249 ColdFire CPU types
Add a base set of clocks for the 5249 ColdFire CPU types.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/platform/coldfire/m5249.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/m68k/platform/coldfire/m5249.c b/arch/m68k/platform/coldfire/m5249.c index 8370a57c3788..c80b5e51d29a 100644 --- a/arch/m68k/platform/coldfire/m5249.c +++ b/arch/m68k/platform/coldfire/m5249.c | |||
@@ -16,6 +16,26 @@ | |||
16 | #include <asm/machdep.h> | 16 | #include <asm/machdep.h> |
17 | #include <asm/coldfire.h> | 17 | #include <asm/coldfire.h> |
18 | #include <asm/mcfsim.h> | 18 | #include <asm/mcfsim.h> |
19 | #include <asm/mcfclk.h> | ||
20 | |||
21 | /***************************************************************************/ | ||
22 | |||
23 | DEFINE_CLK(pll, "pll.0", MCF_CLK); | ||
24 | DEFINE_CLK(sys, "sys.0", MCF_BUSCLK); | ||
25 | DEFINE_CLK(mcftmr0, "mcftmr.0", MCF_BUSCLK); | ||
26 | DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK); | ||
27 | DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); | ||
28 | DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); | ||
29 | |||
30 | struct clk *mcf_clks[] = { | ||
31 | &clk_pll, | ||
32 | &clk_sys, | ||
33 | &clk_mcftmr0, | ||
34 | &clk_mcftmr1, | ||
35 | &clk_mcfuart0, | ||
36 | &clk_mcfuart1, | ||
37 | NULL | ||
38 | }; | ||
19 | 39 | ||
20 | /***************************************************************************/ | 40 | /***************************************************************************/ |
21 | 41 | ||