board-bockw.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Bock-W board support
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.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; 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. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #include <linux/platform_device.h>
  21. #include <mach/common.h>
  22. #include <mach/r8a7778.h>
  23. #include <asm/mach/arch.h>
  24. static void __init bockw_init(void)
  25. {
  26. r8a7778_clock_init();
  27. r8a7778_add_standard_devices();
  28. }
  29. static const char *bockw_boards_compat_dt[] __initdata = {
  30. "renesas,bockw",
  31. NULL,
  32. };
  33. DT_MACHINE_START(BOCKW_DT, "bockw")
  34. .init_early = r8a7778_init_delay,
  35. .init_irq = r8a7778_init_irq_dt,
  36. .init_machine = bockw_init,
  37. .init_time = shmobile_timer_init,
  38. .dt_compat = bockw_boards_compat_dt,
  39. MACHINE_END