Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 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> |
Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 14 | |
Nicolas Pitre | 19c233b | 2015-07-27 18:27:52 -0400 | [diff] [blame] | 15 | static const char *const realview_dt_platform_compat[] __initconst = { |
Linus Walleij | fa6e2ee | 2014-10-01 09:29:22 +0200 | [diff] [blame] | 16 | "arm,realview-eb", |
| 17 | "arm,realview-pb1176", |
| 18 | "arm,realview-pb11mp", |
| 19 | "arm,realview-pba8", |
| 20 | "arm,realview-pbx", |
| 21 | NULL, |
| 22 | }; |
| 23 | |
| 24 | DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)") |
| 25 | #ifdef CONFIG_ZONE_DMA |
| 26 | .dma_zone_size = SZ_256M, |
| 27 | #endif |
| 28 | .dt_compat = realview_dt_platform_compat, |
| 29 | .l2c_aux_val = 0x0, |
| 30 | .l2c_aux_mask = ~0x0, |
| 31 | MACHINE_END |