berlin.c 614 B

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