pxa-dt.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 <asm/mach/arch.h>
  8. #include "generic.h"
  9. #ifdef CONFIG_PXA25x
  10. static const char * const pxa25x_dt_board_compat[] __initconst = {
  11. "marvell,pxa250",
  12. NULL,
  13. };
  14. DT_MACHINE_START(PXA25X_DT, "Marvell PXA25x (Device Tree Support)")
  15. .map_io = pxa25x_map_io,
  16. .restart = pxa_restart,
  17. .dt_compat = pxa25x_dt_board_compat,
  18. MACHINE_END
  19. #endif
  20. #ifdef CONFIG_PXA27x
  21. static const char * const pxa27x_dt_board_compat[] __initconst = {
  22. "marvell,pxa270",
  23. NULL,
  24. };
  25. DT_MACHINE_START(PXA27X_DT, "Marvell PXA27x (Device Tree Support)")
  26. .map_io = pxa27x_map_io,
  27. .restart = pxa_restart,
  28. .dt_compat = pxa27x_dt_board_compat,
  29. MACHINE_END
  30. #endif
  31. #ifdef CONFIG_PXA3xx
  32. static const char *const pxa3xx_dt_board_compat[] __initconst = {
  33. "marvell,pxa300",
  34. "marvell,pxa310",
  35. "marvell,pxa320",
  36. NULL,
  37. };
  38. DT_MACHINE_START(PXA_DT, "Marvell PXA3xx (Device Tree Support)")
  39. .map_io = pxa3xx_map_io,
  40. .restart = pxa_restart,
  41. .dt_compat = pxa3xx_dt_board_compat,
  42. MACHINE_END
  43. #endif