board-dt.c 482 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. "st,stm32f746",
  13. NULL
  14. };
  15. DT_MACHINE_START(STM32DT, "STM32 (Device Tree Support)")
  16. .dt_compat = stm32_compat,
  17. .restart = armv7m_restart,
  18. MACHINE_END