Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +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. |
Vladimir Serbinenko | b2939f7 | 2014-01-22 17:12:35 +0100 | [diff] [blame] | 6 | * Copyright (C) 2014 Vladimir Serbinenko |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 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. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
Patrick Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 19 | * Foundation, Inc. |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 20 | */ |
| 21 | |
| 22 | #define THINKPAD_EC_GPE 17 |
| 23 | #define BRIGHTNESS_UP \_SB.PCI0.GFX0.LCD0.INCB |
| 24 | #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.LCD0.DECB |
| 25 | #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 |
Vladimir Serbinenko | e0ceac3 | 2014-07-29 00:51:31 +0200 | [diff] [blame] | 26 | #define EC_LENOVO_H8_ME_WORKAROUND 1 |
Vladimir Serbinenko | 91337fd | 2014-08-20 22:46:14 +0200 | [diff] [blame] | 27 | #define HAVE_LCD_SCREEN 1 |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 28 | |
| 29 | DefinitionBlock( |
| 30 | "dsdt.aml", |
| 31 | "DSDT", |
| 32 | 0x02, // DSDT revision: ACPI v2.0 |
| 33 | "COREv4", // OEM id |
Vladimir Serbinenko | 4737b0c | 2014-01-22 17:12:56 +0100 | [diff] [blame] | 34 | "COREBOOT", // OEM table id |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 35 | 0x20110725 // OEM revision |
| 36 | ) |
| 37 | { |
Vladimir Serbinenko | e288758 | 2015-05-17 00:20:52 +0200 | [diff] [blame^] | 38 | #include <southbridge/intel/bd82x6x/acpi/platform.asl> |
| 39 | |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 40 | // Some generic macros |
| 41 | #include "acpi/platform.asl" |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 42 | |
| 43 | // global NVS and variables |
| 44 | #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl> |
| 45 | |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 46 | #include <cpu/intel/model_206ax/acpi/cpu.asl> |
| 47 | |
| 48 | Scope (\_SB) { |
| 49 | Device (PCI0) |
| 50 | { |
| 51 | #include <northbridge/intel/sandybridge/acpi/sandybridge.asl> |
| 52 | #include <southbridge/intel/bd82x6x/acpi/pch.asl> |
| 53 | } |
| 54 | } |
| 55 | |
Vladimir Serbinenko | e7e9502 | 2014-01-12 15:26:15 +0100 | [diff] [blame] | 56 | /* Chipset specific sleep states */ |
| 57 | #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl> |
| 58 | } |