aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/genesyslogic/gl9755/gl9755.h
blob: aa20a527f25e876b51535d7b8eb7013bd5eef09c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef DRIVERS_GENESYSLOGIC_GL9755_H
#define DRIVERS_GENESYSLOGIC_GL9755_H

/* Definitions for Genesys Logic GL9755 */

#define CFG		0x800
#define   CFG_EN	0x1
#define CFG2			0x48
#define   CFG2_LAT_L1_MASK	((0x7 << 12) | (0x7 << 3))
#define   CFG2_LAT_L1_64US	((0x6 << 12) | (0x6 << 3))
#define LTR			0x5C
#define   SNOOP_VALUE		0x25
#define   SNOOP_SCALE		(0x3 << 10)
#define   NO_SNOOP_VALUE	(0x25 << 16)
#define   NO_SNOOP_SCALE	(0x3 << 26)

#endif /* DRIVERS_GENESYSLOGIC_GL9755_H */