summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/early_smbus.h
blob: 0dc32c06dcbef48ebd64cb919c1f06ca1109df56 (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 SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H
#define SOUTHBRIDGE_INTEL_COMMON_EARLY_SMBUS_H

#include <device/pci_def.h>
#include <device/pci_type.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 */