blob: 789be13280afa0f8a0d973942d888c1eccda97d2 [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 */
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020014 #include <acpi/dsdt_top.asl>
Piotr Króldcd2f172016-05-27 12:04:13 +020015
16 /* Globals for the platform */
17 #include "acpi/mainboard.asl"
18
19 /* Describe the USB Overcurrent pins */
20 #include "acpi/usb_oc.asl"
21
22 /* PCI IRQ mapping for the Southbridge */
23 #include <southbridge/amd/pi/hudson/acpi/pcie.asl>
24
Piotr Króldcd2f172016-05-27 12:04:13 +020025 /* Contains the supported sleep states for this chipset */
Kyösti Mälkki390ba042017-08-07 21:42:46 +030026 #include <southbridge/amd/common/acpi/sleepstates.asl>
Piotr Króldcd2f172016-05-27 12:04:13 +020027
28 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
29 #include "acpi/sleep.asl"
30
31 /* System Bus */
32 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUASd37a5bc2018-05-28 13:42:22 +020033 /* global utility methods expected within the \_SB scope */
Piotr Króldcd2f172016-05-27 12:04:13 +020034 #include <arch/x86/acpi/globutil.asl>
35
36 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
37 #include "acpi/routing.asl"
38
Piotr Króldcd2f172016-05-27 12:04:13 +020039 Device(PCI0) {
40 /* Describe the AMD Northbridge */
41 #include <northbridge/amd/pi/00730F01/acpi/northbridge.asl>
42
43 /* Describe the AMD Fusion Controller Hub Southbridge */
44 #include <southbridge/amd/pi/hudson/acpi/fch.asl>
45 }
46
47 /* Describe PCI INT[A-H] for the Southbridge */
48 #include <southbridge/amd/pi/hudson/acpi/pci_int.asl>
49
50 } /* End \_SB scope */
51
52 /* Describe SMBUS for the Southbridge */
53 #include <southbridge/amd/pi/hudson/acpi/smbus.asl>
54
55 /* Define the General Purpose Events for the platform */
56 #include "acpi/gpe.asl"
Piotr Króldcd2f172016-05-27 12:04:13 +020057}
58/* End of ASL file */