USB: serial: option: reimplement interface masking
[linux/fpc-iii.git] / arch / arm / mach-at91 / sama5.c
blob3d0bf95a56ae3a5b73e96be21bd0edba2c05b61a
1 /*
2 * Setup code for SAMA5
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
7 * Licensed under GPLv2 or later.
8 */
10 #include <linux/of.h>
11 #include <linux/of_platform.h>
13 #include <asm/mach/arch.h>
14 #include <asm/mach/map.h>
15 #include <asm/system_misc.h>
17 #include "generic.h"
19 static void __init sama5_dt_device_init(void)
21 of_platform_default_populate(NULL, NULL, NULL);
22 sama5_pm_init();
25 static const char *const sama5_dt_board_compat[] __initconst = {
26 "atmel,sama5",
27 NULL
30 DT_MACHINE_START(sama5_dt, "Atmel SAMA5")
31 /* Maintainer: Atmel */
32 .init_machine = sama5_dt_device_init,
33 .dt_compat = sama5_dt_board_compat,
34 MACHINE_END
36 static const char *const sama5_alt_dt_board_compat[] __initconst = {
37 "atmel,sama5d4",
38 NULL
41 DT_MACHINE_START(sama5_alt_dt, "Atmel SAMA5")
42 /* Maintainer: Atmel */
43 .init_machine = sama5_dt_device_init,
44 .dt_compat = sama5_alt_dt_board_compat,
45 .l2c_aux_mask = ~0UL,
46 MACHINE_END
48 static void __init sama5d2_init(void)
50 of_platform_default_populate(NULL, NULL, NULL);
51 sama5d2_pm_init();
54 static const char *const sama5d2_compat[] __initconst = {
55 "atmel,sama5d2",
56 NULL
59 DT_MACHINE_START(sama5d2, "Atmel SAMA5")
60 /* Maintainer: Atmel */
61 .init_machine = sama5d2_init,
62 .dt_compat = sama5d2_compat,
63 .l2c_aux_mask = ~0UL,
64 MACHINE_END