summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/tgl-u/variants/galp5/include
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2022-07-17 16:26:23 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-07-23 20:04:35 +0000
commit990d792ac71a4649d9a35bb01bdde98bb826e45b (patch)
tree6cb68d4f6305cd2a4124f27b3107c826f6513e83 /src/mainboard/system76/tgl-u/variants/galp5/include
parent146caa7e428314fe7bc99fc23aecf30208ebfb7e (diff)
mb/system76/tgl-u: Convert galp5 to a variant
Change-Id: I49185352002f6df2f9e9ab9c39d44cc9247b41b5 Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64527 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/tgl-u/variants/galp5/include')
-rw-r--r--src/mainboard/system76/tgl-u/variants/galp5/include/variant/gpio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/system76/tgl-u/variants/galp5/include/variant/gpio.h b/src/mainboard/system76/tgl-u/variants/galp5/include/variant/gpio.h
new file mode 100644
index 0000000000..29a4dd22b8
--- /dev/null
+++ b/src/mainboard/system76/tgl-u/variants/galp5/include/variant/gpio.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <soc/gpio.h>
+
+#define DGPU_RST_N GPP_U4
+#define DGPU_PWR_EN GPP_U5
+#define DGPU_GC6 GPP_D2
+#define DGPU_SSID 0x40181558
+
+#endif