2016-09-21 04:36:08 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 Advanced Micro Devices, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* DefinitionBlock Statement */
|
|
|
|
DefinitionBlock (
|
|
|
|
"DSDT.AML", /* Output filename */
|
|
|
|
"DSDT", /* Signature */
|
|
|
|
0x02, /* DSDT Revision, needs to be 2 for 64bit */
|
|
|
|
"AMD ", /* OEMID */
|
|
|
|
"COREBOOT", /* TABLE ID */
|
|
|
|
0x00010001 /* OEM Revision */
|
|
|
|
)
|
|
|
|
{ /* Start of ASL file */
|
2017-06-23 20:02:23 +02:00
|
|
|
/* #include <arch/x86/acpi/debug.asl> */ /* as needed */
|
2016-09-21 04:36:08 +02:00
|
|
|
|
2017-11-11 00:48:45 +01:00
|
|
|
/* global NVS and variables */
|
|
|
|
#include <globalnvs.asl>
|
|
|
|
|
2016-09-21 04:36:08 +02:00
|
|
|
/* Globals for the platform */
|
|
|
|
#include "acpi/mainboard.asl"
|
|
|
|
|
|
|
|
/* Describe the USB Overcurrent pins */
|
|
|
|
#include "acpi/usb_oc.asl"
|
|
|
|
|
|
|
|
/* PCI IRQ mapping for the Southbridge */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <pcie.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Describe the processor tree (\_PR) */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <cpu.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Contains the supported sleep states for this chipset */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <sleepstates.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Contains the Sleep methods (WAK, PTS, GTS, etc.) */
|
|
|
|
#include "acpi/sleep.asl"
|
|
|
|
|
|
|
|
/* System Bus */
|
|
|
|
Scope(\_SB) { /* Start \_SB scope */
|
2017-05-06 00:15:31 +02:00
|
|
|
/* global utility methods expected within the \_SB scope */
|
2016-09-21 04:36:08 +02:00
|
|
|
#include <arch/x86/acpi/globutil.asl>
|
|
|
|
|
2017-06-23 20:02:23 +02:00
|
|
|
/* IRQ Routing mapping for this platform (in \_SB scope) */
|
2016-09-21 04:36:08 +02:00
|
|
|
#include "acpi/routing.asl"
|
|
|
|
|
|
|
|
Device(PWRB) {
|
|
|
|
Name(_HID, EISAID("PNP0C0C"))
|
|
|
|
Name(_UID, 0xAA)
|
|
|
|
Name(_PRW, Package () {3, 0x04})
|
|
|
|
Name(_STA, 0x0B)
|
|
|
|
}
|
|
|
|
|
|
|
|
Device(PCI0) {
|
|
|
|
/* Describe the AMD Northbridge */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <northbridge.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Describe the AMD Fusion Controller Hub Southbridge */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <fch.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Describe PCI INT[A-H] for the Southbridge */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <pci_int.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Describe the devices in the Southbridge */
|
|
|
|
#include "acpi/carrizo_fch.asl"
|
|
|
|
|
|
|
|
} /* End \_SB scope */
|
|
|
|
|
|
|
|
/* Describe SMBUS for the Southbridge */
|
2017-05-06 00:15:31 +02:00
|
|
|
#include <smbus.asl>
|
2016-09-21 04:36:08 +02:00
|
|
|
|
|
|
|
/* Define the General Purpose Events for the platform */
|
|
|
|
#include "acpi/gpe.asl"
|
|
|
|
}
|
|
|
|
/* End of ASL file */
|