1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef SOUTHBRIDGE_INTEL_I82801GX_CHIP_H
4 #define SOUTHBRIDGE_INTEL_I82801GX_CHIP_H
10 SATA_MODE_IDE_LEGACY_COMBINED
,
14 struct southbridge_intel_i82801gx_config
{
16 * Interrupt Routing configuration
17 * If bit7 is 1, the interrupt is disabled.
19 uint8_t pirqa_routing
;
20 uint8_t pirqb_routing
;
21 uint8_t pirqc_routing
;
22 uint8_t pirqd_routing
;
23 uint8_t pirqe_routing
;
24 uint8_t pirqf_routing
;
25 uint8_t pirqg_routing
;
26 uint8_t pirqh_routing
;
29 * GPI Routing configuration
31 * Only the lower two bits have a meaning:
33 * 01: SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
34 * 10: SCI (if corresponding GPIO_EN bit is also set)
47 uint8_t gpi10_routing
;
48 uint8_t gpi11_routing
;
49 uint8_t gpi12_routing
;
50 uint8_t gpi13_routing
;
51 uint8_t gpi14_routing
;
52 uint8_t gpi15_routing
;
55 uint16_t alt_gp_smi_en
;
57 /* IDE configuration */
58 bool ide_enable_primary
;
59 bool ide_enable_secondary
;
60 enum sata_mode sata_mode
;
61 uint32_t sata_ports_implemented
;
63 /* Enable linear PCIe Root Port function numbers starting at zero */
64 bool pcie_port_coalesce
;
67 bool docking_supported
;
68 bool p_cnt_throttling_supported
;
71 /* Additional LPC IO decode ranges */
78 #endif /* SOUTHBRIDGE_INTEL_I82801GX_CHIP_H */