diff options
| author | Greg Ungerer <gerg@uclinux.org> | 2012-07-13 02:04:22 -0400 |
|---|---|---|
| committer | Greg Ungerer <gerg@uclinux.org> | 2012-12-04 19:51:31 -0500 |
| commit | 87f37769539f1362e3e5330748c0e5bd21ff209c (patch) | |
| tree | 47cf88351a7de64d65e52a901db7d5a0c61e5814 | |
| parent | a3d8eb0da2b872a292b1e32f71740358b49acfda (diff) | |
m68knommu: add clock definitions for 528x ColdFire CPU types
Add a base set of clocks for the 528x ColdFire CPU types.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| -rw-r--r-- | arch/m68k/platform/coldfire/m528x.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/m68k/platform/coldfire/m528x.c b/arch/m68k/platform/coldfire/m528x.c index f9f7e6a13d04..83b7dad7a84e 100644 --- a/arch/m68k/platform/coldfire/m528x.c +++ b/arch/m68k/platform/coldfire/m528x.c | |||
| @@ -21,6 +21,34 @@ | |||
| 21 | #include <asm/coldfire.h> | 21 | #include <asm/coldfire.h> |
| 22 | #include <asm/mcfsim.h> | 22 | #include <asm/mcfsim.h> |
| 23 | #include <asm/mcfuart.h> | 23 | #include <asm/mcfuart.h> |
| 24 | #include <asm/mcfclk.h> | ||
| 25 | |||
| 26 | /***************************************************************************/ | ||
| 27 | |||
| 28 | DEFINE_CLK(pll, "pll.0", MCF_CLK); | ||
| 29 | DEFINE_CLK(sys, "sys.0", MCF_BUSCLK); | ||
| 30 | DEFINE_CLK(mcfpit0, "mcfpit.0", MCF_CLK); | ||
| 31 | DEFINE_CLK(mcfpit1, "mcfpit.1", MCF_CLK); | ||
| 32 | DEFINE_CLK(mcfpit2, "mcfpit.2", MCF_CLK); | ||
| 33 | DEFINE_CLK(mcfpit3, "mcfpit.3", MCF_CLK); | ||
| 34 | DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); | ||
| 35 | DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); | ||
| 36 | DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK); | ||
| 37 | DEFINE_CLK(fec0, "fec.0", 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 | NULL | ||
| 51 | }; | ||
| 24 | 52 | ||
| 25 | /***************************************************************************/ | 53 | /***************************************************************************/ |
| 26 | 54 | ||
