berlin.c 754 B

12345678910111213141516171819202122232425262728293031
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree support for Marvell Berlin SoCs.
  4. *
  5. * Sebastian Hesselbarth <[email protected]>
  6. *
  7. * based on GPL'ed 2.6 kernel sources
  8. * (c) Marvell International Ltd.
  9. */
  10. #include <linux/init.h>
  11. #include <linux/io.h>
  12. #include <linux/kernel.h>
  13. #include <linux/of_platform.h>
  14. #include <asm/hardware/cache-l2x0.h>
  15. #include <asm/mach/arch.h>
  16. static const char * const berlin_dt_compat[] = {
  17. "marvell,berlin",
  18. NULL,
  19. };
  20. DT_MACHINE_START(BERLIN_DT, "Marvell Berlin")
  21. .dt_compat = berlin_dt_compat,
  22. /*
  23. * with DT probing for L2CCs, berlin_init_machine can be removed.
  24. * Note: 88DE3005 (Armada 1500-mini) uses pl310 l2cc
  25. */
  26. .l2c_aux_val = 0x30c00000,
  27. .l2c_aux_mask = 0xfeffffff,
  28. MACHINE_END