blob: 1ef9f11c0d08e5a4ff1f37bb3e5efd0c06694974 [file] [log] [blame]
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
Vladimir Serbinenkob2939f72014-01-22 17:12:35 +01006 * Copyright (C) 2014 Vladimir Serbinenko
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +01007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
Patrick Georgib890a122015-03-26 15:17:45 +010019 * Foundation, Inc.
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010020 */
21
22#define THINKPAD_EC_GPE 17
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010023#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
24#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010025#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
Vladimir Serbinenkoe0ceac32014-07-29 00:51:31 +020026#define EC_LENOVO_H8_ME_WORKAROUND 1
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010027
28DefinitionBlock(
29 "dsdt.aml",
30 "DSDT",
31 0x02, // DSDT revision: ACPI v2.0
32 "COREv4", // OEM id
Vladimir Serbinenko4737b0c2014-01-22 17:12:56 +010033 "COREBOOT", // OEM table id
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010034 0x20110725 // OEM revision
35)
36{
Vladimir Serbinenkoe2887582015-05-17 00:20:52 +020037 #include <southbridge/intel/bd82x6x/acpi/platform.asl>
38
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010039 // Some generic macros
40 #include "acpi/platform.asl"
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010041
42 // global NVS and variables
43 #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
44
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010045 #include <cpu/intel/model_206ax/acpi/cpu.asl>
46
47 Scope (\_SB) {
48 Device (PCI0)
49 {
50 #include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
51 #include <southbridge/intel/bd82x6x/acpi/pch.asl>
Kyösti Mälkkia4823222015-06-06 11:03:12 +030052 #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl>
Nico Huber954a55b2015-08-27 13:31:46 +020053
54 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010055 }
56 }
Vladimir Serbinenko61273d42015-05-13 17:47:58 +020057/*
58 * LPC Trusted Platform Module
59 */
60Scope (\_SB.PCI0.LPCB)
61{
62 #include <drivers/pc80/tpm/acpi/tpm.asl>
63}
64
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010065
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010066 /* Chipset specific sleep states */
67 #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
68}