mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / lenovo / x201 / dsdt.asl
blob42a10e605c17039050dc19a79ee030bc72f98fb6
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         0x20130325      /* OEM revision */
18         #include <acpi/dsdt_top.asl>
19         #include <southbridge/intel/common/acpi/platform.asl>
21         #include "acpi/platform.asl"
23         /* General Purpose Events */
24         #include "acpi/gpe.asl"
26         #include <cpu/intel/common/acpi/cpu.asl>
28         Scope (\_SB) {
29                 Device (PCI0)
30                 {
31                         #include <northbridge/intel/ironlake/acpi/ironlake.asl>
33                         /* TBD: Remove. */
34                         Name(\XHCI, 0)
35                         #include <southbridge/intel/bd82x6x/acpi/pch.asl>
37                         #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
38                 }
39                 #include <northbridge/intel/ironlake/acpi/uncore.asl>
40         }
42         #include <southbridge/intel/common/acpi/sleepstates.asl>
44         /* Dock support code */
45         #include "acpi/dock.asl"
47         #include <ec/lenovo/h8/acpi/thinklight.asl>