xref: /openbmc/linux/arch/arm/mach-stm32/board-dt.c (revision d3964221)
1 /*
2  * Copyright (C) Maxime Coquelin 2015
3  * Author:  Maxime Coquelin <mcoquelin.stm32@gmail.com>
4  * License terms:  GNU General Public License (GPL), version 2
5  */
6 
7 #include <linux/kernel.h>
8 #include <asm/v7m.h>
9 #include <asm/mach/arch.h>
10 
11 static const char *const stm32_compat[] __initconst = {
12 	"st,stm32f429",
13 	"st,stm32f469",
14 	"st,stm32f746",
15 	"st,stm32h743",
16 	NULL
17 };
18 
19 DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)")
20 	.dt_compat = stm32_compat,
21 	.restart = armv7m_restart,
22 MACHINE_END
23