board-dt.c 465 B

123456789101112131415161718192021
  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. #include <linux/kernel.h>
  7. #include <asm/v7m.h>
  8. #include <asm/mach/arch.h>
  9. static const char *const stm32_compat[] __initconst = {
  10. "st,stm32f429",
  11. "st,stm32f469",
  12. NULL
  13. };
  14. DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)")
  15. .dt_compat = stm32_compat,
  16. .restart = armv7m_restart,
  17. MACHINE_END