summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/board-dt.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-28 13:57:51 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-03-15 23:30:05 +0800
commit2b11ea5bf2fe4b79f9388d2eaf5d84713eb44a4c (patch)
tree706fb6d2d0782d09ec47b6138390d3c14853eb78 /arch/arm/mach-at91/board-dt.c
parent8bf7ec6508cdd6e068d42b9acee1ea439543ebe7 (diff)
downloadlinux-3.10-2b11ea5bf2fe4b79f9388d2eaf5d84713eb44a4c.tar.gz
linux-3.10-2b11ea5bf2fe4b79f9388d2eaf5d84713eb44a4c.tar.bz2
linux-3.10-2b11ea5bf2fe4b79f9388d2eaf5d84713eb44a4c.zip
ARM: at91/dt: add specific DT soc init
This will allow to have static Device mapping and DT probe mapping for the System Controller. Temporary keep the call to ioremap_registers() until we have the binding for the SDRAM/DDR Controller. Temporary keep the main clock hardcoded to 12MHz until we have the binding for the PMC. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-dt.c')
-rw-r--r--arch/arm/mach-at91/board-dt.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/board-dt.c b/arch/arm/mach-at91/board-dt.c
index 9f729d6c894..c18d4d30780 100644
--- a/arch/arm/mach-at91/board-dt.c
+++ b/arch/arm/mach-at91/board-dt.c
@@ -30,12 +30,6 @@
#include "generic.h"
-static void __init ek_init_early(void)
-{
- /* Initialize processor: 12.000 MHz crystal */
- at91_initialize(12000000);
-}
-
static const struct of_device_id irq_of_match[] __initconst = {
{ .compatible = "atmel,at91rm9200-aic", .data = at91_aic_of_init },
@@ -65,7 +59,7 @@ DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM (Device Tree)")
/* Maintainer: Atmel */
.timer = &at91sam926x_timer,
.map_io = at91_map_io,
- .init_early = ek_init_early,
+ .init_early = at91_dt_initialize,
.init_irq = at91_dt_init_irq,
.init_machine = at91_dt_device_init,
.dt_compat = at91_dt_board_compat,