2017-11-30 15:49:00 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-05-09 14:53:54 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) Maxime Coquelin 2015
|
2017-11-30 15:49:00 +07:00
|
|
|
* Copyright (C) STMicroelectronics 2017
|
2015-05-09 14:53:54 +07:00
|
|
|
* Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <asm/mach/arch.h>
|
2018-02-27 21:36:00 +07:00
|
|
|
#ifdef CONFIG_ARM_SINGLE_ARMV7M
|
|
|
|
#include <asm/v7m.h>
|
|
|
|
#endif
|
2015-05-09 14:53:54 +07:00
|
|
|
|
|
|
|
static const char *const stm32_compat[] __initconst = {
|
|
|
|
"st,stm32f429",
|
2016-02-16 21:17:00 +07:00
|
|
|
"st,stm32f469",
|
2016-11-15 18:02:33 +07:00
|
|
|
"st,stm32f746",
|
2017-12-11 15:54:00 +07:00
|
|
|
"st,stm32f769",
|
2017-01-30 23:46:23 +07:00
|
|
|
"st,stm32h743",
|
2018-01-16 21:56:00 +07:00
|
|
|
"st,stm32mp157",
|
2015-05-09 14:53:54 +07:00
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
|
|
|
DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)")
|
|
|
|
.dt_compat = stm32_compat,
|
2018-02-27 21:36:00 +07:00
|
|
|
#ifdef CONFIG_ARM_SINGLE_ARMV7M
|
|
|
|
.restart = armv7m_restart,
|
|
|
|
#endif
|
2015-05-09 14:53:54 +07:00
|
|
|
MACHINE_END
|