blob: a0978aff1179e83394cce282aa016c7c93535fbd [file] [log] [blame]
Timothy Pearson4b373c92015-04-05 17:54:08 -05001/*
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.
Timothy Pearson4b373c92015-04-05 17:54:08 -050015 */
16
17#define THINKPAD_EC_GPE 17
18#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
19#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
20#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
21#define DISPLAY_DEVICE_2_IS_LCD_SCREEN 1
22
23DefinitionBlock(
24 "dsdt.aml",
25 "DSDT",
26 0x03, // DSDT revision: ACPI v3.0
27 "COREv4", // OEM id
28 "COREBOOT", // OEM table id
29 0x20090419 // OEM revision
30)
31{
32 // Some generic macros
33 #include "acpi/platform.asl"
34
35 // global NVS and variables
36 #include <southbridge/intel/i82801ix/acpi/globalnvs.asl>
Paul Menzelbb1b2592015-10-12 19:20:48 +020037 #include <southbridge/intel/common/acpi/platform.asl>
Timothy Pearson4b373c92015-04-05 17:54:08 -050038
39 // General Purpose Events
40 #include "acpi/gpe.asl"
41
Paul Menzelbb1b2592015-10-12 19:20:48 +020042 #include <cpu/intel/common/acpi/cpu.asl>
43
Timothy Pearson4b373c92015-04-05 17:54:08 -050044 Scope (\_SB) {
45 Device (PCI0)
46 {
47 #include <northbridge/intel/gm45/acpi/gm45.asl>
48 #include <southbridge/intel/i82801ix/acpi/ich9.asl>
Nico Huber954a55b2015-08-27 13:31:46 +020049
50 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
Timothy Pearson4b373c92015-04-05 17:54:08 -050051 }
52 }
53
54 /* Chipset specific sleep states */
55 #include <southbridge/intel/i82801ix/acpi/sleepstates.asl>
56
Timothy Pearson36aed742015-04-05 23:22:18 -050057 /* Hybrid graphics support code */
58 #include "acpi/graphics.asl"
59
Timothy Pearson4b373c92015-04-05 17:54:08 -050060 /* Dock support code */
61 #include "acpi/dock.asl"
62}