blob: 4122917a5db881da223becdeb5fa3b0f58ee63f8 [file] [log] [blame]
Sven Schnellee8a7df82011-02-16 15:04:59 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 *
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
9 * the License.
10 *
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.
15 *
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,
19 * MA 02110-1301 USA
20 */
21
Vladimir Serbinenkoeb13b6f2013-11-26 10:13:28 +010022#define THINKPAD_EC_GPE 28
Vladimir Serbinenkodfc08812013-11-26 16:37:45 +010023#define BRIGHTNESS_UP \DSPC.BRTU
24#define BRIGHTNESS_DOWN \DSPC.BRTD
Vladimir Serbinenkod7813432013-12-07 12:19:08 +010025#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
Vladimir Serbinenkoeb13b6f2013-11-26 10:13:28 +010026
Sven Schnellee8a7df82011-02-16 15:04:59 +000027DefinitionBlock(
28 "dsdt.aml",
29 "DSDT",
30 0x03, // DSDT revision: ACPI v3.0
31 "COREv4", // OEM id
Paul Menzeld2e0e292013-02-04 10:31:34 +010032 "COREBOOT", // OEM table id
Sven Schnellee8a7df82011-02-16 15:04:59 +000033 0x20090419 // OEM revision
34)
35{
36 // Some generic macros
37 #include "acpi/platform.asl"
38
39 // global NVS and variables
Patrick Georgi91bd3062012-02-16 19:16:14 +010040 #include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
Sven Schnellee8a7df82011-02-16 15:04:59 +000041
42 // General Purpose Events
43 #include "acpi/gpe.asl"
44
45 // mainboard specific devices
46 #include "acpi/mainboard.asl"
47
Sven Schnellee8a7df82011-02-16 15:04:59 +000048 Scope (\_SB) {
49 Device (PCI0)
50 {
Patrick Georgi91bd3062012-02-16 19:16:14 +010051 #include <northbridge/intel/i945/acpi/i945.asl>
52 #include <southbridge/intel/i82801gx/acpi/ich7.asl>
Sven Schnellee8a7df82011-02-16 15:04:59 +000053 }
54 }
55
56 /* Chipset specific sleep states */
Patrick Georgi91bd3062012-02-16 19:16:14 +010057 #include <southbridge/intel/i82801gx/acpi/sleepstates.asl>
Sven Schnelleffcd1432011-04-11 19:43:32 +000058
59 // Dock support code
60 #include "acpi/dock.asl"
Sven Schnellee8a7df82011-02-16 15:04:59 +000061}