Linux 5.7.6
[linux/fpc-iii.git] / arch / arm / mm / cache-tauros3.h
blobfa5f926799406c2794a1c1e9dd9ac9e93f684345
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Marvell Tauros3 cache controller includes
5 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
7 * based on GPL'ed 2.6 kernel sources
8 * (c) Marvell International Ltd.
9 */
11 #ifndef __ASM_ARM_HARDWARE_TAUROS3_H
12 #define __ASM_ARM_HARDWARE_TAUROS3_H
15 * Marvell Tauros3 L2CC is compatible with PL310 r0p0
16 * but with PREFETCH_CTRL (r2p0) and an additional event counter.
17 * Also, there is AUX2_CTRL for some Marvell specific control.
20 #define TAUROS3_EVENT_CNT2_CFG 0x224
21 #define TAUROS3_EVENT_CNT2_VAL 0x228
22 #define TAUROS3_INV_ALL 0x780
23 #define TAUROS3_CLEAN_ALL 0x784
24 #define TAUROS3_AUX2_CTRL 0x820
26 /* Registers shifts and masks */
27 #define TAUROS3_AUX2_CTRL_LINEFILL_BURST8_EN (1 << 2)
29 #endif