summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/kbl-u/variants
diff options
context:
space:
mode:
authorJeremy Soller <jeremy@system76.com>2021-04-09 10:51:31 -0600
committerPatrick Georgi <pgeorgi@google.com>2021-11-02 19:23:15 +0000
commit9037f0a831d2054371484babedc964550308dd59 (patch)
treed9167530e172a0238500bc50ed65c3d91ee9af67 /src/mainboard/system76/kbl-u/variants
parente747bdda1b466f4b5ab2267c28ebf254d20fdafc (diff)
mb/system76/kbl-u: Add System76 Galago Pro 3 Rev B
Change-Id: I25464d3a2dd02e613a8392db90b1eaf0f9b3ca70 Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52217 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/system76/kbl-u/variants')
-rw-r--r--src/mainboard/system76/kbl-u/variants/galp3-b/data.vbtbin0 -> 4608 bytes
-rw-r--r--src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c33
-rw-r--r--src/mainboard/system76/kbl-u/variants/galp3-b/overridetree.cb5
3 files changed, 38 insertions, 0 deletions
diff --git a/src/mainboard/system76/kbl-u/variants/galp3-b/data.vbt b/src/mainboard/system76/kbl-u/variants/galp3-b/data.vbt
new file mode 100644
index 0000000000..92bd9813dc
--- /dev/null
+++ b/src/mainboard/system76/kbl-u/variants/galp3-b/data.vbt
Binary files differ
diff --git a/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c b/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c
new file mode 100644
index 0000000000..a7c927f82a
--- /dev/null
+++ b/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c
@@ -0,0 +1,33 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/azalia_device.h>
+
+const u32 cim_verb_data[] = {
+ /* Realtek, ALC269VC */
+ 0x10ec0269, /* Vendor ID */
+ 0x15581414, /* Subsystem ID */
+ 11, /* Number of entries */
+ AZALIA_SUBVENDOR(0, 0x15581414),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60140),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170120),
+ AZALIA_PIN_CFG(0, 0x15, 0x02211010),
+ AZALIA_PIN_CFG(0, 0x17, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x18, 0x02a11030),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x40f4a205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+ /* Intel, KabylakeHDMI */
+ 0x8086280b, /* Vendor ID */
+ 0x80860101, /* Subsystem ID */
+ 4, /* Number of entries */
+ AZALIA_SUBVENDOR(2, 0x80860101),
+ AZALIA_PIN_CFG(2, 0x05, 0x18560010),
+ AZALIA_PIN_CFG(2, 0x06, 0x18560010),
+ AZALIA_PIN_CFG(2, 0x07, 0x18560010),
+};
+
+const u32 pc_beep_verbs[] = {};
+
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/system76/kbl-u/variants/galp3-b/overridetree.cb b/src/mainboard/system76/kbl-u/variants/galp3-b/overridetree.cb
new file mode 100644
index 0000000000..134fbec7a7
--- /dev/null
+++ b/src/mainboard/system76/kbl-u/variants/galp3-b/overridetree.cb
@@ -0,0 +1,5 @@
+chip soc/intel/skylake
+ device domain 0 on
+ subsystemid 0x1558 0x1413 inherit
+ end
+end