cpu/intel/common: Use a common acpi/cpu.asl file
[coreboot.git] / src / mainboard / sapphire / pureplatinumh61 / dsdt.asl
blob60ba44b6aadffceca4479caef04f890bac2b8ccc
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2017 Nicola Corna <nicola@corna.info>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
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.
15  */
17 #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
18 #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
19 #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
20 #include <arch/acpi.h>
21 DefinitionBlock(
22         "dsdt.aml",
23         "DSDT",
24         0x02,           // DSDT revision: ACPI v2.0 and up
25         OEM_ID,
26         ACPI_TABLE_CREATOR,
27         0x20141018      // OEM revision
30         // Some generic macros
31         #include "acpi/platform.asl"
32         #include <cpu/intel/common/acpi/cpu.asl>
33         #include <southbridge/intel/bd82x6x/acpi/platform.asl>
34         /* global NVS and variables.  */
35         #include <southbridge/intel/bd82x6x/acpi/globalnvs.asl>
36         #include <southbridge/intel/bd82x6x/acpi/sleepstates.asl>
38         Scope (\_SB) {
39                 Device (PCI0)
40                 {
41                 #include <northbridge/intel/sandybridge/acpi/sandybridge.asl>
42                 #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
43                 #include <southbridge/intel/bd82x6x/acpi/pch.asl>
44                 }
45         }