mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / lenovo / t400 / dsdt.asl
blobf9c682f9dcfa82cc3d60ad9e749173457ad2a483
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #define THINKPAD_EC_GPE 17
4 #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
5 #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
6 #define EC_LENOVO_H8_ME_WORKAROUND 1
8 #include <acpi/acpi.h>
9 DefinitionBlock(
10         "dsdt.aml",
11         "DSDT",
12         ACPI_DSDT_REV_2,
13         OEM_ID,
14         ACPI_TABLE_CREATOR,
15         0x20090419      // OEM revision
18         #include <acpi/dsdt_top.asl>
19         #include "acpi/platform.asl"
21         // global NVS and variables
22         #include <southbridge/intel/i82801ix/acpi/globalnvs.asl>
23         #include <southbridge/intel/common/acpi/platform.asl>
25         // General Purpose Events
26         #include "acpi/gpe.asl"
28         #include <cpu/intel/speedstep/acpi/cpu.asl>
30         Scope (\_SB) {
31                 Device (PCI0)
32                 {
33                         #include <northbridge/intel/gm45/acpi/gm45.asl>
34                         #include <southbridge/intel/i82801ix/acpi/ich9.asl>
36                         #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
37                 }
38         }
40         #include <southbridge/intel/common/acpi/sleepstates.asl>
42         /* Hybrid graphics support code */
43         #include "acpi/graphics.asl"
45         /* Dock support code */
46         #include "acpi/dock.asl"
48         #include <ec/lenovo/h8/acpi/thinklight.asl>