]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
m68knommu: add clock definitions for 525x ColdFire CPU types
authorGreg Ungerer <gerg@uclinux.org>
Fri, 13 Jul 2012 05:59:26 +0000 (15:59 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Dec 2012 00:51:28 +0000 (10:51 +1000)
Add a base set of clocks for the 525x ColdFire CPU types.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/coldfire/m525x.c

index fce8f8a45bf0eb6bf739461114942474c632cc5a..5b9f657b2df0d0df17b226fee3328697ef943d22 100644 (file)
 #include <asm/machdep.h>
 #include <asm/coldfire.h>
 #include <asm/mcfsim.h>
+#include <asm/mcfclk.h>
+
+/***************************************************************************/
+
+DEFINE_CLK(pll, "pll.0", MCF_CLK);
+DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
+DEFINE_CLK(mcftmr0, "mcftmr.0", MCF_BUSCLK);
+DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK);
+DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
+DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
+
+struct clk *mcf_clks[] = {
+       &clk_pll,
+       &clk_sys,
+       &clk_mcftmr0,
+       &clk_mcftmr1,
+       &clk_mcfuart0,
+       &clk_mcfuart1,
+       NULL
+};
 
 /***************************************************************************/