diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-10-10 12:29:24 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-10-25 07:08:21 -0400 |
commit | 49fe2ba3138ca60422fd90ed76c1918be1c30fc0 (patch) | |
tree | 706cfe55a2e796ec304cd7ff4c9670e95f2b9402 /arch/arm/mach-at91/at91sam9g45.c | |
parent | c3b92c8787367a8bb53d57d9789b558f1295cc96 (diff) |
ARM: at91: dt: at91sam9g45 family and board device tree files
Create a new device tree source file for Atmel at91sam9g45 SoC family.
The Evaluation Kit at91sam9m10g45ek includes it.
This first basic support will be populated as drivers and boards will be
converted to device tree.
Contains serial, dma and interrupt controllers.
The generic board file still takes advantage of platform data for early serial
init. As we need a storage media and the NAND flash driver is not converted to
DT yet, we keep old initialization for it.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index e04c5fb6f1ee..8baf5a1ed167 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c | |||
@@ -215,6 +215,12 @@ static struct clk_lookup periph_clocks_lookups[] = { | |||
215 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tcb0_clk), | 215 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.1", &tcb0_clk), |
216 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), | 216 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), |
217 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), | 217 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), |
218 | /* more usart lookup table for DT entries */ | ||
219 | CLKDEV_CON_DEV_ID("usart", "ffffee00.serial", &mck), | ||
220 | CLKDEV_CON_DEV_ID("usart", "fff8c000.serial", &usart0_clk), | ||
221 | CLKDEV_CON_DEV_ID("usart", "fff90000.serial", &usart1_clk), | ||
222 | CLKDEV_CON_DEV_ID("usart", "fff94000.serial", &usart2_clk), | ||
223 | CLKDEV_CON_DEV_ID("usart", "fff98000.serial", &usart3_clk), | ||
218 | }; | 224 | }; |
219 | 225 | ||
220 | static struct clk_lookup usart_clocks_lookups[] = { | 226 | static struct clk_lookup usart_clocks_lookups[] = { |