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

Go to the source code of this file.

Functions

 DEFINE_CLK (0,"flexbus", 2, MCF_CLK)
 
 DEFINE_CLK (0,"fec.0", 12, MCF_CLK)
 
 DEFINE_CLK (0,"edma", 17, MCF_CLK)
 
 DEFINE_CLK (0,"intc.0", 18, MCF_CLK)
 
 DEFINE_CLK (0,"iack.0", 21, MCF_CLK)
 
 DEFINE_CLK (0,"mcfi2c.0", 22, MCF_CLK)
 
 DEFINE_CLK (0,"mcfqspi.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,"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,"mcfeport.0", 34, MCF_CLK)
 
 DEFINE_CLK (0,"mcfwdt.0", 35, MCF_CLK)
 
 DEFINE_CLK (0,"pll.0", 36, MCF_CLK)
 
 DEFINE_CLK (0,"sys.0", 40, MCF_BUSCLK)
 
 DEFINE_CLK (0,"gpio.0", 41, MCF_BUSCLK)
 
 DEFINE_CLK (0,"sdram.0", 42, MCF_CLK)
 
void __init config_BSP (char *commandp, int size)
 

Variables

struct clkmcf_clks []
 

Function Documentation

void __init config_BSP ( char commandp,
int  size 
)

Definition at line 173 of file m520x.c.

DEFINE_CLK ( ,
"flexbus"  ,
,
MCF_CLK   
)
DEFINE_CLK ( ,
"fec.0"  ,
12  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"edma"  ,
17  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"intc.0"  ,
18  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"iack.0"  ,
21  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfi2c.0"  ,
22  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfqspi.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 ( ,
"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 ( ,
"mcfeport.0"  ,
34  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"mcfwdt.0"  ,
35  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"pll.0"  ,
36  ,
MCF_CLK   
)
DEFINE_CLK ( ,
"sys.0"  ,
40  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"gpio.0"  ,
41  ,
MCF_BUSCLK   
)
DEFINE_CLK ( ,
"sdram.0"  ,
42  ,
MCF_CLK   
)

Variable Documentation

struct clk* mcf_clks[]
Initial value:
= {
&__clk_0_2,
&__clk_0_12,
&__clk_0_17,
&__clk_0_18,
&__clk_0_21,
&__clk_0_22,
&__clk_0_23,
&__clk_0_24,
&__clk_0_25,
&__clk_0_26,
&__clk_0_28,
&__clk_0_29,
&__clk_0_30,
&__clk_0_31,
&__clk_0_32,
&__clk_0_33,
&__clk_0_34,
&__clk_0_35,
&__clk_0_36,
&__clk_0_40,
&__clk_0_41,
&__clk_0_42,
}

Definition at line 50 of file m520x.c.