xref: /openbmc/linux/arch/arm/mach-at91/at91rm9200.c (revision e2c75e76)
1 /*
2  *  Setup code for AT91RM9200
3  *
4  *  Copyright (C) 2011 Atmel,
5  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
6  *                2012 Joachim Eastwood <manabian@gmail.com>
7  *
8  * Licensed under GPLv2 or later.
9  */
10 
11 #include <linux/of.h>
12 #include <linux/of_platform.h>
13 
14 #include <asm/mach/arch.h>
15 
16 #include "generic.h"
17 
18 static void __init at91rm9200_dt_device_init(void)
19 {
20 	of_platform_default_populate(NULL, NULL, NULL);
21 
22 	at91rm9200_pm_init();
23 }
24 
25 static const char *const at91rm9200_dt_board_compat[] __initconst = {
26 	"atmel,at91rm9200",
27 	NULL
28 };
29 
30 DT_MACHINE_START(at91rm9200_dt, "Atmel AT91RM9200")
31 	.init_machine	= at91rm9200_dt_device_init,
32 	.dt_compat	= at91rm9200_dt_board_compat,
33 MACHINE_END
34