blob: aaa033840f49c58efacee88230eb7489b04a9978 [file] [log] [blame]
Zaolina823f9b2014-05-06 21:31:45 +02001/*
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.
6 * Copyright (C) 2014 Vladimir Serbinenko
7 *
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.
Zaolina823f9b2014-05-06 21:31:45 +020016 */
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
Zaolina823f9b2014-05-06 21:31:45 +020021#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
Nicolas Reinecke85f2e122014-10-17 15:09:05 +020022#define EC_LENOVO_H8_ME_WORKAROUND 1
Zaolina823f9b2014-05-06 21:31:45 +020023
24DefinitionBlock(
25 "dsdt.aml",
26 "DSDT",
27 0x02, // DSDT revision: ACPI v2.0
28 "COREv4", // OEM id
29 "COREBOOT", // OEM table id
30 0x20110725 // OEM revision
31)
32{
Vladimir Serbinenkoe2887582015-05-17 00:20:52 +020033 #include <southbridge/intel/bd82x6x/acpi/platform.asl>
34
Zaolina823f9b2014-05-06 21:31:45 +020035 // Some generic macros
36 #include "acpi/platform.asl"
37
38 // global NVS and variables
39 #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
40
Zaolina823f9b2014-05-06 21:31:45 +020041 #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>
Zaolina823f9b2014-05-06 21:31:45 +020051 }
52 }
53
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +020054 /*
55 * LPC Trusted Platform Module
56 */
57 Scope (\_SB.PCI0.LPCB)
58 {
59 #include <drivers/pc80/tpm/acpi/tpm.asl>
60 }
61
Zaolina823f9b2014-05-06 21:31:45 +020062 /* Chipset specific sleep states */
63 #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
64}