blob: b9575f0849602cb2f04a98fb13c53ce88681c935 [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.
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010016 */
17
18#define THINKPAD_EC_GPE 17
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010019#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
20#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010021#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
Vladimir Serbinenkoe0ceac32014-07-29 00:51:31 +020022#define EC_LENOVO_H8_ME_WORKAROUND 1
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010023
24DefinitionBlock(
25 "dsdt.aml",
26 "DSDT",
27 0x02, // DSDT revision: ACPI v2.0
28 "COREv4", // OEM id
Vladimir Serbinenko4737b0c2014-01-22 17:12:56 +010029 "COREBOOT", // OEM table id
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010030 0x20110725 // OEM revision
31)
32{
Vladimir Serbinenkoe2887582015-05-17 00:20:52 +020033 #include <southbridge/intel/bd82x6x/acpi/platform.asl>
34
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010035 // Some generic macros
36 #include "acpi/platform.asl"
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010037
38 // global NVS and variables
39 #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
40
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010041 #include <cpu/intel/model_206ax/acpi/cpu.asl>
42
43 Scope (\_SB) {
44 Device (PCI0)
45 {
46 #include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
47 #include <southbridge/intel/bd82x6x/acpi/pch.asl>
Kyösti Mälkkia4823222015-06-06 11:03:12 +030048 #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl>
Nico Huber954a55b2015-08-27 13:31:46 +020049
50 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010051 }
52 }
Vladimir Serbinenko61273d42015-05-13 17:47:58 +020053/*
54 * LPC Trusted Platform Module
55 */
56Scope (\_SB.PCI0.LPCB)
57{
58 #include <drivers/pc80/tpm/acpi/tpm.asl>
59}
60
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010061
Vladimir Serbinenkoe7e95022014-01-12 15:26:15 +010062 /* Chipset specific sleep states */
63 #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
64}