Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
0004  * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com>
0005  */
0006 
0007 #include <linux/irq.h>
0008 #include <linux/of_platform.h>
0009 #include <asm/hardware/cache-l2x0.h>
0010 #include <asm/mach/arch.h>
0011 
0012 #include "smp.h"
0013 
0014 static const char *const stih41x_dt_match[] __initconst = {
0015     "st,stih415",
0016     "st,stih416",
0017     "st,stih407",
0018     "st,stih410",
0019     "st,stih418",
0020     NULL
0021 };
0022 
0023 DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree")
0024     .dt_compat  = stih41x_dt_match,
0025     .l2c_aux_val    = L2C_AUX_CTRL_SHARED_OVERRIDE |
0026               L310_AUX_CTRL_DATA_PREFETCH |
0027               L310_AUX_CTRL_INSTR_PREFETCH |
0028               L2C_AUX_CTRL_WAY_SIZE(4),
0029     .l2c_aux_mask   = 0xc0000fff,
0030     .smp        = smp_ops(sti_smp_ops),
0031 MACHINE_END