]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/arm/mach-sti/board-dt.c
Revert "ARM: sti: Implement dummy L2 cache's write_sec"
[mirror_ubuntu-jammy-kernel.git] / arch / arm / mach-sti / board-dt.c
CommitLineData
d2912cb1 1// SPDX-License-Identifier: GPL-2.0-only
65ebcc11
SK
2/*
3 * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
4 * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com>
65ebcc11
SK
5 */
6
65ebcc11 7#include <linux/irq.h>
28fbb151 8#include <linux/of_platform.h>
65ebcc11
SK
9#include <asm/hardware/cache-l2x0.h>
10#include <asm/mach/arch.h>
11
12#include "smp.h"
13
19c233b7 14static const char *const stih41x_dt_match[] __initconst = {
65ebcc11 15 "st,stih415",
15969b45 16 "st,stih416",
c6594025 17 "st,stih407",
60b3c7ed 18 "st,stih410",
dd548cf9 19 "st,stih418",
65ebcc11
SK
20 NULL
21};
22
50fdda70 23DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree")
65ebcc11 24 .dt_compat = stih41x_dt_match,
4d6229f6
RK
25 .l2c_aux_val = L2C_AUX_CTRL_SHARED_OVERRIDE |
26 L310_AUX_CTRL_DATA_PREFETCH |
27 L310_AUX_CTRL_INSTR_PREFETCH |
28 L2C_AUX_CTRL_WAY_SIZE(4),
29 .l2c_aux_mask = 0xc0000fff,
30 .smp = smp_ops(sti_smp_ops),
65ebcc11 31MACHINE_END