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