From d00febc99bd83be74e6f1d2386e36eea5051578b Mon Sep 17 00:00:00 2001 From: Bill XIE Date: Thu, 26 Aug 2021 19:12:13 +0800 Subject: mb/supermicro: Add X9SAE and X9SAE-V Mainboard information can be found in the included documentation. Change-Id: I9dfc58bb99e14cd9dac2ac53afc0ea11d2252aa9 Signed-off-by: Bill XIE Reviewed-on: https://review.coreboot.org/c/coreboot/+/57191 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/supermicro/x9sae/acpi/ec.asl | 0 src/mainboard/supermicro/x9sae/acpi/pci.asl | 51 ++++++++++++++++++++++++ src/mainboard/supermicro/x9sae/acpi/platform.asl | 10 +++++ src/mainboard/supermicro/x9sae/acpi/superio.asl | 0 4 files changed, 61 insertions(+) create mode 100644 src/mainboard/supermicro/x9sae/acpi/ec.asl create mode 100644 src/mainboard/supermicro/x9sae/acpi/pci.asl create mode 100644 src/mainboard/supermicro/x9sae/acpi/platform.asl create mode 100644 src/mainboard/supermicro/x9sae/acpi/superio.asl (limited to 'src/mainboard/supermicro/x9sae/acpi') diff --git a/src/mainboard/supermicro/x9sae/acpi/ec.asl b/src/mainboard/supermicro/x9sae/acpi/ec.asl new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/mainboard/supermicro/x9sae/acpi/pci.asl b/src/mainboard/supermicro/x9sae/acpi/pci.asl new file mode 100644 index 0000000000..72b497c2ef --- /dev/null +++ b/src/mainboard/supermicro/x9sae/acpi/pci.asl @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +// Intel PCI to PCI bridge 0:1e.0 + +Device (PCIB) +{ + Name (_ADR, 0x001E0000) // _ADR: Address + Name (_PRW, Package(){ 13, 4 }) // Power Resources for Wake + + Method (_PRT) // _PRT: PCI Interrupt Routing Table + { + If (PICM) { + Return (Package() { + Package() { 0x0001ffff, 0, 0, 0x16 }, + Package() { 0x0001ffff, 1, 0, 0x15 }, + Package() { 0x0001ffff, 2, 0, 0x14 }, + Package() { 0x0001ffff, 3, 0, 0x13 }, + Package() { 0x0002ffff, 0, 0, 0x12 }, + Package() { 0x0002ffff, 1, 0, 0x13 }, + Package() { 0x0002ffff, 2, 0, 0x11 }, + Package() { 0x0002ffff, 3, 0, 0x10 }, + Package() { 0x0003ffff, 0, 0, 0x13 }, + Package() { 0x0003ffff, 1, 0, 0x12 }, + Package() { 0x0003ffff, 2, 0, 0x15 }, + Package() { 0x0003ffff, 3, 0, 0x16 }, + Package() { 0x0000ffff, 0, 0, 0x10 }, + Package() { 0x0000ffff, 1, 0, 0x11 }, + Package() { 0x0000ffff, 2, 0, 0x12 }, + Package() { 0x0000ffff, 3, 0, 0x13 }, + }) + } + Return (Package() { + Package() { 0x0001ffff, 0, \_SB.PCI0.LPCB.LNKG, 0 }, + Package() { 0x0001ffff, 1, \_SB.PCI0.LPCB.LNKF, 0 }, + Package() { 0x0001ffff, 2, \_SB.PCI0.LPCB.LNKE, 0 }, + Package() { 0x0001ffff, 3, \_SB.PCI0.LPCB.LNKH, 0 }, + Package() { 0x0002ffff, 0, \_SB.PCI0.LPCB.LNKC, 0 }, + Package() { 0x0002ffff, 1, \_SB.PCI0.LPCB.LNKD, 0 }, + Package() { 0x0002ffff, 2, \_SB.PCI0.LPCB.LNKB, 0 }, + Package() { 0x0002ffff, 3, \_SB.PCI0.LPCB.LNKA, 0 }, + Package() { 0x0003ffff, 0, \_SB.PCI0.LPCB.LNKD, 0 }, + Package() { 0x0003ffff, 1, \_SB.PCI0.LPCB.LNKC, 0 }, + Package() { 0x0003ffff, 2, \_SB.PCI0.LPCB.LNKF, 0 }, + Package() { 0x0003ffff, 3, \_SB.PCI0.LPCB.LNKG, 0 }, + Package() { 0x0000ffff, 0, \_SB.PCI0.LPCB.LNKA, 0 }, + Package() { 0x0000ffff, 1, \_SB.PCI0.LPCB.LNKB, 0 }, + Package() { 0x0000ffff, 2, \_SB.PCI0.LPCB.LNKC, 0 }, + Package() { 0x0000ffff, 3, \_SB.PCI0.LPCB.LNKD, 0 }, + }) + } +} diff --git a/src/mainboard/supermicro/x9sae/acpi/platform.asl b/src/mainboard/supermicro/x9sae/acpi/platform.asl new file mode 100644 index 0000000000..aff432b6f4 --- /dev/null +++ b/src/mainboard/supermicro/x9sae/acpi/platform.asl @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +Method(_WAK, 1) +{ + Return(Package() {0, 0}) +} + +Method(_PTS, 1) +{ +} diff --git a/src/mainboard/supermicro/x9sae/acpi/superio.asl b/src/mainboard/supermicro/x9sae/acpi/superio.asl new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3