mb/starlabs/starlite_adl: Configure CNVi Bluetooth I2S GPIOs
[coreboot.git] / src / mainboard / starlabs / starfighter / variants / rpl / hda_verb.c
blobd67676febca8875f59225536ba3fc41c560afb96
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/azalia_device.h>
5 const u32 cim_verb_data[] = {
6 /* coreboot specific header */
7 0x10ec0256, /* Codec Vendor / Device ID: Realtek ALC256 */
8 0x10ec1200, /* Subsystem ID */
9 32, /* Number of jacks (NID entries) */
11 /* Reset Codec First */
12 AZALIA_RESET(0x1),
14 /* HDA Codec Subsystem ID: 0x10EC1200 */
15 AZALIA_SUBVENDOR(0, 0x10ec1200),
17 AZALIA_PIN_CFG(0, 0x01, 0x00000000),
18 AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
19 AZALIA_PIN_CFG(0, 0x13, 0x40000000),
20 AZALIA_PIN_CFG(0, 0x14, 0x411111f0),
21 AZALIA_PIN_CFG(0, 0x18, 0x411111f0),
22 AZALIA_PIN_CFG(0, 0x19, 0x04a19040),
23 AZALIA_PIN_CFG(0, 0x1a, 0x411111f0),
24 AZALIA_PIN_CFG(0, 0x1b, 0x90170110),
25 AZALIA_PIN_CFG(0, 0x1d, 0x40689a6d),
26 AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
27 AZALIA_PIN_CFG(0, 0x21, 0x04214020),
29 /* Reset and Set LDO3 output to 1.2V */
30 0x0205001a,
31 0x0204c003,
32 0x02050019,
33 0x02040f52,
34 /* ALC256 Relay 1 */
35 0x0205001b,
36 0x0204064b,
37 0x02050045,
38 0x0204b089,
39 /* ALC256 Relay 2 */
40 0x02050046,
41 0x02040004,
42 0x02050040,
43 0x02048800,
46 * Equalizer:
48 * AGC
49 * Threshold: - 6.00 dB
50 * Front Boost: + 6.00 dB
51 * Post Boost: + 6.00 dB
53 * Low Pass Filter
54 * Boost Gain: Enabled
55 * BW: 200Hz
56 * Gain: + 4.00 dB
58 * Band Pass Filter 1
59 * Fc: 240Hz
60 * BW: 400Hz
61 * Gain: - 4.00 dB
63 * Band Pass Filter 2
64 * Fc: 16000Hz
65 * BW: 1000Hz
66 * Gain: + 12.00 dB
68 * High Pass Filter
69 * Boost Gain: Enabled
70 * BW: 200Hz
71 * Gain: - 4.00 dB
73 * Class D Amp
74 * Power: 2.5W
75 * Resistance: 4ohms
77 * EQ Output
78 * Left: + 0.00 dB
79 * Right: + 0.00 dB
81 * VARQ
82 * Q: 0.707
85 0x05350000,
86 0x053404DA,
87 0x0535001d,
88 0x05340800,
90 0x0535001e,
91 0x05340800,
92 0x05350003,
93 0x05341F7A,
95 0x05350004,
96 0x0534FA18,
97 0x0535000F,
98 0x0534C295,
100 0x05350010,
101 0x05341D73,
102 0x05350011,
103 0x0534FA18,
105 0x05350012,
106 0x05341E08,
107 0x05350013,
108 0x05341C10,
110 0x05350014,
111 0x05342FB2,
112 0x0535001B,
113 0x05341F2C,
115 0x0535001C,
116 0x0534095C,
117 0x05450000,
118 0x05440000,
120 0x0545001d,
121 0x05440800,
122 0x0545001e,
123 0x05440800,
125 0x05450003,
126 0x05441F7A,
127 0x05450004,
128 0x0544FA18,
130 0x0545000F,
131 0x0544C295,
132 0x05450010,
133 0x05441D73,
135 0x05450011,
136 0x0544FA18,
137 0x05450012,
138 0x05441E08,
140 0x05450013,
141 0x05441C10,
142 0x05450014,
143 0x05442FB2,
145 0x0545001B,
146 0x05441F2C,
147 0x0545001C,
148 0x0544095C,
150 0x05350000,
151 0x0534C4DA,
152 0x02050038,
153 0x02044901,
155 0x02050013,
156 0x0204422F,
157 0x02050016,
158 0x02044E50,
160 0x02050012,
161 0x0204EBC4,
162 0x02050020,
163 0x020451FF,
165 0x80862815, /* Codec Vendor / Device ID: Intel */
166 0x80860101, /* Subsystem ID */
167 10, /* Number of 4 dword sets */
169 AZALIA_SUBVENDOR(2, 0x80860101),
171 AZALIA_PIN_CFG(2, 0x04, 0x18560010),
172 AZALIA_PIN_CFG(2, 0x06, 0x18560010),
173 AZALIA_PIN_CFG(2, 0x08, 0x18561010),
174 AZALIA_PIN_CFG(2, 0x0a, 0x18561010),
175 AZALIA_PIN_CFG(2, 0x0b, 0x18561010),
176 AZALIA_PIN_CFG(2, 0x0c, 0x18561010),
177 AZALIA_PIN_CFG(2, 0x0d, 0x18561010),
178 AZALIA_PIN_CFG(2, 0x0e, 0x18561010),
179 AZALIA_PIN_CFG(2, 0x0f, 0x18560010),
182 const u32 pc_beep_verbs[] = {};
184 AZALIA_ARRAY_SIZES;