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 0xefa0
9 /* PCI Configuration Space : SMBus */
11 #define HST_EN (1 << 0)
13 #define SMBHSTSTAT 0x0
16 #define SMBXMITADD 0x4
17 #define SMBHSTDAT0 0x5
19 #define SMBUS_TIMEOUT 15 /* 15ms */
21 #endif /* SOC_INTEL_COMMON_BLOCK_SMBUS__LIB_H */