1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* Intel 82801Ix support */
7 // ICH9 Power Management Registers, located at PMBASE (0x1f.0 0x40.l)
8 OperationRegion(PMIO, SystemIO, DEFAULT_PMBASE, 0x80)
9 Field(PMIO, ByteAcc, NoLock, Preserve)
12 THRO, 1, // force thermal throttling
13 Offset(0x42), // General Purpose Control
15 GPEC, 1, // TCO status
17 , 9, // skip 9 more bits
18 SCIS, 1 // TCO DMI status
21 // FIXME: purposes of the GPIOs (comments) are probably wrong
22 // ICH9 GPIO IO mapped registers (0x1f.0 reg 0x48.l)
23 OperationRegion(GPIO, SystemIO, DEFAULT_GPIOBASE, 0x3c)
24 Field(GPIO, ByteAcc, NoLock, Preserve)
26 GU00, 8, // GPIO Use Select
30 Offset(0x04), // GPIO IO Select
35 Offset(0x0c), // GPIO Level
68 Offset(0x18), // GPIO Blink
73 Offset(0x2c), // GPIO Invert
78 Offset(0x30), // GPIO Use Select 2
83 Offset(0x34), // GPIO IO Select 2
88 Offset(0x38), // GPIO Level 2
103 // ICH9 Root Complex Register Block. Memory Mapped through RCBA)
104 OperationRegion(RCRB, SystemMemory, CONFIG_FIXED_RCBA_MMIO_BASE, CONFIG_RCBA_LENGTH)
105 Field(RCRB, DWordAcc, Lock, Preserve)
107 Offset(0x0000), // Backbone
108 Offset(0x1000), // Chipset
109 Offset(0x3000), // Legacy Configuration Registers
110 Offset(0x3404), // High Performance Timer Configuration
111 HPAS, 2, // Address Select
113 HPTE, 1, // Address Enable
114 Offset(0x3418), // FD (Function Disable)
116 SA1D, 1, // SATA disable
117 SMBD, 1, // SMBUS disable
118 HDAD, 1, // Azalia disable
120 US6D, 1, // UHCI #6 disable
121 US1D, 1, // UHCI #1 disable
122 US2D, 1, // UHCI #2 disable
123 US3D, 1, // UHCI #3 disable
124 US4D, 1, // UHCI #4 disable
125 US5D, 1, // UHCI #5 disable
126 EH2D, 1, // EHCI disable
127 LPBD, 1, // LPC bridge disable
128 EH1D, 1, // EHCI disable
129 Offset(0x341a), // FD Root Ports
130 RP1D, 1, // Root Port 1 disable
131 RP2D, 1, // Root Port 2 disable
132 RP3D, 1, // Root Port 3 disable
133 RP4D, 1, // Root Port 4 disable
134 RP5D, 1, // Root Port 5 disable
135 RP6D, 1, // Root Port 6 disable
137 THRD, 1, // Thermal Throttle disable
138 SA2D, 1, // SATA disable
143 // 0:1b.0 High Definition Audio (Azalia)
144 #include <southbridge/intel/common/acpi/audio_ich.asl>
147 #include <southbridge/intel/common/acpi/pcie.asl>
162 #include <southbridge/intel/common/acpi/smbus.asl>
166 /* Check for proper GUID */
167 If (Arg0 == ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766"))
169 /* Let OS control everything */
174 /* Unrecognized UUID */
175 CreateDWordField (Arg3, 0, CDW1)