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