mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / starlabs / starbook / variants / rpl / hda_verb.c
blob507a0bcf8b4e3a61be2edd0028b9ac1257b673e4
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/azalia_device.h>
4 #include <stdint.h>
6 const u32 cim_verb_data[] = {
7 /* coreboot specific header */
8 0x10ec0269, /* Codec Vendor / Device ID: Realtek ALC269 */
9 0x1e507007, /* Subsystem ID */
10 17, /* Number of jacks (NID entries) */
12 /* Reset Codec First */
13 AZALIA_RESET(0x1),
15 /* HDA Codec Subsystem ID Verb-table */
16 AZALIA_SUBVENDOR(0, 0x1e507007),
18 /* Pin Widget Verb-table */
19 AZALIA_PIN_CFG(0, 0x01, 0x00000000),
20 AZALIA_PIN_CFG(0, 0x12, 0x90a61120),
21 AZALIA_PIN_CFG(0, 0x14, 0x90171110),
22 AZALIA_PIN_CFG(0, 0x17, 0x40000000),
23 AZALIA_PIN_CFG(0, 0x18, 0x04a19030),
24 AZALIA_PIN_CFG(0, 0x19, 0x04ab1020),
25 AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)),
26 AZALIA_PIN_CFG(0, 0x1b, AZALIA_PIN_CFG_NC(0)),
27 AZALIA_PIN_CFG(0, 0x1d, AZALIA_PIN_CFG_NC(0)),
28 AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)),
29 AZALIA_PIN_CFG(0, 0x21, 0x042b1010),
31 /* ALC269 Default 1 */
32 0x02050011,
33 0x02041410,
34 0x02050012,
35 0x02042901,
37 /* ALC269 Default 2 */
38 0x0205000d,
39 0x02044440,
40 0x02050007,
41 0x02040040,
43 /* ALC269 Default 3 */
44 0x02050002,
45 0x0204aab8,
46 0x02050008,
47 0x02040300,
49 /* ALC269 Default 4 */
50 0x02050017,
51 0x020400af,
52 0x02050005,
53 0x020400c0,
55 0x80862815, /* Codec Vendor / Device ID: Intel */
56 0x80860101, /* Subsystem ID */
57 10, /* Number of 4 dword sets */
59 AZALIA_SUBVENDOR(2, 0x80860101),
61 AZALIA_PIN_CFG(2, 0x04, 0x18560010),
62 AZALIA_PIN_CFG(2, 0x06, 0x18560010),
63 AZALIA_PIN_CFG(2, 0x08, 0x18561010),
64 AZALIA_PIN_CFG(2, 0x0a, 0x18561010),
65 AZALIA_PIN_CFG(2, 0x0b, 0x18561010),
66 AZALIA_PIN_CFG(2, 0x0c, 0x18561010),
67 AZALIA_PIN_CFG(2, 0x0d, 0x18561010),
68 AZALIA_PIN_CFG(2, 0x0e, 0x18561010),
69 AZALIA_PIN_CFG(2, 0x0f, 0x18560010),
72 const u32 pc_beep_verbs[] = {};
74 AZALIA_ARRAY_SIZES;