2020-04-03 01:22:28 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
/* This file is part of the coreboot project. */
|
2011-02-16 16:04:59 +01:00
|
|
|
|
2013-11-26 10:13:28 +01:00
|
|
|
#define THINKPAD_EC_GPE 28
|
2014-10-31 09:16:31 +01:00
|
|
|
#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
|
|
|
|
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
|
2013-12-07 12:19:08 +01:00
|
|
|
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
|
2013-11-26 10:13:28 +01:00
|
|
|
|
2018-11-22 11:15:29 +01:00
|
|
|
#include <arch/acpi.h>
|
2011-02-16 16:04:59 +01:00
|
|
|
DefinitionBlock(
|
|
|
|
"dsdt.aml",
|
|
|
|
"DSDT",
|
2018-11-13 14:23:29 +01:00
|
|
|
0x02, // DSDT revision: ACPI v2.0 and up
|
2018-11-22 11:15:29 +01:00
|
|
|
OEM_ID,
|
|
|
|
ACPI_TABLE_CREATOR,
|
2011-02-16 16:04:59 +01:00
|
|
|
0x20090419 // OEM revision
|
|
|
|
)
|
|
|
|
{
|
|
|
|
#include "acpi/platform.asl"
|
|
|
|
|
|
|
|
// global NVS and variables
|
2012-02-16 19:16:14 +01:00
|
|
|
#include <southbridge/intel/i82801gx/acpi/globalnvs.asl>
|
2015-10-13 21:19:49 +02:00
|
|
|
#include <southbridge/intel/common/acpi/platform.asl>
|
2011-02-16 16:04:59 +01:00
|
|
|
|
|
|
|
// General Purpose Events
|
|
|
|
#include "acpi/gpe.asl"
|
|
|
|
|
|
|
|
// mainboard specific devices
|
|
|
|
#include "acpi/mainboard.asl"
|
|
|
|
|
2018-01-06 18:40:23 +01:00
|
|
|
#include <cpu/intel/speedstep/acpi/cpu.asl>
|
2014-10-16 10:39:06 +02:00
|
|
|
|
2011-02-16 16:04:59 +01:00
|
|
|
Scope (\_SB) {
|
|
|
|
Device (PCI0)
|
|
|
|
{
|
2012-02-16 19:16:14 +01:00
|
|
|
#include <northbridge/intel/i945/acpi/i945.asl>
|
|
|
|
#include <southbridge/intel/i82801gx/acpi/ich7.asl>
|
2011-02-16 16:04:59 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-30 12:18:19 +01:00
|
|
|
#include <southbridge/intel/common/acpi/sleepstates.asl>
|
2011-04-11 21:43:32 +02:00
|
|
|
|
|
|
|
// Dock support code
|
|
|
|
#include "acpi/dock.asl"
|
2011-02-16 16:04:59 +01:00
|
|
|
}
|