realview-dt.c 811 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2014 Linaro Ltd.
  3. *
  4. * Author: Linus Walleij <linus.walleij@linaro.org>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2, as
  8. * published by the Free Software Foundation.
  9. *
  10. */
  11. #include <linux/of_platform.h>
  12. #include <asm/mach/arch.h>
  13. #include <asm/hardware/cache-l2x0.h>
  14. static const char *const realview_dt_platform_compat[] __initconst = {
  15. "arm,realview-eb",
  16. "arm,realview-pb1176",
  17. "arm,realview-pb11mp",
  18. "arm,realview-pba8",
  19. "arm,realview-pbx",
  20. NULL,
  21. };
  22. DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)")
  23. #ifdef CONFIG_ZONE_DMA
  24. .dma_zone_size = SZ_256M,
  25. #endif
  26. .dt_compat = realview_dt_platform_compat,
  27. .l2c_aux_val = 0x0,
  28. .l2c_aux_mask = ~0x0,
  29. MACHINE_END