/ src / mainboard / google / dedede / dsdt.asl
dsdt.asl
 1  /* SPDX-License-Identifier: GPL-2.0-or-later */
 2  
 3  #include <acpi/acpi.h>
 4  #include <variant/ec.h>
 5  #include <variant/gpio.h>
 6  
 7  DefinitionBlock(
 8  	"dsdt.aml",
 9  	"DSDT",
10  	ACPI_DSDT_REV_2,
11  	OEM_ID,
12  	ACPI_TABLE_CREATOR,
13  	0x20110725
14  )
15  {
16  	#include <acpi/dsdt_top.asl>
17  	#include <soc/intel/common/block/acpi/acpi/platform.asl>
18  	#include <soc/intel/common/block/acpi/acpi/globalnvs.asl>
19  	#include <cpu/intel/common/acpi/cpu.asl>
20  
21  	Scope (\_SB) {
22  		Device (PCI0)
23  		{
24  			#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
25  			#include <soc/intel/jasperlake/acpi/southbridge.asl>
26  			#include <drivers/intel/gma/acpi/default_brightness_levels.asl>
27  		}
28  	}
29  
30  #if CONFIG(VARIANT_HAS_CAMERA_ACPI)
31  	/* Camera */
32  	#include <variant/acpi/camera.asl>
33  #endif
34  
35  	#include <southbridge/intel/common/acpi/sleepstates.asl>
36  
37  	/* ChromeOS Embedded Controller */
38  	Scope (\_SB.PCI0.LPCB)
39  	{
40  		/* ACPI code for EC SuperIO functions */
41  		#include <ec/google/chromeec/acpi/superio.asl>
42  		/* ACPI code for EC functions */
43  		#include <ec/google/chromeec/acpi/ec.asl>
44          }
45  }