realview-dt.c 829 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. #include "core.h"
  15. static const char *const realview_dt_platform_compat[] __initconst = {
  16. "arm,realview-eb",
  17. "arm,realview-pb1176",
  18. "arm,realview-pb11mp",
  19. "arm,realview-pba8",
  20. "arm,realview-pbx",
  21. NULL,
  22. };
  23. DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)")
  24. #ifdef CONFIG_ZONE_DMA
  25. .dma_zone_size = SZ_256M,
  26. #endif
  27. .dt_compat = realview_dt_platform_compat,
  28. .l2c_aux_val = 0x0,
  29. .l2c_aux_mask = ~0x0,
  30. MACHINE_END