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