aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/early_smbus.h
blob: d6a7cbbccebe83b042bd1d4749736da438ddb884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H
#define SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H

#include <device/pci_def.h>

#define PCI_DEV_SMBUS		PCI_DEV(0, 0x1f, 3)

#define SMB_BASE		PCI_BASE_ADDRESS_4
#define HOSTC			0x40

/* HOSTC bits */
#define I2C_EN			(1 << 2)
#define SMB_SMI_EN		(1 << 1)
#define HST_EN			(1 << 0)

#endif /* SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H */