Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-at91 / at91sam9.c
blob7e572189a5eb6a2f65aaa36ad601a57f2e5bb7f9
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Setup code for AT91SAM9
5 * Copyright (C) 2011 Atmel,
6 * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>
7 */
9 #include <linux/of.h>
10 #include <linux/of_platform.h>
12 #include <asm/mach/arch.h>
13 #include <asm/system_misc.h>
15 #include "generic.h"
17 static void __init at91sam9_init(void)
19 of_platform_default_populate(NULL, NULL, NULL);
21 at91sam9_pm_init();
24 static const char *const at91_dt_board_compat[] __initconst = {
25 "atmel,at91sam9",
26 NULL
29 DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM9")
30 /* Maintainer: Atmel */
31 .init_machine = at91sam9_init,
32 .dt_compat = at91_dt_board_compat,
33 MACHINE_END