pxa-dt.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * linux/arch/arm/mach-pxa/pxa-dt.c
  3. *
  4. * Copyright (C) 2012 Daniel Mack
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * publishhed by the Free Software Foundation.
  9. */
  10. #include <linux/irq.h>
  11. #include <linux/irqdomain.h>
  12. #include <linux/of_irq.h>
  13. #include <linux/of_platform.h>
  14. #include <asm/mach/arch.h>
  15. #include <asm/mach/time.h>
  16. #include <mach/irqs.h>
  17. #include "generic.h"
  18. #ifdef CONFIG_PXA25x
  19. static const char * const pxa25x_dt_board_compat[] __initconst = {
  20. "marvell,pxa250",
  21. NULL,
  22. };
  23. DT_MACHINE_START(PXA25X_DT, "Marvell PXA25x (Device Tree Support)")
  24. .map_io = pxa25x_map_io,
  25. .restart = pxa_restart,
  26. .dt_compat = pxa25x_dt_board_compat,
  27. MACHINE_END
  28. #endif
  29. #ifdef CONFIG_PXA27x
  30. static const char * const pxa27x_dt_board_compat[] __initconst = {
  31. "marvell,pxa270",
  32. NULL,
  33. };
  34. DT_MACHINE_START(PXA27X_DT, "Marvell PXA27x (Device Tree Support)")
  35. .map_io = pxa27x_map_io,
  36. .restart = pxa_restart,
  37. .dt_compat = pxa27x_dt_board_compat,
  38. MACHINE_END
  39. #endif
  40. #ifdef CONFIG_PXA3xx
  41. static const char *const pxa3xx_dt_board_compat[] __initconst = {
  42. "marvell,pxa300",
  43. "marvell,pxa310",
  44. "marvell,pxa320",
  45. NULL,
  46. };
  47. DT_MACHINE_START(PXA_DT, "Marvell PXA3xx (Device Tree Support)")
  48. .map_io = pxa3xx_map_io,
  49. .restart = pxa_restart,
  50. .dt_compat = pxa3xx_dt_board_compat,
  51. MACHINE_END
  52. #endif