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,stih415" , |
14 | "st,stih416" , |
15 | "st,stih407" , |
16 | "st,stih410" , |
17 | "st,stih418" , |
18 | NULL |
19 | }; |
20 | |
21 | DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree" ) |
22 | .dt_compat = stih41x_dt_match, |
23 | .l2c_aux_val = L2C_AUX_CTRL_SHARED_OVERRIDE | |
24 | L310_AUX_CTRL_DATA_PREFETCH | |
25 | L310_AUX_CTRL_INSTR_PREFETCH | |
26 | L2C_AUX_CTRL_WAY_SIZE(4), |
27 | .l2c_aux_mask = 0xc0000fff, |
28 | .smp = smp_ops(sti_smp_ops), |
29 | MACHINE_END |
30 | |