1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2019
4  * Phytium Technology Ltd <www.phytium.com>
5  * shuyiqi <shuyiqi@phytium.com.cn>
6  */
7 
8 #ifndef _FT_DURIAN_H
9 #define _FT_DURIAN_H
10 
11 /* FLUSH L3 CASHE */
12 #define HNF_COUNT           0x8
13 #define HNF_PSTATE_REQ      (HNF_BASE + 0x10)
14 #define HNF_PSTATE_STAT     (HNF_BASE + 0x18)
15 #define HNF_PSTATE_OFF      0x0
16 #define HNF_PSTATE_SFONLY   0x1
17 #define HNF_PSTATE_HALF     0x2
18 #define HNF_PSTATE_FULL     0x3
19 #define HNF_STRIDE          0x10000
20 #define HNF_BASE            (unsigned long)(0x3A200000)
21 
22 #endif /* _FT_DURIAN_H */
23 
24