core.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #include <linux/pm.h>
  2. #include <linux/bug.h>
  3. #include <linux/memblock.h>
  4. #include <asm/mach/arch.h>
  5. #include <asm/mach/time.h>
  6. #include <asm/mach/map.h>
  7. #include <asm/mach-types.h>
  8. #include <asm/hardware/cache-l2x0.h>
  9. #include <asm/smp_scu.h>
  10. #include <asm/page.h>
  11. #include <linux/irqchip.h>
  12. #include <linux/of_platform.h>
  13. #ifdef CONFIG_ARCH_MT6580
  14. #include <mt-smp.h>
  15. #endif
  16. #ifdef CONFIG_OF
  17. static const char *mt6580_dt_match[] __initconst = {
  18. "mediatek,MT6580",
  19. NULL
  20. };
  21. DT_MACHINE_START(MT6580_DT, "MT6580")
  22. .dt_compat = mt6580_dt_match,
  23. MACHINE_END
  24. static const char *mt_dt_match[] __initconst = {
  25. "mediatek,mt6735",
  26. NULL
  27. };
  28. DT_MACHINE_START(MT6735_DT, "MT6735")
  29. .dt_compat = mt_dt_match,
  30. MACHINE_END
  31. static const char *mt6755_dt_match[] __initconst = {
  32. "mediatek,MT6755",
  33. NULL
  34. };
  35. DT_MACHINE_START(MT6755_DT, "MT6755")
  36. .dt_compat = mt6755_dt_match,
  37. MACHINE_END
  38. static const char *mt8127_dt_match[] __initconst = {
  39. "mediatek,mt8127",
  40. NULL
  41. };
  42. DT_MACHINE_START(MT8127_DT, "MT8127")
  43. .dt_compat = mt8127_dt_match,
  44. MACHINE_END
  45. #endif