blob: ac181c6797ee5784c2f64d80ea1b1f4b2d0fc3b1 [file] [log] [blame]
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +02001/*
2 * Device Tree support for Marvell Berlin SoCs.
3 *
4 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
5 *
6 * based on GPL'ed 2.6 kernel sources
7 * (c) Marvell International Ltd.
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
14#include <linux/init.h>
15#include <linux/io.h>
16#include <linux/kernel.h>
17#include <linux/of_platform.h>
18#include <asm/hardware/cache-l2x0.h>
19#include <asm/mach/arch.h>
20
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020021static const char * const berlin_dt_compat[] = {
22 "marvell,berlin",
23 NULL,
24};
25
26DT_MACHINE_START(BERLIN_DT, "Marvell Berlin")
27 .dt_compat = berlin_dt_compat,
Russell Kinga0487112014-04-28 15:57:21 +010028 /*
29 * with DT probing for L2CCs, berlin_init_machine can be removed.
30 * Note: 88DE3005 (Armada 1500-mini) uses pl310 l2cc
31 */
32 .l2c_aux_val = 0x30c00000,
33 .l2c_aux_mask = 0xfeffffff,
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020034MACHINE_END