xref: /aosp_15_r20/external/coreboot/src/drivers/genesyslogic/gl9755/gl9755.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef DRIVERS_GENESYSLOGIC_GL9755_H
4 #define DRIVERS_GENESYSLOGIC_GL9755_H
5 
6 /* Definitions for Genesys Logic GL9755 */
7 
8 #define CFG		0x800
9 #define   CFG_EN	0x1
10 #define CFG2			0x48
11 #define   CFG2_LAT_L1_MASK	((0x7 << 12) | (0x7 << 3))
12 #define   CFG2_LAT_L1_64US	((0x6 << 12) | (0x6 << 3))
13 #define   CFG2_L0S_SUPPORT	(0x1 << 6)
14 #define LTR			0x5C
15 #define   SNOOP_VALUE		0x25
16 #define   SNOOP_SCALE		(0x3 << 10)
17 #define   NO_SNOOP_VALUE	(0x25 << 16)
18 #define   NO_SNOOP_SCALE	(0x3 << 26)
19 #define CFG3			0x70
20 #define	  SCP_DEBUG		(0x1 << 19)
21 
22 #endif /* DRIVERS_GENESYSLOGIC_GL9755_H */
23