diff options
author | Tim Crawford <tcrawford@system76.com> | 2021-04-01 15:49:33 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-20 12:11:28 +0000 |
commit | f8ba8980fd1f4d4b3f5869e8574c7e94f9f43952 (patch) | |
tree | 69cc4b6bf8ac52616f02a60a866594aaaae00a8b /src/mainboard/system76/cml-u/variants | |
parent | ccbbb1bbd4e2f5908e6a4959d6396f68facff8a2 (diff) |
mb/system76/cml-u: Add System76 Galago Pro 4
Change-Id: I3dfa2ab430439d8dc71531b92aa7800db94d603b
Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52034
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/cml-u/variants')
-rw-r--r-- | src/mainboard/system76/cml-u/variants/galp4/board_info.txt | 1 | ||||
-rw-r--r-- | src/mainboard/system76/cml-u/variants/galp4/data.vbt | bin | 0 -> 4608 bytes | |||
-rw-r--r-- | src/mainboard/system76/cml-u/variants/galp4/hda_verb.c | 26 | ||||
-rw-r--r-- | src/mainboard/system76/cml-u/variants/galp4/overridetree.cb | 8 |
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 Binary files differnew file mode 100644 index 0000000000..d70c3fbb59 --- /dev/null +++ b/src/mainboard/system76/cml-u/variants/galp4/data.vbt 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 |