summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-d510ud/acpi
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-04-17 02:25:11 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-03-03 08:59:36 +0000
commitebd4dfa53e2102b3ec0ac0df06c6d0ecf7550aac (patch)
tree59e38bb01f1bc1c4884b829b70bcc8d11a8716e1 /src/mainboard/gigabyte/ga-d510ud/acpi
parent27545df163033c77a37f666909c116011fd17617 (diff)
mb/gigabyte: Add GA-D510UD
Booted fine on the first try. Most things work properly, but I haven't tested them thoroughly. Native raminit chokes with a DIMM in the second slot, but the first slot works properly. Change-Id: I2126c7d31e0d8a8f80df69fdcdcd202b87f219a4 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40465 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/gigabyte/ga-d510ud/acpi')
-rw-r--r--src/mainboard/gigabyte/ga-d510ud/acpi/ec.asl0
-rw-r--r--src/mainboard/gigabyte/ga-d510ud/acpi/ich7_pci_irqs.asl21
-rw-r--r--src/mainboard/gigabyte/ga-d510ud/acpi/superio.asl17
3 files changed, 38 insertions, 0 deletions
diff --git a/src/mainboard/gigabyte/ga-d510ud/acpi/ec.asl b/src/mainboard/gigabyte/ga-d510ud/acpi/ec.asl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-d510ud/acpi/ec.asl
diff --git a/src/mainboard/gigabyte/ga-d510ud/acpi/ich7_pci_irqs.asl b/src/mainboard/gigabyte/ga-d510ud/acpi/ich7_pci_irqs.asl
new file mode 100644
index 0000000000..d6e6bef668
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-d510ud/acpi/ich7_pci_irqs.asl
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* This is the IRQ routing for the 0:1e.0 PCI bridge of the NM10 */
+
+If (PICM) {
+ Return (Package() {
+ Package() { 0x0000ffff, 0, 0, 0x15},
+ Package() { 0x0000ffff, 1, 0, 0x16},
+ Package() { 0x0000ffff, 2, 0, 0x17},
+ Package() { 0x0000ffff, 3, 0, 0x14},
+ Package() { 0x0001ffff, 0, 0, 0x13},
+ })
+} Else {
+ Return (Package() {
+ Package() { 0x0000ffff, 0, \_SB.PCI0.LPCB.LNKF, 0},
+ Package() { 0x0000ffff, 1, \_SB.PCI0.LPCB.LNKG, 0},
+ Package() { 0x0000ffff, 2, \_SB.PCI0.LPCB.LNKH, 0},
+ Package() { 0x0000ffff, 3, \_SB.PCI0.LPCB.LNKE, 0},
+ Package() { 0x0001ffff, 0, \_SB.PCI0.LPCB.LNKD, 0},
+ })
+}
diff --git a/src/mainboard/gigabyte/ga-d510ud/acpi/superio.asl b/src/mainboard/gigabyte/ga-d510ud/acpi/superio.asl
new file mode 100644
index 0000000000..c67e5d8e81
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-d510ud/acpi/superio.asl
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#undef SUPERIO_DEV
+#undef SUPERIO_PNP_BASE
+#undef IT8720F_SHOW_SP1
+#undef IT8720F_SHOW_SP2
+#undef IT8720F_SHOW_EC
+#undef IT8720F_SHOW_KBCK
+#undef IT8720F_SHOW_KBCM
+#define SUPERIO_DEV SIO0
+#define SUPERIO_PNP_BASE 0x2e
+#define IT8720F_SHOW_SP1
+#define IT8720F_SHOW_SP2
+#define IT8720F_SHOW_EC
+#define IT8720F_SHOW_KBCK
+#define IT8720F_SHOW_KBCM
+#include <superio/ite/it8720f/acpi/superio.asl>