Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 Linaro Ltd. |
| 4 | * |
| 5 | * Author: Linus Walleij <linus.walleij@linaro.org> |
Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 6 | */ |
| 7 | #include <linux/of_platform.h> |
| 8 | #include <asm/mach/arch.h> |
| 9 | #include <asm/hardware/cache-l2x0.h> |
Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 10 | |
Nicolas Pitre | 19c233b | 2015-07-27 18:27:52 -0400 | [diff] [blame] | 11 | static const char *const realview_dt_platform_compat[] __initconst = { |
Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 12 | "arm,realview-eb", |
| 13 | "arm,realview-pb1176", |
| 14 | "arm,realview-pb11mp", |
| 15 | "arm,realview-pba8", |
| 16 | "arm,realview-pbx", |
| 17 | NULL, |
| 18 | }; |
| 19 | |
| 20 | DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)") |
| 21 | #ifdef CONFIG_ZONE_DMA |
| 22 | .dma_zone_size = SZ_256M, |
| 23 | #endif |
| 24 | .dt_compat = realview_dt_platform_compat, |
| 25 | .l2c_aux_val = 0x0, |
| 26 | .l2c_aux_mask = ~0x0, |
| 27 | MACHINE_END |