xref: /linux/arch/arm/mach-mmp/mmp3.c (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*a9372a5fSLubomir Rintel // SPDX-License-Identifier: GPL-2.0-only
2*a9372a5fSLubomir Rintel /*
3*a9372a5fSLubomir Rintel  *  Marvell MMP3 aka PXA2128 aka 88AP2128 support
4*a9372a5fSLubomir Rintel  *
5*a9372a5fSLubomir Rintel  *  Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk>
6*a9372a5fSLubomir Rintel  */
7*a9372a5fSLubomir Rintel 
8*a9372a5fSLubomir Rintel #include <asm/mach/arch.h>
9*a9372a5fSLubomir Rintel #include <asm/hardware/cache-l2x0.h>
10*a9372a5fSLubomir Rintel 
11*a9372a5fSLubomir Rintel #include "common.h"
12*a9372a5fSLubomir Rintel 
13*a9372a5fSLubomir Rintel static const char *const mmp3_dt_board_compat[] __initconst = {
14*a9372a5fSLubomir Rintel 	"marvell,mmp3",
15*a9372a5fSLubomir Rintel 	NULL,
16*a9372a5fSLubomir Rintel };
17*a9372a5fSLubomir Rintel 
18*a9372a5fSLubomir Rintel DT_MACHINE_START(MMP2_DT, "Marvell MMP3")
19*a9372a5fSLubomir Rintel 	.map_io		= mmp2_map_io,
20*a9372a5fSLubomir Rintel 	.dt_compat	= mmp3_dt_board_compat,
21*a9372a5fSLubomir Rintel 	.l2c_aux_val	= 1 << L310_AUX_CTRL_FWA_SHIFT |
22*a9372a5fSLubomir Rintel 			  L310_AUX_CTRL_DATA_PREFETCH |
23*a9372a5fSLubomir Rintel 			  L310_AUX_CTRL_INSTR_PREFETCH,
24*a9372a5fSLubomir Rintel 	.l2c_aux_mask	= 0xc20fffff,
25*a9372a5fSLubomir Rintel MACHINE_END
26