Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
Patrick Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 18 | * Foundation, Inc. |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 19 | */ |
| 20 | |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 21 | #include "smi.h" |
| 22 | |
Vladimir Serbinenko | eb13b6f | 2013-11-26 10:13:28 +0100 | [diff] [blame] | 23 | #define THINKPAD_EC_GPE 28 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 24 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 25 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
Vladimir Serbinenko | d781343 | 2013-12-07 12:19:08 +0100 | [diff] [blame] | 26 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
Vladimir Serbinenko | eb13b6f | 2013-11-26 10:13:28 +0100 | [diff] [blame] | 27 | |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 28 | DefinitionBlock( |
| 29 | "dsdt.aml", |
| 30 | "DSDT", |
| 31 | 0x03, // DSDT revision: ACPI v3.0 |
| 32 | "COREv4", // OEM id |
Paul Menzel | d2e0e29 | 2013-02-04 10:31:34 +0100 | [diff] [blame] | 33 | "COREBOOT", // OEM table id |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 34 | 0x20090419 // OEM revision |
| 35 | ) |
| 36 | { |
| 37 | // Some generic macros |
| 38 | #include "acpi/platform.asl" |
| 39 | |
| 40 | // global NVS and variables |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 41 | #include <southbridge/intel/i82801gx/acpi/globalnvs.asl> |
Paul Menzel | 8fc5c64 | 2015-10-13 21:19:49 +0200 | [diff] [blame^] | 42 | #include <southbridge/intel/common/acpi/platform.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 43 | |
| 44 | // General Purpose Events |
| 45 | #include "acpi/gpe.asl" |
| 46 | |
| 47 | // mainboard specific devices |
| 48 | #include "acpi/mainboard.asl" |
| 49 | |
Paul Menzel | 469f593 | 2015-10-13 21:07:32 +0200 | [diff] [blame] | 50 | #include <cpu/intel/common/acpi/cpu.asl> |
Vladimir Serbinenko | 24813c1 | 2014-10-16 10:39:06 +0200 | [diff] [blame] | 51 | |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 52 | Scope (\_SB) { |
| 53 | Device (PCI0) |
| 54 | { |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 55 | #include <northbridge/intel/i945/acpi/i945.asl> |
| 56 | #include <southbridge/intel/i82801gx/acpi/ich7.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 57 | } |
| 58 | } |
| 59 | |
| 60 | /* Chipset specific sleep states */ |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 61 | #include <southbridge/intel/i82801gx/acpi/sleepstates.asl> |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 62 | |
| 63 | // Dock support code |
| 64 | #include "acpi/dock.asl" |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 65 | } |