mach-imx35.c 732 B

12345678910111213141516171819202122232425262728293031
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright 2012 Steffen Trumtrar, Pengutronix
  4. *
  5. * based on imx27-dt.c
  6. */
  7. #include <linux/irq.h>
  8. #include <linux/irqdomain.h>
  9. #include <linux/of_irq.h>
  10. #include <linux/of_platform.h>
  11. #include <linux/clk-provider.h>
  12. #include <linux/clocksource.h>
  13. #include <asm/mach/arch.h>
  14. #include <asm/mach/time.h>
  15. #include <asm/hardware/cache-l2x0.h>
  16. #include "common.h"
  17. #include "mx35.h"
  18. static const char * const imx35_dt_board_compat[] __initconst = {
  19. "fsl,imx35",
  20. NULL
  21. };
  22. DT_MACHINE_START(IMX35_DT, "Freescale i.MX35 (Device Tree Support)")
  23. .l2c_aux_val = 0,
  24. .l2c_aux_mask = ~0,
  25. .map_io = mx35_map_io,
  26. .init_early = imx35_init_early,
  27. .dt_compat = imx35_dt_board_compat,
  28. MACHINE_END