summaryrefslogtreecommitdiffstats
path: root/src/mainboard/ocp/sonorapass/dsdt.asl
diff options
context:
space:
mode:
authorRyback Hung <ryback.hung%quantatw.com@gtempaccount.com>2020-04-16 19:34:03 -0700
committerAndrey Petrov <andrey.petrov@gmail.com>2020-05-01 16:40:11 +0000
commitf87ad9225c5dfafc266071bb4757065bca50966f (patch)
treec6690771411cc65c4923533ddf10a86fee0fd97f /src/mainboard/ocp/sonorapass/dsdt.asl
parentd2bbc68fa32ec60f8aa83870559beadbef0d1c9f (diff)
downloadcoreboot-f87ad9225c5dfafc266071bb4757065bca50966f.tar.gz
coreboot-f87ad9225c5dfafc266071bb4757065bca50966f.tar.bz2
coreboot-f87ad9225c5dfafc266071bb4757065bca50966f.zip
mb/ocp/sonorapass: Add Sonora Pass
Just a minimal set of board files needed to get it to boot in 1 CPU mode. Signed-off-by: Ryback Hung <ryback.hung%quantatw.com@gtempaccount.com> Change-Id: Ia7b45c78b38d091bd9535899b681746e13efb4fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/40469 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-by: Andrey Petrov <andrey.petrov@gmail.com>
Diffstat (limited to 'src/mainboard/ocp/sonorapass/dsdt.asl')
-rw-r--r--src/mainboard/ocp/sonorapass/dsdt.asl59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/mainboard/ocp/sonorapass/dsdt.asl b/src/mainboard/ocp/sonorapass/dsdt.asl
new file mode 100644
index 000000000000..3dc45d5f2c2d
--- /dev/null
+++ b/src/mainboard/ocp/sonorapass/dsdt.asl
@@ -0,0 +1,59 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
+
+#include <arch/acpi.h>
+#include <soc/iomap.h>
+
+DefinitionBlock(
+ "dsdt.aml",
+ "DSDT",
+ 0x02, // DSDT revision: ACPI v2.0 and up
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
+ 0x20110725 // OEM revision
+)
+{
+ #include "acpi/platform.asl"
+
+ Name(_S0, Package() { 0x00, 0x00, 0x00, 0x00 })
+ Name(_S5, Package() { 0x07, 0x00, 0x00, 0x00 })
+
+ Scope (\_SB)
+ {
+ Device (PCI0)
+ {
+ #include <soc/intel/xeon_sp/cpx/acpi/southcluster.asl>
+ #include <soc/intel/common/block/acpi/acpi/lpc.asl>
+
+ }
+
+
+ Device (UNC0)
+ {
+ Name (_HID, EisaId ("PNP0A03"))
+ Name (_UID, 0x3F)
+ Method (_BBN, 0, NotSerialized)
+ {
+ Return (0xff)
+ }
+
+ Method (_STA, 0, NotSerialized)
+ {
+ Return (0xf)
+ }
+
+ Name (_CRS, ResourceTemplate ()
+ {
+ WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
+ 0x0000, // Granularity
+ 0x00FF, // Range Minimum
+ 0x00FF, // Range Maximum
+ 0x0000, // Translation Offset
+ 0x0001, // Length
+ ,, )
+ })
+
+ }
+ }
+
+}