Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/arm/mach-at91/at91sam9.c
29266 views
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
/*
3
* Setup code for AT91SAM9
4
*
5
* Copyright (C) 2011 Atmel,
6
* 2011 Nicolas Ferre <[email protected]>
7
*/
8
9
#include <linux/of.h>
10
#include <linux/of_platform.h>
11
12
#include <asm/mach/arch.h>
13
#include <asm/system_misc.h>
14
15
#include "generic.h"
16
17
static void __init at91sam9_init(void)
18
{
19
of_platform_default_populate(NULL, NULL, NULL);
20
21
at91sam9_pm_init();
22
}
23
24
static const char *const at91_dt_board_compat[] __initconst = {
25
"atmel,at91sam9",
26
NULL
27
};
28
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
34
35