summaryrefslogtreecommitdiff
path: root/src/mainboard/system76/cml-u/variants
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/system76/cml-u/variants')
-rw-r--r--src/mainboard/system76/cml-u/variants/galp4/board_info.txt1
-rw-r--r--src/mainboard/system76/cml-u/variants/galp4/data.vbtbin0 -> 4608 bytes
-rw-r--r--src/mainboard/system76/cml-u/variants/galp4/hda_verb.c26
-rw-r--r--src/mainboard/system76/cml-u/variants/galp4/overridetree.cb8
4 files changed, 35 insertions, 0 deletions
diff --git a/src/mainboard/system76/cml-u/variants/galp4/board_info.txt b/src/mainboard/system76/cml-u/variants/galp4/board_info.txt
new file mode 100644
index 0000000000..f1f061fd92
--- /dev/null
+++ b/src/mainboard/system76/cml-u/variants/galp4/board_info.txt
@@ -0,0 +1 @@
+Board name: galp4
diff --git a/src/mainboard/system76/cml-u/variants/galp4/data.vbt b/src/mainboard/system76/cml-u/variants/galp4/data.vbt
new file mode 100644
index 0000000000..d70c3fbb59
--- /dev/null
+++ b/src/mainboard/system76/cml-u/variants/galp4/data.vbt
Binary files differ
diff --git a/src/mainboard/system76/cml-u/variants/galp4/hda_verb.c b/src/mainboard/system76/cml-u/variants/galp4/hda_verb.c
new file mode 100644
index 0000000000..1b04604bb1
--- /dev/null
+++ b/src/mainboard/system76/cml-u/variants/galp4/hda_verb.c
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/azalia_device.h>
+
+const u32 cim_verb_data[] = {
+ /* Realtek ALC293 */
+ 0x10ec0293, /* Vendor ID */
+ 0x15581403, /* Subsystem ID */
+ 12, /* Number of entries */
+ AZALIA_SUBVENDOR(0, 0x15581403),
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
+ AZALIA_PIN_CFG(0, 0x13, 0x40000000),
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+ AZALIA_PIN_CFG(0, 0x15, 0x02211020),
+ AZALIA_PIN_CFG(0, 0x16, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x18, 0x02a11040),
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+ AZALIA_PIN_CFG(0, 0x1d, 0x41738205),
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+};
+
+const u32 pc_beep_verbs[] = {};
+
+AZALIA_ARRAY_SIZES;
diff --git a/src/mainboard/system76/cml-u/variants/galp4/overridetree.cb b/src/mainboard/system76/cml-u/variants/galp4/overridetree.cb
new file mode 100644
index 0000000000..f6c61498be
--- /dev/null
+++ b/src/mainboard/system76/cml-u/variants/galp4/overridetree.cb
@@ -0,0 +1,8 @@
+chip soc/intel/cannonlake
+ device domain 0 on
+ subsystemid 0x1558 0x1403 inherit
+ device pci 15.0 on
+ # I2C HID not supported on galp4
+ end # I2C #0
+ end
+end