setup-r8a7794.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * r8a7794 processor support
  3. *
  4. * Copyright (C) 2014 Renesas Electronics Corporation
  5. * Copyright (C) 2014 Ulrich Hecht
  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; version 2 of the License.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #include <linux/of_platform.h>
  17. #include "common.h"
  18. #include "rcar-gen2.h"
  19. #include <asm/mach/arch.h>
  20. static const char * const r8a7794_boards_compat_dt[] __initconst = {
  21. "renesas,r8a7794",
  22. NULL,
  23. };
  24. DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)")
  25. .init_early = shmobile_init_delay,
  26. .init_late = shmobile_init_late,
  27. .init_time = rcar_gen2_timer_init,
  28. .reserve = rcar_gen2_reserve,
  29. .dt_compat = r8a7794_boards_compat_dt,
  30. MACHINE_END