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