xref: /linux/arch/arm/mach-sti/board-dt.c (revision 68a052239fc4b351e961f698b824f7654a346091)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
4  * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com>
5  */
6 
7 #include <asm/hardware/cache-l2x0.h>
8 #include <asm/mach/arch.h>
9 
10 #include "smp.h"
11 
12 static const char *const stih41x_dt_match[] __initconst = {
13 	"st,stih407",
14 	"st,stih410",
15 	"st,stih418",
16 	NULL
17 };
18 
19 DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree")
20 	.dt_compat	= stih41x_dt_match,
21 	.l2c_aux_val	= L2C_AUX_CTRL_SHARED_OVERRIDE |
22 			  L310_AUX_CTRL_DATA_PREFETCH |
23 			  L310_AUX_CTRL_INSTR_PREFETCH |
24 			  L2C_AUX_CTRL_WAY_SIZE(4),
25 	.l2c_aux_mask	= 0xc0000fff,
26 	.smp		= smp_ops(sti_smp_ops),
27 MACHINE_END
28