root/arch/arm/mach-at91/sama5.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. sama5_dt_device_init
  2. sama5d2_init

   1 // SPDX-License-Identifier: GPL-2.0-or-later
   2 /*
   3  *  Setup code for SAMA5
   4  *
   5  *  Copyright (C) 2013 Atmel,
   6  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
   7  */
   8 
   9 #include <linux/of.h>
  10 #include <linux/of_platform.h>
  11 
  12 #include <asm/mach/arch.h>
  13 #include <asm/mach/map.h>
  14 #include <asm/system_misc.h>
  15 
  16 #include "generic.h"
  17 
  18 static void __init sama5_dt_device_init(void)
  19 {
  20         of_platform_default_populate(NULL, NULL, NULL);
  21         sama5_pm_init();
  22 }
  23 
  24 static const char *const sama5_dt_board_compat[] __initconst = {
  25         "atmel,sama5",
  26         NULL
  27 };
  28 
  29 DT_MACHINE_START(sama5_dt, "Atmel SAMA5")
  30         /* Maintainer: Atmel */
  31         .init_machine   = sama5_dt_device_init,
  32         .dt_compat      = sama5_dt_board_compat,
  33 MACHINE_END
  34 
  35 static const char *const sama5_alt_dt_board_compat[] __initconst = {
  36         "atmel,sama5d4",
  37         NULL
  38 };
  39 
  40 DT_MACHINE_START(sama5_alt_dt, "Atmel SAMA5")
  41         /* Maintainer: Atmel */
  42         .init_machine   = sama5_dt_device_init,
  43         .dt_compat      = sama5_alt_dt_board_compat,
  44         .l2c_aux_mask   = ~0UL,
  45 MACHINE_END
  46 
  47 static void __init sama5d2_init(void)
  48 {
  49         of_platform_default_populate(NULL, NULL, NULL);
  50         sama5d2_pm_init();
  51 }
  52 
  53 static const char *const sama5d2_compat[] __initconst = {
  54         "atmel,sama5d2",
  55         NULL
  56 };
  57 
  58 DT_MACHINE_START(sama5d2, "Atmel SAMA5")
  59         /* Maintainer: Atmel */
  60         .init_machine   = sama5d2_init,
  61         .dt_compat      = sama5d2_compat,
  62         .l2c_aux_mask   = ~0UL,
  63 MACHINE_END

/* [<][>][^][v][top][bottom][index][help] */