xref: /openbmc/linux/arch/arm/mach-stm32/board-dt.c (revision 7587eb18)
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 	NULL
15 };
16 
17 DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)")
18 	.dt_compat = stm32_compat,
19 	.restart = armv7m_restart,
20 MACHINE_END
21