pxa-dt.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * linux/arch/arm/mach-pxa/pxa-dt.c
  4. *
  5. * Copyright (C) 2012 Daniel Mack
  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 <asm/mach/arch.h>
  12. #include <asm/mach/time.h>
  13. #include "irqs.h"
  14. #include "generic.h"
  15. #ifdef CONFIG_PXA25x
  16. static const char * const pxa25x_dt_board_compat[] __initconst = {
  17. "marvell,pxa250",
  18. NULL,
  19. };
  20. DT_MACHINE_START(PXA25X_DT, "Marvell PXA25x (Device Tree Support)")
  21. .map_io = pxa25x_map_io,
  22. .restart = pxa_restart,
  23. .dt_compat = pxa25x_dt_board_compat,
  24. MACHINE_END
  25. #endif
  26. #ifdef CONFIG_PXA27x
  27. static const char * const pxa27x_dt_board_compat[] __initconst = {
  28. "marvell,pxa270",
  29. NULL,
  30. };
  31. DT_MACHINE_START(PXA27X_DT, "Marvell PXA27x (Device Tree Support)")
  32. .map_io = pxa27x_map_io,
  33. .restart = pxa_restart,
  34. .dt_compat = pxa27x_dt_board_compat,
  35. MACHINE_END
  36. #endif
  37. #ifdef CONFIG_PXA3xx
  38. static const char *const pxa3xx_dt_board_compat[] __initconst = {
  39. "marvell,pxa300",
  40. "marvell,pxa310",
  41. "marvell,pxa320",
  42. NULL,
  43. };
  44. DT_MACHINE_START(PXA_DT, "Marvell PXA3xx (Device Tree Support)")
  45. .map_io = pxa3xx_map_io,
  46. .restart = pxa_restart,
  47. .dt_compat = pxa3xx_dt_board_compat,
  48. MACHINE_END
  49. #endif