dove.c 876 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * arch/arm/mach-mvebu/dove.c
  3. *
  4. * Marvell Dove 88AP510 System On Chip FDT Board
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #include <linux/init.h>
  11. #include <linux/mbus.h>
  12. #include <linux/of.h>
  13. #include <linux/soc/dove/pmu.h>
  14. #include <asm/hardware/cache-tauros2.h>
  15. #include <asm/mach/arch.h>
  16. #include "common.h"
  17. static void __init dove_init(void)
  18. {
  19. pr_info("Dove 88AP510 SoC\n");
  20. #ifdef CONFIG_CACHE_TAUROS2
  21. tauros2_init(0);
  22. #endif
  23. BUG_ON(mvebu_mbus_dt_init(false));
  24. dove_init_pmu();
  25. }
  26. static const char * const dove_dt_compat[] __initconst = {
  27. "marvell,dove",
  28. NULL
  29. };
  30. DT_MACHINE_START(DOVE_DT, "Marvell Dove")
  31. .init_machine = dove_init,
  32. .restart = mvebu_restart,
  33. .dt_compat = dove_dt_compat,
  34. MACHINE_END