Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2007-2009 coresystems GmbH |
| 5 | * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. |
| 6 | * Copyright (C) 2014 Vladimir Serbinenko |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; version 2 of the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 16 | */ |
| 17 | |
| 18 | #define THINKPAD_EC_GPE 17 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 19 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB |
| 20 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 21 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
Nicolas Reinecke | 85f2e12 | 2014-10-17 15:09:05 +0200 | [diff] [blame] | 22 | #define EC_LENOVO_H8_ME_WORKAROUND 1 |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 23 | |
| 24 | DefinitionBlock( |
| 25 | "dsdt.aml", |
| 26 | "DSDT", |
| 27 | 0x02, // DSDT revision: ACPI v2.0 |
| 28 | "COREv4", // OEM id |
| 29 | "COREBOOT", // OEM table id |
| 30 | 0x20110725 // OEM revision |
| 31 | ) |
| 32 | { |
Vladimir Serbinenko | e288758 | 2015-05-17 00:20:52 +0200 | [diff] [blame] | 33 | #include <southbridge/intel/bd82x6x/acpi/platform.asl> |
| 34 | |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 35 | // Some generic macros |
| 36 | #include "acpi/platform.asl" |
| 37 | |
| 38 | // global NVS and variables |
| 39 | #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl> |
| 40 | |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 41 | #include <cpu/intel/model_206ax/acpi/cpu.asl> |
| 42 | |
| 43 | Scope (\_SB) { |
| 44 | Device (PCI0) |
| 45 | { |
| 46 | #include <northbridge/intel/sandybridge/acpi/sandybridge.asl> |
| 47 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
Kyösti Mälkki | a482322 | 2015-06-06 11:03:12 +0300 | [diff] [blame] | 48 | #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl> |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 49 | |
| 50 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 51 | } |
| 52 | } |
| 53 | |
Philipp Deppenwiese | 3d02b9c | 2015-06-03 23:09:36 +0200 | [diff] [blame] | 54 | /* |
| 55 | * LPC Trusted Platform Module |
| 56 | */ |
| 57 | Scope (\_SB.PCI0.LPCB) |
| 58 | { |
| 59 | #include <drivers/pc80/tpm/acpi/tpm.asl> |
| 60 | } |
| 61 | |
Zaolin | a823f9b | 2014-05-06 21:31:45 +0200 | [diff] [blame] | 62 | /* Chipset specific sleep states */ |
| 63 | #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl> |
| 64 | } |