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 NULL 14 }; 15 16 DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)") 17 .dt_compat = stm32_compat, 18 .restart = armv7m_restart, 19 MACHINE_END 20