aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-10-28 14:31:09 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-11-18 18:51:09 -0500
commit397f8c3ca3fec5906d82656ca23a841763196f22 (patch)
tree9b136a4cd7b0a209d6fa04c69725ec8b7855950e /arch/arm/mach-at91/setup.c
parent0ac433a719c344bcf29506e2e3f3766ff910b89a (diff)
ARM: AT91: Add AT91RM9200 DT board
Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 523daa92be10..e3f1ea4cff0c 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -339,6 +339,7 @@ static void at91_dt_rstc(void)
339} 339}
340 340
341static struct of_device_id ramc_ids[] = { 341static struct of_device_id ramc_ids[] = {
342 { .compatible = "atmel,at91rm9200-sdramc" },
342 { .compatible = "atmel,at91sam9260-sdramc" }, 343 { .compatible = "atmel,at91sam9260-sdramc" },
343 { .compatible = "atmel,at91sam9g45-ddramc" }, 344 { .compatible = "atmel,at91sam9g45-ddramc" },
344 { /*sentinel*/ } 345 { /*sentinel*/ }
@@ -437,6 +438,19 @@ end:
437 of_node_put(np); 438 of_node_put(np);
438} 439}
439 440
441void __init at91rm9200_dt_initialize(void)
442{
443 at91_dt_ramc();
444
445 /* Init clock subsystem */
446 at91_dt_clock_init();
447
448 /* Register the processor-specific clocks */
449 at91_boot_soc.register_clocks();
450
451 at91_boot_soc.init();
452}
453
440void __init at91_dt_initialize(void) 454void __init at91_dt_initialize(void)
441{ 455{
442 at91_dt_rstc(); 456 at91_dt_rstc();