2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <soc/iomap.h>
19 // IO-Trap at 0x800. This is the ACPI->SMI communication interface.
20 OperationRegion (IO_T, SystemIO, 0x800, 0x10)
21 Field (IO_T, ByteAcc, NoLock, Preserve)
24 TRP0, 8 // IO-Trap at 0x808
27 // Root Complex Register Block
28 OperationRegion (RCRB, SystemMemory, RCBA_BASE_ADDRESS, RCBA_BASE_SIZE)
29 Field (RCRB, DWordAcc, Lock, Preserve)
31 Offset (0x3404), // High Performance Timer Configuration
32 HPAS, 2, // Address Select
34 HPTE, 1, // Address Enable
39 * Return 1 if PCH is WildcatPoint
40 * Return 0 if PCH is LynxPoint
44 And (\_SB.PCI0.LPCB.PDID, 0xfff0, Local0)
45 If (LEqual (Local0, 0x9cc0)) {
53 // High Definition Audio (Azalia) 0:1b.0
59 // PCI Express Ports 0:1c.x
78 #include "serialio.asl"
82 /* Check for proper GUID */
83 If (LEqual (Arg0, ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766")))
85 /* Let OS control everything */
90 /* Unrecognized UUID */
91 CreateDWordField (Arg3, 0, CDW1)