realview.c 658 B

123456789101112131415161718192021222324252627
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2014 Linaro Ltd.
  4. *
  5. * Author: Linus Walleij <[email protected]>
  6. */
  7. #include <linux/of_platform.h>
  8. #include <asm/mach/arch.h>
  9. #include <asm/hardware/cache-l2x0.h>
  10. static const char *const realview_dt_platform_compat[] __initconst = {
  11. "arm,realview-eb",
  12. "arm,realview-pb1176",
  13. "arm,realview-pb11mp",
  14. "arm,realview-pba8",
  15. "arm,realview-pbx",
  16. NULL,
  17. };
  18. DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)")
  19. #ifdef CONFIG_ZONE_DMA
  20. .dma_zone_size = SZ_256M,
  21. #endif
  22. .dt_compat = realview_dt_platform_compat,
  23. .l2c_aux_val = 0x0,
  24. .l2c_aux_mask = ~0x0,
  25. MACHINE_END