blob: 94bfe63360fcbed97ed1907a3d4ea81dd71ff1a5 [file] [log] [blame]
Angel Pons560796c2020-04-03 01:22:52 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Piotr Króldcd2f172016-05-27 12:04:13 +02002
3/* DefinitionBlock Statement */
Furquan Shaikh76cedd22020-05-02 10:24:23 -07004#include <acpi/acpi.h>
Piotr Króldcd2f172016-05-27 12:04:13 +02005DefinitionBlock (
Elyes HAOUAS2bfaabc2020-10-01 17:03:55 +02006 "dsdt.aml",
Elyes HAOUAS37509d72020-10-01 17:11:56 +02007 "DSDT",
Elyes HAOUAS90d00de2020-10-05 16:38:53 +02008 ACPI_DSDT_REV_2,
Elyes HAOUAS6d19a202018-11-22 11:15:29 +01009 OEM_ID,
10 ACPI_TABLE_CREATOR,
Piotr Króldcd2f172016-05-27 12:04:13 +020011 0x00010001 /* OEM Revision */
12 )
13{ /* Start of ASL file */
Piotr Króldcd2f172016-05-27 12:04:13 +020014
15 /* Globals for the platform */
16 #include "acpi/mainboard.asl"
17
18 /* Describe the USB Overcurrent pins */
19 #include "acpi/usb_oc.asl"
20
21 /* PCI IRQ mapping for the Southbridge */
22 #include <southbridge/amd/pi/hudson/acpi/pcie.asl>
23
Michał Żygowski9550e972020-03-20 13:56:46 +010024 /* Describe the processor tree (\_SB) */
Piotr Króldcd2f172016-05-27 12:04:13 +020025 #include <cpu/amd/pi/00730F01/acpi/cpu.asl>
26
27 /* Contains the supported sleep states for this chipset */
Kyösti Mälkki390ba042017-08-07 21:42:46 +030028 #include <southbridge/amd/common/acpi/sleepstates.asl>
Piotr Króldcd2f172016-05-27 12:04:13 +020029
30 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
31 #include "acpi/sleep.asl"
32
33 /* System Bus */
34 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUASd37a5bc2018-05-28 13:42:22 +020035 /* global utility methods expected within the \_SB scope */
Piotr Króldcd2f172016-05-27 12:04:13 +020036 #include <arch/x86/acpi/globutil.asl>
37
38 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
39 #include "acpi/routing.asl"
40
Piotr Króldcd2f172016-05-27 12:04:13 +020041 Device(PCI0) {
42 /* Describe the AMD Northbridge */
43 #include <northbridge/amd/pi/00730F01/acpi/northbridge.asl>
44
45 /* Describe the AMD Fusion Controller Hub Southbridge */
46 #include <southbridge/amd/pi/hudson/acpi/fch.asl>
47 }
48
49 /* Describe PCI INT[A-H] for the Southbridge */
50 #include <southbridge/amd/pi/hudson/acpi/pci_int.asl>
51
52 } /* End \_SB scope */
53
54 /* Describe SMBUS for the Southbridge */
55 #include <southbridge/amd/pi/hudson/acpi/smbus.asl>
56
57 /* Define the General Purpose Events for the platform */
58 #include "acpi/gpe.asl"
59
60 /* Define the System Indicators for the platform */
61 #include "acpi/si.asl"
62}
63/* End of ASL file */