diff options
Diffstat (limited to 'arch/m68k')
-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; |