diff options
Diffstat (limited to 'src/mainboard/system76/whl-u/variants/darp5')
-rw-r--r-- | src/mainboard/system76/whl-u/variants/darp5/board_info.txt | 1 | ||||
-rw-r--r-- | src/mainboard/system76/whl-u/variants/darp5/data.vbt | bin | 0 -> 4608 bytes | |||
-rw-r--r-- | src/mainboard/system76/whl-u/variants/darp5/hda_verb.c | 35 | ||||
-rw-r--r-- | src/mainboard/system76/whl-u/variants/darp5/overridetree.cb | 15 |
4 files changed, 51 insertions, 0 deletions
diff --git a/src/mainboard/system76/whl-u/variants/darp5/board_info.txt b/src/mainboard/system76/whl-u/variants/darp5/board_info.txt new file mode 100644 index 000000000000..ae13988ff5e2 --- /dev/null +++ b/src/mainboard/system76/whl-u/variants/darp5/board_info.txt @@ -0,0 +1 @@ +Board name: darp5 diff --git a/src/mainboard/system76/whl-u/variants/darp5/data.vbt b/src/mainboard/system76/whl-u/variants/darp5/data.vbt Binary files differnew file mode 100644 index 000000000000..df819a107696 --- /dev/null +++ b/src/mainboard/system76/whl-u/variants/darp5/data.vbt diff --git a/src/mainboard/system76/whl-u/variants/darp5/hda_verb.c b/src/mainboard/system76/whl-u/variants/darp5/hda_verb.c new file mode 100644 index 000000000000..c36359091d03 --- /dev/null +++ b/src/mainboard/system76/whl-u/variants/darp5/hda_verb.c @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/azalia_device.h> + +const u32 cim_verb_data[] = { + /* Realtek ALC293 */ + 0x10ec0293, /* Vendor ID */ + 0x15581325, /* Subsystem ID */ + 12, /* Number of entries */ + AZALIA_SUBVENDOR(0, 0x15581325), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), + 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, 0x02a11050), + 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, 0x02451130), + + /* Intel GPU HDMI */ + 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/whl-u/variants/darp5/overridetree.cb b/src/mainboard/system76/whl-u/variants/darp5/overridetree.cb new file mode 100644 index 000000000000..4ae96ff09af4 --- /dev/null +++ b/src/mainboard/system76/whl-u/variants/darp5/overridetree.cb @@ -0,0 +1,15 @@ +chip soc/intel/cannonlake + device domain 0 on + subsystemid 0x1558 0x1325 inherit + device pci 15.0 on + chip drivers/i2c/hid + register "generic.hid" = ""PNP0C50"" + register "generic.desc" = ""Synaptics Touchpad"" + register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" + register "generic.probed" = "1" + register "hid_desc_reg_offset" = "0x20" + device i2c 2c on end + end + end # I2C #0 + end +end |