blob: 12f40f8c4133af70671f8f819018f1c66f26f468 [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
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#define THINKPAD_EC_GPE 17
23#define BRIGHTNESS_UP \_SB.PCI0.GFX0.LCD0.INCB
24#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.LCD0.DECB
25#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
26#define RP03_IS_EXPRESSCARD 1
27
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{
37 // Some generic macros
38 #include "acpi/platform.asl"
39 #include "acpi/mainboard.asl"
40
41 // global NVS and variables
42 #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
43
44 // General Purpose Events
45 //#include "acpi/gpe.asl"
46
47 #include <cpu/intel/model_206ax/acpi/cpu.asl>
48
49 Scope (\_SB) {
50 Device (PCI0)
51 {
52 #include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
53 #include <southbridge/intel/bd82x6x/acpi/pch.asl>
54 }
55 }
56
57 #include "acpi/video.asl"
58
59 /* Chipset specific sleep states */
60 #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
61}