Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree support for Marvell Berlin SoCs.
0004  *
0005  * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
0006  *
0007  * based on GPL'ed 2.6 kernel sources
0008  *  (c) Marvell International Ltd.
0009  */
0010 
0011 #include <linux/init.h>
0012 #include <linux/io.h>
0013 #include <linux/kernel.h>
0014 #include <linux/of_platform.h>
0015 #include <asm/hardware/cache-l2x0.h>
0016 #include <asm/mach/arch.h>
0017 
0018 static const char * const berlin_dt_compat[] = {
0019     "marvell,berlin",
0020     NULL,
0021 };
0022 
0023 DT_MACHINE_START(BERLIN_DT, "Marvell Berlin")
0024     .dt_compat  = berlin_dt_compat,
0025     /*
0026      * with DT probing for L2CCs, berlin_init_machine can be removed.
0027      * Note: 88DE3005 (Armada 1500-mini) uses pl310 l2cc
0028      */
0029     .l2c_aux_val    = 0x30c00000,
0030     .l2c_aux_mask   = 0xfeffffff,
0031 MACHINE_END