blob: c0424c707678185eafcfb525ec063a90a534da45 [file] [log] [blame]
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001/** @file
2
Kilari Raasieac71c02023-01-30 16:02:34 +05303Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07004
5Redistribution and use in source and binary forms, with or without modification,
6are permitted provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this
9 list of conditions and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this
11 list of conditions and the following disclaimer in the documentation and/or
12 other materials provided with the distribution.
13* Neither the name of Intel Corporation nor the names of its contributors may
14 be used to endorse or promote products derived from this software without
15 specific prior written permission.
16
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 THE POSSIBILITY OF SUCH DAMAGE.
28
29 This file is automatically generated. Please do NOT modify !!!
30
31**/
32
33#ifndef __FSPMUPD_H__
34#define __FSPMUPD_H__
35
36#include <FspUpd.h>
37
38#pragma pack(1)
39
40
41#include <MemInfoHob.h>
42
43///
44/// The ChipsetInit Info structure provides the information of ME ChipsetInit CRC and BIOS ChipsetInit CRC.
45///
46typedef struct {
47 UINT8 Revision; ///< Chipset Init Info Revision
48 UINT8 Rsvd[3]; ///< Reserved
49 UINT16 MeChipInitCrc; ///< 16 bit CRC value of MeChipInit Table
50 UINT16 BiosChipInitCrc; ///< 16 bit CRC value of PchChipInit Table
51} CHIPSET_INIT_INFO;
52
53
54/** Fsp M Configuration
55**/
56typedef struct {
57
58/** Offset 0x0040 - Platform Reserved Memory Size
59 The minimum platform memory size required to pass control into DXE
60**/
61 UINT64 PlatformMemorySize;
62
63/** Offset 0x0048 - SPD Data Length
64 Length of SPD Data
65 0x100:256 Bytes, 0x200:512 Bytes, 0x400:1024 Bytes
66**/
67 UINT16 MemorySpdDataLen;
68
Kapil Porwala42ad282022-07-07 18:28:30 +000069/** Offset 0x004A - Enable above 4GB MMIO resource support
70 Enable/disable above 4GB MMIO resource support
71 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070072**/
Kapil Porwala42ad282022-07-07 18:28:30 +000073 UINT8 EnableAbove4GBMmio;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070074
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -070075/** Offset 0x004B - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070076**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -070077 UINT8 Reserved0;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -070078
79/** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0
80 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
81**/
82 UINT32 MemorySpdPtr000;
83
84/** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1
85 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
86**/
87 UINT32 MemorySpdPtr001;
88
89/** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0
90 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
91**/
92 UINT32 MemorySpdPtr010;
93
94/** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1
95 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
96**/
97 UINT32 MemorySpdPtr011;
98
99/** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0
100 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
101**/
102 UINT32 MemorySpdPtr020;
103
104/** Offset 0x0060 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1
105 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
106**/
107 UINT32 MemorySpdPtr021;
108
109/** Offset 0x0064 - Memory SPD Pointer Controller 0 Channel 3 Dimm 0
110 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
111**/
112 UINT32 MemorySpdPtr030;
113
114/** Offset 0x0068 - Memory SPD Pointer Controller 0 Channel 3 Dimm 1
115 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
116**/
117 UINT32 MemorySpdPtr031;
118
119/** Offset 0x006C - Memory SPD Pointer Controller 1 Channel 0 Dimm 0
120 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
121**/
122 UINT32 MemorySpdPtr100;
123
124/** Offset 0x0070 - Memory SPD Pointer Controller 1 Channel 0 Dimm 1
125 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
126**/
127 UINT32 MemorySpdPtr101;
128
129/** Offset 0x0074 - Memory SPD Pointer Controller 1 Channel 1 Dimm 0
130 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
131**/
132 UINT32 MemorySpdPtr110;
133
134/** Offset 0x0078 - Memory SPD Pointer Controller 1 Channel 1 Dimm 1
135 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
136**/
137 UINT32 MemorySpdPtr111;
138
139/** Offset 0x007C - Memory SPD Pointer Controller 1 Channel 2 Dimm 0
140 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
141**/
142 UINT32 MemorySpdPtr120;
143
144/** Offset 0x0080 - Memory SPD Pointer Controller 1 Channel 2 Dimm 1
145 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
146**/
147 UINT32 MemorySpdPtr121;
148
149/** Offset 0x0084 - Memory SPD Pointer Controller 1 Channel 3 Dimm 0
150 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
151**/
152 UINT32 MemorySpdPtr130;
153
154/** Offset 0x0088 - Memory SPD Pointer Controller 1 Channel 3 Dimm 1
155 Pointer to SPD data, will be used only when SpdAddressTable SPD Address are marked as 00
156**/
157 UINT32 MemorySpdPtr131;
158
159/** Offset 0x008C - RcompResistor settings
160 Indicates RcompResistor settings: Board-dependent
161**/
162 UINT16 RcompResistor;
163
164/** Offset 0x008E - RcompTarget settings
165 RcompTarget settings: board-dependent
166**/
167 UINT16 RcompTarget[5];
168
169/** Offset 0x0098 - Dqs Map CPU to DRAM MC 0 CH 0
170 Set Dqs mapping relationship between CPU and DRAM, Channel 0: board-dependent
171**/
172 UINT8 DqsMapCpu2DramMc0Ch0[2];
173
174/** Offset 0x009A - Dqs Map CPU to DRAM MC 0 CH 1
175 Set Dqs mapping relationship between CPU and DRAM, Channel 1: board-dependent
176**/
177 UINT8 DqsMapCpu2DramMc0Ch1[2];
178
179/** Offset 0x009C - Dqs Map CPU to DRAM MC 0 CH 2
180 Set Dqs mapping relationship between CPU and DRAM, Channel 2: board-dependent
181**/
182 UINT8 DqsMapCpu2DramMc0Ch2[2];
183
184/** Offset 0x009E - Dqs Map CPU to DRAM MC 0 CH 3
185 Set Dqs mapping relationship between CPU and DRAM, Channel 3: board-dependent
186**/
187 UINT8 DqsMapCpu2DramMc0Ch3[2];
188
189/** Offset 0x00A0 - Dqs Map CPU to DRAM MC 1 CH 0
190 Set Dqs mapping relationship between CPU and DRAM, Channel 0: board-dependent
191**/
192 UINT8 DqsMapCpu2DramMc1Ch0[2];
193
194/** Offset 0x00A2 - Dqs Map CPU to DRAM MC 1 CH 1
195 Set Dqs mapping relationship between CPU and DRAM, Channel 1: board-dependent
196**/
197 UINT8 DqsMapCpu2DramMc1Ch1[2];
198
199/** Offset 0x00A4 - Dqs Map CPU to DRAM MC 1 CH 2
200 Set Dqs mapping relationship between CPU and DRAM, Channel 2: board-dependent
201**/
202 UINT8 DqsMapCpu2DramMc1Ch2[2];
203
204/** Offset 0x00A6 - Dqs Map CPU to DRAM MC 1 CH 3
205 Set Dqs mapping relationship between CPU and DRAM, Channel 3: board-dependent
206**/
207 UINT8 DqsMapCpu2DramMc1Ch3[2];
208
209/** Offset 0x00A8 - Dq Map CPU to DRAM MC 0 CH 0
210 Set Dq mapping relationship between CPU and DRAM, Channel 0: board-dependent
211**/
212 UINT8 DqMapCpu2DramMc0Ch0[16];
213
214/** Offset 0x00B8 - Dq Map CPU to DRAM MC 0 CH 1
215 Set Dq mapping relationship between CPU and DRAM, Channel 1: board-dependent
216**/
217 UINT8 DqMapCpu2DramMc0Ch1[16];
218
219/** Offset 0x00C8 - Dq Map CPU to DRAM MC 0 CH 2
220 Set Dq mapping relationship between CPU and DRAM, Channel 2: board-dependent
221**/
222 UINT8 DqMapCpu2DramMc0Ch2[16];
223
224/** Offset 0x00D8 - Dq Map CPU to DRAM MC 0 CH 3
225 Set Dq mapping relationship between CPU and DRAM, Channel 3: board-dependent
226**/
227 UINT8 DqMapCpu2DramMc0Ch3[16];
228
229/** Offset 0x00E8 - Dq Map CPU to DRAM MC 1 CH 0
230 Set Dq mapping relationship between CPU and DRAM, Channel 0: board-dependent
231**/
232 UINT8 DqMapCpu2DramMc1Ch0[16];
233
234/** Offset 0x00F8 - Dq Map CPU to DRAM MC 1 CH 1
235 Set Dq mapping relationship between CPU and DRAM, Channel 1: board-dependent
236**/
237 UINT8 DqMapCpu2DramMc1Ch1[16];
238
239/** Offset 0x0108 - Dq Map CPU to DRAM MC 1 CH 2
240 Set Dq mapping relationship between CPU and DRAM, Channel 2: board-dependent
241**/
242 UINT8 DqMapCpu2DramMc1Ch2[16];
243
244/** Offset 0x0118 - Dq Map CPU to DRAM MC 1 CH 3
245 Set Dq mapping relationship between CPU and DRAM, Channel 3: board-dependent
246**/
247 UINT8 DqMapCpu2DramMc1Ch3[16];
248
249/** Offset 0x0128 - Dqs Pins Interleaved Setting
250 Indicates DqPinsInterleaved setting: board-dependent
251 $EN_DIS
252**/
253 UINT8 DqPinsInterleaved;
254
Kapil Porwala42ad282022-07-07 18:28:30 +0000255/** Offset 0x0129 - Smram Mask
256 The SMM Regions AB-SEG and/or H-SEG reserved
257 0: Neither, 1:AB-SEG, 2:H-SEG, 3: Both
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700258**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000259 UINT8 SmramMask;
260
261/** Offset 0x012A - MRC Fast Boot
262 Enables/Disable the MRC fast path thru the MRC
263 $EN_DIS
264**/
265 UINT8 MrcFastBoot;
266
267/** Offset 0x012B - Rank Margin Tool per Task
268 This option enables the user to execute Rank Margin Tool per major training step
269 in the MRC.
270 $EN_DIS
271**/
272 UINT8 RmtPerTask;
273
274/** Offset 0x012C - Training Trace
275 This option enables the trained state tracing feature in MRC. This feature will
276 print out the key training parameters state across major training steps.
277 $EN_DIS
278**/
279 UINT8 TrainTrace;
280
281/** Offset 0x012D - Reserved
282**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700283 UINT8 Reserved1[3];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700284
285/** Offset 0x0130 - Tseg Size
286 Size of SMRAM memory reserved. 0x400000 for Release build and 0x1000000 for Debug build
287 0x0400000:4MB, 0x01000000:16MB
288**/
289 UINT32 TsegSize;
290
Kapil Porwala42ad282022-07-07 18:28:30 +0000291/** Offset 0x0134 - MMIO Size
292 Size of MMIO space reserved for devices. 0(Default)=Auto, non-Zero=size in MB
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700293**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000294 UINT16 MmioSize;
295
296/** Offset 0x0136 - Probeless Trace
297 Probeless Trace: 0=Disabled, 1=Enable. Enabling Probeless Trace will reserve 128MB.
298 This also requires IED to be enabled.
299 $EN_DIS
300**/
301 UINT8 ProbelessTrace;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700302
303/** Offset 0x0137 - Enable SMBus
304 Enable/disable SMBus controller.
305 $EN_DIS
306**/
307 UINT8 SmbusEnable;
308
309/** Offset 0x0138 - Spd Address Tabl
310 Specify SPD Address table for CH0D0/CH0D1/CH1D0&CH1D1. MemorySpdPtr will be used
311 if SPD Address is 00
312**/
313 UINT8 SpdAddressTable[16];
314
315/** Offset 0x0148 - Platform Debug Consent
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530316 Enabled Trace active: TraceHub is enabled and trace is active, blocks s0ix.\n
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700317 \n
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530318 Enabled Trace ready: TraceHub is enabled and allowed S0ix.\n
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700319 \n
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530320 Enabled Trace power off: TraceHub is powergated, provide setting close to functional
321 low power state\n
322 \n
323 Manual: user needs to configure Advanced Debug Settings manually, aimed at advanced users
324 0:Disabled, 2:Enabled Trace Active, 4:Enabled Trace Ready, 6:Enable Trace Power-Off, 7:Manual
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700325**/
vjadeja-intel0ddeaed2022-11-03 14:48:46 +0530326 UINT8 PlatformDebugOption;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700327
Kapil Porwala42ad282022-07-07 18:28:30 +0000328/** Offset 0x0149 - DCI Enable
329 Determine if to enable DCI debug from host
330 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700331**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000332 UINT8 DciEn;
333
334/** Offset 0x014A - Reserved
335**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700336 UINT8 Reserved2;
Kapil Porwala42ad282022-07-07 18:28:30 +0000337
338/** Offset 0x014B - DCI DbC Mode
339 Disabled: Clear both USB2/3DBCEN; USB2: set USB2DBCEN; USB3: set USB3DBCEN; Both:
340 Set both USB2/3DBCEN; No Change: Comply with HW value
341 0:Disabled, 1:USB2 DbC, 2:USB3 DbC, 3:Both, 4:No Change
342**/
343 UINT8 DciDbcMode;
344
345/** Offset 0x014C - USB3 Type-C UFP2DFP Kernel/Platform Debug Support
346 This BIOS option enables kernel and platform debug for USB3 interface over a UFP
347 Type-C receptacle, select 'No Change' will do nothing to UFP2DFP setting.
348 0:Disabled, 1:Enabled, 2:No Change
349**/
350 UINT8 DciUsb3TypecUfpDbg;
351
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530352/** Offset 0x014D - SOC Trace Hub Mode
353 Enable/Disable SOC TraceHub
354 $EN_DIS
Kapil Porwala42ad282022-07-07 18:28:30 +0000355**/
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530356 UINT8 SocTraceHubMode;
357
358/** Offset 0x014E - SOC Trace Hub Memory Region 0 buffer Size
359 Select size of memory region 0 buffer. Memory allocated by BIOS only applies to
360 ITH tool running on the host. For ITH tool running on the target, choose None/OS,
361 memory shall be allocated by tool. User should be cautious to choose the amount
362 of memory. If chosen size is larger than half of system memory, setup will automatically
363 rollback to default value.
364 0x00:1MB, 0x03:8MB, 0x06:64MB, 0x07:128MB, 0x08:256MB, 0x09:512MB, 0x0A:1GB, 0x0B:2GB,
365 0x0C:4GB, 0x0D:8GB, 0x0E:0MB
366**/
367 UINT16 SocTraceHubMemReg0Size;
368
369/** Offset 0x0150 - SOC Trace Hub Memory Region 1 buffer Size
370 Select size of memory region 1 buffer. Memory allocated by BIOS only applies to
371 ITH tool running on the host. For ITH tool running on the target, choose None/OS,
372 memory shall be allocated by tool. User should be cautious to choose the amount
373 of memory. If chosen size is larger than half of system memory, setup will automatically
374 rollback to default value.
375 0x00:1MB, 0x03:8MB, 0x06:64MB, 0x07:128MB, 0x08:256MB, 0x09:512MB, 0x0A:1GB, 0x0B:2GB,
376 0x0C:4GB, 0x0D:8GB, 0x0E:0MB
377**/
378 UINT16 SocTraceHubMemReg1Size;
379
380/** Offset 0x0152 - Reserved
381**/
382 UINT8 Reserved3;
Kapil Porwala42ad282022-07-07 18:28:30 +0000383
384/** Offset 0x0153 - PCH Trace Hub Mode
385 Enable/Disable PCH TraceHub
386 $EN_DIS
387**/
388 UINT8 PchTraceHubMode;
389
390/** Offset 0x0154 - PCH Trace Hub Memory Region 0 buffer Size
391 Select size of memory region 0 buffer. Memory allocated by BIOS only applies to
392 ITH tool running on the host. For ITH tool running on the target, choose None/OS,
393 memory shall be allocated by tool. User should be cautious to choose the amount
394 of memory. If chosen size is larger than half of system memory, setup will automatically
395 rollback to default value.
396 0x00:1MB, 0x03:8MB, 0x06:64MB, 0x07:128MB, 0x08:256MB, 0x09:512MB, 0x0A:1GB, 0x0B:2GB,
397 0x0C:4GB, 0x0D:8GB, 0x0E:0MB
398**/
399 UINT16 PchTraceHubMemReg0Size;
400
401/** Offset 0x0156 - PCH Trace Hub Memory Region 1 buffer Size
402 Select size of memory region 1 buffer. Memory allocated by BIOS only applies to
403 ITH tool running on the host. For ITH tool running on the target, choose None/OS,
404 memory shall be allocated by tool. User should be cautious to choose the amount
405 of memory. If chosen size is larger than half of system memory, setup will automatically
406 rollback to default value.
407 0x00:1MB, 0x03:8MB, 0x06:64MB, 0x07:128MB, 0x08:256MB, 0x09:512MB, 0x0A:1GB, 0x0B:2GB,
408 0x0C:4GB, 0x0D:8GB, 0x0E:0MB
409**/
410 UINT16 PchTraceHubMemReg1Size;
411
412/** Offset 0x0158 - Reserved
413**/
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -0700414 UINT8 Reserved4[4];
Kapil Porwala42ad282022-07-07 18:28:30 +0000415
416/** Offset 0x015C - HD Audio DMIC Link Clock Select
417 Determines DMIC<N> Clock Source. 0: Both, 1: ClkA, 2: ClkB
418 0: Both, 1: ClkA, 2: ClkB
419**/
420 UINT8 PchHdaAudioLinkDmicClockSelect[2];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700421
422/** Offset 0x015E - State of X2APIC_OPT_OUT bit in the DMAR table
423 0=Disable/Clear, 1=Enable/Set
424 $EN_DIS
425**/
426 UINT8 X2ApicOptOut;
427
Kapil Porwala42ad282022-07-07 18:28:30 +0000428/** Offset 0x015F - State of DMA_CONTROL_GUARANTEE bit in the DMAR table
429 0=Disable/Clear, 1=Enable/Set
430 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700431**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000432 UINT8 DmaControlGuarantee;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700433
434/** Offset 0x0160 - Base addresses for VT-d function MMIO access
435 Base addresses for VT-d MMIO access per VT-d engine
436**/
437 UINT32 VtdBaseAddress[9];
438
439/** Offset 0x0184 - Disable VT-d
440 0=Enable/FALSE(VT-d enabled), 1=Disable/TRUE (VT-d disabled)
441 $EN_DIS
442**/
443 UINT8 VtdDisable;
444
Kapil Porwala42ad282022-07-07 18:28:30 +0000445/** Offset 0x0185 - Vtd Programming for Igd
446 1=Enable/TRUE (Igd VT-d Bar programming enabled), 0=Disable/FLASE (Igd VT-d Bar
447 programming disabled)
448 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700449**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000450 UINT8 VtdIgdEnable;
451
452/** Offset 0x0186 - Vtd Programming for Iop
453 1=Enable/TRUE (Iop VT-d Bar programming enabled), 0=Disable/FLASE (Iop VT-d Bar
454 programming disabled)
455 $EN_DIS
456**/
457 UINT8 VtdIopEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700458
459/** Offset 0x0187 - Internal Graphics Pre-allocated Memory
460 Size of memory preallocated for internal graphics.
461 0x00:0MB, 0x01:32MB, 0x02:64MB, 0x03:96MB, 0x04:128MB, 0xF0:4MB, 0xF1:8MB, 0xF2:12MB,
462 0xF3:16MB, 0xF4:20MB, 0xF5:24MB, 0xF6:28MB, 0xF7:32MB, 0xF8:36MB, 0xF9:40MB, 0xFA:44MB,
463 0xFB:48MB, 0xFC:52MB, 0xFD:56MB, 0xFE:60MB
464**/
465 UINT8 IgdDvmt50PreAlloc;
466
467/** Offset 0x0188 - Internal Graphics
468 Enable/disable internal graphics.
469 $EN_DIS
470**/
471 UINT8 InternalGfx;
472
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530473/** Offset 0x0189 - Reserved
474**/
475 UINT8 Reserved5;
476
477/** Offset 0x018A - Board Type
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700478 MrcBoardType, Options are 0=Mobile/Mobile Halo, 1=Desktop/DT Halo, 5=ULT/ULX/Mobile
479 Halo, 7=UP Server
480 0:Mobile/Mobile Halo, 1:Desktop/DT Halo, 5:ULT/ULX/Mobile Halo, 7:UP Server
481**/
482 UINT8 UserBd;
483
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530484/** Offset 0x018B - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700485**/
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530486 UINT8 Reserved6;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700487
488/** Offset 0x018C - DDR Frequency Limit
489 Maximum Memory Frequency Selections in Mhz. Options are 1067, 1333, 1600, 1867,
490 2133, 2400, 2667, 2933 and 0 for Auto.
491 1067:1067, 1333:1333, 1600:1600, 1867:1867, 2133:2133, 2400:2400, 2667:2667, 2933:2933, 0:Auto
492**/
493 UINT16 DdrFreqLimit;
494
495/** Offset 0x018E - SAGV
496 System Agent dynamic frequency support.
497 0:Disabled, 1:Enabled
498**/
499 UINT8 SaGv;
500
Subrata Banik04abc862023-05-22 15:36:46 +0530501/** Offset 0x018F - SAGV WP Mask
502 System Agent dynamic frequency workpoints that memory will be training at the enabled
503 frequencies.
504 0x3:Points0_1, 0x7:Points0_1_2, 0xF:AllPoints0_1_2_3
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700505**/
Subrata Banik04abc862023-05-22 15:36:46 +0530506 UINT8 SaGvWpMask;
Kapil Porwala42ad282022-07-07 18:28:30 +0000507
508/** Offset 0x0190 - Memory Test on Warm Boot
509 Run Base Memory Test on Warm Boot
510 0:Disable, 1:Enable
511**/
512 UINT8 MemTestOnWarmBoot;
513
514/** Offset 0x0191 - DDR Speed Control
515 DDR Frequency and Gear control for all SAGV points.
516 0:Auto, 1:Manual
517**/
518 UINT8 DdrSpeedControl;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700519
520/** Offset 0x0192 - Controller 0 Channel 0 DIMM Control
521 Enable / Disable DIMMs on Controller 0 Channel 0
522 $EN_DIS
523**/
524 UINT8 DisableMc0Ch0;
525
526/** Offset 0x0193 - Controller 0 Channel 1 DIMM Control
527 Enable / Disable DIMMs on Controller 0 Channel 1
528 $EN_DIS
529**/
530 UINT8 DisableMc0Ch1;
531
532/** Offset 0x0194 - Controller 0 Channel 2 DIMM Control
533 Enable / Disable DIMMs on Controller 0 Channel 2
534 $EN_DIS
535**/
536 UINT8 DisableMc0Ch2;
537
538/** Offset 0x0195 - Controller 0 Channel 3 DIMM Control
539 Enable / Disable DIMMs on Controller 0 Channel 3
540 $EN_DIS
541**/
542 UINT8 DisableMc0Ch3;
543
544/** Offset 0x0196 - Controller 1 Channel 0 DIMM Control
545 Enable / Disable DIMMs on Controller 1 Channel 0
546 $EN_DIS
547**/
548 UINT8 DisableMc1Ch0;
549
550/** Offset 0x0197 - Controller 1 Channel 1 DIMM Control
551 Enable / Disable DIMMs on Controller 1 Channel 1
552 $EN_DIS
553**/
554 UINT8 DisableMc1Ch1;
555
556/** Offset 0x0198 - Controller 1 Channel 2 DIMM Control
557 Enable / Disable DIMMs on Controller 1 Channel 2
558 $EN_DIS
559**/
560 UINT8 DisableMc1Ch2;
561
562/** Offset 0x0199 - Controller 1 Channel 3 DIMM Control
563 Enable / Disable DIMMs on Controller 1 Channel 3
564 $EN_DIS
565**/
566 UINT8 DisableMc1Ch3;
567
Kapil Porwala42ad282022-07-07 18:28:30 +0000568/** Offset 0x019A - Scrambler Support
569 This option enables data scrambling in memory.
570 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700571**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000572 UINT8 ScramblerSupport;
573
574/** Offset 0x019B - SPD Profile Selected
575 Select DIMM timing profile. Options are 0:Default SPD Profile, 1:Custom Profile,
576 2:XMP Profile 1, 3:XMP Profile 2, 4:XMP Profile 3, 5:XMP User Profile 4, 6:XMP
577 User Profile 5
578 0:Default SPD Profile, 1:Custom Profile, 2:XMP Profile 1, 3:XMP Profile 2, 4:XMP
579 Profile 3, 5:XMP User Profile 4, 6:XMP User Profile 5
580**/
581 UINT8 SpdProfileSelected;
582
583/** Offset 0x019C - Reserved
584**/
Subrata Banik04abc862023-05-22 15:36:46 +0530585 UINT8 Reserved7[102];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700586
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530587/** Offset 0x0202 - Memory Reference Clock
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700588 100MHz, 133MHz.
589 0:133MHz, 1:100MHz
590**/
591 UINT8 RefClk;
592
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530593/** Offset 0x0203 - Reserved
Kilari Raasieac71c02023-01-30 16:02:34 +0530594**/
Subrata Banik04abc862023-05-22 15:36:46 +0530595 UINT8 Reserved8[9];
Kilari Raasieac71c02023-01-30 16:02:34 +0530596
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530597/** Offset 0x020C - Memory Vdd Voltage
Kapil Porwala42ad282022-07-07 18:28:30 +0000598 DRAM voltage (Vdd) (supply voltage for input buffers and core logic of the DRAM
599 chips) in millivolts. <b>0=Platform Default (no override)</b>, 1200=1.2V, 1350=1.35V etc.
600 0:Default, 1200:1.20 Volts, 1250:1.25 Volts, 1300:1.30 Volts, 1350:1.35 Volts, 1400:1.40
601 Volts, 1450:1.45 Volts, 1500:1.50 Volts, 1550:1.55 Volts, 1600:1.60 Volts, 1650:1.65 Volts
602**/
603 UINT16 VddVoltage;
604
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530605/** Offset 0x020E - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000606**/
Subrata Banik04abc862023-05-22 15:36:46 +0530607 UINT8 Reserved9[4];
Kapil Porwala42ad282022-07-07 18:28:30 +0000608
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530609/** Offset 0x0212 - Memory Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +0000610 Automatic or the frequency will equal ratio times reference clock. Set to Auto to
611 recalculate memory timings listed below.
612 0:Auto, 4:4, 5:5, 6:6, 7:7, 8:8, 9:9, 10:10, 11:11, 12:12, 13:13, 14:14, 15:15
613**/
614 UINT16 Ratio;
615
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530616/** Offset 0x0214 - tCL
Kapil Porwala42ad282022-07-07 18:28:30 +0000617 CAS Latency, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
618 == 1 (Custom Profile).
619**/
620 UINT8 tCL;
621
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530622/** Offset 0x0215 - tCWL
Kapil Porwala42ad282022-07-07 18:28:30 +0000623 Min CAS Write Latency Delay Time, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
624 == 1 (Custom Profile).
625**/
626 UINT8 tCWL;
627
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530628/** Offset 0x0216 - tFAW
Kapil Porwala42ad282022-07-07 18:28:30 +0000629 Min Four Activate Window Delay Time, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
630 == 1 (Custom Profile).
631**/
632 UINT16 tFAW;
633
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530634/** Offset 0x0218 - tRAS
Kapil Porwala42ad282022-07-07 18:28:30 +0000635 RAS Active Time, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
636 == 1 (Custom Profile).
637**/
638 UINT16 tRAS;
639
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530640/** Offset 0x021A - tRCD/tRP
Kapil Porwala42ad282022-07-07 18:28:30 +0000641 RAS to CAS delay time and Row Precharge delay time, 0: AUTO, max: 255. Only used
642 if FspmUpd->FspmConfig.SpdProfileSelected == 1 (Custom Profile).
643**/
644 UINT8 tRCDtRP;
645
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530646/** Offset 0x021B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000647**/
Subrata Banik04abc862023-05-22 15:36:46 +0530648 UINT8 Reserved10;
Kapil Porwala42ad282022-07-07 18:28:30 +0000649
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530650/** Offset 0x021C - tREFI
Kapil Porwala42ad282022-07-07 18:28:30 +0000651 Refresh Interval, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
652 == 1 (Custom Profile).
653**/
654 UINT16 tREFI;
655
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530656/** Offset 0x021E - tRFC
Kapil Porwala42ad282022-07-07 18:28:30 +0000657 Min Refresh Recovery Delay Time, 0: AUTO, max: 65535. Only used if FspmUpd->FspmConfig.SpdProfileSelected
658 == 1 (Custom Profile).
659**/
660 UINT16 tRFC;
661
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530662/** Offset 0x0220 - tRRD
Kapil Porwala42ad282022-07-07 18:28:30 +0000663 Min Row Active to Row Active Delay Time, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
664 == 1 (Custom Profile).
665**/
666 UINT8 tRRD;
667
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530668/** Offset 0x0221 - tRTP
Kapil Porwala42ad282022-07-07 18:28:30 +0000669 Min Internal Read to Precharge Command Delay Time, 0: AUTO, max: 255. Only used
670 if FspmUpd->FspmConfig.SpdProfileSelected == 1 (Custom Profile).
671**/
672 UINT8 tRTP;
673
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530674/** Offset 0x0222 - tWR
Kapil Porwala42ad282022-07-07 18:28:30 +0000675 Min Write Recovery Time, 0: AUTO, legal values: 5, 6, 7, 8, 10, 12, 14, 16, 18,
676 20, 24, 30, 34, 40. Only used if FspmUpd->FspmConfig.SpdProfileSelected == 1 (Custom Profile).
677 0:Auto, 5:5, 6:6, 7:7, 8:8, 10:10, 12:12, 14:14, 16:16, 18:18, 20:20, 24:24, 30:30,
678 34:34, 40:40
679**/
680 UINT8 tWR;
681
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530682/** Offset 0x0223 - tWTR
Kapil Porwala42ad282022-07-07 18:28:30 +0000683 Min Internal Write to Read Command Delay Time, 0: AUTO, max: 255. Only used if FspmUpd->FspmConfig.SpdProfileSelected
684 == 1 (Custom Profile).
685**/
686 UINT8 tWTR;
687
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530688/** Offset 0x0224 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000689**/
Subrata Banik04abc862023-05-22 15:36:46 +0530690 UINT8 Reserved11[12];
Kapil Porwala42ad282022-07-07 18:28:30 +0000691
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530692/** Offset 0x0230 - NMode
Kapil Porwala42ad282022-07-07 18:28:30 +0000693 System command rate, range 0-2, 0 means auto, 1 = 1N, 2 = 2N
694**/
695 UINT8 NModeSupport;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700696
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530697/** Offset 0x0231 - Enable Intel HD Audio (Azalia)
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700698 0: Disable, 1: Enable (Default) Azalia controller
699 $EN_DIS
700**/
701 UINT8 PchHdaEnable;
702
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530703/** Offset 0x0232 - Enable PCH ISH Controller
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700704 0: Disable, 1: Enable (Default) ISH Controller
705 $EN_DIS
706**/
707 UINT8 PchIshEnable;
708
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530709/** Offset 0x0233 - Reserved
710**/
Subrata Banik04abc862023-05-22 15:36:46 +0530711 UINT8 Reserved12[7];
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530712
713/** Offset 0x023A - SAGV Gear Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +0000714 Gear Selection for SAGV points. 0 - Auto, 2-Gear 2, 4-Gear 4
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700715**/
Kapil Porwala42ad282022-07-07 18:28:30 +0000716 UINT8 SaGvGear[4];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700717
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530718/** Offset 0x023E - SAGV Frequency
Kapil Porwala42ad282022-07-07 18:28:30 +0000719 SAGV Frequency per point in Mhz. 0 for Auto and a ratio of 133/100MHz: 1333/1300.
720**/
721 UINT16 SaGvFreq[4];
722
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530723/** Offset 0x0246 - SAGV Disabled Gear Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +0000724 Gear Selection for SAGV Disabled. 0 - Auto, 2-Gear 2, 2-Gear 4
725**/
726 UINT8 GearRatio;
727
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530728/** Offset 0x0247 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000729**/
Subrata Banik04abc862023-05-22 15:36:46 +0530730 UINT8 Reserved13[69];
Kapil Porwala42ad282022-07-07 18:28:30 +0000731
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530732/** Offset 0x028C - MMIO size adjustment for AUTO mode
Kapil Porwala42ad282022-07-07 18:28:30 +0000733 Positive number means increasing MMIO size, Negative value means decreasing MMIO
734 size: 0 (Default)=no change to AUTO mode MMIO size
735**/
736 UINT16 MmioSizeAdjustment;
737
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530738/** Offset 0x028E - Selection of the primary display device
Kapil Porwala42ad282022-07-07 18:28:30 +0000739 0=iGFX, 3(Default)=AUTO, 4=Hybrid Graphics
740 0:iGFX, 3:AUTO, 4:Hybrid Graphics
741**/
742 UINT8 PrimaryDisplay;
743
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530744/** Offset 0x028F - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000745**/
Subrata Banik04abc862023-05-22 15:36:46 +0530746 UINT8 Reserved14;
Kapil Porwala42ad282022-07-07 18:28:30 +0000747
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530748/** Offset 0x0290 - Temporary MMIO address for GMADR
Kapil Porwala42ad282022-07-07 18:28:30 +0000749 Obsolete field now and it has been extended to 64 bit address, used LMemBar
750**/
751 UINT32 GmAdr;
752
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530753/** Offset 0x0294 - Temporary MMIO address for GTTMMADR
Kapil Porwala42ad282022-07-07 18:28:30 +0000754 The reference code will use this as Temporary MMIO address space to access GTTMMADR
755 Registers.Platform should provide conflict free Temporary MMIO Range: GttMmAdr
756 to (GttMmAdr + 2MB MMIO + 6MB Reserved + GttSize). Default is (GmAdr - (2MB MMIO
757 + 6MB Reserved + GttSize)) to (GmAdr - 0x1) (Where GttSize = 8MB)
758**/
759 UINT32 GttMmAdr;
760
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530761/** Offset 0x0298 - Enable/Disable MRC TXT dependency
Kapil Porwala42ad282022-07-07 18:28:30 +0000762 When enabled MRC execution will wait for TXT initialization to be done first. Disabled(0x0)(Default):
763 MRC will not wait for TXT initialization, Enabled(0x1): MRC will wait for TXT initialization
764 $EN_DIS
765**/
766 UINT8 TxtImplemented;
767
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530768/** Offset 0x0299 - Enable/Disable SA OcSupport
Kapil Porwala42ad282022-07-07 18:28:30 +0000769 Enable: Enable SA OcSupport, Disable(Default): Disable SA OcSupport
770 $EN_DIS
771**/
772 UINT8 SaOcSupport;
773
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530774/** Offset 0x029A - GT slice Voltage Mode
Kapil Porwala42ad282022-07-07 18:28:30 +0000775 0(Default): Adaptive, 1: Override
776 0: Adaptive, 1: Override
777**/
778 UINT8 GtVoltageMode;
779
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530780/** Offset 0x029B - Maximum GTs turbo ratio override
Kapil Porwala42ad282022-07-07 18:28:30 +0000781 0(Default)=Minimal/Auto, 60=Maximum
782**/
783 UINT8 GtMaxOcRatio;
784
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530785/** Offset 0x029C - The voltage offset applied to GT slice
Kapil Porwala42ad282022-07-07 18:28:30 +0000786 0(Default)=Minimal, 1000=Maximum
787**/
788 UINT16 GtVoltageOffset;
789
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530790/** Offset 0x029E - The GT slice voltage override which is applied to the entire range of GT frequencies
Kapil Porwala42ad282022-07-07 18:28:30 +0000791 0(Default)=Minimal, 2000=Maximum
792**/
793 UINT16 GtVoltageOverride;
794
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530795/** Offset 0x02A0 - adaptive voltage applied during turbo frequencies
Kapil Porwala42ad282022-07-07 18:28:30 +0000796 0(Default)=Minimal, 2000=Maximum
797**/
Kilari Raasib07209f2023-04-27 14:44:40 +0530798 UINT16 GtAdaptiveVoltage;
Kapil Porwala42ad282022-07-07 18:28:30 +0000799
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530800/** Offset 0x02A2 - voltage offset applied to the SA
Kapil Porwala42ad282022-07-07 18:28:30 +0000801 0(Default)=Minimal, 1000=Maximum
802**/
803 UINT16 SaVoltageOffset;
804
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530805/** Offset 0x02A4 - PCIe root port Function number for Hybrid Graphics dGPU
Kapil Porwala42ad282022-07-07 18:28:30 +0000806 Root port Index number to indicate which PCIe root port has dGPU
807**/
808 UINT8 RootPortIndex;
809
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530810/** Offset 0x02A5 - Realtime Memory Timing
Kapil Porwala42ad282022-07-07 18:28:30 +0000811 0(Default): Disabled, 1: Enabled. When enabled, it will allow the system to perform
812 realtime memory timing changes after MRC_DONE.
813 0: Disabled, 1: Enabled
814**/
815 UINT8 RealtimeMemoryTiming;
816
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530817/** Offset 0x02A6 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000818**/
Subrata Banik04abc862023-05-22 15:36:46 +0530819 UINT8 Reserved15;
Kapil Porwala42ad282022-07-07 18:28:30 +0000820
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530821/** Offset 0x02A7 - Enable/Disable SA IPU
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700822 Enable(Default): Enable SA IPU, Disable: Disable SA IPU
823 $EN_DIS
824**/
825 UINT8 SaIpuEnable;
826
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530827/** Offset 0x02A8 - IMGU CLKOUT Configuration
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700828 The configuration of IMGU CLKOUT, 0: Disable;<b>1: Enable</b>.
829 $EN_DIS
830**/
831 UINT8 ImguClkOutEn[6];
832
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530833/** Offset 0x02AE - Program GPIOs for LFP on DDI port-A device
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700834 0=Disabled,1(Default)=eDP, 2=MIPI DSI
835 0:Disabled, 1:eDP, 2:MIPI DSI
836**/
837 UINT8 DdiPortAConfig;
838
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530839/** Offset 0x02AF - Program GPIOs for LFP on DDI port-B device
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700840 0(Default)=Disabled,1=eDP, 2=MIPI DSI
841 0:Disabled, 1:eDP, 2:MIPI DSI
842**/
843 UINT8 DdiPortBConfig;
844
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530845/** Offset 0x02B0 - Enable or disable HPD of DDI port A
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700846 0(Default)=Disable, 1=Enable
847 $EN_DIS
848**/
849 UINT8 DdiPortAHpd;
850
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530851/** Offset 0x02B1 - Enable or disable HPD of DDI port B
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700852 0=Disable, 1(Default)=Enable
853 $EN_DIS
854**/
855 UINT8 DdiPortBHpd;
856
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530857/** Offset 0x02B2 - Enable or disable HPD of DDI port C
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700858 0(Default)=Disable, 1=Enable
859 $EN_DIS
860**/
861 UINT8 DdiPortCHpd;
862
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530863/** Offset 0x02B3 - Enable or disable HPD of DDI port 1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700864 0=Disable, 1(Default)=Enable
865 $EN_DIS
866**/
867 UINT8 DdiPort1Hpd;
868
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530869/** Offset 0x02B4 - Enable or disable HPD of DDI port 2
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700870 0(Default)=Disable, 1=Enable
871 $EN_DIS
872**/
873 UINT8 DdiPort2Hpd;
874
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530875/** Offset 0x02B5 - Enable or disable HPD of DDI port 3
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700876 0(Default)=Disable, 1=Enable
877 $EN_DIS
878**/
879 UINT8 DdiPort3Hpd;
880
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530881/** Offset 0x02B6 - Enable or disable HPD of DDI port 4
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700882 0(Default)=Disable, 1=Enable
883 $EN_DIS
884**/
885 UINT8 DdiPort4Hpd;
886
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530887/** Offset 0x02B7 - Enable or disable DDC of DDI port A
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700888 0(Default)=Disable, 1=Enable
889 $EN_DIS
890**/
891 UINT8 DdiPortADdc;
892
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530893/** Offset 0x02B8 - Enable or disable DDC of DDI port B
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700894 0=Disable, 1(Default)=Enable
895 $EN_DIS
896**/
897 UINT8 DdiPortBDdc;
898
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530899/** Offset 0x02B9 - Enable or disable DDC of DDI port C
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700900 0(Default)=Disable, 1=Enable
901 $EN_DIS
902**/
903 UINT8 DdiPortCDdc;
904
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530905/** Offset 0x02BA - Enable DDC setting of DDI Port 1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700906 0(Default)=Disable, 1=Enable
907 $EN_DIS
908**/
909 UINT8 DdiPort1Ddc;
910
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530911/** Offset 0x02BB - Enable DDC setting of DDI Port 2
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700912 0(Default)=Disable, 1=Enable
913 $EN_DIS
914**/
915 UINT8 DdiPort2Ddc;
916
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530917/** Offset 0x02BC - Enable DDC setting of DDI Port 3
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700918 0(Default)=Disable, 1=Enable
919 $EN_DIS
920**/
921 UINT8 DdiPort3Ddc;
922
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530923/** Offset 0x02BD - Enable DDC setting of DDI Port 4
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700924 0(Default)=Disable, 1=Enable
925 $EN_DIS
926**/
927 UINT8 DdiPort4Ddc;
928
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530929/** Offset 0x02BE - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700930**/
Subrata Banik04abc862023-05-22 15:36:46 +0530931 UINT8 Reserved16[18];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700932
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530933/** Offset 0x02D0 - Per-core HT Disable
Kapil Porwala42ad282022-07-07 18:28:30 +0000934 Defines the per-core HT disable mask where: 1 - Disable selected logical core HT,
935 0 - is ignored. Input is in HEX and each bit maps to a logical core. Ex. A value
936 of '1F' would disable HT for cores 4,3,2,1 and 0. Default is 0, all cores have
937 HT enabled. Range is 0 - 0x7F for max 8 cores. You can only disable up to MAX_CORE_COUNT - 1.
938**/
939 UINT16 PerCoreHtDisable;
940
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530941/** Offset 0x02D2 - Reserved
Subrata Banikbf71c722022-10-17 14:57:41 +0530942**/
Subrata Banik04abc862023-05-22 15:36:46 +0530943 UINT8 Reserved17[6];
Subrata Banikbf71c722022-10-17 14:57:41 +0530944
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530945/** Offset 0x02D8 - Thermal Velocity Boost Ratio clipping
Kulkarni, Srinivas6f377882022-12-09 13:57:39 +0530946 0: Disabled, 1(Default): Enabled. This service controls Core frequency reduction
Kapil Porwala42ad282022-07-07 18:28:30 +0000947 caused by high package temperatures for processors that implement the Intel Thermal
948 Velocity Boost (TVB) feature
949 $EN_DIS
950**/
951 UINT8 TvbRatioClipping;
952
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530953/** Offset 0x02D9 - Thermal Velocity Boost voltage optimization
Kapil Porwala42ad282022-07-07 18:28:30 +0000954 0: Disabled, 1: Enabled(Default). This service controls thermal based voltage optimizations
955 for processors that implement the Intel Thermal Velocity Boost (TVB) feature.
956 $EN_DIS
957**/
958 UINT8 TvbVoltageOptimization;
959
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530960/** Offset 0x02DA - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +0000961**/
Subrata Banik04abc862023-05-22 15:36:46 +0530962 UINT8 Reserved18[45];
Kapil Porwala42ad282022-07-07 18:28:30 +0000963
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530964/** Offset 0x0307 - DMI Max Link Speed
Kapil Porwala42ad282022-07-07 18:28:30 +0000965 Auto (Default)(0x0): Maximum possible link speed, Gen1(0x1): Limit Link to Gen1
966 Speed, Gen2(0x2): Limit Link to Gen2 Speed, Gen3(0x3):Limit Link to Gen3 Speed
967 0:Auto, 1:Gen1, 2:Gen2, 3:Gen3
968**/
969 UINT8 DmiMaxLinkSpeed;
970
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530971/** Offset 0x0308 - PCH DMI Equalization Phase 2
Kapil Porwala42ad282022-07-07 18:28:30 +0000972 DMI Equalization Phase 2. (0x0): Disable phase 2, (0x1): Enable phase 2, (0x2)(Default):
973 AUTO - Use the current default method
974 0:Disable phase2, 1:Enable phase2, 2:Auto
975**/
Kilari Raasieac71c02023-01-30 16:02:34 +0530976 UINT8 PchDmiGen3EqPh2Enable;
Kapil Porwala42ad282022-07-07 18:28:30 +0000977
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530978/** Offset 0x0309 - PCH DMI Gen3 Equalization Phase3
Kapil Porwala42ad282022-07-07 18:28:30 +0000979 DMI Gen3 Equalization Phase3. Auto(0x0)(Default): Use the current default method,
980 HwEq(0x1): Use Adaptive Hardware Equalization, SwEq(0x2): Use Adaptive Software
981 Equalization (Implemented in BIOS Reference Code), Static(0x3): Use the Static
982 EQs provided in DmiGen3EndPointPreset array for Phase1 AND Phase3 (Instead of just
983 Phase1), Disabled(0x4): Bypass Equalization Phase 3
984 0:Auto, 1:HwEq, 2:SwEq, 3:StaticEq, 4:BypassPhase3
985**/
Kilari Raasieac71c02023-01-30 16:02:34 +0530986 UINT8 PchDmiGen3EqPh3Method;
Kapil Porwala42ad282022-07-07 18:28:30 +0000987
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530988/** Offset 0x030A - Enable/Disable DMI GEN3 Static EQ Phase1 programming
Kapil Porwala42ad282022-07-07 18:28:30 +0000989 Program DMI Gen3 EQ Phase1 Static Presets. Disabled(0x0): Disable EQ Phase1 Static
990 Presets Programming, Enabled(0x1)(Default): Enable EQ Phase1 Static Presets Programming
991 $EN_DIS
992**/
993 UINT8 DmiGen3ProgramStaticEq;
994
Kilari Raasi9f5b2f72023-03-02 13:48:02 +0530995/** Offset 0x030B - PCH DMI Gen3 Root port preset values per lane
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700996 Used for programming DMI Gen3 preset values per lane. Range: 0-9, 4 is default for each lane
997**/
Kilari Raasieac71c02023-01-30 16:02:34 +0530998 UINT8 PchDmiGen3RootPortPreset[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -0700999
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301000/** Offset 0x0313 - PCH DMI Gen3 End port preset values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001001 Used for programming DMI Gen3 preset values per lane. Range: 0-9, 7 is default for each lane
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001002**/
Kilari Raasieac71c02023-01-30 16:02:34 +05301003 UINT8 PchDmiGen3EndPointPreset[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001004
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301005/** Offset 0x031B - PCH DMI Gen3 End port Hint values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001006 Used for programming DMI Gen3 Hint values per lane. Range: 0-6, 2 is default for each lane
1007**/
Kilari Raasieac71c02023-01-30 16:02:34 +05301008 UINT8 PchDmiGen3EndPointHint[8];
Kapil Porwala42ad282022-07-07 18:28:30 +00001009
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301010/** Offset 0x0323 - DMI ASPM Configuration:{Combo
Kapil Porwala42ad282022-07-07 18:28:30 +00001011 Set ASPM Configuration
1012 0:Disabled, 1:L0s, 2:L1, 3:L1L0s
1013**/
1014 UINT8 DmiAspm;
1015
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301016/** Offset 0x0324 - Reserved
Kilari Raasieac71c02023-01-30 16:02:34 +05301017**/
Subrata Banik04abc862023-05-22 15:36:46 +05301018 UINT8 Reserved19;
Kilari Raasieac71c02023-01-30 16:02:34 +05301019
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301020/** Offset 0x0325 - Enable/Disable DMI GEN3 Hardware Eq
Kapil Porwala42ad282022-07-07 18:28:30 +00001021 Enable/Disable DMI GEN3 Hardware Eq. Disabled(0x0): Disable Hardware Eq, Enabled(0x1)(Default):
1022 Enable EQ Phase1 Static Presets Programming
1023 $EN_DIS
1024**/
1025 UINT8 DmiHweq;
1026
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301027/** Offset 0x0326 - Enable/Disable DMI GEN3 Phase 23 Bypass
Kapil Porwala42ad282022-07-07 18:28:30 +00001028 DMIGEN3 Phase 23 Bypass. Disabled(0x0)(Default): Disable Phase 23 Bypass, Enabled(0x1):
1029 Enable Phase 23 Bypass
1030 $EN_DIS
1031**/
1032 UINT8 Gen3EqPhase23Bypass;
1033
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301034/** Offset 0x0327 - Enable/Disable DMI GEN3 Phase 3 Bypass
Kapil Porwala42ad282022-07-07 18:28:30 +00001035 DMIGEN3 Phase 3 Bypass. Disabled(0x0)(Default): Disable Phase 3 Bypass, Enabled(0x1):
1036 Enable Phase 3 Bypass
1037 $EN_DIS
1038**/
1039 UINT8 Gen3EqPhase3Bypass;
1040
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301041/** Offset 0x0328 - Enable/Disable DMI Gen3 EQ Local Transmitter Coefficient Override Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00001042 Program Gen3 EQ Local Transmitter Coefficient Override. Disabled(0x0): Disable Local
1043 Transmitter Coefficient Override, Enabled(0x1)(Default): Enable Local Transmitter
1044 Coefficient Override
1045 $EN_DIS
1046**/
1047 UINT8 Gen3LtcoEnable;
1048
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301049/** Offset 0x0329 - Enable/Disable DMI Gen3 EQ Remote Transmitter Coefficient/Preset Override Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00001050 Program Remote Transmitter Coefficient/Preset Override. Disabled(0x0)(Default):
1051 Disable Remote Transmitter Coefficient/Preset Override, Enabled(0x1): Enable Remote
1052 Transmitter Coefficient/Preset Override
1053 $EN_DIS
1054**/
1055 UINT8 Gen3RtcoRtpoEnable;
1056
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301057/** Offset 0x032A - DMI Gen3 Transmitter Pre-Cursor Coefficient
Kapil Porwala42ad282022-07-07 18:28:30 +00001058 Used for programming DMI Gen3 Transmitter Pre-Cursor Coefficient . Range: 0-10,
1059 2 is default for each lane
1060**/
1061 UINT8 DmiGen3Ltcpre[8];
1062
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301063/** Offset 0x0332 - DMI Gen3 Transmitter Post-Cursor Coefficient
Kapil Porwala42ad282022-07-07 18:28:30 +00001064 Used for programming Transmitter Post-Cursor Coefficient. Range: 0-9, 2 is default
1065 for each lane
1066**/
1067 UINT8 DmiGen3Ltcpo[8];
1068
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301069/** Offset 0x033A - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001070**/
Subrata Banik04abc862023-05-22 15:36:46 +05301071 UINT8 Reserved20[34];
Kapil Porwala42ad282022-07-07 18:28:30 +00001072
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301073/** Offset 0x035C - Enable/Disable DMI GEN3 DmiGen3DsPresetEnable
Kapil Porwala42ad282022-07-07 18:28:30 +00001074 Enable/Disable DMI GEN3 DmiGen3DsPreset. Auto(0x0)(Default): DmiGen3DsPresetEnable,
1075 Manual(0x1): Enable DmiGen3DsPresetEnable
1076 $EN_DIS
1077**/
1078 UINT8 DmiGen3DsPresetEnable;
1079
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301080/** Offset 0x035D - DMI Gen3 Root port preset Rx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001081 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 1 is default
1082 for each lane
1083**/
1084 UINT8 DmiGen3DsPortRxPreset[8];
1085
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301086/** Offset 0x0365 - DMI Gen3 Root port preset Tx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001087 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 7 is default
1088 for each lane
1089**/
1090 UINT8 DmiGen3DsPortTxPreset[8];
1091
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301092/** Offset 0x036D - Enable/Disable DMI GEN3 DmiGen3UsPresetEnable
Kapil Porwala42ad282022-07-07 18:28:30 +00001093 Enable/Disable DMI GEN3 DmiGen3UsPreset. Auto(0x0)(Default): DmiGen3UsPresetEnable,
1094 Manual(0x1): Enable DmiGen3UsPresetEnable
1095 $EN_DIS
1096**/
1097 UINT8 DmiGen3UsPresetEnable;
1098
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301099/** Offset 0x036E - DMI Gen3 Root port preset Rx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001100 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 7 is default
1101 for each lane
1102**/
1103 UINT8 DmiGen3UsPortRxPreset[8];
1104
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301105/** Offset 0x0376 - DMI Gen3 Root port preset Tx values per lane
Kapil Porwala42ad282022-07-07 18:28:30 +00001106 Used for programming DMI Gen3 preset values per lane. Range: 0-10, 1 is default
1107 for each lane
1108**/
1109 UINT8 DmiGen3UsPortTxPreset[8];
1110
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301111/** Offset 0x037E - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001112**/
Subrata Banik04abc862023-05-22 15:36:46 +05301113 UINT8 Reserved21[54];
Kapil Porwala42ad282022-07-07 18:28:30 +00001114
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301115/** Offset 0x03B4 - DMI ASPM L1 exit Latency
Kapil Porwala42ad282022-07-07 18:28:30 +00001116 Range: 0-7, 4 is default L1 exit Latency
1117**/
1118 UINT8 DmiAspmL1ExitLatency;
1119
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301120/** Offset 0x03B5 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001121**/
Subrata Banik04abc862023-05-22 15:36:46 +05301122 UINT8 Reserved22[63];
Kapil Porwala42ad282022-07-07 18:28:30 +00001123
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301124/** Offset 0x03F4 - BIST on Reset
Kapil Porwala42ad282022-07-07 18:28:30 +00001125 Enable/Disable BIST (Built-In Self Test) on reset. <b>0: Disable</b>; 1: Enable.
1126 $EN_DIS
1127**/
1128 UINT8 BistOnReset;
1129
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301130/** Offset 0x03F5 - Skip Stop PBET Timer Enable/Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00001131 Skip Stop PBET Timer; <b>0: Disable</b>; 1: Enable
1132 $EN_DIS
1133**/
1134 UINT8 SkipStopPbet;
1135
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301136/** Offset 0x03F6 - Over clocking support
Kapil Porwala42ad282022-07-07 18:28:30 +00001137 Over clocking support; <b>0: Disable</b>; 1: Enable
1138 $EN_DIS
1139**/
1140 UINT8 OcSupport;
1141
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301142/** Offset 0x03F7 - Over clocking Lock
Kapil Porwala42ad282022-07-07 18:28:30 +00001143 Lock Overclocking. 0: Disable; <b>1: Enable</b>
1144 $EN_DIS
1145**/
1146 UINT8 OcLock;
1147
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301148/** Offset 0x03F8 - Maximum Core Turbo Ratio Override
Kapil Porwala42ad282022-07-07 18:28:30 +00001149 Maximum core turbo ratio override allows to increase CPU core frequency beyond the
1150 fused max turbo ratio limit. <b>0: Hardware defaults.</b> Range: 0-85 if CoreRatioExtensionMode
1151 is disabled. 0-120 if CoreRatioExtensionMode is enabled.
1152**/
1153 UINT8 CoreMaxOcRatio;
1154
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301155/** Offset 0x03F9 - Core voltage mode
Kapil Porwala42ad282022-07-07 18:28:30 +00001156 Core voltage mode; <b>0: Adaptive</b>; 1: Override.
1157 $EN_DIS
1158**/
1159 UINT8 CoreVoltageMode;
1160
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301161/** Offset 0x03FA - Maximum clr turbo ratio override
Kapil Porwala42ad282022-07-07 18:28:30 +00001162 Maximum clr turbo ratio override allows to increase CPU clr frequency beyond the
1163 fused max turbo ratio limit. <b>0: Hardware defaults.</b> Range: 0-85
1164**/
1165 UINT8 RingMaxOcRatio;
1166
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301167/** Offset 0x03FB - Hyper Threading Enable/Disable
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001168 Enable or Disable Hyper-Threading Technology. 0: Disable; <b>1: Enable</b>
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001169 $EN_DIS
1170**/
1171 UINT8 HyperThreading;
1172
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301173/** Offset 0x03FC - Enable or Disable CPU Ratio Override
Kapil Porwala42ad282022-07-07 18:28:30 +00001174 Enable/Disable CPU Flex Ratio Programming; <b>0: Disable</b>; 1: Enable.
1175 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001176**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001177 UINT8 CpuRatioOverride;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001178
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301179/** Offset 0x03FD - CPU ratio value
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001180 This value must be between Max Efficiency Ratio (LFM) and Maximum non-turbo ratio
1181 set by Hardware (HFM). Valid Range 0 to 63.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001182**/
1183 UINT8 CpuRatio;
1184
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301185/** Offset 0x03FE - Reserved
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001186**/
Subrata Banik04abc862023-05-22 15:36:46 +05301187 UINT8 Reserved23;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001188
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301189/** Offset 0x03FF - Number of active big cores
Kapil Porwala42ad282022-07-07 18:28:30 +00001190 Number of P-cores to enable in each processor package. Note: Number of P-Cores and
1191 E-Cores are looked at together. When both are {0,0
1192 0:Disable all big cores, 1:1, 2:2, 3:3, 0xFF:Active all big cores
1193**/
1194 UINT8 ActiveCoreCount;
1195
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301196/** Offset 0x0400 - Processor Early Power On Configuration FCLK setting
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001197 FCLK frequency can take values of 400MHz, 800MHz and 1GHz. <b>0: 800 MHz (ULT/ULX)</b>.
1198 <b>1: 1 GHz (DT/Halo)</b>. Not supported on ULT/ULX.- 2: 400 MHz. - 3: Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001199 0:800 MHz, 1: 1 GHz, 2: 400 MHz, 3: Reserved
1200**/
1201 UINT8 FClkFrequency;
1202
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301203/** Offset 0x0401 - Enable or Disable VMX
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001204 Enable or Disable VMX, When enabled, a VMM can utilize the additional hardware capabilities
1205 provided by Vanderpool Technology. 0: Disable; <b>1: Enable</b>.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001206 $EN_DIS
1207**/
1208 UINT8 VmxEnable;
1209
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301210/** Offset 0x0402 - AVX2 Ratio Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001211 0(Default)= No Offset. Range 0 - 31. Specifies number of bins to decrease AVX ratio
1212 vs. Core Ratio. Uses Mailbox MSR 0x150, cmd 0x1B.
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001213**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001214 UINT8 Avx2RatioOffset;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001215
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301216/** Offset 0x0403 - AVX3 Ratio Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001217 0(Default)= No Offset. Range 0 - 31. Specifies number of bins to decrease AVX ratio
1218 vs. Core Ratio. Uses Mailbox MSR 0x150, cmd 0x1B.
1219**/
1220 UINT8 Avx3RatioOffset;
1221
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301222/** Offset 0x0404 - BCLK Adaptive Voltage Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00001223 When enabled, the CPU V/F curves are aware of BCLK frequency when calculated. </b>0:
1224 Disable;<b> 1: Enable
1225 $EN_DIS
1226**/
1227 UINT8 BclkAdaptiveVoltage;
1228
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301229/** Offset 0x0405 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001230**/
Subrata Banik04abc862023-05-22 15:36:46 +05301231 UINT8 Reserved24;
Kapil Porwala42ad282022-07-07 18:28:30 +00001232
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301233/** Offset 0x0406 - core voltage override
Kapil Porwala42ad282022-07-07 18:28:30 +00001234 The core voltage override which is applied to the entire range of cpu core frequencies.
1235 Valid Range 0 to 2000
1236**/
1237 UINT16 CoreVoltageOverride;
1238
Kilari Raasib07209f2023-04-27 14:44:40 +05301239/** Offset 0x0408 - Core Turbo Adaptive Voltage
1240 Adaptive voltage applied to the cpu core when the cpu is operating in turbo mode.
Kapil Porwala42ad282022-07-07 18:28:30 +00001241 Valid Range 0 to 2000
1242**/
Kilari Raasib07209f2023-04-27 14:44:40 +05301243 UINT16 CoreAdaptiveVoltage;
Kapil Porwala42ad282022-07-07 18:28:30 +00001244
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301245/** Offset 0x040A - Core Turbo voltage Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001246 The voltage offset applied to the core while operating in turbo mode.Valid Range 0 to 1000
1247**/
1248 UINT16 CoreVoltageOffset;
1249
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301250/** Offset 0x040C - Core PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001251 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1252**/
1253 UINT8 CorePllVoltageOffset;
1254
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301255/** Offset 0x040D - Ring Downbin
Kapil Porwala42ad282022-07-07 18:28:30 +00001256 Ring Downbin enable/disable. When enabled, CPU will ensure the ring ratio is always
1257 lower than the core ratio.0: Disable; <b>1: Enable.</b>
1258 $EN_DIS
1259**/
1260 UINT8 RingDownBin;
1261
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301262/** Offset 0x040E - Ring voltage mode
Kapil Porwala42ad282022-07-07 18:28:30 +00001263 Ring voltage mode; <b>0: Adaptive</b>; 1: Override.
1264 $EN_DIS
1265**/
1266 UINT8 RingVoltageMode;
1267
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301268/** Offset 0x040F - TjMax Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001269 TjMax offset.Specified value here is clipped by pCode (125 - TjMax Offset) to support
1270 TjMax in the range of 62 to 115 deg Celsius. Valid Range 10 - 63
1271**/
1272 UINT8 TjMaxOffset;
1273
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301274/** Offset 0x0410 - Ring voltage override
Kapil Porwala42ad282022-07-07 18:28:30 +00001275 The ring voltage override which is applied to the entire range of cpu ring frequencies.
1276 Valid Range 0 to 2000
1277**/
1278 UINT16 RingVoltageOverride;
1279
Kilari Raasib07209f2023-04-27 14:44:40 +05301280/** Offset 0x0412 - Ring Turbo Adaptive Voltage
1281 Adaptive voltage applied to the cpu ring when the cpu is operating in turbo mode.
Kapil Porwala42ad282022-07-07 18:28:30 +00001282 Valid Range 0 to 2000
1283**/
Kilari Raasib07209f2023-04-27 14:44:40 +05301284 UINT16 RingAdaptiveVoltage;
Kapil Porwala42ad282022-07-07 18:28:30 +00001285
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301286/** Offset 0x0414 - Ring Turbo voltage Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001287 The voltage offset applied to the ring while operating in turbo mode. Valid Range 0 to 1000
1288**/
1289 UINT16 RingVoltageOffset;
1290
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301291/** Offset 0x0416 - Enable or Disable TME
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001292 Configure Total Memory Encryption (TME) to protect DRAM data from physical attacks.
1293 <b>0: Disable</b>; 1: Enable.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001294 $EN_DIS
1295**/
1296 UINT8 TmeEnable;
1297
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301298/** Offset 0x0417 - Enable CPU CrashLog
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001299 Enable or Disable CPU CrashLog; 0: Disable; <b>1: Enable</b>.
1300 $EN_DIS
1301**/
1302 UINT8 CpuCrashLogEnable;
1303
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301304/** Offset 0x0418 - CPU Run Control
Kapil Porwala42ad282022-07-07 18:28:30 +00001305 Enable, Disable or Do not configure CPU Run Control; 0: Disable; 1: Enable ; <b>2:
1306 No Change</b>
1307 0:Disabled, 1:Enabled, 2:No Change
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001308**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001309 UINT8 DebugInterfaceEnable;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001310
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301311/** Offset 0x0419 - CPU Run Control Lock
Kapil Porwala42ad282022-07-07 18:28:30 +00001312 Lock or Unlock CPU Run Control; 0: Disable; <b>1: Enable</b>.
1313 $EN_DIS
1314**/
1315 UINT8 DebugInterfaceLockEnable;
1316
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301317/** Offset 0x041A - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001318**/
Subrata Banik04abc862023-05-22 15:36:46 +05301319 UINT8 Reserved25[67];
Kapil Porwala42ad282022-07-07 18:28:30 +00001320
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301321/** Offset 0x045D - Core VF Point Offset Mode
Kapil Porwala42ad282022-07-07 18:28:30 +00001322 Selects Core Voltage & Frequency Offset mode between Legacy and Selection modes.
1323 In Legacy Mode, setting a global offset for the entire VF curve. In Selection Mode,
1324 setting a selected VF point; <b>0: Legacy</b>; 1: Selection.
1325 0:Legacy, 1:Selection
1326**/
1327 UINT8 CoreVfPointOffsetMode;
1328
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301329/** Offset 0x045E - Core VF Point Offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001330 Array used to specifies the Core Voltage Offset applied to the each selected VF
1331 Point. This voltage is specified in millivolts.
1332**/
1333 UINT16 CoreVfPointOffset[15];
1334
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301335/** Offset 0x047C - Core VF Point Offset Prefix
Kapil Porwala42ad282022-07-07 18:28:30 +00001336 Sets the CoreVfPointOffset value as positive or negative for corresponding core
1337 VF Point; <b>0: Positive </b>; 1: Negative.
1338 0:Positive, 1:Negative
1339**/
1340 UINT8 CoreVfPointOffsetPrefix[15];
1341
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301342/** Offset 0x048B - Core VF Point Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +00001343 Array for the each selected Core VF Point to display the ration.
1344**/
1345 UINT8 CoreVfPointRatio[15];
1346
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301347/** Offset 0x049A - Core VF Point Count
Kapil Porwala42ad282022-07-07 18:28:30 +00001348 Number of supported Core Voltage & Frequency Point Offset
1349**/
1350 UINT8 CoreVfPointCount;
1351
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301352/** Offset 0x049B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001353**/
Subrata Banik04abc862023-05-22 15:36:46 +05301354 UINT8 Reserved26[25];
Kapil Porwala42ad282022-07-07 18:28:30 +00001355
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301356/** Offset 0x04B4 - Per Core Max Ratio override
Kapil Porwala42ad282022-07-07 18:28:30 +00001357 Enable or disable Per Core PState OC supported by writing OCMB 0x1D to program new
1358 favored core ratio to each Core. <b>0: Disable</b>, 1: enable
1359 $EN_DIS
1360**/
1361 UINT8 PerCoreRatioOverride;
1362
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301363/** Offset 0x04B5 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001364**/
Subrata Banik04abc862023-05-22 15:36:46 +05301365 UINT8 Reserved27[41];
Kapil Porwala42ad282022-07-07 18:28:30 +00001366
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301367/** Offset 0x04DE - Per Core Current Max Ratio
Kapil Porwala42ad282022-07-07 18:28:30 +00001368 Array for the Per Core Max Ratio
1369**/
1370 UINT8 PerCoreRatio[8];
1371
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301372/** Offset 0x04E6 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001373**/
Subrata Banik04abc862023-05-22 15:36:46 +05301374 UINT8 Reserved28[69];
Kapil Porwala42ad282022-07-07 18:28:30 +00001375
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301376/** Offset 0x052B - Pvd Ratio Threshold for SOC/CPU die
Kapil Porwala42ad282022-07-07 18:28:30 +00001377 Array of Pvd Ratio Threshold for SOC/CPU die is the threshold value for input ratio
1378 (P0 to Pn) to select the multiplier so that the output is within the DCO frequency
1379 range. As per the die selected, this threshold is applied to SA and MC/CMI PLL
1380 for SOC die and SA, Ring and Atom PLL for CPU die. Range 0-63. When the threshold
1381 is 0, static PVD ratio is selected based on the PVD Mode for SOC. <b>0: Default</b>.
1382**/
1383 UINT8 PvdRatioThreshold[2];
1384
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301385/** Offset 0x052D - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001386**/
Subrata Banik04abc862023-05-22 15:36:46 +05301387 UINT8 Reserved29[68];
Kapil Porwala42ad282022-07-07 18:28:30 +00001388
Kilari Raasib1207582023-03-20 12:19:23 +05301389/** Offset 0x0571 - GPIO Override
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001390 Gpio Override Level - FSP will not configure any GPIOs and rely on GPIO setings
1391 before moved to FSP. Available configurations 0: Disable; 1: Level 1 - Skips GPIO
Subrata Banik6ed43152022-11-22 16:36:37 +05301392 configuration in PEI/FSPM/FSPT phase;2: Level 2 - Reserved for use
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001393**/
1394 UINT8 GpioOverride;
1395
Kilari Raasib1207582023-03-20 12:19:23 +05301396/** Offset 0x0572 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001397**/
Subrata Banik04abc862023-05-22 15:36:46 +05301398 UINT8 Reserved30[10];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001399
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301400/** Offset 0x057C - CPU BCLK OC Frequency
Kapil Porwala42ad282022-07-07 18:28:30 +00001401 CPU BCLK OC Frequency in KHz units. 98000000Hz = 98MHz <b>0 - Auto</b>. Range is
1402 40Mhz-1000Mhz.
1403**/
1404 UINT32 CpuBclkOcFrequency;
1405
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301406/** Offset 0x0580 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001407**/
Subrata Banik04abc862023-05-22 15:36:46 +05301408 UINT8 Reserved31[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00001409
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301410/** Offset 0x0584 - Enable CPU CrashLog GPRs dump
Kapil Porwala42ad282022-07-07 18:28:30 +00001411 Enable or Disable CPU CrashLog GPRs dump; <b>0: Disable</b>; 1: Enable; 2: Only
1412 disable Smm GPRs dump
1413 0:Disabled, 1:Enabled, 2:Only Smm GPRs Disabled
1414**/
1415 UINT8 CrashLogGprs;
1416
Kilari Raasi9f5b2f72023-03-02 13:48:02 +05301417/** Offset 0x0585 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001418**/
Subrata Banik04abc862023-05-22 15:36:46 +05301419 UINT8 Reserved32[273];
Kapil Porwala42ad282022-07-07 18:28:30 +00001420
Kilari Raasib07209f2023-04-27 14:44:40 +05301421/** Offset 0x0696 - Thermal Design Current enable/disable
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001422 Thermal Design Current enable/disable; <b>0: Disable</b>; 1: Enable. [0] for IA,
Kapil Porwala42ad282022-07-07 18:28:30 +00001423 [1] for GT, [2] for SA, [3] through [5] are Reserved.
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001424**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001425 UINT8 TdcEnable[6];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001426
Kilari Raasib07209f2023-04-27 14:44:40 +05301427/** Offset 0x069C - Thermal Design Current time window
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001428 TDC Time Window, value of IA either in milliseconds or seconds, value of GT/SA is
1429 in milliseconds. 1ms is default. Range of IA from 1ms to 448s, Range of GT/SA is
1430 1ms to 10ms, except for 9ms. 9ms has no valid encoding in the MSR definition.
1431**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001432 UINT32 TdcTimeWindow[6];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001433
Kilari Raasib07209f2023-04-27 14:44:40 +05301434/** Offset 0x06B4 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001435**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301436 UINT8 Reserved33[166];
1437
1438/** Offset 0x075A - VR Fast Vmode ICC Limit support
1439 Voltage Regulator Fast Vmode ICC Limit. A value of 400 = 100A. A value of 0 corresponds
1440 to feature disabled (no reactive protection). This value represents the current
1441 threshold where the VR would initiate reactive protection if Fast Vmode is enabled.
1442 The value is represented in 1/4 A increments. Range 0-2040. [0] for IA, [1] for
1443 GT, [2] for SA, [3] through [5] are Reserved.
1444**/
1445 UINT16 IccLimit[6];
1446
1447/** Offset 0x0766 - Enable/Disable VR FastVmode. The VR will initiate reactive protection if Fast Vmode is enabled.
1448 Enable/Disable VR FastVmode; [0] for IA, [1] for GT, 0: Disable; <b>1: Enable</b>.
1449 [2] for SA, <b>0: Disable</b>; 1: Enable.
1450 0: Disable, 1: Enable
1451**/
1452 UINT8 EnableFastVmode[6];
1453
1454/** Offset 0x076C - Enable CEP
1455 Enable/Disable CEP (Current Excursion Protection) Support. [0] for IA, [1] for GT,
1456 0: Disable; <b>1: Enable</b>. [2] for SA, <b>0: Disable</b>; 1: Enable. [3] through
1457 [5] are Reserved.
1458 $EN_DIS
1459**/
1460 UINT8 CepEnable[6];
1461
1462/** Offset 0x0772 - Reserved
1463**/
1464 UINT8 Reserved34[146];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001465
Kilari Raasib07209f2023-04-27 14:44:40 +05301466/** Offset 0x0804 - BiosGuard
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001467 Enable/Disable. 0: Disable, Enable/Disable BIOS Guard feature, 1: enable
1468 $EN_DIS
1469**/
1470 UINT8 BiosGuard;
1471
Kilari Raasib07209f2023-04-27 14:44:40 +05301472/** Offset 0x0805
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001473**/
1474 UINT8 BiosGuardToolsInterface;
1475
Kilari Raasib07209f2023-04-27 14:44:40 +05301476/** Offset 0x0806 - Txt
Kapil Porwala42ad282022-07-07 18:28:30 +00001477 Enables utilization of additional hardware capabilities provided by Intel (R) Trusted
1478 Execution Technology. Changes require a full power cycle to take effect. <b>0:
1479 Disable</b>, 1: Enable
1480 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001481**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001482 UINT8 Txt;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001483
Kilari Raasib07209f2023-04-27 14:44:40 +05301484/** Offset 0x0807 - Reserved
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07001485**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301486 UINT8 Reserved35;
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07001487
Kilari Raasib07209f2023-04-27 14:44:40 +05301488/** Offset 0x0808 - PrmrrSize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001489 Enable/Disable. 0: Disable, define default value of PrmrrSize , 1: enable
1490**/
1491 UINT32 PrmrrSize;
1492
Kilari Raasib07209f2023-04-27 14:44:40 +05301493/** Offset 0x080C - SinitMemorySize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001494 Enable/Disable. 0: Disable, define default value of SinitMemorySize , 1: enable
1495**/
1496 UINT32 SinitMemorySize;
1497
Kilari Raasib07209f2023-04-27 14:44:40 +05301498/** Offset 0x0810 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001499**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301500 UINT8 Reserved36[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001501
Kilari Raasib07209f2023-04-27 14:44:40 +05301502/** Offset 0x0818 - TxtDprMemoryBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001503 Enable/Disable. 0: Disable, define default value of TxtDprMemoryBase , 1: enable
1504**/
1505 UINT64 TxtDprMemoryBase;
1506
Kilari Raasib07209f2023-04-27 14:44:40 +05301507/** Offset 0x0820 - TxtHeapMemorySize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001508 Enable/Disable. 0: Disable, define default value of TxtHeapMemorySize , 1: enable
1509**/
1510 UINT32 TxtHeapMemorySize;
1511
Kilari Raasib07209f2023-04-27 14:44:40 +05301512/** Offset 0x0824 - TxtDprMemorySize
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001513 Reserve DPR memory size (0-255) MB. 0: Disable, define default value of TxtDprMemorySize
1514 , 1: enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001515**/
1516 UINT32 TxtDprMemorySize;
1517
Kilari Raasib07209f2023-04-27 14:44:40 +05301518/** Offset 0x0828 - BiosAcmBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001519 Enable/Disable. 0: Disable, define default value of BiosAcmBase , 1: enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001520**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001521 UINT32 BiosAcmBase;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001522
Kilari Raasib07209f2023-04-27 14:44:40 +05301523/** Offset 0x082C - BiosAcmSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001524 Enable/Disable. 0: Disable, define default value of BiosAcmSize , 1: enable
1525**/
1526 UINT32 BiosAcmSize;
1527
Kilari Raasib07209f2023-04-27 14:44:40 +05301528/** Offset 0x0830 - ApStartupBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001529 Enable/Disable. 0: Disable, define default value of BiosAcmBase , 1: enable
1530**/
1531 UINT32 ApStartupBase;
1532
Kilari Raasib07209f2023-04-27 14:44:40 +05301533/** Offset 0x0834 - TgaSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001534 Enable/Disable. 0: Disable, define default value of TgaSize , 1: enable
1535**/
1536 UINT32 TgaSize;
1537
Kilari Raasib07209f2023-04-27 14:44:40 +05301538/** Offset 0x0838 - TxtLcpPdBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001539 Enable/Disable. 0: Disable, define default value of TxtLcpPdBase , 1: enable
1540**/
1541 UINT64 TxtLcpPdBase;
1542
Kilari Raasib07209f2023-04-27 14:44:40 +05301543/** Offset 0x0840 - TxtLcpPdSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001544 Enable/Disable. 0: Disable, define default value of TxtLcpPdSize , 1: enable
1545**/
1546 UINT64 TxtLcpPdSize;
1547
Kilari Raasib07209f2023-04-27 14:44:40 +05301548/** Offset 0x0848 - IsTPMPresence
Kapil Porwala42ad282022-07-07 18:28:30 +00001549 IsTPMPresence default values
1550**/
1551 UINT8 IsTPMPresence;
1552
Kilari Raasib07209f2023-04-27 14:44:40 +05301553/** Offset 0x0849 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001554**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301555 UINT8 Reserved37[32];
Kapil Porwala42ad282022-07-07 18:28:30 +00001556
Kilari Raasib07209f2023-04-27 14:44:40 +05301557/** Offset 0x0869 - Enable PCH HSIO PCIE Rx Set Ctle
Kapil Porwala42ad282022-07-07 18:28:30 +00001558 Enable PCH PCIe Gen 3 Set CTLE Value.
1559**/
1560 UINT8 PchPcieHsioRxSetCtleEnable[28];
1561
Kilari Raasib07209f2023-04-27 14:44:40 +05301562/** Offset 0x0885 - PCH HSIO PCIE Rx Set Ctle Value
Kapil Porwala42ad282022-07-07 18:28:30 +00001563 PCH PCIe Gen 3 Set CTLE Value.
1564**/
1565 UINT8 PchPcieHsioRxSetCtle[28];
1566
Kilari Raasib07209f2023-04-27 14:44:40 +05301567/** Offset 0x08A1 - Enble PCH HSIO PCIE TX Gen 1 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001568 0: Disable; 1: Enable.
1569**/
1570 UINT8 PchPcieHsioTxGen1DownscaleAmpEnable[28];
1571
Kilari Raasib07209f2023-04-27 14:44:40 +05301572/** Offset 0x08BD - PCH HSIO PCIE Gen 2 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001573 PCH PCIe Gen 2 TX Output Downscale Amplitude Adjustment value.
1574**/
1575 UINT8 PchPcieHsioTxGen1DownscaleAmp[28];
1576
Kilari Raasib07209f2023-04-27 14:44:40 +05301577/** Offset 0x08D9 - Enable PCH HSIO PCIE TX Gen 2 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001578 0: Disable; 1: Enable.
1579**/
1580 UINT8 PchPcieHsioTxGen2DownscaleAmpEnable[28];
1581
Kilari Raasib07209f2023-04-27 14:44:40 +05301582/** Offset 0x08F5 - PCH HSIO PCIE Gen 2 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001583 PCH PCIe Gen 2 TX Output Downscale Amplitude Adjustment value.
1584**/
1585 UINT8 PchPcieHsioTxGen2DownscaleAmp[28];
1586
Kilari Raasib07209f2023-04-27 14:44:40 +05301587/** Offset 0x0911 - Enable PCH HSIO PCIE TX Gen 3 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001588 0: Disable; 1: Enable.
1589**/
1590 UINT8 PchPcieHsioTxGen3DownscaleAmpEnable[28];
1591
Kilari Raasib07209f2023-04-27 14:44:40 +05301592/** Offset 0x092D - PCH HSIO PCIE Gen 3 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001593 PCH PCIe Gen 3 TX Output Downscale Amplitude Adjustment value.
1594**/
1595 UINT8 PchPcieHsioTxGen3DownscaleAmp[28];
1596
Kilari Raasib07209f2023-04-27 14:44:40 +05301597/** Offset 0x0949 - Enable PCH HSIO PCIE Gen 1 TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001598 0: Disable; 1: Enable.
1599**/
1600 UINT8 PchPcieHsioTxGen1DeEmphEnable[28];
1601
Kilari Raasib07209f2023-04-27 14:44:40 +05301602/** Offset 0x0965 - PCH HSIO PCIE Gen 1 TX Output De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001603 PCH PCIe Gen 1 TX Output De-Emphasis Adjustment Setting.
1604**/
1605 UINT8 PchPcieHsioTxGen1DeEmph[28];
1606
Kilari Raasib07209f2023-04-27 14:44:40 +05301607/** Offset 0x0981 - Enable PCH HSIO PCIE Gen 2 TX Output -3.5dB De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001608 0: Disable; 1: Enable.
1609**/
1610 UINT8 PchPcieHsioTxGen2DeEmph3p5Enable[28];
1611
Kilari Raasib07209f2023-04-27 14:44:40 +05301612/** Offset 0x099D - PCH HSIO PCIE Gen 2 TX Output -3.5dB De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001613 PCH PCIe Gen 2 TX Output -3.5dB De-Emphasis Adjustment Setting.
1614**/
1615 UINT8 PchPcieHsioTxGen2DeEmph3p5[28];
1616
Kilari Raasib07209f2023-04-27 14:44:40 +05301617/** Offset 0x09B9 - Enable PCH HSIO PCIE Gen 2 TX Output -6.0dB De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001618 0: Disable; 1: Enable.
1619**/
1620 UINT8 PchPcieHsioTxGen2DeEmph6p0Enable[28];
1621
Kilari Raasib07209f2023-04-27 14:44:40 +05301622/** Offset 0x09D5 - PCH HSIO PCIE Gen 2 TX Output -6.0dB De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001623 PCH PCIe Gen 2 TX Output -6.0dB De-Emphasis Adjustment Setting.
1624**/
1625 UINT8 PchPcieHsioTxGen2DeEmph6p0[28];
1626
Kilari Raasib07209f2023-04-27 14:44:40 +05301627/** Offset 0x09F1 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001628 0: Disable; 1: Enable.
1629**/
1630 UINT8 PchSataHsioRxGen1EqBoostMagEnable[8];
1631
Kilari Raasib07209f2023-04-27 14:44:40 +05301632/** Offset 0x09F9 - PCH HSIO SATA 1.5 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001633 PCH HSIO SATA 1.5 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1634**/
1635 UINT8 PchSataHsioRxGen1EqBoostMag[8];
1636
Kilari Raasib07209f2023-04-27 14:44:40 +05301637/** Offset 0x0A01 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001638 0: Disable; 1: Enable.
1639**/
1640 UINT8 PchSataHsioRxGen2EqBoostMagEnable[8];
1641
Kilari Raasib07209f2023-04-27 14:44:40 +05301642/** Offset 0x0A09 - PCH HSIO SATA 3.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001643 PCH HSIO SATA 3.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1644**/
1645 UINT8 PchSataHsioRxGen2EqBoostMag[8];
1646
Kilari Raasib07209f2023-04-27 14:44:40 +05301647/** Offset 0x0A11 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001648 0: Disable; 1: Enable.
1649**/
1650 UINT8 PchSataHsioRxGen3EqBoostMagEnable[8];
1651
Kilari Raasib07209f2023-04-27 14:44:40 +05301652/** Offset 0x0A19 - PCH HSIO SATA 6.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001653 PCH HSIO SATA 6.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1654**/
1655 UINT8 PchSataHsioRxGen3EqBoostMag[8];
1656
Kilari Raasib07209f2023-04-27 14:44:40 +05301657/** Offset 0x0A21 - Enable PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001658 0: Disable; 1: Enable.
1659**/
1660 UINT8 PchSataHsioTxGen1DownscaleAmpEnable[8];
1661
Kilari Raasib07209f2023-04-27 14:44:40 +05301662/** Offset 0x0A29 - PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001663 PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value.
1664**/
1665 UINT8 PchSataHsioTxGen1DownscaleAmp[8];
1666
Kilari Raasib07209f2023-04-27 14:44:40 +05301667/** Offset 0x0A31 - Enable PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001668 0: Disable; 1: Enable.
1669**/
1670 UINT8 PchSataHsioTxGen2DownscaleAmpEnable[8];
1671
Kilari Raasib07209f2023-04-27 14:44:40 +05301672/** Offset 0x0A39 - PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001673 PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value.
1674**/
1675 UINT8 PchSataHsioTxGen2DownscaleAmp[8];
1676
Kilari Raasib07209f2023-04-27 14:44:40 +05301677/** Offset 0x0A41 - Enable PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001678 0: Disable; 1: Enable.
1679**/
1680 UINT8 PchSataHsioTxGen3DownscaleAmpEnable[8];
1681
Kilari Raasib07209f2023-04-27 14:44:40 +05301682/** Offset 0x0A49 - PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001683 PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value.
1684**/
1685 UINT8 PchSataHsioTxGen3DownscaleAmp[8];
1686
Kilari Raasib07209f2023-04-27 14:44:40 +05301687/** Offset 0x0A51 - Enable PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001688 0: Disable; 1: Enable.
1689**/
1690 UINT8 PchSataHsioTxGen1DeEmphEnable[8];
1691
Kilari Raasib07209f2023-04-27 14:44:40 +05301692/** Offset 0x0A59 - PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001693 PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting.
1694**/
1695 UINT8 PchSataHsioTxGen1DeEmph[8];
1696
Kilari Raasib07209f2023-04-27 14:44:40 +05301697/** Offset 0x0A61 - Enable PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001698 0: Disable; 1: Enable.
1699**/
1700 UINT8 PchSataHsioTxGen2DeEmphEnable[8];
1701
Kilari Raasib07209f2023-04-27 14:44:40 +05301702/** Offset 0x0A69 - PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001703 PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting.
1704**/
1705 UINT8 PchSataHsioTxGen2DeEmph[8];
1706
Kilari Raasib07209f2023-04-27 14:44:40 +05301707/** Offset 0x0A71 - Enable PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001708 0: Disable; 1: Enable.
1709**/
1710 UINT8 PchSataHsioTxGen3DeEmphEnable[8];
1711
Kilari Raasib07209f2023-04-27 14:44:40 +05301712/** Offset 0x0A79 - PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001713 PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting.
1714**/
1715 UINT8 PchSataHsioTxGen3DeEmph[8];
1716
Kilari Raasib07209f2023-04-27 14:44:40 +05301717/** Offset 0x0A81 - PCH LPC Enhance the port 8xh decoding
Kapil Porwala42ad282022-07-07 18:28:30 +00001718 Original LPC only decodes one byte of port 80h.
1719 $EN_DIS
1720**/
1721 UINT8 PchLpcEnhancePort8xhDecoding;
1722
Kilari Raasib07209f2023-04-27 14:44:40 +05301723/** Offset 0x0A82 - PCH Port80 Route
Kapil Porwala42ad282022-07-07 18:28:30 +00001724 Control where the Port 80h cycles are sent, 0: LPC; 1: PCI.
1725 $EN_DIS
1726**/
1727 UINT8 PchPort80Route;
1728
Kilari Raasib07209f2023-04-27 14:44:40 +05301729/** Offset 0x0A83 - Enable SMBus ARP support
Kapil Porwala42ad282022-07-07 18:28:30 +00001730 Enable SMBus ARP support.
1731 $EN_DIS
1732**/
1733 UINT8 SmbusArpEnable;
1734
Kilari Raasib07209f2023-04-27 14:44:40 +05301735/** Offset 0x0A84 - Number of RsvdSmbusAddressTable.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001736 The number of elements in the RsvdSmbusAddressTable.
1737**/
1738 UINT8 PchNumRsvdSmbusAddresses;
1739
Kilari Raasib07209f2023-04-27 14:44:40 +05301740/** Offset 0x0A85 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001741**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301742 UINT8 Reserved38;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001743
Kilari Raasib07209f2023-04-27 14:44:40 +05301744/** Offset 0x0A86 - SMBUS Base Address
Kapil Porwala42ad282022-07-07 18:28:30 +00001745 SMBUS Base Address (IO space).
1746**/
1747 UINT16 PchSmbusIoBase;
1748
Kilari Raasib07209f2023-04-27 14:44:40 +05301749/** Offset 0x0A88 - Enable SMBus Alert Pin
Kapil Porwala42ad282022-07-07 18:28:30 +00001750 Enable SMBus Alert Pin.
1751 $EN_DIS
1752**/
1753 UINT8 PchSmbAlertEnable;
1754
Kilari Raasib07209f2023-04-27 14:44:40 +05301755/** Offset 0x0A89 - Usage type for SOC/IOE ClkSrc
1756 0-23: PCIe rootport, 0x70:LAN, 0x80: unspecified but in use (free running), 0xFF: not used
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001757**/
Kilari Raasib07209f2023-04-27 14:44:40 +05301758 UINT8 PcieClkSrcUsage[16];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001759
Kilari Raasib07209f2023-04-27 14:44:40 +05301760/** Offset 0x0A99 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001761**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301762 UINT8 Reserved39[16];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001763
Kilari Raasib07209f2023-04-27 14:44:40 +05301764/** Offset 0x0AA9 - SOC/IOE ClkReq-to-ClkSrc mapping
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001765 Number of ClkReq signal assigned to ClkSrc
1766**/
Kilari Raasib07209f2023-04-27 14:44:40 +05301767 UINT8 PcieClkSrcClkReq[16];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001768
Kilari Raasib07209f2023-04-27 14:44:40 +05301769/** Offset 0x0AB9 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001770**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301771 UINT8 Reserved40[55];
Kilari Raasi6a7703f2023-05-30 12:36:36 +05301772
1773/** Offset 0x0AF0 - Enable PCH PCIE RP Mask
1774 Enable/disable PCH PCIE Root Ports. 0: disable, 1: enable. One bit for each port,
1775 bit0 for port1, bit1 for port2, and so on.
1776**/
1777 UINT32 PchPcieRpEnableMask;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001778
Kilari Raasib07209f2023-04-27 14:44:40 +05301779/** Offset 0x0AF4 - Enable SOC/IOE PCIE RP Mask
Subrata Banik6ed43152022-11-22 16:36:37 +05301780 Enable/disable SOC/IOE PCIE Root Ports. 0: disable, 1: enable. One bit for each
1781 port, bit0 for port1, bit1 for port2, and so on.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001782**/
Subrata Banik6ed43152022-11-22 16:36:37 +05301783 UINT16 PcieRpEnableMask;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001784
Kilari Raasib07209f2023-04-27 14:44:40 +05301785/** Offset 0x0AF6 - VC Type
Kapil Porwala42ad282022-07-07 18:28:30 +00001786 Virtual Channel Type Select: 0: VC0, 1: VC1.
1787 0: VC0, 1: VC1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001788**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001789 UINT8 PchHdaVcType;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001790
Kilari Raasib07209f2023-04-27 14:44:40 +05301791/** Offset 0x0AF7 - Universal Audio Architecture compliance for DSP enabled system
Kapil Porwala42ad282022-07-07 18:28:30 +00001792 0: Not-UAA Compliant (Intel SST driver supported only), 1: UAA Compliant (HDA Inbox
1793 driver or SST driver supported).
1794 $EN_DIS
1795**/
1796 UINT8 PchHdaDspUaaCompliance;
1797
Kilari Raasib07209f2023-04-27 14:44:40 +05301798/** Offset 0x0AF8 - Enable HD Audio Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001799 Enable/disable HD Audio Link. Muxed with SSP0/SSP1/SNDW1.
1800 $EN_DIS
1801**/
1802 UINT8 PchHdaAudioLinkHdaEnable;
1803
Kilari Raasib07209f2023-04-27 14:44:40 +05301804/** Offset 0x0AF9 - Enable HDA SDI lanes
Kapil Porwala42ad282022-07-07 18:28:30 +00001805 Enable/disable HDA SDI lanes.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001806**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001807 UINT8 PchHdaSdiEnable[2];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001808
Kilari Raasib07209f2023-04-27 14:44:40 +05301809/** Offset 0x0AFB - HDA Power/Clock Gating (PGD/CGD)
Kapil Porwala42ad282022-07-07 18:28:30 +00001810 Enable/Disable HD Audio Power and Clock Gating(POR: Enable). 0: PLATFORM_POR, 1:
1811 FORCE_ENABLE, 2: FORCE_DISABLE.
1812 0: POR, 1: Force Enable, 2: Force Disable
1813**/
1814 UINT8 PchHdaTestPowerClockGating;
1815
Kilari Raasib07209f2023-04-27 14:44:40 +05301816/** Offset 0x0AFC - Enable HD Audio DMIC_N Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001817 Enable/disable HD Audio DMIC1 link. Muxed with SNDW3.
1818**/
1819 UINT8 PchHdaAudioLinkDmicEnable[2];
1820
Kilari Raasib07209f2023-04-27 14:44:40 +05301821/** Offset 0x0AFE - Reserved
Subrata Banik6ed43152022-11-22 16:36:37 +05301822**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301823 UINT8 Reserved41[2];
Subrata Banik6ed43152022-11-22 16:36:37 +05301824
Kilari Raasib07209f2023-04-27 14:44:40 +05301825/** Offset 0x0B00 - DMIC<N> ClkA Pin Muxing (N - DMIC number)
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001826 Determines DMIC<N> ClkA Pin muxing. See GPIO_*_MUXING_DMIC<N>_CLKA_*
1827**/
1828 UINT32 PchHdaAudioLinkDmicClkAPinMux[2];
1829
Kilari Raasib07209f2023-04-27 14:44:40 +05301830/** Offset 0x0B08 - DMIC<N> ClkB Pin Muxing
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001831 Determines DMIC<N> ClkA Pin muxing. See GPIO_*_MUXING_DMIC<N>_CLKB_*
1832**/
1833 UINT32 PchHdaAudioLinkDmicClkBPinMux[2];
1834
Kilari Raasib07209f2023-04-27 14:44:40 +05301835/** Offset 0x0B10 - Enable HD Audio DSP
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001836 Enable/disable HD Audio DSP feature.
1837 $EN_DIS
1838**/
1839 UINT8 PchHdaDspEnable;
1840
Kilari Raasib07209f2023-04-27 14:44:40 +05301841/** Offset 0x0B11 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001842**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301843 UINT8 Reserved42[3];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001844
Kilari Raasib07209f2023-04-27 14:44:40 +05301845/** Offset 0x0B14 - DMIC<N> Data Pin Muxing
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001846 Determines DMIC<N> Data Pin muxing. See GPIO_*_MUXING_DMIC<N>_DATA_*
1847**/
1848 UINT32 PchHdaAudioLinkDmicDataPinMux[2];
1849
Kilari Raasib07209f2023-04-27 14:44:40 +05301850/** Offset 0x0B1C - Enable HD Audio SSP0 Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001851 Enable/disable HD Audio SSP_N/I2S link. Muxed with HDA. N-number 0-5
1852**/
1853 UINT8 PchHdaAudioLinkSspEnable[6];
1854
Kilari Raasib07209f2023-04-27 14:44:40 +05301855/** Offset 0x0B22 - Enable HD Audio SoundWire#N Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001856 Enable/disable HD Audio SNDW#N link. Muxed with HDA.
1857**/
1858 UINT8 PchHdaAudioLinkSndwEnable[4];
1859
Kilari Raasib07209f2023-04-27 14:44:40 +05301860/** Offset 0x0B26 - iDisp-Link Frequency
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001861 iDisp-Link Freq (PCH_HDAUDIO_LINK_FREQUENCY enum): 4: 96MHz, 3: 48MHz.
1862 4: 96MHz, 3: 48MHz
1863**/
1864 UINT8 PchHdaIDispLinkFrequency;
1865
Kilari Raasib07209f2023-04-27 14:44:40 +05301866/** Offset 0x0B27 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001867**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301868 UINT8 Reserved43;
Kapil Porwala42ad282022-07-07 18:28:30 +00001869
Kilari Raasib07209f2023-04-27 14:44:40 +05301870/** Offset 0x0B28 - iDisp-Link T-mode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001871 iDisp-Link T-Mode (PCH_HDAUDIO_IDISP_TMODE enum): 0: 2T, 2: 4T, 3: 8T, 4: 16T
1872 0: 2T, 2: 4T, 3: 8T, 4: 16T
1873**/
1874 UINT8 PchHdaIDispLinkTmode;
1875
Kilari Raasib07209f2023-04-27 14:44:40 +05301876/** Offset 0x0B29 - iDisplay Audio Codec disconnection
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001877 0: Not disconnected, enumerable, 1: Disconnected SDI, not enumerable.
1878 $EN_DIS
1879**/
1880 UINT8 PchHdaIDispCodecDisconnect;
1881
Kilari Raasib07209f2023-04-27 14:44:40 +05301882/** Offset 0x0B2A - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001883**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301884 UINT8 Reserved44[6];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001885
Kilari Raasib07209f2023-04-27 14:44:40 +05301886/** Offset 0x0B30 - CNVi DDR RFI Mitigation
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001887 Enable/Disable DDR RFI Mitigation. Default is ENABLE. 0: DISABLE, 1: ENABLE
1888 $EN_DIS
1889**/
1890 UINT8 CnviDdrRfim;
1891
Kilari Raasib07209f2023-04-27 14:44:40 +05301892/** Offset 0x0B31 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001893**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301894 UINT8 Reserved45[11];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001895
Kilari Raasib07209f2023-04-27 14:44:40 +05301896/** Offset 0x0B3C - Debug Interfaces
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001897 Debug Interfaces. BIT0-RAM, BIT1-UART, BIT3-USB3, BIT4-Serial IO, BIT5-TraceHub,
1898 BIT2 - Not used.
1899**/
1900 UINT8 PcdDebugInterfaceFlags;
1901
Kilari Raasib07209f2023-04-27 14:44:40 +05301902/** Offset 0x0B3D - Serial Io Uart Debug Controller Number
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001903 Select SerialIo Uart Controller for debug.
1904 0:SerialIoUart0, 1:SerialIoUart1, 2:SerialIoUart2
1905**/
1906 UINT8 SerialIoUartDebugControllerNumber;
1907
Kilari Raasib07209f2023-04-27 14:44:40 +05301908/** Offset 0x0B3E - Serial Io Uart Debug Auto Flow
Kapil Porwala42ad282022-07-07 18:28:30 +00001909 Enables UART hardware flow control, CTS and RTS lines.
1910 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001911**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001912 UINT8 SerialIoUartDebugAutoFlow;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001913
Kilari Raasib07209f2023-04-27 14:44:40 +05301914/** Offset 0x0B3F - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001915**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301916 UINT8 Reserved46;
Kapil Porwala42ad282022-07-07 18:28:30 +00001917
Kilari Raasib07209f2023-04-27 14:44:40 +05301918/** Offset 0x0B40 - Serial Io Uart Debug BaudRate
Kapil Porwala42ad282022-07-07 18:28:30 +00001919 Set default BaudRate Supported from 0 - default to 6000000. Recommended values 9600,
1920 19200, 57600, 115200, 460800, 921600, 1500000, 1843200, 3000000, 3686400, 6000000
1921**/
1922 UINT32 SerialIoUartDebugBaudRate;
1923
Kilari Raasib07209f2023-04-27 14:44:40 +05301924/** Offset 0x0B44 - Serial Io Uart Debug Parity
Kapil Porwala42ad282022-07-07 18:28:30 +00001925 Set default Parity.
1926 0: DefaultParity, 1: NoParity, 2: EvenParity, 3: OddParity
1927**/
1928 UINT8 SerialIoUartDebugParity;
1929
Kilari Raasib07209f2023-04-27 14:44:40 +05301930/** Offset 0x0B45 - Serial Io Uart Debug Stop Bits
Kapil Porwala42ad282022-07-07 18:28:30 +00001931 Set default stop bits.
1932 0: DefaultStopBits, 1: OneStopBit, 2: OneFiveStopBits, 3: TwoStopBits
1933**/
1934 UINT8 SerialIoUartDebugStopBits;
1935
Kilari Raasib07209f2023-04-27 14:44:40 +05301936/** Offset 0x0B46 - Serial Io Uart Debug Data Bits
Kapil Porwala42ad282022-07-07 18:28:30 +00001937 Set default word length. 0: Default, 5,6,7,8
1938 5:5BITS, 6:6BITS, 7:7BITS, 8:8BITS
1939**/
1940 UINT8 SerialIoUartDebugDataBits;
1941
Kilari Raasib07209f2023-04-27 14:44:40 +05301942/** Offset 0x0B47 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001943**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301944 UINT8 Reserved47;
Kapil Porwala42ad282022-07-07 18:28:30 +00001945
Kilari Raasib07209f2023-04-27 14:44:40 +05301946/** Offset 0x0B48 - Serial Io Uart Debug Mmio Base
Kapil Porwala42ad282022-07-07 18:28:30 +00001947 Select SerialIo Uart default MMIO resource in SEC/PEI phase when PcdSerialIoUartMode
1948 = SerialIoUartPci.
1949**/
1950 UINT32 SerialIoUartDebugMmioBase;
1951
Kilari Raasib07209f2023-04-27 14:44:40 +05301952/** Offset 0x0B4C - ISA Serial Base selection
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001953 Select ISA Serial Base address. Default is 0x3F8.
1954 0:0x3F8, 1:0x2F8
1955**/
1956 UINT8 PcdIsaSerialUartBase;
1957
Kilari Raasib07209f2023-04-27 14:44:40 +05301958/** Offset 0x0B4D - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001959**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301960 UINT8 Reserved48;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001961
Kilari Raasib07209f2023-04-27 14:44:40 +05301962/** Offset 0x0B4E - Ring PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001963 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1964**/
1965 UINT8 RingPllVoltageOffset;
1966
Kilari Raasib07209f2023-04-27 14:44:40 +05301967/** Offset 0x0B4F - System Agent PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001968 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1969**/
1970 UINT8 SaPllVoltageOffset;
1971
Kilari Raasib07209f2023-04-27 14:44:40 +05301972/** Offset 0x0B50 - Reserved
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -07001973**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301974 UINT8 Reserved49;
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -07001975
Kilari Raasib07209f2023-04-27 14:44:40 +05301976/** Offset 0x0B51 - Memory Controller PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00001977 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
1978**/
1979 UINT8 McPllVoltageOffset;
1980
Kilari Raasib07209f2023-04-27 14:44:40 +05301981/** Offset 0x0B52 - TCSS Thunderbolt PCIE Root Port 0 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001982 Set TCSS Thunderbolt PCIE Root Port 0. 0:Disabled 1:Enabled
1983 $EN_DIS
1984**/
1985 UINT8 TcssItbtPcie0En;
1986
Kilari Raasib07209f2023-04-27 14:44:40 +05301987/** Offset 0x0B53 - TCSS Thunderbolt PCIE Root Port 1 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001988 Set TCSS Thunderbolt PCIE Root Port 1. 0:Disabled 1:Enabled
1989 $EN_DIS
1990**/
1991 UINT8 TcssItbtPcie1En;
1992
Kilari Raasib07209f2023-04-27 14:44:40 +05301993/** Offset 0x0B54 - TCSS Thunderbolt PCIE Root Port 2 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001994 Set TCSS Thunderbolt PCIE Root Port 2. 0:Disabled 1:Enabled
1995 $EN_DIS
1996**/
1997 UINT8 TcssItbtPcie2En;
1998
Kilari Raasib07209f2023-04-27 14:44:40 +05301999/** Offset 0x0B55 - TCSS Thunderbolt PCIE Root Port 3 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002000 Set TCSS Thunderbolt PCIE Root Port 3. 0:Disabled 1:Enabled
2001 $EN_DIS
2002**/
2003 UINT8 TcssItbtPcie3En;
2004
Kilari Raasib07209f2023-04-27 14:44:40 +05302005/** Offset 0x0B56 - TCSS USB HOST (xHCI) Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002006 Set TCSS XHCI. 0:Disabled 1:Enabled - Must be enabled if xDCI is enabled below
2007 $EN_DIS
2008**/
2009 UINT8 TcssXhciEn;
2010
Kilari Raasib07209f2023-04-27 14:44:40 +05302011/** Offset 0x0B57 - TCSS USB DEVICE (xDCI) Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002012 Set TCSS XDCI. 0:Disabled 1:Enabled - xHCI must be enabled if xDCI is enabled
2013 $EN_DIS
2014**/
2015 UINT8 TcssXdciEn;
2016
Kilari Raasib07209f2023-04-27 14:44:40 +05302017/** Offset 0x0B58 - TCSS DMA0 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002018 Set TCSS DMA0. 0:Disabled 1:Enabled
2019 $EN_DIS
2020**/
2021 UINT8 TcssDma0En;
2022
Kilari Raasib07209f2023-04-27 14:44:40 +05302023/** Offset 0x0B59 - TCSS DMA1 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002024 Set TCSS DMA1. 0:Disabled 1:Enabled
2025 $EN_DIS
2026**/
2027 UINT8 TcssDma1En;
2028
Kilari Raasib07209f2023-04-27 14:44:40 +05302029/** Offset 0x0B5A - PcdSerialDebugBaudRate
Kapil Porwala42ad282022-07-07 18:28:30 +00002030 Baud Rate for Serial Debug Messages. 3:9600, 4:19200, 6:56700, 7:115200.
2031 3:9600, 4:19200, 6:56700, 7:115200
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002032**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002033 UINT8 PcdSerialDebugBaudRate;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002034
Kilari Raasib07209f2023-04-27 14:44:40 +05302035/** Offset 0x0B5B - HobBufferSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002036 Size to set HOB Buffer. 0:Default, 1: 1 Byte, 2: 1 KB, 3: Max value(assuming 63KB
2037 total HOB size).
2038 0:Default, 1: 1 Byte, 2: 1 KB, 3: Max value
2039**/
2040 UINT8 HobBufferSize;
2041
Kilari Raasib07209f2023-04-27 14:44:40 +05302042/** Offset 0x0B5C - Early Command Training
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002043 Enables/Disable Early Command Training
2044 $EN_DIS
2045**/
2046 UINT8 ECT;
2047
Kilari Raasib07209f2023-04-27 14:44:40 +05302048/** Offset 0x0B5D - SenseAmp Offset Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002049 Enables/Disable SenseAmp Offset Training
2050 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002051**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002052 UINT8 SOT;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002053
Kilari Raasib07209f2023-04-27 14:44:40 +05302054/** Offset 0x0B5E - Early ReadMPR Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002055 Enables/Disable Early ReadMPR Timing Centering 2D
2056 $EN_DIS
2057**/
2058 UINT8 ERDMPRTC2D;
2059
Kilari Raasib07209f2023-04-27 14:44:40 +05302060/** Offset 0x0B5F - Read MPR Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002061 Enables/Disable Read MPR Training
2062 $EN_DIS
2063**/
2064 UINT8 RDMPRT;
2065
Kilari Raasib07209f2023-04-27 14:44:40 +05302066/** Offset 0x0B60 - Receive Enable Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002067 Enables/Disable Receive Enable Training
2068 $EN_DIS
2069**/
2070 UINT8 RCVET;
2071
Kilari Raasib07209f2023-04-27 14:44:40 +05302072/** Offset 0x0B61 - Jedec Write Leveling
Kapil Porwala42ad282022-07-07 18:28:30 +00002073 Enables/Disable Jedec Write Leveling
2074 $EN_DIS
2075**/
2076 UINT8 JWRL;
2077
Kilari Raasib07209f2023-04-27 14:44:40 +05302078/** Offset 0x0B62 - Early Write Time Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002079 Enables/Disable Early Write Time Centering 2D
2080 $EN_DIS
2081**/
2082 UINT8 EWRTC2D;
2083
Kilari Raasib07209f2023-04-27 14:44:40 +05302084/** Offset 0x0B63 - Early Read Time Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002085 Enables/Disable Early Read Time Centering 2D
2086 $EN_DIS
2087**/
2088 UINT8 ERDTC2D;
2089
Kilari Raasib07209f2023-04-27 14:44:40 +05302090/** Offset 0x0B64 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002091**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05302092 UINT8 Reserved50;
Kapil Porwala42ad282022-07-07 18:28:30 +00002093
Kilari Raasib07209f2023-04-27 14:44:40 +05302094/** Offset 0x0B65 - Write Timing Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002095 Enables/Disable Write Timing Centering 1D
2096 $EN_DIS
2097**/
2098 UINT8 WRTC1D;
2099
Kilari Raasib07209f2023-04-27 14:44:40 +05302100/** Offset 0x0B66 - Write Voltage Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002101 Enables/Disable Write Voltage Centering 1D
2102 $EN_DIS
2103**/
2104 UINT8 WRVC1D;
2105
Kilari Raasib07209f2023-04-27 14:44:40 +05302106/** Offset 0x0B67 - Read Timing Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002107 Enables/Disable Read Timing Centering 1D
2108 $EN_DIS
2109**/
2110 UINT8 RDTC1D;
2111
Kilari Raasib07209f2023-04-27 14:44:40 +05302112/** Offset 0x0B68 - Read Voltage Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002113 Enable/Disable Read Voltage Centering 1D
2114 $EN_DIS
2115**/
2116 UINT8 RDVC1D;
2117
Kilari Raasib07209f2023-04-27 14:44:40 +05302118/** Offset 0x0B69 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002119**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05302120 UINT8 Reserved51[10];
Kapil Porwala42ad282022-07-07 18:28:30 +00002121
Kilari Raasib07209f2023-04-27 14:44:40 +05302122/** Offset 0x0B73 - Read Equalization Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002123 Enables/Disable Read Equalization Training
2124 $EN_DIS
2125**/
2126 UINT8 RDEQT;
2127
Kilari Raasib07209f2023-04-27 14:44:40 +05302128/** Offset 0x0B74 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002129**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05302130 UINT8 Reserved52[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002131
Kilari Raasib07209f2023-04-27 14:44:40 +05302132/** Offset 0x0B76 - Write Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002133 Enables/Disable Write Timing Centering 2D
2134 $EN_DIS
2135**/
2136 UINT8 WRTC2D;
2137
Kilari Raasib07209f2023-04-27 14:44:40 +05302138/** Offset 0x0B77 - Read Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002139 Enables/Disable Read Timing Centering 2D
2140 $EN_DIS
2141**/
2142 UINT8 RDTC2D;
2143
Kilari Raasib07209f2023-04-27 14:44:40 +05302144/** Offset 0x0B78 - Write Voltage Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002145 Enables/Disable Write Voltage Centering 2D
2146 $EN_DIS
2147**/
2148 UINT8 WRVC2D;
2149
Kilari Raasib07209f2023-04-27 14:44:40 +05302150/** Offset 0x0B79 - Read Voltage Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002151 Enables/Disable Read Voltage Centering 2D
2152 $EN_DIS
2153**/
2154 UINT8 RDVC2D;
2155
Kilari Raasib07209f2023-04-27 14:44:40 +05302156/** Offset 0x0B7A - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302157**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05302158 UINT8 Reserved53;
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302159
Kilari Raasib07209f2023-04-27 14:44:40 +05302160/** Offset 0x0B7B - Command Voltage Centering
Kapil Porwala42ad282022-07-07 18:28:30 +00002161 Enables/Disable Command Voltage Centering
2162 $EN_DIS
2163**/
2164 UINT8 CMDVC;
2165
Kilari Raasib07209f2023-04-27 14:44:40 +05302166/** Offset 0x0B7C - Late Command Training
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002167 Enables/Disable Late Command Training
2168 $EN_DIS
2169**/
2170 UINT8 LCT;
2171
Kilari Raasib07209f2023-04-27 14:44:40 +05302172/** Offset 0x0B7D - Turn Around Timing Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002173 Enables/Disable Turn Around Timing Training
2174 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002175**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002176 UINT8 TAT;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002177
Kilari Raasib07209f2023-04-27 14:44:40 +05302178/** Offset 0x0B7E - Rank Margin Tool
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002179 Enable/disable Rank Margin Tool
2180 $EN_DIS
2181**/
2182 UINT8 RMT;
2183
Kilari Raasib07209f2023-04-27 14:44:40 +05302184/** Offset 0x0B7F - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002185**/
Subrata Banikb6f45ef2023-06-12 16:22:37 +05302186 UINT8 Reserved54;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002187
Kilari Raasib07209f2023-04-27 14:44:40 +05302188/** Offset 0x0B80 - DIMM SPD Alias Test
Kapil Porwala42ad282022-07-07 18:28:30 +00002189 Enables/Disable DIMM SPD Alias Test
2190 $EN_DIS
2191**/
2192 UINT8 ALIASCHK;
2193
Kilari Raasib07209f2023-04-27 14:44:40 +05302194/** Offset 0x0B81 - Retrain Margin Check
Kapil Porwala42ad282022-07-07 18:28:30 +00002195 Enables/Disable Retrain Margin Check
2196 $EN_DIS
2197**/
2198 UINT8 RMC;
2199
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302200/** Offset 0x0B82 - Row Hammering Prevention
2201 Enables/Disable Row Hammering Prevention
2202 $EN_DIS
Kapil Porwala42ad282022-07-07 18:28:30 +00002203**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302204 UINT8 ROWHAMMER;
Kapil Porwala42ad282022-07-07 18:28:30 +00002205
Kilari Raasib07209f2023-04-27 14:44:40 +05302206/** Offset 0x0B83 - Dimm ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002207 Enables/Disable Dimm ODT Training
2208 $EN_DIS
2209**/
2210 UINT8 DIMMODTT;
2211
Kilari Raasib07209f2023-04-27 14:44:40 +05302212/** Offset 0x0B84 - DIMM RON Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002213 Enables/Disable DIMM RON Training
2214 $EN_DIS
2215**/
2216 UINT8 DIMMRONT;
2217
Kilari Raasib07209f2023-04-27 14:44:40 +05302218/** Offset 0x0B85 - TxDqTCO Comp Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002219 Enable/Disable TxDqTCO Comp Training
2220 $EN_DIS
2221**/
2222 UINT8 TXTCO;
2223
Kilari Raasib07209f2023-04-27 14:44:40 +05302224/** Offset 0x0B86 - ClkTCO Comp Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002225 Enable/Disable ClkTCO Comp Training
2226 $EN_DIS
2227**/
2228 UINT8 CLKTCO;
2229
Kilari Raasib07209f2023-04-27 14:44:40 +05302230/** Offset 0x0B87 - CMD Slew Rate Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002231 Enable/Disable CMD Slew Rate Training
2232 $EN_DIS
2233**/
2234 UINT8 CMDSR;
2235
Kilari Raasib07209f2023-04-27 14:44:40 +05302236/** Offset 0x0B88 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002237**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302238 UINT8 Reserved55[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002239
Kilari Raasib07209f2023-04-27 14:44:40 +05302240/** Offset 0x0B8A - DIMM CA ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002241 Enable/Disable DIMM CA ODT Training
2242 $EN_DIS
2243**/
2244 UINT8 DIMMODTCA;
2245
Kilari Raasib07209f2023-04-27 14:44:40 +05302246/** Offset 0x0B8B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002247**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302248 UINT8 Reserved56[3];
Kapil Porwala42ad282022-07-07 18:28:30 +00002249
Kilari Raasib07209f2023-04-27 14:44:40 +05302250/** Offset 0x0B8E - Read Vref Decap Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002251 Enable/Disable Read Vref Decap Training
2252 $EN_DIS
2253**/
2254 UINT8 RDVREFDC;
2255
Kilari Raasib07209f2023-04-27 14:44:40 +05302256/** Offset 0x0B8F - Vddq Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002257 Enable/Disable Vddq Training
2258 $EN_DIS
2259**/
2260 UINT8 VDDQT;
2261
Kilari Raasib07209f2023-04-27 14:44:40 +05302262/** Offset 0x0B90 - Rank Margin Tool Per Bit
Kapil Porwala42ad282022-07-07 18:28:30 +00002263 Enable/Disable Rank Margin Tool Per Bit
2264 $EN_DIS
2265**/
2266 UINT8 RMTBIT;
2267
Kilari Raasib07209f2023-04-27 14:44:40 +05302268/** Offset 0x0B91 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002269**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302270 UINT8 Reserved57[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002271
Kilari Raasib07209f2023-04-27 14:44:40 +05302272/** Offset 0x0B95 - Duty Cycle Correction Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002273 Enable/Disable Duty Cycle Correction Training
2274 $EN_DIS
2275**/
2276 UINT8 DCC;
2277
Kilari Raasib07209f2023-04-27 14:44:40 +05302278/** Offset 0x0B96 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002279**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302280 UINT8 Reserved58[17];
Kapil Porwala42ad282022-07-07 18:28:30 +00002281
Kilari Raasib07209f2023-04-27 14:44:40 +05302282/** Offset 0x0BA7 - ECC Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002283 Enables/Disable ECC Support
2284 $EN_DIS
2285**/
2286 UINT8 EccSupport;
2287
Kilari Raasib07209f2023-04-27 14:44:40 +05302288/** Offset 0x0BA8 - Ibecc
Kapil Porwala42ad282022-07-07 18:28:30 +00002289 In-Band ECC Support
2290 $EN_DIS
2291**/
2292 UINT8 Ibecc;
2293
Kilari Raasib07209f2023-04-27 14:44:40 +05302294/** Offset 0x0BA9 - IbeccParity
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002295 In-Band ECC Parity Control
2296 $EN_DIS
2297**/
2298 UINT8 IbeccParity;
2299
Kilari Raasib07209f2023-04-27 14:44:40 +05302300/** Offset 0x0BAA - IbeccOperationMode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002301 In-Band ECC Operation Mode
2302 0:Protect base on address range, 1: Non-protected, 2: All protected
2303**/
2304 UINT8 IbeccOperationMode;
2305
Kilari Raasib07209f2023-04-27 14:44:40 +05302306/** Offset 0x0BAB - IbeccProtectedRegionEnable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002307 In-Band ECC Protected Region Enable
2308 $EN_DIS
2309**/
2310 UINT8 IbeccProtectedRegionEnable[8];
2311
Kilari Raasib07209f2023-04-27 14:44:40 +05302312/** Offset 0x0BB3 - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302313**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302314 UINT8 Reserved59;
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302315
Kilari Raasib07209f2023-04-27 14:44:40 +05302316/** Offset 0x0BB4 - IbeccProtectedRegionBases
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002317 IBECC Protected Region Bases per IBECC instance
2318**/
2319 UINT16 IbeccProtectedRegionBase[8];
2320
Kilari Raasib07209f2023-04-27 14:44:40 +05302321/** Offset 0x0BC4 - IbeccProtectedRegionMasks
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002322 IBECC Protected Region Masks
2323**/
2324 UINT16 IbeccProtectedRegionMask[8];
2325
Kilari Raasib07209f2023-04-27 14:44:40 +05302326/** Offset 0x0BD4 - IbeccProtectedRegionOverallBases
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002327 IBECC Protected Region Bases based on enabled IBECC instance
2328**/
2329 UINT16 IbeccProtectedRegionOverallBase[8];
2330
Kilari Raasib07209f2023-04-27 14:44:40 +05302331/** Offset 0x0BE4 - Memory Remap
Kapil Porwala42ad282022-07-07 18:28:30 +00002332 Enables/Disable Memory Remap
2333 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002334**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002335 UINT8 RemapEnable;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002336
Kilari Raasib07209f2023-04-27 14:44:40 +05302337/** Offset 0x0BE5 - Rank Interleave support
Kapil Porwala42ad282022-07-07 18:28:30 +00002338 Enables/Disable Rank Interleave support. NOTE: RI and HORI can not be enabled at
2339 the same time.
2340 $EN_DIS
2341**/
2342 UINT8 RankInterleave;
2343
Kilari Raasib07209f2023-04-27 14:44:40 +05302344/** Offset 0x0BE6 - Enhanced Interleave support
Kapil Porwala42ad282022-07-07 18:28:30 +00002345 Enables/Disable Enhanced Interleave support
2346 $EN_DIS
2347**/
2348 UINT8 EnhancedInterleave;
2349
Kilari Raasib07209f2023-04-27 14:44:40 +05302350/** Offset 0x0BE7 - Ch Hash Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002351 Enable/Disable Channel Hash Support. NOTE: ONLY if Memory interleaved Mode
2352 $EN_DIS
2353**/
2354 UINT8 ChHashEnable;
2355
Kilari Raasib07209f2023-04-27 14:44:40 +05302356/** Offset 0x0BE8 - Extern Therm Status
Kapil Porwala42ad282022-07-07 18:28:30 +00002357 Enables/Disable Extern Therm Status
2358 $EN_DIS
2359**/
2360 UINT8 EnableExtts;
2361
Kilari Raasib07209f2023-04-27 14:44:40 +05302362/** Offset 0x0BE9 - DDR PowerDown and idle counter
Kapil Porwala42ad282022-07-07 18:28:30 +00002363 Enables/Disable DDR PowerDown and idle counter(For LPDDR Only)
2364 $EN_DIS
2365**/
2366 UINT8 EnablePwrDn;
2367
Kilari Raasib07209f2023-04-27 14:44:40 +05302368/** Offset 0x0BEA - DDR PowerDown and idle counter
Kapil Porwala42ad282022-07-07 18:28:30 +00002369 Enables/Disable DDR PowerDown and idle counter(For LPDDR Only)
2370 $EN_DIS
2371**/
2372 UINT8 EnablePwrDnLpddr;
2373
Kilari Raasib07209f2023-04-27 14:44:40 +05302374/** Offset 0x0BEB - SelfRefresh Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00002375 Enables/Disable SelfRefresh Enable
2376 $EN_DIS
2377**/
2378 UINT8 SrefCfgEna;
2379
Kilari Raasib07209f2023-04-27 14:44:40 +05302380/** Offset 0x0BEC - Throttler CKEMin Defeature
Kapil Porwala42ad282022-07-07 18:28:30 +00002381 Enables/Disable Throttler CKEMin Defeature(For LPDDR Only)
2382 $EN_DIS
2383**/
2384 UINT8 ThrtCkeMinDefeatLpddr;
2385
Kilari Raasib07209f2023-04-27 14:44:40 +05302386/** Offset 0x0BED - Throttler CKEMin Defeature
Kapil Porwala42ad282022-07-07 18:28:30 +00002387 Enables/Disable Throttler CKEMin Defeature
2388 $EN_DIS
2389**/
2390 UINT8 ThrtCkeMinDefeat;
2391
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302392/** Offset 0x0BEE - Row Hammer Select
2393 Row Hammer Select
2394 0:Disable, 1:RFM, 2:pTRR
Kapil Porwala42ad282022-07-07 18:28:30 +00002395**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302396 UINT8 RhSelect;
Kapil Porwala42ad282022-07-07 18:28:30 +00002397
Kilari Raasib07209f2023-04-27 14:44:40 +05302398/** Offset 0x0BEF - Exit On Failure (MRC)
Kapil Porwala42ad282022-07-07 18:28:30 +00002399 Enables/Disable Exit On Failure (MRC)
2400 $EN_DIS
2401**/
2402 UINT8 ExitOnFailure;
2403
Kilari Raasib07209f2023-04-27 14:44:40 +05302404/** Offset 0x0BF0 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002405**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302406 UINT8 Reserved60[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002407
Kilari Raasib07209f2023-04-27 14:44:40 +05302408/** Offset 0x0BF4 - Select if ZQ pin is shared between Rank0 and Rank1 in DDR4 DDP
Kapil Porwala42ad282022-07-07 18:28:30 +00002409 ESelect if ZQ pin is shared between Rank0 and Rank1 in DDR4 DDP
2410 $EN_DIS
2411**/
2412 UINT8 Ddr4DdpSharedZq;
2413
Kilari Raasib07209f2023-04-27 14:44:40 +05302414/** Offset 0x0BF5 - Ch Hash Interleaved Bit
Kapil Porwala42ad282022-07-07 18:28:30 +00002415 Select the BIT to be used for Channel Interleaved mode. NOTE: BIT7 will interlave
2416 the channels at a 2 cacheline granularity, BIT8 at 4 and BIT9 at 8. Default is BIT8
2417 0:BIT6, 1:BIT7, 2:BIT8, 3:BIT9, 4:BIT10, 5:BIT11, 6:BIT12, 7:BIT13
2418**/
2419 UINT8 ChHashInterleaveBit;
2420
Kilari Raasib07209f2023-04-27 14:44:40 +05302421/** Offset 0x0BF6 - Ch Hash Mask
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002422 Set the BIT(s) to be included in the XOR function. NOTE BIT mask corresponds to
2423 BITS [19:6] Default is 0x30CC
2424**/
2425 UINT16 ChHashMask;
2426
Kilari Raasib07209f2023-04-27 14:44:40 +05302427/** Offset 0x0BF8 - Base reference clock value
Kapil Porwala42ad282022-07-07 18:28:30 +00002428 Base reference clock value, in Hertz(Default is 125Hz)
2429 100000000:100Hz, 125000000:125Hz, 167000000:167Hz, 250000000:250Hz
2430**/
2431 UINT32 BClkFrequency;
2432
Kilari Raasib07209f2023-04-27 14:44:40 +05302433/** Offset 0x0BFC - EPG DIMM Idd3N
Kapil Porwala42ad282022-07-07 18:28:30 +00002434 Active standby current (Idd3N) in milliamps from datasheet. Must be calculated on
2435 a per DIMM basis. Default is 26
2436**/
2437 UINT16 Idd3n;
2438
Kilari Raasib07209f2023-04-27 14:44:40 +05302439/** Offset 0x0BFE - EPG DIMM Idd3P
Kapil Porwala42ad282022-07-07 18:28:30 +00002440 Active power-down current (Idd3P) in milliamps from datasheet. Must be calculated
2441 on a per DIMM basis. Default is 11
2442**/
2443 UINT16 Idd3p;
2444
Kilari Raasib07209f2023-04-27 14:44:40 +05302445/** Offset 0x0C00 - CMD Normalization
Kapil Porwala42ad282022-07-07 18:28:30 +00002446 Enable/Disable CMD Normalization
2447 $EN_DIS
2448**/
2449 UINT8 CMDNORM;
2450
Kilari Raasib07209f2023-04-27 14:44:40 +05302451/** Offset 0x0C01 - Early DQ Write Drive Strength and Equalization Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002452 Enable/Disable Early DQ Write Drive Strength and Equalization Training
2453 $EN_DIS
2454**/
2455 UINT8 EWRDSEQ;
2456
Kilari Raasib07209f2023-04-27 14:44:40 +05302457/** Offset 0x0C02 - Idle Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002458 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2459**/
2460 UINT8 IdleEnergyMc0Ch0Dimm0;
2461
Kilari Raasib07209f2023-04-27 14:44:40 +05302462/** Offset 0x0C03 - Idle Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002463 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2464**/
2465 UINT8 IdleEnergyMc0Ch0Dimm1;
2466
Kilari Raasib07209f2023-04-27 14:44:40 +05302467/** Offset 0x0C04 - Idle Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002468 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2469**/
2470 UINT8 IdleEnergyMc0Ch1Dimm0;
2471
Kilari Raasib07209f2023-04-27 14:44:40 +05302472/** Offset 0x0C05 - Idle Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002473 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2474**/
2475 UINT8 IdleEnergyMc0Ch1Dimm1;
2476
Kilari Raasib07209f2023-04-27 14:44:40 +05302477/** Offset 0x0C06 - Idle Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002478 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2479**/
2480 UINT8 IdleEnergyMc1Ch0Dimm0;
2481
Kilari Raasib07209f2023-04-27 14:44:40 +05302482/** Offset 0x0C07 - Idle Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002483 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2484**/
2485 UINT8 IdleEnergyMc1Ch0Dimm1;
2486
Kilari Raasib07209f2023-04-27 14:44:40 +05302487/** Offset 0x0C08 - Idle Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002488 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2489**/
2490 UINT8 IdleEnergyMc1Ch1Dimm0;
2491
Kilari Raasib07209f2023-04-27 14:44:40 +05302492/** Offset 0x0C09 - Idle Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002493 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2494**/
2495 UINT8 IdleEnergyMc1Ch1Dimm1;
2496
Kilari Raasib07209f2023-04-27 14:44:40 +05302497/** Offset 0x0C0A - PowerDown Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002498 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2499**/
2500 UINT8 PdEnergyMc0Ch0Dimm0;
2501
Kilari Raasib07209f2023-04-27 14:44:40 +05302502/** Offset 0x0C0B - PowerDown Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002503 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2504**/
2505 UINT8 PdEnergyMc0Ch0Dimm1;
2506
Kilari Raasib07209f2023-04-27 14:44:40 +05302507/** Offset 0x0C0C - PowerDown Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002508 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2509**/
2510 UINT8 PdEnergyMc0Ch1Dimm0;
2511
Kilari Raasib07209f2023-04-27 14:44:40 +05302512/** Offset 0x0C0D - PowerDown Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002513 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2514**/
2515 UINT8 PdEnergyMc0Ch1Dimm1;
2516
Kilari Raasib07209f2023-04-27 14:44:40 +05302517/** Offset 0x0C0E - PowerDown Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002518 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2519**/
2520 UINT8 PdEnergyMc1Ch0Dimm0;
2521
Kilari Raasib07209f2023-04-27 14:44:40 +05302522/** Offset 0x0C0F - PowerDown Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002523 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2524**/
2525 UINT8 PdEnergyMc1Ch0Dimm1;
2526
Kilari Raasib07209f2023-04-27 14:44:40 +05302527/** Offset 0x0C10 - PowerDown Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002528 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2529**/
2530 UINT8 PdEnergyMc1Ch1Dimm0;
2531
Kilari Raasib07209f2023-04-27 14:44:40 +05302532/** Offset 0x0C11 - PowerDown Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002533 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2534**/
2535 UINT8 PdEnergyMc1Ch1Dimm1;
2536
Kilari Raasib07209f2023-04-27 14:44:40 +05302537/** Offset 0x0C12 - Activate Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002538 Activate Energy Contribution, range[255;0],(172= Def)
2539**/
2540 UINT8 ActEnergyMc0Ch0Dimm0;
2541
Kilari Raasib07209f2023-04-27 14:44:40 +05302542/** Offset 0x0C13 - Activate Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002543 Activate Energy Contribution, range[255;0],(172= Def)
2544**/
2545 UINT8 ActEnergyMc0Ch0Dimm1;
2546
Kilari Raasib07209f2023-04-27 14:44:40 +05302547/** Offset 0x0C14 - Activate Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002548 Activate Energy Contribution, range[255;0],(172= Def)
2549**/
2550 UINT8 ActEnergyMc0Ch1Dimm0;
2551
Kilari Raasib07209f2023-04-27 14:44:40 +05302552/** Offset 0x0C15 - Activate Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002553 Activate Energy Contribution, range[255;0],(172= Def)
2554**/
2555 UINT8 ActEnergyMc0Ch1Dimm1;
2556
Kilari Raasib07209f2023-04-27 14:44:40 +05302557/** Offset 0x0C16 - Activate Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002558 Activate Energy Contribution, range[255;0],(172= Def)
2559**/
2560 UINT8 ActEnergyMc1Ch0Dimm0;
2561
Kilari Raasib07209f2023-04-27 14:44:40 +05302562/** Offset 0x0C17 - Activate Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002563 Activate Energy Contribution, range[255;0],(172= Def)
2564**/
2565 UINT8 ActEnergyMc1Ch0Dimm1;
2566
Kilari Raasib07209f2023-04-27 14:44:40 +05302567/** Offset 0x0C18 - Activate Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002568 Activate Energy Contribution, range[255;0],(172= Def)
2569**/
2570 UINT8 ActEnergyMc1Ch1Dimm0;
2571
Kilari Raasib07209f2023-04-27 14:44:40 +05302572/** Offset 0x0C19 - Activate Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002573 Activate Energy Contribution, range[255;0],(172= Def)
2574**/
2575 UINT8 ActEnergyMc1Ch1Dimm1;
2576
Kilari Raasib07209f2023-04-27 14:44:40 +05302577/** Offset 0x0C1A - Read Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002578 Read Energy Contribution, range[255;0],(212= Def)
2579**/
2580 UINT8 RdEnergyMc0Ch0Dimm0;
2581
Kilari Raasib07209f2023-04-27 14:44:40 +05302582/** Offset 0x0C1B - Read Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002583 Read Energy Contribution, range[255;0],(212= Def)
2584**/
2585 UINT8 RdEnergyMc0Ch0Dimm1;
2586
Kilari Raasib07209f2023-04-27 14:44:40 +05302587/** Offset 0x0C1C - Read Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002588 Read Energy Contribution, range[255;0],(212= Def)
2589**/
2590 UINT8 RdEnergyMc0Ch1Dimm0;
2591
Kilari Raasib07209f2023-04-27 14:44:40 +05302592/** Offset 0x0C1D - Read Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002593 Read Energy Contribution, range[255;0],(212= Def)
2594**/
2595 UINT8 RdEnergyMc0Ch1Dimm1;
2596
Kilari Raasib07209f2023-04-27 14:44:40 +05302597/** Offset 0x0C1E - Read Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002598 Read Energy Contribution, range[255;0],(212= Def)
2599**/
2600 UINT8 RdEnergyMc1Ch0Dimm0;
2601
Kilari Raasib07209f2023-04-27 14:44:40 +05302602/** Offset 0x0C1F - Read Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002603 Read Energy Contribution, range[255;0],(212= Def)
2604**/
2605 UINT8 RdEnergyMc1Ch0Dimm1;
2606
Kilari Raasib07209f2023-04-27 14:44:40 +05302607/** Offset 0x0C20 - Read Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002608 Read Energy Contribution, range[255;0],(212= Def)
2609**/
2610 UINT8 RdEnergyMc1Ch1Dimm0;
2611
Kilari Raasib07209f2023-04-27 14:44:40 +05302612/** Offset 0x0C21 - Read Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002613 Read Energy Contribution, range[255;0],(212= Def)
2614**/
2615 UINT8 RdEnergyMc1Ch1Dimm1;
2616
Kilari Raasib07209f2023-04-27 14:44:40 +05302617/** Offset 0x0C22 - Write Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002618 Write Energy Contribution, range[255;0],(221= Def)
2619**/
2620 UINT8 WrEnergyMc0Ch0Dimm0;
2621
Kilari Raasib07209f2023-04-27 14:44:40 +05302622/** Offset 0x0C23 - Write Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002623 Write Energy Contribution, range[255;0],(221= Def)
2624**/
2625 UINT8 WrEnergyMc0Ch0Dimm1;
2626
Kilari Raasib07209f2023-04-27 14:44:40 +05302627/** Offset 0x0C24 - Write Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002628 Write Energy Contribution, range[255;0],(221= Def)
2629**/
2630 UINT8 WrEnergyMc0Ch1Dimm0;
2631
Kilari Raasib07209f2023-04-27 14:44:40 +05302632/** Offset 0x0C25 - Write Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002633 Write Energy Contribution, range[255;0],(221= Def)
2634**/
2635 UINT8 WrEnergyMc0Ch1Dimm1;
2636
Kilari Raasib07209f2023-04-27 14:44:40 +05302637/** Offset 0x0C26 - Write Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002638 Write Energy Contribution, range[255;0],(221= Def)
2639**/
2640 UINT8 WrEnergyMc1Ch0Dimm0;
2641
Kilari Raasib07209f2023-04-27 14:44:40 +05302642/** Offset 0x0C27 - Write Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002643 Write Energy Contribution, range[255;0],(221= Def)
2644**/
2645 UINT8 WrEnergyMc1Ch0Dimm1;
2646
Kilari Raasib07209f2023-04-27 14:44:40 +05302647/** Offset 0x0C28 - Write Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002648 Write Energy Contribution, range[255;0],(221= Def)
2649**/
2650 UINT8 WrEnergyMc1Ch1Dimm0;
2651
Kilari Raasib07209f2023-04-27 14:44:40 +05302652/** Offset 0x0C29 - Write Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002653 Write Energy Contribution, range[255;0],(221= Def)
2654**/
2655 UINT8 WrEnergyMc1Ch1Dimm1;
2656
Kilari Raasib07209f2023-04-27 14:44:40 +05302657/** Offset 0x0C2A - Throttler CKEMin Timer
Kapil Porwala42ad282022-07-07 18:28:30 +00002658 Timer value for CKEMin, range[255;0]. Req'd min of SC_ROUND_T + BYTE_LENGTH (4).
2659 Dfault is 0x00
2660**/
2661 UINT8 ThrtCkeMinTmr;
2662
Kilari Raasib07209f2023-04-27 14:44:40 +05302663/** Offset 0x0C2B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002664**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302665 UINT8 Reserved61[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002666
Kilari Raasib07209f2023-04-27 14:44:40 +05302667/** Offset 0x0C2D - Rapl Power Floor Ch0
Kapil Porwala42ad282022-07-07 18:28:30 +00002668 Power budget ,range[255;0],(0= 5.3W Def)
2669**/
2670 UINT8 RaplPwrFlCh0;
2671
Kilari Raasib07209f2023-04-27 14:44:40 +05302672/** Offset 0x0C2E - Rapl Power Floor Ch1
Kapil Porwala42ad282022-07-07 18:28:30 +00002673 Power budget ,range[255;0],(0= 5.3W Def)
2674**/
2675 UINT8 RaplPwrFlCh1;
2676
Kilari Raasib07209f2023-04-27 14:44:40 +05302677/** Offset 0x0C2F - Command Rate Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002678 CMD Rate and Limit Support Option. NOTE: ONLY supported in 1N Mode, Default is 3 CMDs
2679 0:Disable, 5:2 CMDS, 7:3 CMDS, 9:4 CMDS, 11:5 CMDS, 13:6 CMDS, 15:7 CMDS
2680**/
2681 UINT8 EnCmdRate;
2682
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302683/** Offset 0x0C30 - MC_REFRESH_RATE
2684 Type of Refresh Rate used to prevent Row Hammer. Default is NORMAL Refresh
2685 0:NORMAL Refresh, 1:1x Refresh, 2:2x Refresh, 3:4x Refresh
Kapil Porwala42ad282022-07-07 18:28:30 +00002686**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302687 UINT8 McRefreshRate;
Kapil Porwala42ad282022-07-07 18:28:30 +00002688
Kilari Raasib07209f2023-04-27 14:44:40 +05302689/** Offset 0x0C31 - Energy Performance Gain
Kapil Porwala42ad282022-07-07 18:28:30 +00002690 Enable/disable Energy Performance Gain. <b>0: Disable</b>; 1: Enable
2691 $EN_DIS
2692**/
2693 UINT8 EpgEnable;
2694
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302695/** Offset 0x0C32 - RH pTRR LFSR0 Mask
2696 Row Hammer pTRR LFSR0 Mask, 1/2^(value)
Kapil Porwala42ad282022-07-07 18:28:30 +00002697**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302698 UINT8 Lfsr0Mask;
Kapil Porwala42ad282022-07-07 18:28:30 +00002699
Kilari Raasib07209f2023-04-27 14:44:40 +05302700/** Offset 0x0C33 - User Manual Threshold
Kapil Porwala42ad282022-07-07 18:28:30 +00002701 Disabled: Predefined threshold will be used.\n
2702 Enabled: User Input will be used.
2703 $EN_DIS
2704**/
2705 UINT8 UserThresholdEnable;
2706
Kilari Raasib07209f2023-04-27 14:44:40 +05302707/** Offset 0x0C34 - User Manual Budget
Kapil Porwala42ad282022-07-07 18:28:30 +00002708 Disabled: Configuration of memories will defined the Budget value.\n
2709 Enabled: User Input will be used.
2710 $EN_DIS
2711**/
2712 UINT8 UserBudgetEnable;
2713
Kilari Raasib07209f2023-04-27 14:44:40 +05302714/** Offset 0x0C35 - Reserved
Kilari Raasieac71c02023-01-30 16:02:34 +05302715**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302716 UINT8 Reserved62;
Kilari Raasieac71c02023-01-30 16:02:34 +05302717
Kilari Raasib07209f2023-04-27 14:44:40 +05302718/** Offset 0x0C36 - Power Down Mode
Kapil Porwala42ad282022-07-07 18:28:30 +00002719 This option controls command bus tristating during idle periods
2720 0x0:No Power Down, 0x1:APD, 0x6:PPD DLL OFF, 0xFF:Auto
2721**/
2722 UINT8 PowerDownMode;
2723
Kilari Raasib07209f2023-04-27 14:44:40 +05302724/** Offset 0x0C37 - Pwr Down Idle Timer
Kapil Porwala42ad282022-07-07 18:28:30 +00002725 The minimum value should = to the worst case Roundtrip delay + Burst_Length. 0 means
2726 AUTO: 64 for ULX/ULT, 128 for DT/Halo
2727**/
2728 UINT8 PwdwnIdleCounter;
2729
Kilari Raasib07209f2023-04-27 14:44:40 +05302730/** Offset 0x0C38 - Page Close Idle Timeout
Kapil Porwala42ad282022-07-07 18:28:30 +00002731 This option controls Page Close Idle Timeout
2732 0:Enabled, 1:Disabled
2733**/
2734 UINT8 DisPgCloseIdleTimeout;
2735
Kilari Raasib07209f2023-04-27 14:44:40 +05302736/** Offset 0x0C39 - Bitmask of ranks that have CA bus terminated
Kapil Porwala42ad282022-07-07 18:28:30 +00002737 Offset 225 LPDDR4: Bitmask of ranks that have CA bus terminated. <b>0x01=Default,
2738 Rank0 is terminating and Rank1 is non-terminating</b>
2739**/
2740 UINT8 CmdRanksTerminated;
2741
Kilari Raasib07209f2023-04-27 14:44:40 +05302742/** Offset 0x0C3A - PcdSerialDebugLevel
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002743 Serial Debug Message Level. 0:Disable, 1:Error Only, 2:Error & Warnings, 3:Load,
2744 Error, Warnings & Info, 4:Load, Error, Warnings, Info & Event, 5:Load, Error, Warnings,
2745 Info & Verbose.
2746 0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warnings and Info, 4:Load
2747 Error Warnings and Info & Event, 5:Load Error Warnings Info and Verbose
2748**/
2749 UINT8 PcdSerialDebugLevel;
2750
Kilari Raasib07209f2023-04-27 14:44:40 +05302751/** Offset 0x0C3B - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002752**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302753 UINT8 Reserved63[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002754
Kilari Raasib07209f2023-04-27 14:44:40 +05302755/** Offset 0x0C43 - Ask MRC to clear memory content
Kapil Porwala42ad282022-07-07 18:28:30 +00002756 Ask MRC to clear memory content <b>0: Do not Clear Memory;</b> 1: Clear Memory.
2757 $EN_DIS
2758**/
2759 UINT8 CleanMemory;
2760
Kilari Raasib07209f2023-04-27 14:44:40 +05302761/** Offset 0x0C44 - TCSS USB Port Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002762 Bitmap for per port enabling
2763**/
2764 UINT8 UsbTcPortEnPreMem;
2765
Kilari Raasib07209f2023-04-27 14:44:40 +05302766/** Offset 0x0C45 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002767**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302768 UINT8 Reserved64;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002769
Kilari Raasib07209f2023-04-27 14:44:40 +05302770/** Offset 0x0C46 - Post Code Output Port
Kapil Porwala42ad282022-07-07 18:28:30 +00002771 This option configures Post Code Output Port
2772**/
2773 UINT16 PostCodeOutputPort;
2774
Kilari Raasib07209f2023-04-27 14:44:40 +05302775/** Offset 0x0C48 - RMTLoopCount
Kapil Porwala42ad282022-07-07 18:28:30 +00002776 Specifies the Loop Count to be used during Rank Margin Tool Testing. 0 - AUTO
2777**/
2778 UINT8 RMTLoopCount;
2779
Kilari Raasib07209f2023-04-27 14:44:40 +05302780/** Offset 0x0C49 - Enable/Disable SA CRID
Kapil Porwala42ad282022-07-07 18:28:30 +00002781 Enable: SA CRID, Disable (Default): SA CRID
2782 $EN_DIS
2783**/
2784 UINT8 CridEnable;
2785
Kilari Raasib07209f2023-04-27 14:44:40 +05302786/** Offset 0x0C4A - Reserved
Kilari Raasieac71c02023-01-30 16:02:34 +05302787**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302788 UINT8 Reserved65[2];
Kilari Raasieac71c02023-01-30 16:02:34 +05302789
Kilari Raasib07209f2023-04-27 14:44:40 +05302790/** Offset 0x0C4C - BCLK RFI Frequency
Kapil Porwala42ad282022-07-07 18:28:30 +00002791 Bclk RFI Frequency for each SAGV point in Hz units. 98000000Hz = 98MHz <b>0 - No
2792 RFI Tuning</b>. Range is 98Mhz-100Mhz.
2793**/
2794 UINT32 BclkRfiFreq[4];
2795
Kilari Raasib07209f2023-04-27 14:44:40 +05302796/** Offset 0x0C5C - Size of PCIe IMR.
Kapil Porwala42ad282022-07-07 18:28:30 +00002797 Size of PCIe IMR in megabytes
2798**/
2799 UINT16 PcieImrSize;
2800
Kilari Raasib07209f2023-04-27 14:44:40 +05302801/** Offset 0x0C5E - Enable PCIe IMR
Kapil Porwala42ad282022-07-07 18:28:30 +00002802 0: Disable(AUTO), 1: Enable
2803 $EN_DIS
2804**/
2805 UINT8 PcieImrEnabled;
2806
Kilari Raasib07209f2023-04-27 14:44:40 +05302807/** Offset 0x0C5F - Enable PCIe IMR
Kapil Porwala42ad282022-07-07 18:28:30 +00002808 1: PCH PCIE, 2: SA PCIE. If PCIeImrEnabled is TRUE then this will use to select
2809 the Root port location from PCH PCIe or SA PCIe
2810 $EN_DIS
2811**/
2812 UINT8 PcieImrRpLocation;
2813
Kilari Raasib07209f2023-04-27 14:44:40 +05302814/** Offset 0x0C60 - Root port number for IMR.
Kapil Porwala42ad282022-07-07 18:28:30 +00002815 Root port number for IMR.If PCieImrRpLocation is PCH PCIe then select root port
2816 from 0 to 23 and if it is SA PCIe then select root port from 0 to 3
2817**/
2818 UINT8 PcieImrRpSelection;
2819
Kilari Raasib07209f2023-04-27 14:44:40 +05302820/** Offset 0x0C61 - SerialDebugMrcLevel
Subrata Banik82067412022-07-01 09:12:08 +00002821 MRC Serial Debug Message Level. 0:Disable, 1:Error Only, 2:Error & Warnings, 3:Load,
2822 Error, Warnings & Info, 4:Load, Error, Warnings, Info & Event, 5:Load, Error, Warnings,
2823 Info & Verbose.
2824 0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warnings and Info, 4:Load
2825 Error Warnings and Info & Event, 5:Load Error Warnings Info and Verbose
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002826**/
Subrata Banik82067412022-07-01 09:12:08 +00002827 UINT8 SerialDebugMrcLevel;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002828
Kilari Raasib07209f2023-04-27 14:44:40 +05302829/** Offset 0x0C62 - Reserved
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002830**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302831 UINT8 Reserved66[11];
2832
2833/** Offset 0x0C6D - RH pTRR LFSR1 Mask
2834 Row Hammer pTRR LFSR1 Mask, 1/2^(value)
2835**/
2836 UINT8 Lfsr1Mask;
2837
2838/** Offset 0x0C6E - Reserved
2839**/
2840 UINT8 Reserved67;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002841
Kilari Raasib07209f2023-04-27 14:44:40 +05302842/** Offset 0x0C6F - Command Pins Mapping
Kapil Porwala42ad282022-07-07 18:28:30 +00002843 BitMask where bits [3:0] are Controller 0 Channel [3:0] and bits [7:4] are Controller
2844 1 Channel [3:0]. 0 = CCC pin mapping is Ascending, 1 = CCC pin mapping is Descending.
2845**/
2846 UINT8 Lp5CccConfig;
2847
Kilari Raasib07209f2023-04-27 14:44:40 +05302848/** Offset 0x0C70 - Command Pins Mirrored
Kapil Porwala42ad282022-07-07 18:28:30 +00002849 BitMask where bits [3:0] are Controller 0 Channel [3:0] and bits [7:4] are Controller
2850 1 Channel [3:0]. 0 = No Command Mirror and 1 = Command Mirror.
2851**/
2852 UINT8 CmdMirror;
2853
Kilari Raasib07209f2023-04-27 14:44:40 +05302854/** Offset 0x0C71 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002855**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302856 UINT8 Reserved68[24];
Kapil Porwala42ad282022-07-07 18:28:30 +00002857
Kilari Raasib07209f2023-04-27 14:44:40 +05302858/** Offset 0x0C89 - Skip external display device scanning
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002859 Enable: Do not scan for external display device, Disable (Default): Scan external
2860 display devices
2861 $EN_DIS
2862**/
2863 UINT8 SkipExtGfxScan;
2864
Kilari Raasib07209f2023-04-27 14:44:40 +05302865/** Offset 0x0C8A - Generate BIOS Data ACPI Table
Kapil Porwala42ad282022-07-07 18:28:30 +00002866 Enable: Generate BDAT for MRC RMT or SA PCIe data. Disable (Default): Do not generate it
2867 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002868**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002869 UINT8 BdatEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002870
Kilari Raasib07209f2023-04-27 14:44:40 +05302871/** Offset 0x0C8B - Lock PCU Thermal Management registers
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002872 Lock PCU Thermal Management registers. Enable(Default)=1, Disable=0
2873 $EN_DIS
2874**/
2875 UINT8 LockPTMregs;
2876
Kilari Raasib07209f2023-04-27 14:44:40 +05302877/** Offset 0x0C8C - Panel Power Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00002878 Control for enabling/disabling VDD force bit (Required only for early enabling of
2879 eDP panel). 0=Disable, 1(Default)=Enable
2880 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002881**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002882 UINT8 PanelPowerEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002883
Kilari Raasib07209f2023-04-27 14:44:40 +05302884/** Offset 0x0C8D - BdatTestType
Kapil Porwala42ad282022-07-07 18:28:30 +00002885 Indicates the type of Memory Training data to populate into the BDAT ACPI table.
2886 0:RMT per Rank, 1:RMT per Bit, 2:Margin2D
2887**/
2888 UINT8 BdatTestType;
2889
Kilari Raasib07209f2023-04-27 14:44:40 +05302890/** Offset 0x0C8E - Reserved
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07002891**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302892 UINT8 Reserved69[2];
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07002893
Kilari Raasib07209f2023-04-27 14:44:40 +05302894/** Offset 0x0C90 - PMR Size
Kapil Porwala42ad282022-07-07 18:28:30 +00002895 Size of PMR memory buffer. 0x400000 for normal boot and 0x200000 for S3 boot
2896**/
2897 UINT32 DmaBufferSize;
2898
Kilari Raasib07209f2023-04-27 14:44:40 +05302899/** Offset 0x0C94 - The policy for VTd driver behavior
Kapil Porwala42ad282022-07-07 18:28:30 +00002900 BIT0: Enable IOMMU during boot, BIT1: Enable IOMMU when transfer control to OS
2901**/
2902 UINT8 PreBootDmaMask;
2903
Kilari Raasib07209f2023-04-27 14:44:40 +05302904/** Offset 0x0C95 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002905**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302906 UINT8 Reserved70[143];
Kapil Porwala42ad282022-07-07 18:28:30 +00002907
Kilari Raasib07209f2023-04-27 14:44:40 +05302908/** Offset 0x0D24 - TotalFlashSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002909 Enable/Disable. 0: Disable, define default value of TotalFlashSize , 1: enable
2910**/
2911 UINT16 TotalFlashSize;
2912
Kilari Raasib07209f2023-04-27 14:44:40 +05302913/** Offset 0x0D26 - BiosSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002914 The size of the BIOS region of the IFWI. Used if FspmUpd->FspmConfig.BiosGuard !=
2915 0. If BiosGuard is enabled, MRC will increase the size of the DPR (DMA Protected
2916 Range) so that a BIOS Update Script can be stored in the DPR.
2917**/
2918 UINT16 BiosSize;
2919
Kilari Raasib07209f2023-04-27 14:44:40 +05302920/** Offset 0x0D28 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002921**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302922 UINT8 Reserved71[28];
Kapil Porwala42ad282022-07-07 18:28:30 +00002923
Kilari Raasib07209f2023-04-27 14:44:40 +05302924/** Offset 0x0D44 - Smbus dynamic power gating
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002925 Disable or Enable Smbus dynamic power gating.
2926 $EN_DIS
2927**/
2928 UINT8 SmbusDynamicPowerGating;
2929
Kilari Raasib07209f2023-04-27 14:44:40 +05302930/** Offset 0x0D45 - Disable and Lock Watch Dog Register
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002931 Set 1 to clear WDT status, then disable and lock WDT registers.
2932 $EN_DIS
2933**/
2934 UINT8 WdtDisableAndLock;
2935
Kilari Raasib07209f2023-04-27 14:44:40 +05302936/** Offset 0x0D46 - Reserved
Kilari Raasib1207582023-03-20 12:19:23 +05302937**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302938 UINT8 Reserved72[2];
Kilari Raasib1207582023-03-20 12:19:23 +05302939
Kilari Raasib07209f2023-04-27 14:44:40 +05302940/** Offset 0x0D48 - SMBUS SPD Write Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00002941 Set/Clear Smbus SPD Write Disable. 0: leave SPD Write Disable bit; 1: set SPD Write
2942 Disable bit. For security recommendations, SPD write disable bit must be set.
2943 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002944**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002945 UINT8 SmbusSpdWriteDisable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002946
Kilari Raasib07209f2023-04-27 14:44:40 +05302947/** Offset 0x0D49 - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302948**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302949 UINT8 Reserved73[34];
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302950
Kilari Raasib07209f2023-04-27 14:44:40 +05302951/** Offset 0x0D6B - HECI Timeouts
Kapil Porwala42ad282022-07-07 18:28:30 +00002952 0: Disable, 1: Enable (Default) timeout check for HECI
2953 $EN_DIS
2954**/
2955 UINT8 HeciTimeouts;
2956
Kilari Raasib07209f2023-04-27 14:44:40 +05302957/** Offset 0x0D6C - Force ME DID Init Status
Kapil Porwala42ad282022-07-07 18:28:30 +00002958 Test, 0: disable, 1: Success, 2: No Memory in Channels, 3: Memory Init Error, Set
2959 ME DID init stat value
2960 $EN_DIS
2961**/
2962 UINT8 DidInitStat;
2963
Kilari Raasib07209f2023-04-27 14:44:40 +05302964/** Offset 0x0D6D - CPU Replaced Polling Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00002965 Test, 0: disable, 1: enable, Setting this option disables CPU replacement polling loop
2966 $EN_DIS
2967**/
2968 UINT8 DisableCpuReplacedPolling;
2969
Kilari Raasib07209f2023-04-27 14:44:40 +05302970/** Offset 0x0D6E - Check HECI message before send
Kapil Porwala42ad282022-07-07 18:28:30 +00002971 Test, 0: disable, 1: enable, Enable/Disable message check.
2972 $EN_DIS
2973**/
2974 UINT8 DisableMessageCheck;
2975
Kilari Raasib07209f2023-04-27 14:44:40 +05302976/** Offset 0x0D6F - Skip MBP HOB
2977 Test, 0: disable, 1: enable, Enable/Disable sending MBP message and creating MBP Hob.
Kapil Porwala42ad282022-07-07 18:28:30 +00002978 $EN_DIS
2979**/
2980 UINT8 SkipMbpHob;
2981
Kilari Raasib07209f2023-04-27 14:44:40 +05302982/** Offset 0x0D70 - HECI2 Interface Communication
Kapil Porwala42ad282022-07-07 18:28:30 +00002983 Test, 0: disable, 1: enable, Adds or Removes HECI2 Device from PCI space.
2984 $EN_DIS
2985**/
2986 UINT8 HeciCommunication2;
2987
Kilari Raasib07209f2023-04-27 14:44:40 +05302988/** Offset 0x0D71 - Enable KT device
Kilari Raasib1207582023-03-20 12:19:23 +05302989 Test, 0: POR, 1: enable, 2: disable, Enable or Disable KT device.
Kapil Porwala42ad282022-07-07 18:28:30 +00002990 $EN_DIS
2991**/
2992 UINT8 KtDeviceEnable;
2993
Kilari Raasib07209f2023-04-27 14:44:40 +05302994/** Offset 0x0D72 - Skip CPU replacement check
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002995 Test, 0: disable, 1: enable, Setting this option to skip CPU replacement check
2996 $EN_DIS
2997**/
2998 UINT8 SkipCpuReplacementCheck;
2999
Kilari Raasib07209f2023-04-27 14:44:40 +05303000/** Offset 0x0D73 - Reserved
3001**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05303002 UINT8 Reserved74[100];
Kilari Raasib07209f2023-04-27 14:44:40 +05303003
3004/** Offset 0x0DD7 - Avx2 Voltage Guardband Scaling Factor
Kapil Porwala42ad282022-07-07 18:28:30 +00003005 AVX2 Voltage Guardband Scale factor applied to AVX2 workloads. Range is 0-200 in
3006 1/100 units, where a value of 125 would apply a 1.25 scale factor.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003007**/
Kapil Porwala42ad282022-07-07 18:28:30 +00003008 UINT8 Avx2VoltageScaleFactor;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003009
Kilari Raasib07209f2023-04-27 14:44:40 +05303010/** Offset 0x0DD8 - Avx512 Voltage Guardband Scaling Factor
Kapil Porwala42ad282022-07-07 18:28:30 +00003011 AVX512 Voltage Guardband Scale factor applied to AVX512 workloads. Range is 0-200
3012 in 1/100 units, where a value of 125 would apply a 1.25 scale factor.
3013**/
3014 UINT8 Avx512VoltageScaleFactor;
3015
Kilari Raasib07209f2023-04-27 14:44:40 +05303016/** Offset 0x0DD9 - Serial Io Uart Debug Mode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003017 Select SerialIo Uart Controller mode
3018 0:SerialIoUartDisabled, 1:SerialIoUartPci, 2:SerialIoUartHidden, 3:SerialIoUartCom,
3019 4:SerialIoUartSkipInit
3020**/
3021 UINT8 SerialIoUartDebugMode;
3022
Kilari Raasib07209f2023-04-27 14:44:40 +05303023/** Offset 0x0DDA - Reserved
Kilari Raasib1207582023-03-20 12:19:23 +05303024**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05303025 UINT8 Reserved75[2];
Kilari Raasib1207582023-03-20 12:19:23 +05303026
Kilari Raasib07209f2023-04-27 14:44:40 +05303027/** Offset 0x0DDC - SerialIoUartDebugRxPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003028 Select RX pin muxing for SerialIo UART used for debug
3029**/
3030 UINT32 SerialIoUartDebugRxPinMux;
3031
Kilari Raasib07209f2023-04-27 14:44:40 +05303032/** Offset 0x0DE0 - SerialIoUartDebugTxPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003033 Select TX pin muxing for SerialIo UART used for debug
3034**/
3035 UINT32 SerialIoUartDebugTxPinMux;
3036
Kilari Raasib07209f2023-04-27 14:44:40 +05303037/** Offset 0x0DE4 - SerialIoUartDebugRtsPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003038 Select SerialIo Uart used for debug Rts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_RTS*
3039 for possible values.
3040**/
3041 UINT32 SerialIoUartDebugRtsPinMux;
3042
Kilari Raasib07209f2023-04-27 14:44:40 +05303043/** Offset 0x0DE8 - SerialIoUartDebugCtsPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003044 Select SerialIo Uart used for debug Cts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_CTS*
3045 for possible values.
3046**/
3047 UINT32 SerialIoUartDebugCtsPinMux;
3048
Kilari Raasib07209f2023-04-27 14:44:40 +05303049/** Offset 0x0DEC - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00003050**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05303051 UINT8 Reserved76[164];
3052
3053/** Offset 0x0E90 - TME Exclude Base Address
3054 TME Exclude Base Address.
3055**/
3056 UINT64 TmeExcludeBase;
3057
3058/** Offset 0x0E98 - TME Exclude Size Value
3059 TME Exclude Size Value.
3060**/
3061 UINT64 TmeExcludeSize;
3062
3063/** Offset 0x0EA0 - Generate New TME Key
3064 Enable: Generate New TME Key, Disable(Default): TME key determine by type of reset
3065 $EN_DIS
3066**/
3067 UINT8 GenerateNewTmeKey;
3068
3069/** Offset 0x0EA1 - Reserved
3070**/
3071 UINT8 Reserved77[7];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003072} FSP_M_CONFIG;
3073
3074/** Fsp M UPD Configuration
3075**/
3076typedef struct {
3077
3078/** Offset 0x0000
3079**/
3080 FSP_UPD_HEADER FspUpdHeader;
3081
3082/** Offset 0x0020
3083**/
3084 FSPM_ARCH_UPD FspmArchUpd;
3085
3086/** Offset 0x0040
3087**/
3088 FSP_M_CONFIG FspmConfig;
3089
Kilari Raasi6a7703f2023-05-30 12:36:36 +05303090/** Offset 0x0EA8
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003091**/
Subrata Banik6ed43152022-11-22 16:36:37 +05303092 UINT8 Rsvd500[6];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003093
Kilari Raasi6a7703f2023-05-30 12:36:36 +05303094/** Offset 0x0EAE
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003095**/
3096 UINT16 UpdTerminator;
3097} FSPM_UPD;
3098
3099#pragma pack()
3100
3101#endif