Angel Pons | 5f1bf2f | 2020-04-03 01:21:16 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [diff] [blame] | 2 | |
| 3 | /* DefinitionBlock Statement */ |
Furquan Shaikh | 76cedd2 | 2020-05-02 10:24:23 -0700 | [diff] [blame] | 4 | #include <acpi/acpi.h> |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [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, |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [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> |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [diff] [blame] | 15 | |
| 16 | /* Globals for the platform */ |
| 17 | #include "acpi/mainboard.asl" |
| 18 | |
| 19 | /* PCI IRQ mapping for the Southbridge */ |
| 20 | #include <southbridge/amd/agesa/hudson/acpi/pcie.asl> |
| 21 | |
Michał Żygowski | 9550e97 | 2020-03-20 13:56:46 +0100 | [diff] [blame] | 22 | /* Describe the processor tree (\_SB) */ |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [diff] [blame] | 23 | #include <cpu/amd/agesa/family16kb/acpi/cpu.asl> |
| 24 | |
| 25 | /* Contains the supported sleep states for this chipset */ |
| 26 | #include <southbridge/amd/common/acpi/sleepstates.asl> |
| 27 | |
| 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 HAOUAS | d54e859 | 2018-05-28 13:18:17 +0200 | [diff] [blame] | 33 | /* global utility methods expected within the \_SB scope */ |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [diff] [blame] | 34 | #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 | |
| 39 | Device(PWRB) { |
| 40 | Name(_HID, EISAID("PNP0C0C")) |
| 41 | Name(_UID, 0xAA) |
| 42 | Name(_PRW, Package () {3, 0x04}) |
| 43 | Name(_STA, 0x0B) |
| 44 | } |
| 45 | |
| 46 | Device(PCI0) { |
| 47 | /* Describe the AMD Northbridge */ |
| 48 | #include <northbridge/amd/agesa/family16kb/acpi/northbridge.asl> |
| 49 | |
| 50 | /* Describe the AMD Fusion Controller Hub Southbridge */ |
| 51 | #include <southbridge/amd/agesa/hudson/acpi/fch.asl> |
| 52 | } |
| 53 | |
| 54 | /* Describe PCI INT[A-H] for the Southbridge */ |
| 55 | #include <southbridge/amd/agesa/hudson/acpi/pci_int.asl> |
| 56 | |
| 57 | } /* End \_SB scope */ |
| 58 | |
| 59 | /* Describe SMBUS for the Southbridge */ |
| 60 | #include <southbridge/amd/agesa/hudson/acpi/smbus.asl> |
Gergely Kiss | 3dce9f0 | 2017-12-27 15:24:04 +0100 | [diff] [blame] | 61 | } |
| 62 | /* End of ASL file */ |