]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/mach-sti/board-dt.c
Merge branch 'cpuidle' into release
[karo-tx-linux.git] / arch / arm / mach-sti / board-dt.c
1 /*
2  * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
3  * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  */
9
10 #include <linux/irq.h>
11 #include <linux/of_platform.h>
12 #include <asm/hardware/cache-l2x0.h>
13 #include <asm/mach/arch.h>
14
15 #include "smp.h"
16
17 static const char *const stih41x_dt_match[] __initconst = {
18         "st,stih415",
19         "st,stih416",
20         "st,stih407",
21         "st,stih410",
22         "st,stih418",
23         NULL
24 };
25
26 DT_MACHINE_START(STM, "STiH415/416 SoC with Flattened Device Tree")
27         .dt_compat      = stih41x_dt_match,
28         .l2c_aux_val    = L2C_AUX_CTRL_SHARED_OVERRIDE |
29                           L310_AUX_CTRL_DATA_PREFETCH |
30                           L310_AUX_CTRL_INSTR_PREFETCH |
31                           L2C_AUX_CTRL_WAY_SIZE(4),
32         .l2c_aux_mask   = 0xc0000fff,
33         .smp            = smp_ops(sti_smp_ops),
34 MACHINE_END