0001
0002
0003
0004
0005
0006
0007
0008 #include <linux/kernel.h>
0009 #include <asm/mach/arch.h>
0010 #ifdef CONFIG_ARM_SINGLE_ARMV7M
0011 #include <asm/v7m.h>
0012 #endif
0013
0014 static const char *const stm32_compat[] __initconst = {
0015 "st,stm32f429",
0016 "st,stm32f469",
0017 "st,stm32f746",
0018 "st,stm32f769",
0019 "st,stm32h743",
0020 "st,stm32h750",
0021 "st,stm32mp131",
0022 "st,stm32mp133",
0023 "st,stm32mp135",
0024 "st,stm32mp157",
0025 NULL
0026 };
0027
0028 DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)")
0029 .dt_compat = stm32_compat,
0030 #ifdef CONFIG_ARM_SINGLE_ARMV7M
0031 .restart = armv7m_restart,
0032 #endif
0033 MACHINE_END