Nicolas Reinecke | 572795b | 2014-12-29 19:57:29 +0100 | [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. |
Nicolas Reinecke | 572795b | 2014-12-29 19:57:29 +0100 | [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 |
Nicolas Reinecke | 572795b | 2014-12-29 19:57:29 +0100 | [diff] [blame] | 21 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
| 22 | #define EC_LENOVO_H8_ME_WORKAROUND 1 |
| 23 | #define HAVE_LCD_SCREEN 1 |
| 24 | |
| 25 | DefinitionBlock( |
| 26 | "dsdt.aml", |
| 27 | "DSDT", |
| 28 | 0x02, // DSDT revision: ACPI v2.0 |
| 29 | "COREv4", // OEM id |
| 30 | "COREBOOT", // OEM table id |
| 31 | 0x20110725 // OEM revision |
| 32 | ) |
| 33 | { |
Vladimir Serbinenko | e288758 | 2015-05-17 00:20:52 +0200 | [diff] [blame] | 34 | #include <southbridge/intel/bd82x6x/acpi/platform.asl> |
| 35 | |
Nicolas Reinecke | 572795b | 2014-12-29 19:57:29 +0100 | [diff] [blame] | 36 | // Some generic macros |
| 37 | #include "acpi/platform.asl" |
| 38 | |
| 39 | // global NVS and variables |
| 40 | #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl> |
| 41 | |
| 42 | #include <cpu/intel/model_206ax/acpi/cpu.asl> |
| 43 | |
| 44 | Scope (\_SB) { |
| 45 | Device (PCI0) |
| 46 | { |
| 47 | #include <northbridge/intel/sandybridge/acpi/sandybridge.asl> |
| 48 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
Kyösti Mälkki | a482322 | 2015-06-06 11:03:12 +0300 | [diff] [blame] | 49 | #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl> |
Nico Huber | 954a55b | 2015-08-27 13:31:46 +0200 | [diff] [blame] | 50 | |
| 51 | #include <drivers/intel/gma/acpi/default_brightness_levels.asl> |
Nicolas Reinecke | 572795b | 2014-12-29 19:57:29 +0100 | [diff] [blame] | 52 | } |
| 53 | } |
| 54 | |
Philipp Deppenwiese | 3d02b9c | 2015-06-03 23:09:36 +0200 | [diff] [blame] | 55 | /* |
| 56 | * LPC Trusted Platform Module |
| 57 | */ |
| 58 | Scope (\_SB.PCI0.LPCB) |
| 59 | { |
| 60 | #include <drivers/pc80/tpm/acpi/tpm.asl> |
| 61 | } |
| 62 | |
Nicolas Reinecke | 572795b | 2014-12-29 19:57:29 +0100 | [diff] [blame] | 63 | /* Chipset specific sleep states */ |
| 64 | #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl> |
| 65 | } |