diff options
author | Greg Ungerer <gerg@uclinux.org> | 2012-07-13 02:01:59 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-12-04 19:51:29 -0500 |
commit | 7acef7a2b878024a5e7521cff9d66466c3d566e1 (patch) | |
tree | ee5bb8f6a0b07191c5339071ecded4642268e02d /arch | |
parent | 5847c478edc10f81700adec81b6129b9fcd1bb21 (diff) |
m68knommu: add clock definitions for 5272 ColdFire CPU types
Add a base set of clocks for the 5272 ColdFire CPU types.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/platform/coldfire/m5272.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/m68k/platform/coldfire/m5272.c b/arch/m68k/platform/coldfire/m5272.c index 45b246d052ef..a8c5856fe5ec 100644 --- a/arch/m68k/platform/coldfire/m5272.c +++ b/arch/m68k/platform/coldfire/m5272.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <asm/coldfire.h> | 19 | #include <asm/coldfire.h> |
20 | #include <asm/mcfsim.h> | 20 | #include <asm/mcfsim.h> |
21 | #include <asm/mcfuart.h> | 21 | #include <asm/mcfuart.h> |
22 | #include <asm/mcfclk.h> | ||
22 | 23 | ||
23 | /***************************************************************************/ | 24 | /***************************************************************************/ |
24 | 25 | ||
@@ -30,6 +31,31 @@ unsigned char ledbank = 0xff; | |||
30 | 31 | ||
31 | /***************************************************************************/ | 32 | /***************************************************************************/ |
32 | 33 | ||
34 | DEFINE_CLK(pll, "pll.0", MCF_CLK); | ||
35 | DEFINE_CLK(sys, "sys.0", MCF_BUSCLK); | ||
36 | DEFINE_CLK(mcftmr0, "mcftmr.0", MCF_BUSCLK); | ||
37 | DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK); | ||
38 | DEFINE_CLK(mcftmr2, "mcftmr.2", MCF_BUSCLK); | ||
39 | DEFINE_CLK(mcftmr3, "mcftmr.3", MCF_BUSCLK); | ||
40 | DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); | ||
41 | DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); | ||
42 | DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK); | ||
43 | |||
44 | struct clk *mcf_clks[] = { | ||
45 | &clk_pll, | ||
46 | &clk_sys, | ||
47 | &clk_mcftmr0, | ||
48 | &clk_mcftmr1, | ||
49 | &clk_mcftmr2, | ||
50 | &clk_mcftmr3, | ||
51 | &clk_mcfuart0, | ||
52 | &clk_mcfuart1, | ||
53 | &clk_fec0, | ||
54 | NULL | ||
55 | }; | ||
56 | |||
57 | /***************************************************************************/ | ||
58 | |||
33 | static void __init m5272_uarts_init(void) | 59 | static void __init m5272_uarts_init(void) |
34 | { | 60 | { |
35 | u32 v; | 61 | u32 v; |