1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0 */
2b58385dfSKonstantin Porotchkin /*
3b58385dfSKonstantin Porotchkin  * Copyright (C) 2016 Marvell International Ltd.
4b58385dfSKonstantin Porotchkin  * https://spdx.org/licenses
5b58385dfSKonstantin Porotchkin  */
6b58385dfSKonstantin Porotchkin 
7b58385dfSKonstantin Porotchkin #ifndef _CACHE_LLC_H_
8b58385dfSKonstantin Porotchkin #define _CACHE_LLC_H_
9b58385dfSKonstantin Porotchkin 
10b58385dfSKonstantin Porotchkin /* Armada-7K/8K last level cache */
11b58385dfSKonstantin Porotchkin 
12b58385dfSKonstantin Porotchkin #define MVEBU_A8K_REGS_BASE_MSB		0xf000
13b58385dfSKonstantin Porotchkin #define LLC_BASE_ADDR			0x8000
14b58385dfSKonstantin Porotchkin #define LLC_CACHE_SYNC			0x700
15b58385dfSKonstantin Porotchkin #define LLC_CACHE_SYNC_COMPLETE		0x730
16b58385dfSKonstantin Porotchkin #define LLC_FLUSH_BY_WAY		0x7fc
17b58385dfSKonstantin Porotchkin #define LLC_WAY_MASK			0xffffffff
18b58385dfSKonstantin Porotchkin #define LLC_CACHE_SYNC_MASK		0x1
19b58385dfSKonstantin Porotchkin 
20b58385dfSKonstantin Porotchkin #endif	/* _CACHE_LLC_H_ */
21