2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22 /* Intel 82801Gx support */
26 // IO-Trap at 0x800. This is the ACPI->SMI communication interface.
28 OperationRegion(IO_T, SystemIO, 0x800, 0x10)
29 Field(IO_T, ByteAcc, NoLock, Preserve)
32 TRP0, 8 // IO-Trap at 0x808
35 // ICH7 Power Management Registers, located at PMBASE (0x1f.0 0x40.l)
36 OperationRegion(PMIO, SystemIO, DEFAULT_PMBASE, 0x80)
37 Field(PMIO, ByteAcc, NoLock, Preserve)
39 Offset(0x42), // General Purpose Control
41 GPEC, 1, // TCO status
42 , 9, // skip 9 more bits
43 SCIS, 1, // TCO DMI status
44 , 6 // To the end of the word
47 // ICH7 GPIO IO mapped registers (0x1f.0 reg 0x48.l)
48 OperationRegion(GPIO, SystemIO, DEFAULT_GPIOBASE, 0x3c)
49 Field(GPIO, ByteAcc, NoLock, Preserve)
51 Offset(0x00), // GPIO Use Select
56 Offset(0x04), // GPIO IO Select
61 Offset(0x0c), // GPIO Level
88 GP26, 1, // SATA_PWR_EN #0 / SPOF
89 GP27, 1, // SATA_PWR_EN #1 / SPMU
94 Offset(0x18), // GPIO Blink
99 Offset(0x2c), // GPIO Invert
104 Offset(0x30), // GPIO Use Select 2
109 Offset(0x34), // GPIO IO Select 2
114 Offset(0x38), // GPIO Level 2
120 GP37, 1, // PATA_PWR_EN / HDDE
121 GP38, 1, // Battery / Power (?) / MB00
122 GP39, 1, // ?? / MB01
129 // ICH7 Root Complex Register Block. Memory Mapped through RCBA)
130 OperationRegion(RCRB, SystemMemory, DEFAULT_RCBA, 0x4000)
131 Field(RCRB, DWordAcc, Lock, Preserve)
133 Offset(0x0000), // Backbone
134 Offset(0x1000), // Chipset
135 Offset(0x3000), // Legacy Configuration Registers
136 Offset(0x3404), // High Performance Timer Configuration
137 HPAS, 2, // Address Select
139 HPTE, 1, // Address Enable
140 Offset(0x3418), // FD (Function Disable)
142 PATD, 1, // PATA disable
143 SATD, 1, // SATA disable
144 SMBD, 1, // SMBUS disable
145 HDAD, 1, // Azalia disable
146 A97D, 1, // AC'97 disable
147 M97D, 1, // AC'97 disable
148 ILND, 1, // Internal LAN disable
149 US1D, 1, // UHCI #1 disable
150 US2D, 1, // UHCI #2 disable
151 US3D, 1, // UHCI #3 disable
152 US4D, 1, // UHCI #4 disable
154 LPBD, 1, // LPC bridge disable
155 EHCD, 1, // EHCI disable
156 Offset(0x341a), // FD Root Ports
157 RP1D, 1, // Root Port 1 disable
158 RP2D, 1, // Root Port 2 disable
159 RP3D, 1, // Root Port 3 disable
160 RP4D, 1, // Root Port 4 disable
161 RP5D, 1, // Root Port 5 disable
162 RP6D, 1 // Root Port 6 disable
167 // 0:1b.0 High Definition Audio (Azalia)
179 // AC97 Audio and Modem