dove.c 726 B

123456789101112131415161718192021222324252627282930313233343536
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * arch/arm/mach-mvebu/dove.c
  4. *
  5. * Marvell Dove 88AP510 System On Chip FDT Board
  6. */
  7. #include <linux/init.h>
  8. #include <linux/mbus.h>
  9. #include <linux/of.h>
  10. #include <linux/soc/dove/pmu.h>
  11. #include <asm/hardware/cache-tauros2.h>
  12. #include <asm/mach/arch.h>
  13. #include "common.h"
  14. static void __init dove_init(void)
  15. {
  16. pr_info("Dove 88AP510 SoC\n");
  17. #ifdef CONFIG_CACHE_TAUROS2
  18. tauros2_init(0);
  19. #endif
  20. BUG_ON(mvebu_mbus_dt_init(false));
  21. dove_init_pmu();
  22. }
  23. static const char * const dove_dt_compat[] __initconst = {
  24. "marvell,dove",
  25. NULL
  26. };
  27. DT_MACHINE_START(DOVE_DT, "Marvell Dove")
  28. .init_machine = dove_init,
  29. .restart = mvebu_restart,
  30. .dt_compat = dove_dt_compat,
  31. MACHINE_END