blob: 924fb74e78d82902687517171b7f8dbe3a7fdaff [file] [log] [blame]
Noah Glovskycc93ce72016-04-19 15:43:17 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
Vladimir Serbinenko55f3e2f2015-05-29 22:07:29 +020014#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
15#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
16#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
17DefinitionBlock(
18 "dsdt.aml",
19 "DSDT",
20 0x03, // DSDT revision: ACPI v3.0
21 "COREv4", // OEM id
22 "COREBOOT", // OEM table id
23 0x20141018 // OEM revision
24)
25{
26 // Some generic macros
27 #include "acpi/platform.asl"
28 #include <cpu/intel/model_206ax/acpi/cpu.asl>
29 #include <southbridge/intel/bd82x6x/acpi/platform.asl>
30 /* global NVS and variables. */
31 #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
32 #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
33
34 Scope (\_SB) {
35 Device (PCI0)
36 {
37 #include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
38 #include <southbridge/intel/bd82x6x/acpi/pch.asl>
39 #include <southbridge/intel/bd82x6x/acpi/default_irq_route.asl>
Nico Huber954a55b2015-08-27 13:31:46 +020040
41 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
Vladimir Serbinenko55f3e2f2015-05-29 22:07:29 +020042 }
43 }
44}