board-lager-reference.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Lager board support - Reference DT implementation
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Copyright (C) 2013 Simon Horman
  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/init.h>
  17. #include <linux/of_platform.h>
  18. #include <asm/mach/arch.h>
  19. #include "common.h"
  20. #include "r8a7790.h"
  21. #include "rcar-gen2.h"
  22. static const char *lager_boards_compat_dt[] __initdata = {
  23. "renesas,lager",
  24. "renesas,lager-reference",
  25. NULL,
  26. };
  27. DT_MACHINE_START(LAGER_DT, "lager")
  28. .smp = smp_ops(r8a7790_smp_ops),
  29. .init_early = shmobile_init_delay,
  30. .init_time = rcar_gen2_timer_init,
  31. .init_late = shmobile_init_late,
  32. .reserve = rcar_gen2_reserve,
  33. .dt_compat = lager_boards_compat_dt,
  34. MACHINE_END