blob: 7c13f0863ecc006787245235b28b0dde92cdf34e [file] [log] [blame]
Angel Ponsae593872020-04-04 18:50:57 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Martin Roth5c354b92019-04-22 14:55:16 -06002
Felix Heldc79c64b2023-06-01 21:52:05 +02003#include <soc/amd/common/acpi/pci_root.asl>
Felix Held41a59542023-12-19 22:33:46 +01004#include "globalnvs.asl"
Felix Heldc79c64b2023-06-01 21:52:05 +02005
Felix Held41a59542023-12-19 22:33:46 +01006/* Power state notification to ALIB */
7#include "pnot.asl"
Felix Heldc79c64b2023-06-01 21:52:05 +02008
Felix Held41a59542023-12-19 22:33:46 +01009/* Contains the supported sleep states for this chipset */
10#include <soc/amd/common/acpi/sleepstates.asl>
Martin Roth5c354b92019-04-22 14:55:16 -060011
Felix Held41a59542023-12-19 22:33:46 +010012/* Contains _SWS methods */
13#include <soc/amd/common/acpi/acpi_wake_source.asl>
Martin Roth5c354b92019-04-22 14:55:16 -060014
Felix Held41a59542023-12-19 22:33:46 +010015/* System Bus */
16Scope(\_SB) { /* Start \_SB scope */
17 /* global utility methods expected within the \_SB scope */
18 #include <arch/x86/acpi/globutil.asl>
Felix Held753827e2022-11-03 23:05:03 +010019
Felix Held41a59542023-12-19 22:33:46 +010020 ROOT_BRIDGE(PCI0)
Martin Roth5c354b92019-04-22 14:55:16 -060021
Felix Held41a59542023-12-19 22:33:46 +010022 Scope(PCI0) {
23 /* Describe the AMD Northbridge */
24 #include "northbridge.asl"
Martin Roth5c354b92019-04-22 14:55:16 -060025
Felix Held41a59542023-12-19 22:33:46 +010026 /* Describe the AMD Fusion Controller Hub */
27 #include <soc/amd/common/acpi/lpc.asl>
28 #include <soc/amd/common/acpi/platform.asl>
29 }
Tim Van Patten92443582022-08-23 16:06:33 -060030
Felix Held41a59542023-12-19 22:33:46 +010031 /* PCI IRQ mapping for the Southbridge */
32 #include "pci_int_defs.asl"
33
34 /* Describe PCI INT[A-H] for the Southbridge */
35 #include <soc/amd/common/acpi/pci_int.asl>
36
37 /* Describe the MMIO devices in the FCH */
38 #include "mmio.asl"
39
40 /* Add GPIO library */
41 #include <soc/amd/common/acpi/gpio_bank_lib.asl>
42
43 #if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC)
44 #include <soc/amd/common/acpi/dptc.asl>
45 #endif
46
47} /* End \_SB scope */