Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003  * Setup code for SAM9X60.
0004  *
0005  * Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries
0006  *
0007  * Author: Claudiu Beznea <claudiu.beznea@microchip.com>
0008  */
0009 
0010 #include <linux/of.h>
0011 #include <linux/of_platform.h>
0012 
0013 #include <asm/mach/arch.h>
0014 #include <asm/system_misc.h>
0015 
0016 #include "generic.h"
0017 
0018 static void __init sam9x60_init(void)
0019 {
0020     of_platform_default_populate(NULL, NULL, NULL);
0021 
0022     sam9x60_pm_init();
0023 }
0024 
0025 static const char *const sam9x60_dt_board_compat[] __initconst = {
0026     "microchip,sam9x60",
0027     NULL
0028 };
0029 
0030 DT_MACHINE_START(sam9x60_dt, "Microchip SAM9X60")
0031     /* Maintainer: Microchip */
0032     .init_machine   = sam9x60_init,
0033     .dt_compat  = sam9x60_dt_board_compat,
0034 MACHINE_END