https://github.com/torvalds/linux
Raw File
Tip revision: a430d95c5efa2b545d26a094eb5f624e36732af0 authored by Linus Torvalds on 16 September 2024, 16:19:47 UTC
Merge tag 'lsm-pr-20240911' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm
Tip revision: a430d95
sama7.c
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Setup code for SAMA7
 *
 * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries
 *
 */

#include <linux/of.h>
#include <linux/of_platform.h>

#include <asm/mach/arch.h>
#include <asm/system_misc.h>

#include "generic.h"

static void __init sama7_dt_device_init(void)
{
	of_platform_default_populate(NULL, NULL, NULL);
	sama7_pm_init();
}

static const char *const sama7_dt_board_compat[] __initconst = {
	"microchip,sama7",
	NULL
};

DT_MACHINE_START(sama7_dt, "Microchip SAMA7")
	/* Maintainer: Microchip */
	.init_machine	= sama7_dt_device_init,
	.dt_compat	= sama7_dt_board_compat,
MACHINE_END

back to top