samv7.c 567 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Setup code for SAMv7x
  4. *
  5. * Copyright (C) 2013 Atmel,
  6. * 2016 Andras Szemzo <[email protected]>
  7. */
  8. #include <linux/of.h>
  9. #include <linux/of_platform.h>
  10. #include <linux/of_address.h>
  11. #include <linux/slab.h>
  12. #include <asm/mach/arch.h>
  13. #include <asm/mach/map.h>
  14. #include <asm/system_misc.h>
  15. #include "generic.h"
  16. static const char *const samv7_dt_board_compat[] __initconst = {
  17. "atmel,samv7",
  18. NULL
  19. };
  20. DT_MACHINE_START(samv7_dt, "Atmel SAMV7")
  21. .dt_compat = samv7_dt_board_compat,
  22. MACHINE_END