1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* Intel 82801Ix support */
5 #include "../i82801jx.h"
9 // ICH10 Power Management Registers, located at PMBASE (0x1f.0 0x40.l)
10 OperationRegion(PMIO, SystemIO, DEFAULT_PMBASE, 0x80)
11 Field(PMIO, ByteAcc, NoLock, Preserve)
14 THRO, 1, // force thermal throttling
15 Offset(0x42), // General Purpose Control
17 GPEC, 1, // TCO status
19 , 9, // skip 9 more bits
20 SCIS, 1 // TCO DMI status
23 // ICH10 GPIO IO mapped registers (0x1f.0 reg 0x48.l)
24 OperationRegion(GPIO, SystemIO, DEFAULT_GPIOBASE, 0x3c)
25 Field(GPIO, ByteAcc, NoLock, Preserve)
32 Offset(0x04), // GPIO IO Select
37 Offset(0x0c), // GPIO Level
70 Offset(0x18), // GPIO Blink
75 Offset(0x2c), // GPIO Invert
80 Offset(0x30), // GPIO Use Select 2
85 Offset(0x34), // GPIO IO Select 2
90 Offset(0x38), // GPIO Level 2
105 // ICH10 Root Complex Register Block. Memory Mapped through RCBA)
106 OperationRegion(RCRB, SystemMemory, CONFIG_FIXED_RCBA_MMIO_BASE, CONFIG_RCBA_LENGTH)
107 Field(RCRB, DWordAcc, Lock, Preserve)
109 Offset(0x0000), // Backbone
110 Offset(0x1000), // Chipset
111 Offset(0x3000), // Legacy Configuration Registers
112 Offset(0x3404), // High Performance Timer Configuration
113 HPAS, 2, // Address Select
115 HPTE, 1, // Address Enable
116 Offset(0x3418), // FD (Function Disable)
118 SA1D, 1, // SATA disable
119 SMBD, 1, // SMBUS disable
120 HDAD, 1, // Azalia disable
122 US6D, 1, // UHCI #6 disable
123 US1D, 1, // UHCI #1 disable
124 US2D, 1, // UHCI #2 disable
125 US3D, 1, // UHCI #3 disable
126 US4D, 1, // UHCI #4 disable
127 US5D, 1, // UHCI #5 disable
128 EH2D, 1, // EHCI disable
129 LPBD, 1, // LPC bridge disable
130 EH1D, 1, // EHCI disable
131 Offset(0x341a), // FD Root Ports
132 RP1D, 1, // Root Port 1 disable
133 RP2D, 1, // Root Port 2 disable
134 RP3D, 1, // Root Port 3 disable
135 RP4D, 1, // Root Port 4 disable
136 RP5D, 1, // Root Port 5 disable
137 RP6D, 1, // Root Port 6 disable
139 THRD, 1, // Thermal Throttle disable
140 SA2D, 1, // SATA disable
145 // 0:1b.0 High Definition Audio (Azalia)
146 #include <southbridge/intel/common/acpi/audio_ich.asl>
149 #include <southbridge/intel/common/acpi/pcie.asl>
164 #include <southbridge/intel/common/acpi/smbus.asl>
168 /* Check for proper GUID */
169 If (Arg0 == ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766"))
171 /* Let OS control everything */
176 /* Unrecognized UUID */
177 CreateDWordField (Arg3, 0, CDW1)