Angel Pons | 2dfba37 | 2020-04-03 01:21:55 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 2 | |
| 3 | /* DefinitionBlock Statement */ |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 4 | #include <acpi/acpi.h> |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 5 | DefinitionBlock ( |
Elyes HAOUAS | 2bfaabc | 2020-10-01 17:03:55 +0200 | [diff] [blame] | 6 | "dsdt.aml", |
Elyes HAOUAS | 37509d7 | 2020-10-01 17:11:56 +0200 | [diff] [blame] | 7 | "DSDT", |
Elyes HAOUAS | 90d00de | 2020-10-05 16:38:53 +0200 | [diff] [blame] | 8 | ACPI_DSDT_REV_2, |
Elyes HAOUAS | 6d19a20 | 2018-11-22 11:15:29 +0100 | [diff] [blame] | 9 | OEM_ID, |
| 10 | ACPI_TABLE_CREATOR, |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 11 | 0x00010001 /* OEM Revision */ |
| 12 | ) |
| 13 | { /* Start of ASL file */ |
Kyösti Mälkki | cf246d5 | 2021-01-21 08:17:00 +0200 | [diff] [blame] | 14 | #include <acpi/dsdt_top.asl> |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 15 | |
| 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ł Żygowski | 9550e97 | 2020-03-20 13:56:46 +0100 | [diff] [blame] | 25 | /* Describe the processor tree (\_SB) */ |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 26 | #include <cpu/amd/agesa/family16kb/acpi/cpu.asl> |
| 27 | |
| 28 | /* Contains the supported sleep states for this chipset */ |
Kyösti Mälkki | 390ba04 | 2017-08-07 21:42:46 +0300 | [diff] [blame] | 29 | #include <southbridge/amd/common/acpi/sleepstates.asl> |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 30 | |
| 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 HAOUAS | 5e4b8ad | 2018-05-28 13:29:48 +0200 | [diff] [blame] | 36 | /* global utility methods expected within the \_SB scope */ |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 37 | #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" |
Dave Frodin | c43bce5 | 2014-12-03 08:22:46 -0700 | [diff] [blame] | 70 | } |
| 71 | /* End of ASL file */ |