Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
m5441x.c File Reference
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <asm/machdep.h>
#include <asm/coldfire.h>
#include <asm/mcfsim.h>
#include <asm/mcfuart.h>
#include <asm/mcfdma.h>
#include <asm/mcfclk.h>

Go to the source code of this file.

Functions

 DEFINE_CLK (0,"flexbus", 2, MCF_CLK)
 
 DEFINE_CLK (0,"mcfcan.0", 8, MCF_CLK)
 
 DEFINE_CLK (0,"mcfcan.1", 9, MCF_CLK)
 
 DEFINE_CLK (0,"mcfi2c.1", 14, MCF_CLK)
 
 DEFINE_CLK (0,"mcfdspi.1", 15, MCF_CLK)
 
 DEFINE_CLK (0,"edma", 17, MCF_CLK)
 
 DEFINE_CLK (0,"intc.0", 18, MCF_CLK)
 
 DEFINE_CLK (0,"intc.1", 19, MCF_CLK)
 
 DEFINE_CLK (0,"intc.2", 20, MCF_CLK)
 
 DEFINE_CLK (0,"mcfi2c.0", 22, MCF_CLK)
 
 DEFINE_CLK (0,"mcfdspi.0", 23, MCF_CLK)
 
 DEFINE_CLK (0,"mcfuart.0", 24, MCF_BUSCLK)
 
 DEFINE_CLK (0,"mcfuart.1", 25, MCF_BUSCLK)
 
 DEFINE_CLK (0,"mcfuart.2", 26, MCF_BUSCLK)
 
 DEFINE_CLK (0,"mcfuart.3", 27, MCF_BUSCLK)
 
 DEFINE_CLK (0,"mcftmr.0", 28, MCF_CLK)
 
 DEFINE_CLK (0,"mcftmr.1", 29, MCF_CLK)
 
 DEFINE_CLK (0,"mcftmr.2", 30, MCF_CLK)
 
 DEFINE_CLK (0,"mcftmr.3", 31, MCF_CLK)
 
 DEFINE_CLK (0,"mcfpit.0", 32, MCF_CLK)
 
 DEFINE_CLK (0,"mcfpit.1", 33, MCF_CLK)
 
 DEFINE_CLK (0,"mcfpit.2", 34, MCF_CLK)
 
 DEFINE_CLK (0,"mcfpit.3", 35, MCF_CLK)
 
 DEFINE_CLK (0,"mcfeport.0", 37, MCF_CLK)
 
 DEFINE_CLK (0,"mcfadc.0", 38, MCF_CLK)
 
 DEFINE_CLK (0,"mcfdac.0", 39, MCF_CLK)
 
 DEFINE_CLK (0,"mcfrtc.0", 42, MCF_CLK)
 
 DEFINE_CLK (0,"mcfsim.0", 43, MCF_CLK)
 
 DEFINE_CLK (0,"mcfusb-otg.0", 44, MCF_CLK)
 
 DEFINE_CLK (0,"mcfusb-host.0", 45, MCF_CLK)
 
 DEFINE_CLK (0,"mcfddr-sram.0", 46, MCF_CLK)
 
 DEFINE_CLK (0,"mcfssi.0", 47, MCF_CLK)
 
 DEFINE_CLK (0,"pll.0", 48, MCF_CLK)
 
 DEFINE_CLK (0,"mcfrng.0", 49, MCF_CLK)
 
 DEFINE_CLK (0,"mcfssi.1", 50, MCF_CLK)
 
 DEFINE_CLK (0,"mcfsdhc.0", 51, MCF_CLK)
 
 DEFINE_CLK (0,"enet-fec.0", 53, MCF_CLK)
 
 DEFINE_CLK (0,"enet-fec.1", 54, MCF_CLK)
 
 DEFINE_CLK (0,"switch.0", 55, MCF_CLK)
 
 DEFINE_CLK (0,"switch.1", 56, MCF_CLK)
 
 DEFINE_CLK (0,"nand.0", 63, MCF_CLK)
 
 DEFINE_CLK (1,"mcfow.0", 2, MCF_CLK)
 
 DEFINE_CLK (1,"mcfi2c.2", 4, MCF_CLK)
 
 DEFINE_CLK (1,"mcfi2c.3", 5, MCF_CLK)
 
 DEFINE_CLK (1,"mcfi2c.4", 6, MCF_CLK)
 
 DEFINE_CLK (1,"mcfi2c.5", 7, MCF_CLK)
 
 DEFINE_CLK (1,"mcfuart.4", 24, MCF_BUSCLK)
 
 DEFINE_CLK (1,"mcfuart.5", 25, MCF_BUSCLK)
 
 DEFINE_CLK (1,"mcfuart.6", 26, MCF_BUSCLK)
 
 DEFINE_CLK (1,"mcfuart.7", 27, MCF_BUSCLK)
 
 DEFINE_CLK (1,"mcfuart.8", 28, MCF_BUSCLK)
 
 DEFINE_CLK (1,"mcfuart.9", 29, MCF_BUSCLK)
 
 DEFINE_CLK (1,"mcfpwm.0", 34, MCF_BUSCLK)
 
 DEFINE_CLK (1,"sys.0", 36, MCF_BUSCLK)
 
 DEFINE_CLK (1,"gpio.0", 37, MCF_BUSCLK)
 
void __init config_BSP (char *commandp, int size)
 
 arch_initcall (init_BSP)
 

Variables

struct clkmcf_clks []
 

Function Documentation

arch_initcall ( init_BSP  )
void __init config_BSP ( char commandp,
int  size 
)

Definition at line 218 of file m5441x.c.

DEFINE_CLK ( ,
"flexbus"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfcan.0"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfcan.1"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.1"  ,
14  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfdspi.1"  ,
15  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"edma"  ,
17  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"intc.0"  ,
18  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"intc.1"  ,
19  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"intc.2"  ,
20  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.0"  ,
22  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfdspi.0"  ,
23  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfuart.0"  ,
24  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.1"  ,
25  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.2"  ,
26  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.3"  ,
27  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcftmr.0"  ,
28  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcftmr.1"  ,
29  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcftmr.2"  ,
30  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcftmr.3"  ,
31  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfpit.0"  ,
32  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfpit.1"  ,
33  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfpit.2"  ,
34  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfpit.3"  ,
35  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfeport.0"  ,
37  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfadc.0"  ,
38  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfdac.0"  ,
39  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfrtc.0"  ,
42  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfsim.0"  ,
43  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfusb-otg.0"  ,
44  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfusb-host.0"  ,
45  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfddr-sram.0"  ,
46  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfssi.0"  ,
47  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"pll.0"  ,
48  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfrng.0"  ,
49  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfssi.1"  ,
50  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfsdhc.0"  ,
51  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"enet-fec.0"  ,
53  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"enet-fec.1"  ,
54  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"switch.0"  ,
55  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"switch.1"  ,
56  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"nand.0"  ,
63  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfow.0"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.2"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.3"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.4"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.5"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfuart.4"  ,
24  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.5"  ,
25  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.6"  ,
26  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.7"  ,
27  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.8"  ,
28  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfuart.9"  ,
29  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"mcfpwm.0"  ,
34  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"sys.0"  ,
36  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"gpio.0"  ,
37  ,
MCF_BUSCLK   
)

Variable Documentation

struct clk* mcf_clks[]

Definition at line 76 of file m5441x.c.