blob: c86cf27f67c2c10163037434acfa22b7b275a8e5 [file] [log] [blame]
Angel Pons381c4eb2020-04-03 01:22:06 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Kyösti Mälkkie75deb62014-06-26 09:12:54 +03002
3/* DefinitionBlock Statement */
Furquan Shaikh76cedd22020-05-02 10:24:23 -07004#include <acpi/acpi.h>
Kyösti Mälkkie75deb62014-06-26 09:12:54 +03005DefinitionBlock (
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,
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030011 0x00010001 /* OEM Revision */
12 )
13{ /* Start of ASL file */
Kyösti Mälkkicf246d52021-01-21 08:17:00 +020014 #include <acpi/dsdt_top.asl>
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030015
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/agesa/hudson/acpi/pcie.asl>
24
Michał Żygowski9550e972020-03-20 13:56:46 +010025 /* Describe the processor tree (\_SB) */
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030026 #include <cpu/amd/agesa/family16kb/acpi/cpu.asl>
27
28 /* Contains the supported sleep states for this chipset */
Kyösti Mälkki390ba042017-08-07 21:42:46 +030029 #include <southbridge/amd/common/acpi/sleepstates.asl>
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030030
31 /* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
32 #include "acpi/sleep.asl"
33
34 /* System Bus */
35 Scope(\_SB) { /* Start \_SB scope */
Elyes HAOUAS7bbcb4c2018-05-28 13:32:07 +020036 /* global utility methods expected within the \_SB scope */
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030037 #include <arch/x86/acpi/globutil.asl>
38
39 /* Describe IRQ Routing mapping for this platform (within the \_SB scope) */
40 #include "acpi/routing.asl"
41
42 Device(PWRB) {
43 Name(_HID, EISAID("PNP0C0C"))
44 Name(_UID, 0xAA)
45 Name(_PRW, Package () {3, 0x04})
46 Name(_STA, 0x0B)
47 }
48
49 Device(PCI0) {
50 /* Describe the AMD Northbridge */
51 #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl>
52
53 /* Describe the AMD Fusion Controller Hub Southbridge */
54 #include <southbridge/amd/agesa/hudson/acpi/fch.asl>
55 }
56
57 /* Describe PCI INT[A-H] for the Southbridge */
58 #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl>
59
60 } /* End \_SB scope */
61
62 /* Describe SMBUS for the Southbridge */
63 #include <southbridge/amd/agesa/hudson/acpi/smbus.asl>
64
65 /* Define the General Purpose Events for the platform */
66 #include "acpi/gpe.asl"
67
68 /* Define the Thermal zones and methods for the platform */
69 #include "acpi/thermal.asl"
Kyösti Mälkkie75deb62014-06-26 09:12:54 +030070}
71/* End of ASL file */