diff options
author | Tim Crawford <tcrawford@system76.com> | 2021-01-26 11:50:36 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-28 09:15:00 +0000 |
commit | fdc8fd3602eddabdbbd0d9d87329343160cec337 (patch) | |
tree | a722e6166794af7d2728cc477a81ccdd835f98b9 /src/mainboard/system76/oryp5/hda_verb.c | |
parent | 1ee8ddc484bf87b99d4ba80f6d4fb99ee043780e (diff) |
mb/system76/oryp5: Add System76 Oryx Pro 5
Tested with TianoCore payload (UefiPayloadPkg).
Working:
- PS/2 keyboard, touchpad
- Both DIMM slots
- Both NVMe ports
- SATA port
- All USB ports
- Webcam
- Ethernet
- Integrated graphics
- Internal microphone
- S3 suspend/resume
- Flashing with flashrom
- Booting to Ubuntu Linux and Windows
Not working:
- Discrete/Hybrid graphics
- Internal speakers
These two require new drivers to work correctly, which will be added and
enabled later.
Change-Id: Iae6e530dcd52df3642cdfe74b65bfff5aa0dd402
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Signed-off-by: Jeremy Soller <jeremy@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47892
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/system76/oryp5/hda_verb.c')
-rw-r--r-- | src/mainboard/system76/oryp5/hda_verb.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/system76/oryp5/hda_verb.c b/src/mainboard/system76/oryp5/hda_verb.c new file mode 100644 index 0000000000..a8e4abbad4 --- /dev/null +++ b/src/mainboard/system76/oryp5/hda_verb.c @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/azalia_device.h> + +const u32 cim_verb_data[] = { + /* Realtek, ALC1220 */ + 0x10ec1220, /* Vendor ID */ + 0x155896e1, /* Subsystem ID */ + 12, /* Number of entries */ + AZALIA_SUBVENDOR(0, 0x155896e1), + AZALIA_PIN_CFG(0, 0x12, 0x90a60140), // DMIC + AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D) + AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A) + AZALIA_PIN_CFG(0, 0x16, 0x411111f0), // CENTER/LFE (Port-G) + AZALIA_PIN_CFG(0, 0x17, 0x411111f0), // SIDE (Port-H) + AZALIA_PIN_CFG(0, 0x18, 0x04a11050), // MIC1 (Port-B) + AZALIA_PIN_CFG(0, 0x19, 0x411111f0), // MIC2 (Port-F) + AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), // LINE1 (Port-C) + AZALIA_PIN_CFG(0, 0x1b, 0x90170110), // LINE2 (Port-E) + AZALIA_PIN_CFG(0, 0x1d, 0x40b7952d), // PCBEEP + AZALIA_PIN_CFG(0, 0x1e, 0x04451130), // S/PDIF-OUT +}; + +const u32 pc_beep_verbs[] = { + // Enable DMIC microphone on ALC1220 + 0x02050036, + 0x02042a6a, +}; + +AZALIA_ARRAY_SIZES; |