Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-at91 / sam9x60.c
blobd8c739d254582ad43e6146d440d0cb54dce78d21
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Setup code for SAM9X60.
5 * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
7 * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
8 */
10 #include <linux/of.h>
11 #include <linux/of_platform.h>
13 #include <asm/mach/arch.h>
14 #include <asm/system_misc.h>
16 #include "generic.h"
18 static void __init sam9x60_init(void)
20 of_platform_default_populate(NULL, NULL, NULL);
22 sam9x60_pm_init();
25 static const char *const sam9x60_dt_board_compat[] __initconst = {
26 "microchip,sam9x60",
27 NULL
30 DT_MACHINE_START(sam9x60_dt, "Microchip SAM9X60")
31 /* Maintainer: Microchip */
32 .init_machine = sam9x60_init,
33 .dt_compat = sam9x60_dt_board_compat,
34 MACHINE_END