samv7.c 559 B

12345678910111213141516171819202122232425
  1. /*
  2. * Setup code for SAMv7x
  3. *
  4. * Copyright (C) 2013 Atmel,
  5. * 2016 Andras Szemzo <szemzo.andras@gmail.com>
  6. *
  7. * Licensed under GPLv2 or later.
  8. */
  9. #include <linux/of.h>
  10. #include <linux/of_platform.h>
  11. #include <linux/of_address.h>
  12. #include <linux/slab.h>
  13. #include <asm/mach/arch.h>
  14. #include <asm/mach/map.h>
  15. #include <asm/system_misc.h>
  16. #include "generic.h"
  17. static const char *const samv7_dt_board_compat[] __initconst = {
  18. "atmel,samv7",
  19. NULL
  20. };
  21. DT_MACHINE_START(samv7_dt, "Atmel SAMV7")
  22. .dt_compat = samv7_dt_board_compat,
  23. MACHINE_END