mediatek.c 905 B

123456789101112131415161718192021222324252627
  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. NULL,
  22. };
  23. DT_MACHINE_START(MEDIATEK_DT, "Mediatek Cortex-A7 (Device Tree)")
  24. .dt_compat = mediatek_board_dt_compat,
  25. MACHINE_END