blob: 827f0c643dcbd0d9e87ca265295588ed9ab293e5 [file] [log] [blame]
Angel Pons89ab2502020-04-03 01:22:28 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Sven Schnellee8a7df82011-02-16 15:04:59 +00002
Vladimir Serbinenkoeb13b6f2013-11-26 10:13:28 +01003#define THINKPAD_EC_GPE 28
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01004#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
5#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
Vladimir Serbinenkoeb13b6f2013-11-26 10:13:28 +01006
Furquan Shaikh76cedd22020-05-02 10:24:23 -07007#include <acpi/acpi.h>
Sven Schnellee8a7df82011-02-16 15:04:59 +00008DefinitionBlock(
9 "dsdt.aml",
10 "DSDT",
Elyes HAOUAS90d00de2020-10-05 16:38:53 +020011 ACPI_DSDT_REV_2,
Elyes HAOUAS6d19a202018-11-22 11:15:29 +010012 OEM_ID,
13 ACPI_TABLE_CREATOR,
Sven Schnellee8a7df82011-02-16 15:04:59 +000014 0x20090419 // OEM revision
15)
16{
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020017 #include <acpi/dsdt_top.asl>
Sven Schnellee8a7df82011-02-16 15:04:59 +000018 #include "acpi/platform.asl"
19
20 // global NVS and variables
Patrick Georgi91bd3062012-02-16 19:16:14 +010021 #include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
Paul Menzel8fc5c642015-10-13 21:19:49 +020022 #include <southbridge/intel/common/acpi/platform.asl>
Sven Schnellee8a7df82011-02-16 15:04:59 +000023
24 // General Purpose Events
25 #include "acpi/gpe.asl"
26
27 // mainboard specific devices
28 #include "acpi/mainboard.asl"
29
Arthur Heymans0a4e0fd2018-01-06 18:40:23 +010030 #include <cpu/intel/speedstep/acpi/cpu.asl>
Vladimir Serbinenko24813c12014-10-16 10:39:06 +020031
Sven Schnellee8a7df82011-02-16 15:04:59 +000032 Scope (\_SB) {
33 Device (PCI0)
34 {
Patrick Georgi91bd3062012-02-16 19:16:14 +010035 #include <northbridge/intel/i945/acpi/i945.asl>
36 #include <southbridge/intel/i82801gx/acpi/ich7.asl>
Sven Schnellee8a7df82011-02-16 15:04:59 +000037 }
38 }
39
Subrata Banik2715cdb2019-10-30 16:48:19 +053040 #include <southbridge/intel/common/acpi/sleepstates.asl>
Sven Schnelleffcd1432011-04-11 19:43:32 +000041
42 // Dock support code
43 #include "acpi/dock.asl"
Sven Schnellee8a7df82011-02-16 15:04:59 +000044}