• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H
4 #define SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H
5 
6 /* SMBus IO Base Address */
7 #define SMBUS_IO_BASE	CONFIG_FIXED_SMBUS_IO_BASE
8 
9 /* PCI Configuration Space : SMBus */
10 #define HOSTC	0x40
11 #define HST_EN	(1 << 0)
12 #define I2C_EN  (1 << 2)
13 
14 /* SMBus I/O bits. */
15 #define SMBHSTSTAT	0x0
16 #define SMBHSTCTL	0x2
17 #define SMBHSTCMD	0x3
18 #define SMBXMITADD	0x4
19 #define SMBHSTDAT0	0x5
20 
21 #endif	/* SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H */
22