Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-at91 / at91rm9200.c
blob4f81862116192da7425d50685a9d21fa7ffc6556
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Setup code for AT91RM9200
5 * Copyright (C) 2011 Atmel,
6 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
7 * 2012 Joachim Eastwood <manabian@gmail.com>
8 */
10 #include <linux/of.h>
11 #include <linux/of_platform.h>
13 #include <asm/mach/arch.h>
15 #include "generic.h"
17 static void __init at91rm9200_dt_device_init(void)
19 of_platform_default_populate(NULL, NULL, NULL);
21 at91rm9200_pm_init();
24 static const char *const at91rm9200_dt_board_compat[] __initconst = {
25 "atmel,at91rm9200",
26 NULL
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