blob: 827a2eadb2e0eb31e4f43b3f77eca28cd55452f9 [file] [log] [blame]
Nicolas Reinecke572795b2014-12-29 19:57:29 +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.
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.
Nicolas Reinecke572795b2014-12-29 19:57:29 +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
Nicolas Reinecke572795b2014-12-29 19:57:29 +010021#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
22#define EC_LENOVO_H8_ME_WORKAROUND 1
23#define HAVE_LCD_SCREEN 1
24
25DefinitionBlock(
26 "dsdt.aml",
27 "DSDT",
28 0x02, // DSDT revision: ACPI v2.0
29 "COREv4", // OEM id
30 "COREBOOT", // OEM table id
31 0x20110725 // OEM revision
32)
33{
Vladimir Serbinenkoe2887582015-05-17 00:20:52 +020034 #include <southbridge/intel/bd82x6x/acpi/platform.asl>
35
Nicolas Reinecke572795b2014-12-29 19:57:29 +010036 // Some generic macros
37 #include "acpi/platform.asl"
38
39 // global NVS and variables
40 #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
41
42 #include <cpu/intel/model_206ax/acpi/cpu.asl>
43
44 Scope (\_SB) {
45 Device (PCI0)
46 {
47 #include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
48 #include <southbridge/intel/bd82x6x/acpi/pch.asl>
Kyösti Mälkkia4823222015-06-06 11:03:12 +030049 #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl>
Nico Huber954a55b2015-08-27 13:31:46 +020050
51 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
Nicolas Reinecke572795b2014-12-29 19:57:29 +010052 }
53 }
54
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +020055 /*
56 * LPC Trusted Platform Module
57 */
58 Scope (\_SB.PCI0.LPCB)
59 {
60 #include <drivers/pc80/tpm/acpi/tpm.asl>
61 }
62
Nicolas Reinecke572795b2014-12-29 19:57:29 +010063 /* Chipset specific sleep states */
64 #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
65}