summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/pro_3500_series/acpi
diff options
context:
space:
mode:
authorJoel Linn <jl@conductive.de>2024-03-02 13:59:52 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-04-16 15:41:36 +0000
commita70493d5b2edadc221f59582aaaba96c72e304fc (patch)
treedf6d938cbf67688c8171a97e468ab2c9b43b4676 /src/mainboard/hp/pro_3500_series/acpi
parent934a32d7526e702d267f59f650c1651a73f8455f (diff)
mb/hp: Add Pro 3500 series (Sandy/Ivy Bridge)
This is another readily available (used market) system. Based on autoport. * All peripherals should work. * Automatic fan control as well as S3 are working. * The board was tested to boot Linux and Windows. EHCI debug is untested. * When using MrChromebox edk2 with secure boot build in, the board will hang on each boot for about 20 seconds before continuing. There are some quirks for doing the first flash, see the documentation. Change-Id: Idf793fe915096cf2553572964faec5c7f8526b9a Signed-off-by: Joel Linn <jl@conductive.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81368 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/hp/pro_3500_series/acpi')
-rw-r--r--src/mainboard/hp/pro_3500_series/acpi/ec.asl3
-rw-r--r--src/mainboard/hp/pro_3500_series/acpi/platform.asl10
-rw-r--r--src/mainboard/hp/pro_3500_series/acpi/superio.asl18
3 files changed, 31 insertions, 0 deletions
diff --git a/src/mainboard/hp/pro_3500_series/acpi/ec.asl b/src/mainboard/hp/pro_3500_series/acpi/ec.asl
new file mode 100644
index 0000000000..16990d45f4
--- /dev/null
+++ b/src/mainboard/hp/pro_3500_series/acpi/ec.asl
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: CC-PDDC */
+
+/* Please update the license if adding licensable material. */
diff --git a/src/mainboard/hp/pro_3500_series/acpi/platform.asl b/src/mainboard/hp/pro_3500_series/acpi/platform.asl
new file mode 100644
index 0000000000..aff432b6f4
--- /dev/null
+++ b/src/mainboard/hp/pro_3500_series/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/hp/pro_3500_series/acpi/superio.asl b/src/mainboard/hp/pro_3500_series/acpi/superio.asl
new file mode 100644
index 0000000000..829a391d27
--- /dev/null
+++ b/src/mainboard/hp/pro_3500_series/acpi/superio.asl
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* Values should match those defined in devicetree.cb */
+
+#undef SIO_ENABLE_FDC0 // pnp 2e.0: Disable Floppy Controller
+#undef SIO_ENABLE_COM1 // pnp 2e.1: Disable Serial Port 1
+#undef SIO_ENABLE_PS2K // pnp 2e.5: Disable PS/2 Keyboard
+#undef SIO_ENABLE_PS2M // pnp 2e.6: Disable PS/2 Mouse
+#undef SIO_ENABLE_INFR // pnp 2e.a: Disable Consumer IR
+
+#define SIO_ENABLE_ENVC // pnp 2e.4: Enable Environmental Controller
+#define SIO_ENVC_IO0 0xa30 // pnp 2e.4: io 0x60
+#define SIO_ENVC_IO1 0xa20 // pnp 2e.4: io 0x62
+#define SIO_ENABLE_GPIO // pnp 2e.7: Enable GPIO
+#define SIO_GPIO_IO0 0x0 // pnp 2e.7: io 0x60
+#define SIO_GPIO_IO1 0xa00 // pnp 2e.7: io 0x62
+
+#include <superio/ite/it8772f/acpi/superio.asl>