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. |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 17 | #include "smi.h" |
| 18 | |
Vladimir Serbinenko | eb13b6f | 2013-11-26 10:13:28 +0100 | [diff] [blame] | 19 | #define THINKPAD_EC_GPE 28 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 20 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 21 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
Vladimir Serbinenko | d781343 | 2013-12-07 12:19:08 +0100 | [diff] [blame] | 22 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
Vladimir Serbinenko | eb13b6f | 2013-11-26 10:13:28 +0100 | [diff] [blame] | 23 | |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 24 | DefinitionBlock( |
| 25 | "dsdt.aml", |
| 26 | "DSDT", |
| 27 | 0x03, // DSDT revision: ACPI v3.0 |
| 28 | "COREv4", // OEM id |
Paul Menzel | d2e0e29 | 2013-02-04 10:31:34 +0100 | [diff] [blame] | 29 | "COREBOOT", // OEM table id |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 30 | 0x20090419 // OEM revision |
| 31 | ) |
| 32 | { |
| 33 | // Some generic macros |
| 34 | #include "acpi/platform.asl" |
| 35 | |
| 36 | // global NVS and variables |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 37 | #include <southbridge/intel/i82801gx/acpi/globalnvs.asl> |
Paul Menzel | 8fc5c64 | 2015-10-13 21:19:49 +0200 | [diff] [blame] | 38 | #include <southbridge/intel/common/acpi/platform.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 39 | |
| 40 | // General Purpose Events |
| 41 | #include "acpi/gpe.asl" |
| 42 | |
| 43 | // mainboard specific devices |
| 44 | #include "acpi/mainboard.asl" |
| 45 | |
Paul Menzel | 469f593 | 2015-10-13 21:07:32 +0200 | [diff] [blame] | 46 | #include <cpu/intel/common/acpi/cpu.asl> |
Vladimir Serbinenko | 24813c1 | 2014-10-16 10:39:06 +0200 | [diff] [blame] | 47 | |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 48 | Scope (\_SB) { |
| 49 | Device (PCI0) |
| 50 | { |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 51 | #include <northbridge/intel/i945/acpi/i945.asl> |
| 52 | #include <southbridge/intel/i82801gx/acpi/ich7.asl> |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 53 | } |
| 54 | } |
| 55 | |
| 56 | /* Chipset specific sleep states */ |
Patrick Georgi | 91bd306 | 2012-02-16 19:16:14 +0100 | [diff] [blame] | 57 | #include <southbridge/intel/i82801gx/acpi/sleepstates.asl> |
Sven Schnelle | ffcd143 | 2011-04-11 19:43:32 +0000 | [diff] [blame] | 58 | |
| 59 | // Dock support code |
| 60 | #include "acpi/dock.asl" |
Sven Schnelle | e8a7df8 | 2011-02-16 15:04:59 +0000 | [diff] [blame] | 61 | } |