1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef SOUTHBRIDGE_INTEL_BD82X6X_CHIP_H
4 #define SOUTHBRIDGE_INTEL_BD82X6X_CHIP_H
6 #include <southbridge/intel/common/spi.h>
8 #include <southbridge/intel/bd82x6x/pch.h>
10 struct southbridge_intel_bd82x6x_config
{
12 * GPI Routing configuration
14 * Only the lower two bits have a meaning:
16 * 01: SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
17 * 10: SCI (if corresponding GPIO_EN bit is also set)
30 uint8_t gpi10_routing
;
31 uint8_t gpi11_routing
;
32 uint8_t gpi12_routing
;
33 uint8_t gpi13_routing
;
34 uint8_t gpi14_routing
;
35 uint8_t gpi15_routing
;
38 uint16_t alt_gp_smi_en
;
40 /* IDE configuration */
41 uint8_t sata_port_map
;
42 uint32_t sata_port0_gen3_tx
;
43 uint32_t sata_port1_gen3_tx
;
46 * SATA Interface Speed Support Configuration
48 * Only the lower two bits have a meaning:
49 * 00 - No effect (leave as chip default)
50 * 01 - 1.5 Gb/s maximum speed
51 * 10 - 3.0 Gb/s maximum speed
52 * 11 - 6.0 Gb/s maximum speed
54 uint8_t sata_interface_speed_support
;
61 /* Enable linear PCIe Root Port function numbers starting at zero */
62 bool pcie_port_coalesce
;
64 /* Override PCIe ASPM */
67 int docking_supported
;
69 bool pcie_hotplug_map
[8];
71 /* Ports which can be routed to either EHCI or xHCI. */
72 uint32_t xhci_switchable_ports
;
73 /* Ports which support SuperSpeed (USB 3.0 additional lanes). */
74 uint32_t superspeed_capable_ports
;
75 /* Overcurrent Mapping for USB 3.0 Ports */
76 uint32_t xhci_overcurrent_mapping
;
80 struct intel_swseq_spi_config spi
;
81 struct southbridge_usb_port usb_port_config
[14];
84 #endif /* SOUTHBRIDGE_INTEL_BD82X6X_CHIP_H */