1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H
4 #define SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H
6 /* SMBus IO Base Address */
7 #define SMBUS_IO_BASE CONFIG_FIXED_SMBUS_IO_BASE
9 /* PCI Configuration Space : SMBus */
11 #define HST_EN (1 << 0)
12 #define I2C_EN (1 << 2)
15 #define SMBHSTSTAT 0x0
18 #define SMBXMITADD 0x4
19 #define SMBHSTDAT0 0x5
21 #endif /* SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H */