mediatek.c 965 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Device Tree support for Mediatek SoCs
  3. *
  4. * Copyright (c) 2014 MundoReader S.L.
  5. * Author: Matthias Brugger <matthias.bgg@gmail.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. */
  17. #include <linux/init.h>
  18. #include <asm/mach/arch.h>
  19. static const char * const mediatek_board_dt_compat[] = {
  20. "mediatek,mt6589",
  21. "mediatek,mt6592",
  22. "mediatek,mt8127",
  23. "mediatek,mt8135",
  24. NULL,
  25. };
  26. DT_MACHINE_START(MEDIATEK_DT, "Mediatek Cortex-A7 (Device Tree)")
  27. .dt_compat = mediatek_board_dt_compat,
  28. MACHINE_END