xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-armada8k/cache_llc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2016 Marvell International Ltd.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0
5*4882a593Smuzhiyun  * https://spdx.org/licenses
6*4882a593Smuzhiyun  */
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun #ifndef _CACHE_LLC_H_
9*4882a593Smuzhiyun #define _CACHE_LLC_H_
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun /* Armada-7K/8K last level cache */
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #define MVEBU_A8K_REGS_BASE_MSB		0xf000
14*4882a593Smuzhiyun #define LLC_BASE_ADDR			0x8000
15*4882a593Smuzhiyun #define LLC_CACHE_SYNC			0x700
16*4882a593Smuzhiyun #define LLC_CACHE_SYNC_COMPLETE		0x730
17*4882a593Smuzhiyun #define LLC_FLUSH_BY_WAY		0x7fc
18*4882a593Smuzhiyun #define LLC_WAY_MASK			0xffffffff
19*4882a593Smuzhiyun #define LLC_CACHE_SYNC_MASK		0x1
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #endif	/* _CACHE_LLC_H_ */
22