blob: 7853004998114e6c5d6494a0645ef3b02707be58 [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
Subrata Banikd0de6c22023-08-30 17:38:50 +00001217 DEPRECATED. 0(Default)= No Offset. Range 0 - 31. Specifies number of bins to decrease
1218 AVX ratio vs. Core Ratio. Uses Mailbox MSR 0x150, cmd 0x1B.
Kapil Porwala42ad282022-07-07 18:28:30 +00001219**/
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**/
Kilari Raasi01f4f5d2023-08-16 16:34:40 +05301419 UINT8 Reserved32[145];
1420
1421/** Offset 0x0616 - Platform Power Pmax
1422 PSYS PMax power, defined in 1/8 Watt increments. <b>0 - Auto</b> Specified in 1/8
1423 Watt increments. Range 0-1024 Watts(0-8191). Value of 800 = 100W
1424**/
1425 UINT16 PsysPmax;
1426
1427/** Offset 0x0618 - Reserved
1428**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301429 UINT8 Reserved33[12];
1430
1431/** Offset 0x0624 - AcLoadline
1432 AC Loadline defined in 1/100 mOhms. A value of 100 = 1.00 mOhm, and 1255 = 12.55
1433 mOhm. Range is 0-6249 (0-62.49 mOhms). 0 = AUTO/HW default. [0] for IA, [1] for
1434 GT, [2] for SA, [3] through [5] are Reserved.
1435**/
1436 UINT16 AcLoadline[6];
1437
1438/** Offset 0x0630 - DcLoadline
1439 DC Loadline defined in 1/100 mOhms. A value of 100 = 1.00 mOhm, and 1255 = 12.55
1440 mOhm. Range is 0-6249 (0-62.49 mOhms). 0 = AUTO/HW default. [0] for IA, [1] for
1441 GT, [2] for SA, [3] through [5] are Reserved.
1442**/
1443 UINT16 DcLoadline[6];
1444
Jeremy Compostellae68650a2023-10-18 12:39:10 -07001445/** Offset 0x063C - Power State 1 Threshold current
1446 PS Current Threshold1, defined in 1/4 A increments. A value of 400 = 100A. Range
1447 0-512, which translates to 0-128A. 0 = AUTO. [0] for IA, [1] for GT, [2] for SA,
1448 [3] through [5] are Reserved.
Subrata Banik17d619c2023-09-22 12:26:11 +05301449**/
Jeremy Compostellae68650a2023-10-18 12:39:10 -07001450 UINT16 Psi1Threshold[6];
1451
1452/** Offset 0x0648 - Power State 2 Threshold current
1453 PS Current Threshold2, defined in 1/4 A increments. A value of 400 = 100A. Range
1454 0-512, which translates to 0-128A. 0 = AUTO. [0] for IA, [1] for GT, [2] for SA,
1455 [3] through [5] are Reserved.
1456**/
1457 UINT16 Psi2Threshold[6];
1458
1459/** Offset 0x0654 - Power State 3 Threshold current
1460 PS Current Threshold3, defined in 1/4 A increments. A value of 400 = 100A. Range
1461 0-512, which translates to 0-128A. 0 = AUTO. [0] for IA, [1] for GT, [2] for SA,
1462 [3] through [5] are Reserved.
1463**/
1464 UINT16 Psi3Threshold[6];
1465
1466/** Offset 0x0660 - Reserved
1467**/
1468 UINT8 Reserved34[54];
Kapil Porwala42ad282022-07-07 18:28:30 +00001469
Kilari Raasib07209f2023-04-27 14:44:40 +05301470/** Offset 0x0696 - Thermal Design Current enable/disable
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001471 Thermal Design Current enable/disable; <b>0: Disable</b>; 1: Enable. [0] for IA,
Kapil Porwala42ad282022-07-07 18:28:30 +00001472 [1] for GT, [2] for SA, [3] through [5] are Reserved.
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001473**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001474 UINT8 TdcEnable[6];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001475
Kilari Raasib07209f2023-04-27 14:44:40 +05301476/** Offset 0x069C - Thermal Design Current time window
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001477 TDC Time Window, value of IA either in milliseconds or seconds, value of GT/SA is
1478 in milliseconds. 1ms is default. Range of IA from 1ms to 448s, Range of GT/SA is
1479 1ms to 10ms, except for 9ms. 9ms has no valid encoding in the MSR definition.
1480**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001481 UINT32 TdcTimeWindow[6];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001482
Kilari Raasib07209f2023-04-27 14:44:40 +05301483/** Offset 0x06B4 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001484**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301485 UINT8 Reserved35[166];
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301486
1487/** Offset 0x075A - VR Fast Vmode ICC Limit support
1488 Voltage Regulator Fast Vmode ICC Limit. A value of 400 = 100A. A value of 0 corresponds
1489 to feature disabled (no reactive protection). This value represents the current
1490 threshold where the VR would initiate reactive protection if Fast Vmode is enabled.
1491 The value is represented in 1/4 A increments. Range 0-2040. [0] for IA, [1] for
1492 GT, [2] for SA, [3] through [5] are Reserved.
1493**/
1494 UINT16 IccLimit[6];
1495
1496/** Offset 0x0766 - Enable/Disable VR FastVmode. The VR will initiate reactive protection if Fast Vmode is enabled.
Dinesh Gehlotb60cf3d2023-08-17 11:04:32 +05301497 Enable/Disable VR FastVmode; 0: Disable; <b>1: Enable</b>. For all VR by domain
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301498 0: Disable, 1: Enable
1499**/
1500 UINT8 EnableFastVmode[6];
1501
1502/** Offset 0x076C - Enable CEP
Dinesh Gehlotb60cf3d2023-08-17 11:04:32 +05301503 Enable/Disable CEP (Current Excursion Protection) Support. 0: Disable; <b>1: Enable</b>.
1504 [0] for IA, [1] for GT, [2] for SA, [3] through [5] are Reserved.
Subrata Banikb6f45ef2023-06-12 16:22:37 +05301505 $EN_DIS
1506**/
1507 UINT8 CepEnable[6];
1508
1509/** Offset 0x0772 - Reserved
1510**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301511 UINT8 Reserved36[146];
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001512
Kilari Raasib07209f2023-04-27 14:44:40 +05301513/** Offset 0x0804 - BiosGuard
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001514 Enable/Disable. 0: Disable, Enable/Disable BIOS Guard feature, 1: enable
1515 $EN_DIS
1516**/
1517 UINT8 BiosGuard;
1518
Kilari Raasib07209f2023-04-27 14:44:40 +05301519/** Offset 0x0805
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001520**/
1521 UINT8 BiosGuardToolsInterface;
1522
Kilari Raasib07209f2023-04-27 14:44:40 +05301523/** Offset 0x0806 - Txt
Kapil Porwala42ad282022-07-07 18:28:30 +00001524 Enables utilization of additional hardware capabilities provided by Intel (R) Trusted
1525 Execution Technology. Changes require a full power cycle to take effect. <b>0:
1526 Disable</b>, 1: Enable
1527 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001528**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001529 UINT8 Txt;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001530
Kilari Raasib07209f2023-04-27 14:44:40 +05301531/** Offset 0x0807 - Reserved
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07001532**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301533 UINT8 Reserved37;
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07001534
Kilari Raasib07209f2023-04-27 14:44:40 +05301535/** Offset 0x0808 - PrmrrSize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001536 Enable/Disable. 0: Disable, define default value of PrmrrSize , 1: enable
1537**/
1538 UINT32 PrmrrSize;
1539
Kilari Raasib07209f2023-04-27 14:44:40 +05301540/** Offset 0x080C - SinitMemorySize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001541 Enable/Disable. 0: Disable, define default value of SinitMemorySize , 1: enable
1542**/
1543 UINT32 SinitMemorySize;
1544
Kilari Raasib07209f2023-04-27 14:44:40 +05301545/** Offset 0x0810 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001546**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301547 UINT8 Reserved38[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001548
Kilari Raasib07209f2023-04-27 14:44:40 +05301549/** Offset 0x0818 - TxtDprMemoryBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001550 Enable/Disable. 0: Disable, define default value of TxtDprMemoryBase , 1: enable
1551**/
1552 UINT64 TxtDprMemoryBase;
1553
Kilari Raasib07209f2023-04-27 14:44:40 +05301554/** Offset 0x0820 - TxtHeapMemorySize
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001555 Enable/Disable. 0: Disable, define default value of TxtHeapMemorySize , 1: enable
1556**/
1557 UINT32 TxtHeapMemorySize;
1558
Kilari Raasib07209f2023-04-27 14:44:40 +05301559/** Offset 0x0824 - TxtDprMemorySize
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001560 Reserve DPR memory size (0-255) MB. 0: Disable, define default value of TxtDprMemorySize
1561 , 1: enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001562**/
1563 UINT32 TxtDprMemorySize;
1564
Kilari Raasib07209f2023-04-27 14:44:40 +05301565/** Offset 0x0828 - BiosAcmBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001566 Enable/Disable. 0: Disable, define default value of BiosAcmBase , 1: enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001567**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001568 UINT32 BiosAcmBase;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07001569
Kilari Raasib07209f2023-04-27 14:44:40 +05301570/** Offset 0x082C - BiosAcmSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001571 Enable/Disable. 0: Disable, define default value of BiosAcmSize , 1: enable
1572**/
1573 UINT32 BiosAcmSize;
1574
Kilari Raasib07209f2023-04-27 14:44:40 +05301575/** Offset 0x0830 - ApStartupBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001576 Enable/Disable. 0: Disable, define default value of BiosAcmBase , 1: enable
1577**/
1578 UINT32 ApStartupBase;
1579
Kilari Raasib07209f2023-04-27 14:44:40 +05301580/** Offset 0x0834 - TgaSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001581 Enable/Disable. 0: Disable, define default value of TgaSize , 1: enable
1582**/
1583 UINT32 TgaSize;
1584
Kilari Raasib07209f2023-04-27 14:44:40 +05301585/** Offset 0x0838 - TxtLcpPdBase
Kapil Porwala42ad282022-07-07 18:28:30 +00001586 Enable/Disable. 0: Disable, define default value of TxtLcpPdBase , 1: enable
1587**/
1588 UINT64 TxtLcpPdBase;
1589
Kilari Raasib07209f2023-04-27 14:44:40 +05301590/** Offset 0x0840 - TxtLcpPdSize
Kapil Porwala42ad282022-07-07 18:28:30 +00001591 Enable/Disable. 0: Disable, define default value of TxtLcpPdSize , 1: enable
1592**/
1593 UINT64 TxtLcpPdSize;
1594
Kilari Raasib07209f2023-04-27 14:44:40 +05301595/** Offset 0x0848 - IsTPMPresence
Kapil Porwala42ad282022-07-07 18:28:30 +00001596 IsTPMPresence default values
1597**/
1598 UINT8 IsTPMPresence;
1599
Kilari Raasib07209f2023-04-27 14:44:40 +05301600/** Offset 0x0849 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001601**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301602 UINT8 Reserved39[32];
Kapil Porwala42ad282022-07-07 18:28:30 +00001603
Kilari Raasib07209f2023-04-27 14:44:40 +05301604/** Offset 0x0869 - Enable PCH HSIO PCIE Rx Set Ctle
Kapil Porwala42ad282022-07-07 18:28:30 +00001605 Enable PCH PCIe Gen 3 Set CTLE Value.
1606**/
1607 UINT8 PchPcieHsioRxSetCtleEnable[28];
1608
Kilari Raasib07209f2023-04-27 14:44:40 +05301609/** Offset 0x0885 - PCH HSIO PCIE Rx Set Ctle Value
Kapil Porwala42ad282022-07-07 18:28:30 +00001610 PCH PCIe Gen 3 Set CTLE Value.
1611**/
1612 UINT8 PchPcieHsioRxSetCtle[28];
1613
Kilari Raasib07209f2023-04-27 14:44:40 +05301614/** Offset 0x08A1 - Enble PCH HSIO PCIE TX Gen 1 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001615 0: Disable; 1: Enable.
1616**/
1617 UINT8 PchPcieHsioTxGen1DownscaleAmpEnable[28];
1618
Kilari Raasib07209f2023-04-27 14:44:40 +05301619/** Offset 0x08BD - PCH HSIO PCIE Gen 2 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001620 PCH PCIe Gen 2 TX Output Downscale Amplitude Adjustment value.
1621**/
1622 UINT8 PchPcieHsioTxGen1DownscaleAmp[28];
1623
Kilari Raasib07209f2023-04-27 14:44:40 +05301624/** Offset 0x08D9 - Enable PCH HSIO PCIE TX Gen 2 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001625 0: Disable; 1: Enable.
1626**/
1627 UINT8 PchPcieHsioTxGen2DownscaleAmpEnable[28];
1628
Kilari Raasib07209f2023-04-27 14:44:40 +05301629/** Offset 0x08F5 - PCH HSIO PCIE Gen 2 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001630 PCH PCIe Gen 2 TX Output Downscale Amplitude Adjustment value.
1631**/
1632 UINT8 PchPcieHsioTxGen2DownscaleAmp[28];
1633
Kilari Raasib07209f2023-04-27 14:44:40 +05301634/** Offset 0x0911 - Enable PCH HSIO PCIE TX Gen 3 Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001635 0: Disable; 1: Enable.
1636**/
1637 UINT8 PchPcieHsioTxGen3DownscaleAmpEnable[28];
1638
Kilari Raasib07209f2023-04-27 14:44:40 +05301639/** Offset 0x092D - PCH HSIO PCIE Gen 3 TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001640 PCH PCIe Gen 3 TX Output Downscale Amplitude Adjustment value.
1641**/
1642 UINT8 PchPcieHsioTxGen3DownscaleAmp[28];
1643
Kilari Raasib07209f2023-04-27 14:44:40 +05301644/** Offset 0x0949 - Enable PCH HSIO PCIE Gen 1 TX Output De-Emphasis Adjustment Setting value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001645 0: Disable; 1: Enable.
1646**/
1647 UINT8 PchPcieHsioTxGen1DeEmphEnable[28];
1648
Kilari Raasib07209f2023-04-27 14:44:40 +05301649/** Offset 0x0965 - PCH HSIO PCIE Gen 1 TX Output De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001650 PCH PCIe Gen 1 TX Output De-Emphasis Adjustment Setting.
1651**/
1652 UINT8 PchPcieHsioTxGen1DeEmph[28];
1653
Kilari Raasib07209f2023-04-27 14:44:40 +05301654/** 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 +00001655 0: Disable; 1: Enable.
1656**/
1657 UINT8 PchPcieHsioTxGen2DeEmph3p5Enable[28];
1658
Kilari Raasib07209f2023-04-27 14:44:40 +05301659/** Offset 0x099D - PCH HSIO PCIE Gen 2 TX Output -3.5dB De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001660 PCH PCIe Gen 2 TX Output -3.5dB De-Emphasis Adjustment Setting.
1661**/
1662 UINT8 PchPcieHsioTxGen2DeEmph3p5[28];
1663
Kilari Raasib07209f2023-04-27 14:44:40 +05301664/** 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 +00001665 0: Disable; 1: Enable.
1666**/
1667 UINT8 PchPcieHsioTxGen2DeEmph6p0Enable[28];
1668
Kilari Raasib07209f2023-04-27 14:44:40 +05301669/** Offset 0x09D5 - PCH HSIO PCIE Gen 2 TX Output -6.0dB De-Emphasis Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001670 PCH PCIe Gen 2 TX Output -6.0dB De-Emphasis Adjustment Setting.
1671**/
1672 UINT8 PchPcieHsioTxGen2DeEmph6p0[28];
1673
Kilari Raasib07209f2023-04-27 14:44:40 +05301674/** Offset 0x09F1 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001675 0: Disable; 1: Enable.
1676**/
1677 UINT8 PchSataHsioRxGen1EqBoostMagEnable[8];
1678
Kilari Raasib07209f2023-04-27 14:44:40 +05301679/** Offset 0x09F9 - PCH HSIO SATA 1.5 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001680 PCH HSIO SATA 1.5 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1681**/
1682 UINT8 PchSataHsioRxGen1EqBoostMag[8];
1683
Kilari Raasib07209f2023-04-27 14:44:40 +05301684/** Offset 0x0A01 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001685 0: Disable; 1: Enable.
1686**/
1687 UINT8 PchSataHsioRxGen2EqBoostMagEnable[8];
1688
Kilari Raasib07209f2023-04-27 14:44:40 +05301689/** Offset 0x0A09 - PCH HSIO SATA 3.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001690 PCH HSIO SATA 3.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1691**/
1692 UINT8 PchSataHsioRxGen2EqBoostMag[8];
1693
Kilari Raasib07209f2023-04-27 14:44:40 +05301694/** Offset 0x0A11 - Enable PCH HSIO SATA Receiver Equalization Boost Magnitude Adjustment Value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001695 0: Disable; 1: Enable.
1696**/
1697 UINT8 PchSataHsioRxGen3EqBoostMagEnable[8];
1698
Kilari Raasib07209f2023-04-27 14:44:40 +05301699/** Offset 0x0A19 - PCH HSIO SATA 6.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001700 PCH HSIO SATA 6.0 Gb/s Receiver Equalization Boost Magnitude Adjustment value.
1701**/
1702 UINT8 PchSataHsioRxGen3EqBoostMag[8];
1703
Kilari Raasib07209f2023-04-27 14:44:40 +05301704/** Offset 0x0A21 - Enable PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001705 0: Disable; 1: Enable.
1706**/
1707 UINT8 PchSataHsioTxGen1DownscaleAmpEnable[8];
1708
Kilari Raasib07209f2023-04-27 14:44:40 +05301709/** Offset 0x0A29 - PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001710 PCH HSIO SATA 1.5 Gb/s TX Output Downscale Amplitude Adjustment value.
1711**/
1712 UINT8 PchSataHsioTxGen1DownscaleAmp[8];
1713
Kilari Raasib07209f2023-04-27 14:44:40 +05301714/** Offset 0x0A31 - Enable PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001715 0: Disable; 1: Enable.
1716**/
1717 UINT8 PchSataHsioTxGen2DownscaleAmpEnable[8];
1718
Kilari Raasib07209f2023-04-27 14:44:40 +05301719/** Offset 0x0A39 - PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001720 PCH HSIO SATA 3.0 Gb/s TX Output Downscale Amplitude Adjustment value.
1721**/
1722 UINT8 PchSataHsioTxGen2DownscaleAmp[8];
1723
Kilari Raasib07209f2023-04-27 14:44:40 +05301724/** Offset 0x0A41 - Enable PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value override
Kapil Porwala42ad282022-07-07 18:28:30 +00001725 0: Disable; 1: Enable.
1726**/
1727 UINT8 PchSataHsioTxGen3DownscaleAmpEnable[8];
1728
Kilari Raasib07209f2023-04-27 14:44:40 +05301729/** Offset 0x0A49 - PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value
Kapil Porwala42ad282022-07-07 18:28:30 +00001730 PCH HSIO SATA 6.0 Gb/s TX Output Downscale Amplitude Adjustment value.
1731**/
1732 UINT8 PchSataHsioTxGen3DownscaleAmp[8];
1733
Kilari Raasib07209f2023-04-27 14:44:40 +05301734/** 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 +00001735 0: Disable; 1: Enable.
1736**/
1737 UINT8 PchSataHsioTxGen1DeEmphEnable[8];
1738
Kilari Raasib07209f2023-04-27 14:44:40 +05301739/** Offset 0x0A59 - PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001740 PCH HSIO SATA 1.5 Gb/s TX Output De-Emphasis Adjustment Setting.
1741**/
1742 UINT8 PchSataHsioTxGen1DeEmph[8];
1743
Kilari Raasib07209f2023-04-27 14:44:40 +05301744/** 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 +00001745 0: Disable; 1: Enable.
1746**/
1747 UINT8 PchSataHsioTxGen2DeEmphEnable[8];
1748
Kilari Raasib07209f2023-04-27 14:44:40 +05301749/** Offset 0x0A69 - PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001750 PCH HSIO SATA 3.0 Gb/s TX Output De-Emphasis Adjustment Setting.
1751**/
1752 UINT8 PchSataHsioTxGen2DeEmph[8];
1753
Kilari Raasib07209f2023-04-27 14:44:40 +05301754/** 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 +00001755 0: Disable; 1: Enable.
1756**/
1757 UINT8 PchSataHsioTxGen3DeEmphEnable[8];
1758
Kilari Raasib07209f2023-04-27 14:44:40 +05301759/** Offset 0x0A79 - PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting
Kapil Porwala42ad282022-07-07 18:28:30 +00001760 PCH HSIO SATA 6.0 Gb/s TX Output De-Emphasis Adjustment Setting.
1761**/
1762 UINT8 PchSataHsioTxGen3DeEmph[8];
1763
Kilari Raasib07209f2023-04-27 14:44:40 +05301764/** Offset 0x0A81 - PCH LPC Enhance the port 8xh decoding
Kapil Porwala42ad282022-07-07 18:28:30 +00001765 Original LPC only decodes one byte of port 80h.
1766 $EN_DIS
1767**/
1768 UINT8 PchLpcEnhancePort8xhDecoding;
1769
Kilari Raasib07209f2023-04-27 14:44:40 +05301770/** Offset 0x0A82 - PCH Port80 Route
Kapil Porwala42ad282022-07-07 18:28:30 +00001771 Control where the Port 80h cycles are sent, 0: LPC; 1: PCI.
1772 $EN_DIS
1773**/
1774 UINT8 PchPort80Route;
1775
Kilari Raasib07209f2023-04-27 14:44:40 +05301776/** Offset 0x0A83 - Enable SMBus ARP support
Kapil Porwala42ad282022-07-07 18:28:30 +00001777 Enable SMBus ARP support.
1778 $EN_DIS
1779**/
1780 UINT8 SmbusArpEnable;
1781
Kilari Raasib07209f2023-04-27 14:44:40 +05301782/** Offset 0x0A84 - Number of RsvdSmbusAddressTable.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001783 The number of elements in the RsvdSmbusAddressTable.
1784**/
1785 UINT8 PchNumRsvdSmbusAddresses;
1786
Kilari Raasib07209f2023-04-27 14:44:40 +05301787/** Offset 0x0A85 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001788**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301789 UINT8 Reserved40;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001790
Kilari Raasib07209f2023-04-27 14:44:40 +05301791/** Offset 0x0A86 - SMBUS Base Address
Kapil Porwala42ad282022-07-07 18:28:30 +00001792 SMBUS Base Address (IO space).
1793**/
1794 UINT16 PchSmbusIoBase;
1795
Kilari Raasib07209f2023-04-27 14:44:40 +05301796/** Offset 0x0A88 - Enable SMBus Alert Pin
Kapil Porwala42ad282022-07-07 18:28:30 +00001797 Enable SMBus Alert Pin.
1798 $EN_DIS
1799**/
1800 UINT8 PchSmbAlertEnable;
1801
Kilari Raasib07209f2023-04-27 14:44:40 +05301802/** Offset 0x0A89 - Usage type for SOC/IOE ClkSrc
1803 0-23: PCIe rootport, 0x70:LAN, 0x80: unspecified but in use (free running), 0xFF: not used
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001804**/
Kilari Raasib07209f2023-04-27 14:44:40 +05301805 UINT8 PcieClkSrcUsage[16];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001806
Kilari Raasib07209f2023-04-27 14:44:40 +05301807/** Offset 0x0A99 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001808**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301809 UINT8 Reserved41[16];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001810
Kilari Raasib07209f2023-04-27 14:44:40 +05301811/** Offset 0x0AA9 - SOC/IOE ClkReq-to-ClkSrc mapping
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001812 Number of ClkReq signal assigned to ClkSrc
1813**/
Kilari Raasib07209f2023-04-27 14:44:40 +05301814 UINT8 PcieClkSrcClkReq[16];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001815
Kilari Raasib07209f2023-04-27 14:44:40 +05301816/** Offset 0x0AB9 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001817**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301818 UINT8 Reserved42[55];
Kilari Raasi6a7703f2023-05-30 12:36:36 +05301819
1820/** Offset 0x0AF0 - Enable PCH PCIE RP Mask
1821 Enable/disable PCH PCIE Root Ports. 0: disable, 1: enable. One bit for each port,
1822 bit0 for port1, bit1 for port2, and so on.
1823**/
1824 UINT32 PchPcieRpEnableMask;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001825
Kilari Raasib07209f2023-04-27 14:44:40 +05301826/** Offset 0x0AF4 - Enable SOC/IOE PCIE RP Mask
Subrata Banik6ed43152022-11-22 16:36:37 +05301827 Enable/disable SOC/IOE PCIE Root Ports. 0: disable, 1: enable. One bit for each
1828 port, bit0 for port1, bit1 for port2, and so on.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001829**/
Subrata Banik6ed43152022-11-22 16:36:37 +05301830 UINT16 PcieRpEnableMask;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001831
Kilari Raasib07209f2023-04-27 14:44:40 +05301832/** Offset 0x0AF6 - VC Type
Kapil Porwala42ad282022-07-07 18:28:30 +00001833 Virtual Channel Type Select: 0: VC0, 1: VC1.
1834 0: VC0, 1: VC1
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001835**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001836 UINT8 PchHdaVcType;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001837
Kilari Raasib07209f2023-04-27 14:44:40 +05301838/** Offset 0x0AF7 - Universal Audio Architecture compliance for DSP enabled system
Kapil Porwala42ad282022-07-07 18:28:30 +00001839 0: Not-UAA Compliant (Intel SST driver supported only), 1: UAA Compliant (HDA Inbox
1840 driver or SST driver supported).
1841 $EN_DIS
1842**/
1843 UINT8 PchHdaDspUaaCompliance;
1844
Kilari Raasib07209f2023-04-27 14:44:40 +05301845/** Offset 0x0AF8 - Enable HD Audio Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001846 Enable/disable HD Audio Link. Muxed with SSP0/SSP1/SNDW1.
1847 $EN_DIS
1848**/
1849 UINT8 PchHdaAudioLinkHdaEnable;
1850
Kilari Raasib07209f2023-04-27 14:44:40 +05301851/** Offset 0x0AF9 - Enable HDA SDI lanes
Kapil Porwala42ad282022-07-07 18:28:30 +00001852 Enable/disable HDA SDI lanes.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001853**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001854 UINT8 PchHdaSdiEnable[2];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001855
Kilari Raasib07209f2023-04-27 14:44:40 +05301856/** Offset 0x0AFB - HDA Power/Clock Gating (PGD/CGD)
Kapil Porwala42ad282022-07-07 18:28:30 +00001857 Enable/Disable HD Audio Power and Clock Gating(POR: Enable). 0: PLATFORM_POR, 1:
1858 FORCE_ENABLE, 2: FORCE_DISABLE.
1859 0: POR, 1: Force Enable, 2: Force Disable
1860**/
1861 UINT8 PchHdaTestPowerClockGating;
1862
Kilari Raasib07209f2023-04-27 14:44:40 +05301863/** Offset 0x0AFC - Enable HD Audio DMIC_N Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001864 Enable/disable HD Audio DMIC1 link. Muxed with SNDW3.
1865**/
1866 UINT8 PchHdaAudioLinkDmicEnable[2];
1867
Kilari Raasib07209f2023-04-27 14:44:40 +05301868/** Offset 0x0AFE - Reserved
Subrata Banik6ed43152022-11-22 16:36:37 +05301869**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301870 UINT8 Reserved43[2];
Subrata Banik6ed43152022-11-22 16:36:37 +05301871
Kilari Raasib07209f2023-04-27 14:44:40 +05301872/** Offset 0x0B00 - DMIC<N> ClkA Pin Muxing (N - DMIC number)
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001873 Determines DMIC<N> ClkA Pin muxing. See GPIO_*_MUXING_DMIC<N>_CLKA_*
1874**/
1875 UINT32 PchHdaAudioLinkDmicClkAPinMux[2];
1876
Kilari Raasib07209f2023-04-27 14:44:40 +05301877/** Offset 0x0B08 - DMIC<N> ClkB Pin Muxing
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001878 Determines DMIC<N> ClkA Pin muxing. See GPIO_*_MUXING_DMIC<N>_CLKB_*
1879**/
1880 UINT32 PchHdaAudioLinkDmicClkBPinMux[2];
1881
Kilari Raasib07209f2023-04-27 14:44:40 +05301882/** Offset 0x0B10 - Enable HD Audio DSP
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001883 Enable/disable HD Audio DSP feature.
1884 $EN_DIS
1885**/
1886 UINT8 PchHdaDspEnable;
1887
Kilari Raasib07209f2023-04-27 14:44:40 +05301888/** Offset 0x0B11 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001889**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301890 UINT8 Reserved44[3];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001891
Kilari Raasib07209f2023-04-27 14:44:40 +05301892/** Offset 0x0B14 - DMIC<N> Data Pin Muxing
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001893 Determines DMIC<N> Data Pin muxing. See GPIO_*_MUXING_DMIC<N>_DATA_*
1894**/
1895 UINT32 PchHdaAudioLinkDmicDataPinMux[2];
1896
Kilari Raasib07209f2023-04-27 14:44:40 +05301897/** Offset 0x0B1C - Enable HD Audio SSP0 Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001898 Enable/disable HD Audio SSP_N/I2S link. Muxed with HDA. N-number 0-5
1899**/
1900 UINT8 PchHdaAudioLinkSspEnable[6];
1901
Kilari Raasib07209f2023-04-27 14:44:40 +05301902/** Offset 0x0B22 - Enable HD Audio SoundWire#N Link
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001903 Enable/disable HD Audio SNDW#N link. Muxed with HDA.
1904**/
1905 UINT8 PchHdaAudioLinkSndwEnable[4];
1906
Kilari Raasib07209f2023-04-27 14:44:40 +05301907/** Offset 0x0B26 - iDisp-Link Frequency
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001908 iDisp-Link Freq (PCH_HDAUDIO_LINK_FREQUENCY enum): 4: 96MHz, 3: 48MHz.
1909 4: 96MHz, 3: 48MHz
1910**/
1911 UINT8 PchHdaIDispLinkFrequency;
1912
Kilari Raasib07209f2023-04-27 14:44:40 +05301913/** Offset 0x0B27 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001914**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301915 UINT8 Reserved45;
Kapil Porwala42ad282022-07-07 18:28:30 +00001916
Kilari Raasib07209f2023-04-27 14:44:40 +05301917/** Offset 0x0B28 - iDisp-Link T-mode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001918 iDisp-Link T-Mode (PCH_HDAUDIO_IDISP_TMODE enum): 0: 2T, 2: 4T, 3: 8T, 4: 16T
1919 0: 2T, 2: 4T, 3: 8T, 4: 16T
1920**/
1921 UINT8 PchHdaIDispLinkTmode;
1922
Kilari Raasib07209f2023-04-27 14:44:40 +05301923/** Offset 0x0B29 - iDisplay Audio Codec disconnection
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001924 0: Not disconnected, enumerable, 1: Disconnected SDI, not enumerable.
1925 $EN_DIS
1926**/
1927 UINT8 PchHdaIDispCodecDisconnect;
1928
Kilari Raasib07209f2023-04-27 14:44:40 +05301929/** Offset 0x0B2A - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001930**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301931 UINT8 Reserved46[6];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001932
Kilari Raasib07209f2023-04-27 14:44:40 +05301933/** Offset 0x0B30 - CNVi DDR RFI Mitigation
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001934 Enable/Disable DDR RFI Mitigation. Default is ENABLE. 0: DISABLE, 1: ENABLE
1935 $EN_DIS
1936**/
1937 UINT8 CnviDdrRfim;
1938
Kilari Raasib07209f2023-04-27 14:44:40 +05301939/** Offset 0x0B31 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001940**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301941 UINT8 Reserved47[11];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001942
Kilari Raasib07209f2023-04-27 14:44:40 +05301943/** Offset 0x0B3C - Debug Interfaces
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001944 Debug Interfaces. BIT0-RAM, BIT1-UART, BIT3-USB3, BIT4-Serial IO, BIT5-TraceHub,
1945 BIT2 - Not used.
1946**/
1947 UINT8 PcdDebugInterfaceFlags;
1948
Kilari Raasib07209f2023-04-27 14:44:40 +05301949/** Offset 0x0B3D - Serial Io Uart Debug Controller Number
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001950 Select SerialIo Uart Controller for debug.
1951 0:SerialIoUart0, 1:SerialIoUart1, 2:SerialIoUart2
1952**/
1953 UINT8 SerialIoUartDebugControllerNumber;
1954
Kilari Raasib07209f2023-04-27 14:44:40 +05301955/** Offset 0x0B3E - Serial Io Uart Debug Auto Flow
Kapil Porwala42ad282022-07-07 18:28:30 +00001956 Enables UART hardware flow control, CTS and RTS lines.
1957 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001958**/
Kapil Porwala42ad282022-07-07 18:28:30 +00001959 UINT8 SerialIoUartDebugAutoFlow;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07001960
Kilari Raasib07209f2023-04-27 14:44:40 +05301961/** Offset 0x0B3F - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001962**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301963 UINT8 Reserved48;
Kapil Porwala42ad282022-07-07 18:28:30 +00001964
Kilari Raasib07209f2023-04-27 14:44:40 +05301965/** Offset 0x0B40 - Serial Io Uart Debug BaudRate
Kapil Porwala42ad282022-07-07 18:28:30 +00001966 Set default BaudRate Supported from 0 - default to 6000000. Recommended values 9600,
1967 19200, 57600, 115200, 460800, 921600, 1500000, 1843200, 3000000, 3686400, 6000000
1968**/
1969 UINT32 SerialIoUartDebugBaudRate;
1970
Kilari Raasib07209f2023-04-27 14:44:40 +05301971/** Offset 0x0B44 - Serial Io Uart Debug Parity
Kapil Porwala42ad282022-07-07 18:28:30 +00001972 Set default Parity.
1973 0: DefaultParity, 1: NoParity, 2: EvenParity, 3: OddParity
1974**/
1975 UINT8 SerialIoUartDebugParity;
1976
Kilari Raasib07209f2023-04-27 14:44:40 +05301977/** Offset 0x0B45 - Serial Io Uart Debug Stop Bits
Kapil Porwala42ad282022-07-07 18:28:30 +00001978 Set default stop bits.
1979 0: DefaultStopBits, 1: OneStopBit, 2: OneFiveStopBits, 3: TwoStopBits
1980**/
1981 UINT8 SerialIoUartDebugStopBits;
1982
Kilari Raasib07209f2023-04-27 14:44:40 +05301983/** Offset 0x0B46 - Serial Io Uart Debug Data Bits
Kapil Porwala42ad282022-07-07 18:28:30 +00001984 Set default word length. 0: Default, 5,6,7,8
1985 5:5BITS, 6:6BITS, 7:7BITS, 8:8BITS
1986**/
1987 UINT8 SerialIoUartDebugDataBits;
1988
Kilari Raasib07209f2023-04-27 14:44:40 +05301989/** Offset 0x0B47 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00001990**/
Subrata Banik17d619c2023-09-22 12:26:11 +05301991 UINT8 Reserved49;
Kapil Porwala42ad282022-07-07 18:28:30 +00001992
Kilari Raasib07209f2023-04-27 14:44:40 +05301993/** Offset 0x0B48 - Serial Io Uart Debug Mmio Base
Kapil Porwala42ad282022-07-07 18:28:30 +00001994 Select SerialIo Uart default MMIO resource in SEC/PEI phase when PcdSerialIoUartMode
1995 = SerialIoUartPci.
1996**/
1997 UINT32 SerialIoUartDebugMmioBase;
1998
Kilari Raasib07209f2023-04-27 14:44:40 +05301999/** Offset 0x0B4C - ISA Serial Base selection
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002000 Select ISA Serial Base address. Default is 0x3F8.
2001 0:0x3F8, 1:0x2F8
2002**/
2003 UINT8 PcdIsaSerialUartBase;
2004
Kilari Raasib07209f2023-04-27 14:44:40 +05302005/** Offset 0x0B4D - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002006**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302007 UINT8 Reserved50;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002008
Kilari Raasib07209f2023-04-27 14:44:40 +05302009/** Offset 0x0B4E - Ring PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00002010 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
2011**/
2012 UINT8 RingPllVoltageOffset;
2013
Kilari Raasib07209f2023-04-27 14:44:40 +05302014/** Offset 0x0B4F - System Agent PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00002015 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
2016**/
2017 UINT8 SaPllVoltageOffset;
2018
Kilari Raasib07209f2023-04-27 14:44:40 +05302019/** Offset 0x0B50 - Reserved
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -07002020**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302021 UINT8 Reserved51;
Srinidhi N Kaushik3083f352022-09-07 14:15:54 -07002022
Kilari Raasib07209f2023-04-27 14:44:40 +05302023/** Offset 0x0B51 - Memory Controller PLL voltage offset
Kapil Porwala42ad282022-07-07 18:28:30 +00002024 Core PLL voltage offset. <b>0: No offset</b>. Range 0-15
2025**/
2026 UINT8 McPllVoltageOffset;
2027
Kilari Raasib07209f2023-04-27 14:44:40 +05302028/** Offset 0x0B52 - TCSS Thunderbolt PCIE Root Port 0 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002029 Set TCSS Thunderbolt PCIE Root Port 0. 0:Disabled 1:Enabled
2030 $EN_DIS
2031**/
2032 UINT8 TcssItbtPcie0En;
2033
Kilari Raasib07209f2023-04-27 14:44:40 +05302034/** Offset 0x0B53 - TCSS Thunderbolt PCIE Root Port 1 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002035 Set TCSS Thunderbolt PCIE Root Port 1. 0:Disabled 1:Enabled
2036 $EN_DIS
2037**/
2038 UINT8 TcssItbtPcie1En;
2039
Kilari Raasib07209f2023-04-27 14:44:40 +05302040/** Offset 0x0B54 - TCSS Thunderbolt PCIE Root Port 2 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002041 Set TCSS Thunderbolt PCIE Root Port 2. 0:Disabled 1:Enabled
2042 $EN_DIS
2043**/
2044 UINT8 TcssItbtPcie2En;
2045
Kilari Raasib07209f2023-04-27 14:44:40 +05302046/** Offset 0x0B55 - TCSS Thunderbolt PCIE Root Port 3 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002047 Set TCSS Thunderbolt PCIE Root Port 3. 0:Disabled 1:Enabled
2048 $EN_DIS
2049**/
2050 UINT8 TcssItbtPcie3En;
2051
Kilari Raasib07209f2023-04-27 14:44:40 +05302052/** Offset 0x0B56 - TCSS USB HOST (xHCI) Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002053 Set TCSS XHCI. 0:Disabled 1:Enabled - Must be enabled if xDCI is enabled below
2054 $EN_DIS
2055**/
2056 UINT8 TcssXhciEn;
2057
Kilari Raasib07209f2023-04-27 14:44:40 +05302058/** Offset 0x0B57 - TCSS USB DEVICE (xDCI) Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002059 Set TCSS XDCI. 0:Disabled 1:Enabled - xHCI must be enabled if xDCI is enabled
2060 $EN_DIS
2061**/
2062 UINT8 TcssXdciEn;
2063
Kilari Raasib07209f2023-04-27 14:44:40 +05302064/** Offset 0x0B58 - TCSS DMA0 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002065 Set TCSS DMA0. 0:Disabled 1:Enabled
2066 $EN_DIS
2067**/
2068 UINT8 TcssDma0En;
2069
Kilari Raasib07209f2023-04-27 14:44:40 +05302070/** Offset 0x0B59 - TCSS DMA1 Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002071 Set TCSS DMA1. 0:Disabled 1:Enabled
2072 $EN_DIS
2073**/
2074 UINT8 TcssDma1En;
2075
Kilari Raasib07209f2023-04-27 14:44:40 +05302076/** Offset 0x0B5A - PcdSerialDebugBaudRate
Kapil Porwala42ad282022-07-07 18:28:30 +00002077 Baud Rate for Serial Debug Messages. 3:9600, 4:19200, 6:56700, 7:115200.
2078 3:9600, 4:19200, 6:56700, 7:115200
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002079**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002080 UINT8 PcdSerialDebugBaudRate;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002081
Kilari Raasib07209f2023-04-27 14:44:40 +05302082/** Offset 0x0B5B - HobBufferSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002083 Size to set HOB Buffer. 0:Default, 1: 1 Byte, 2: 1 KB, 3: Max value(assuming 63KB
2084 total HOB size).
2085 0:Default, 1: 1 Byte, 2: 1 KB, 3: Max value
2086**/
2087 UINT8 HobBufferSize;
2088
Kilari Raasib07209f2023-04-27 14:44:40 +05302089/** Offset 0x0B5C - Early Command Training
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002090 Enables/Disable Early Command Training
2091 $EN_DIS
2092**/
2093 UINT8 ECT;
2094
Kilari Raasib07209f2023-04-27 14:44:40 +05302095/** Offset 0x0B5D - SenseAmp Offset Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002096 Enables/Disable SenseAmp Offset Training
2097 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002098**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002099 UINT8 SOT;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002100
Kilari Raasib07209f2023-04-27 14:44:40 +05302101/** Offset 0x0B5E - Early ReadMPR Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002102 Enables/Disable Early ReadMPR Timing Centering 2D
2103 $EN_DIS
2104**/
2105 UINT8 ERDMPRTC2D;
2106
Kilari Raasib07209f2023-04-27 14:44:40 +05302107/** Offset 0x0B5F - Read MPR Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002108 Enables/Disable Read MPR Training
2109 $EN_DIS
2110**/
2111 UINT8 RDMPRT;
2112
Kilari Raasib07209f2023-04-27 14:44:40 +05302113/** Offset 0x0B60 - Receive Enable Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002114 Enables/Disable Receive Enable Training
2115 $EN_DIS
2116**/
2117 UINT8 RCVET;
2118
Kilari Raasib07209f2023-04-27 14:44:40 +05302119/** Offset 0x0B61 - Jedec Write Leveling
Kapil Porwala42ad282022-07-07 18:28:30 +00002120 Enables/Disable Jedec Write Leveling
2121 $EN_DIS
2122**/
2123 UINT8 JWRL;
2124
Kilari Raasib07209f2023-04-27 14:44:40 +05302125/** Offset 0x0B62 - Early Write Time Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002126 Enables/Disable Early Write Time Centering 2D
2127 $EN_DIS
2128**/
2129 UINT8 EWRTC2D;
2130
Kilari Raasib07209f2023-04-27 14:44:40 +05302131/** Offset 0x0B63 - Early Read Time Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002132 Enables/Disable Early Read Time Centering 2D
2133 $EN_DIS
2134**/
2135 UINT8 ERDTC2D;
2136
Kilari Raasib07209f2023-04-27 14:44:40 +05302137/** Offset 0x0B64 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002138**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302139 UINT8 Reserved52;
Kapil Porwala42ad282022-07-07 18:28:30 +00002140
Kilari Raasib07209f2023-04-27 14:44:40 +05302141/** Offset 0x0B65 - Write Timing Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002142 Enables/Disable Write Timing Centering 1D
2143 $EN_DIS
2144**/
2145 UINT8 WRTC1D;
2146
Kilari Raasib07209f2023-04-27 14:44:40 +05302147/** Offset 0x0B66 - Write Voltage Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002148 Enables/Disable Write Voltage Centering 1D
2149 $EN_DIS
2150**/
2151 UINT8 WRVC1D;
2152
Kilari Raasib07209f2023-04-27 14:44:40 +05302153/** Offset 0x0B67 - Read Timing Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002154 Enables/Disable Read Timing Centering 1D
2155 $EN_DIS
2156**/
2157 UINT8 RDTC1D;
2158
Kilari Raasib07209f2023-04-27 14:44:40 +05302159/** Offset 0x0B68 - Read Voltage Centering 1D
Kapil Porwala42ad282022-07-07 18:28:30 +00002160 Enable/Disable Read Voltage Centering 1D
2161 $EN_DIS
2162**/
2163 UINT8 RDVC1D;
2164
Kilari Raasib07209f2023-04-27 14:44:40 +05302165/** Offset 0x0B69 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002166**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302167 UINT8 Reserved53[10];
Kapil Porwala42ad282022-07-07 18:28:30 +00002168
Kilari Raasib07209f2023-04-27 14:44:40 +05302169/** Offset 0x0B73 - Read Equalization Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002170 Enables/Disable Read Equalization Training
2171 $EN_DIS
2172**/
2173 UINT8 RDEQT;
2174
Kilari Raasib07209f2023-04-27 14:44:40 +05302175/** Offset 0x0B74 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002176**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302177 UINT8 Reserved54[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002178
Kilari Raasib07209f2023-04-27 14:44:40 +05302179/** Offset 0x0B76 - Write Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002180 Enables/Disable Write Timing Centering 2D
2181 $EN_DIS
2182**/
2183 UINT8 WRTC2D;
2184
Kilari Raasib07209f2023-04-27 14:44:40 +05302185/** Offset 0x0B77 - Read Timing Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002186 Enables/Disable Read Timing Centering 2D
2187 $EN_DIS
2188**/
2189 UINT8 RDTC2D;
2190
Kilari Raasib07209f2023-04-27 14:44:40 +05302191/** Offset 0x0B78 - Write Voltage Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002192 Enables/Disable Write Voltage Centering 2D
2193 $EN_DIS
2194**/
2195 UINT8 WRVC2D;
2196
Kilari Raasib07209f2023-04-27 14:44:40 +05302197/** Offset 0x0B79 - Read Voltage Centering 2D
Kapil Porwala42ad282022-07-07 18:28:30 +00002198 Enables/Disable Read Voltage Centering 2D
2199 $EN_DIS
2200**/
2201 UINT8 RDVC2D;
2202
Kilari Raasib07209f2023-04-27 14:44:40 +05302203/** Offset 0x0B7A - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302204**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302205 UINT8 Reserved55;
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302206
Kilari Raasib07209f2023-04-27 14:44:40 +05302207/** Offset 0x0B7B - Command Voltage Centering
Kapil Porwala42ad282022-07-07 18:28:30 +00002208 Enables/Disable Command Voltage Centering
2209 $EN_DIS
2210**/
2211 UINT8 CMDVC;
2212
Kilari Raasib07209f2023-04-27 14:44:40 +05302213/** Offset 0x0B7C - Late Command Training
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002214 Enables/Disable Late Command Training
2215 $EN_DIS
2216**/
2217 UINT8 LCT;
2218
Kilari Raasib07209f2023-04-27 14:44:40 +05302219/** Offset 0x0B7D - Turn Around Timing Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002220 Enables/Disable Turn Around Timing Training
2221 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002222**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002223 UINT8 TAT;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002224
Kilari Raasib07209f2023-04-27 14:44:40 +05302225/** Offset 0x0B7E - Rank Margin Tool
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002226 Enable/disable Rank Margin Tool
2227 $EN_DIS
2228**/
2229 UINT8 RMT;
2230
Kilari Raasib07209f2023-04-27 14:44:40 +05302231/** Offset 0x0B7F - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002232**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302233 UINT8 Reserved56;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002234
Kilari Raasib07209f2023-04-27 14:44:40 +05302235/** Offset 0x0B80 - DIMM SPD Alias Test
Kapil Porwala42ad282022-07-07 18:28:30 +00002236 Enables/Disable DIMM SPD Alias Test
2237 $EN_DIS
2238**/
2239 UINT8 ALIASCHK;
2240
Kilari Raasib07209f2023-04-27 14:44:40 +05302241/** Offset 0x0B81 - Retrain Margin Check
Kapil Porwala42ad282022-07-07 18:28:30 +00002242 Enables/Disable Retrain Margin Check
2243 $EN_DIS
2244**/
2245 UINT8 RMC;
2246
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302247/** Offset 0x0B82 - Row Hammering Prevention
2248 Enables/Disable Row Hammering Prevention
2249 $EN_DIS
Kapil Porwala42ad282022-07-07 18:28:30 +00002250**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302251 UINT8 ROWHAMMER;
Kapil Porwala42ad282022-07-07 18:28:30 +00002252
Kilari Raasib07209f2023-04-27 14:44:40 +05302253/** Offset 0x0B83 - Dimm ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002254 Enables/Disable Dimm ODT Training
2255 $EN_DIS
2256**/
2257 UINT8 DIMMODTT;
2258
Kilari Raasib07209f2023-04-27 14:44:40 +05302259/** Offset 0x0B84 - DIMM RON Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002260 Enables/Disable DIMM RON Training
2261 $EN_DIS
2262**/
2263 UINT8 DIMMRONT;
2264
Kilari Raasib07209f2023-04-27 14:44:40 +05302265/** Offset 0x0B85 - TxDqTCO Comp Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002266 Enable/Disable TxDqTCO Comp Training
2267 $EN_DIS
2268**/
2269 UINT8 TXTCO;
2270
Kilari Raasib07209f2023-04-27 14:44:40 +05302271/** Offset 0x0B86 - ClkTCO Comp Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002272 Enable/Disable ClkTCO Comp Training
2273 $EN_DIS
2274**/
2275 UINT8 CLKTCO;
2276
Kilari Raasib07209f2023-04-27 14:44:40 +05302277/** Offset 0x0B87 - CMD Slew Rate Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002278 Enable/Disable CMD Slew Rate Training
2279 $EN_DIS
2280**/
2281 UINT8 CMDSR;
2282
Kilari Raasib07209f2023-04-27 14:44:40 +05302283/** Offset 0x0B88 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002284**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302285 UINT8 Reserved57[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002286
Kilari Raasib07209f2023-04-27 14:44:40 +05302287/** Offset 0x0B8A - DIMM CA ODT Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002288 Enable/Disable DIMM CA ODT Training
2289 $EN_DIS
2290**/
2291 UINT8 DIMMODTCA;
2292
Kilari Raasib07209f2023-04-27 14:44:40 +05302293/** Offset 0x0B8B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002294**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302295 UINT8 Reserved58[3];
Kapil Porwala42ad282022-07-07 18:28:30 +00002296
Kilari Raasib07209f2023-04-27 14:44:40 +05302297/** Offset 0x0B8E - Read Vref Decap Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002298 Enable/Disable Read Vref Decap Training
2299 $EN_DIS
2300**/
2301 UINT8 RDVREFDC;
2302
Kilari Raasib07209f2023-04-27 14:44:40 +05302303/** Offset 0x0B8F - Vddq Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002304 Enable/Disable Vddq Training
2305 $EN_DIS
2306**/
2307 UINT8 VDDQT;
2308
Kilari Raasib07209f2023-04-27 14:44:40 +05302309/** Offset 0x0B90 - Rank Margin Tool Per Bit
Kapil Porwala42ad282022-07-07 18:28:30 +00002310 Enable/Disable Rank Margin Tool Per Bit
2311 $EN_DIS
2312**/
2313 UINT8 RMTBIT;
2314
Kilari Raasib07209f2023-04-27 14:44:40 +05302315/** Offset 0x0B91 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002316**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302317 UINT8 Reserved59[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002318
Kilari Raasib07209f2023-04-27 14:44:40 +05302319/** Offset 0x0B95 - Duty Cycle Correction Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002320 Enable/Disable Duty Cycle Correction Training
2321 $EN_DIS
2322**/
2323 UINT8 DCC;
2324
Kilari Raasib07209f2023-04-27 14:44:40 +05302325/** Offset 0x0B96 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002326**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302327 UINT8 Reserved60[17];
Kapil Porwala42ad282022-07-07 18:28:30 +00002328
Kilari Raasib07209f2023-04-27 14:44:40 +05302329/** Offset 0x0BA7 - ECC Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002330 Enables/Disable ECC Support
2331 $EN_DIS
2332**/
2333 UINT8 EccSupport;
2334
Kilari Raasib07209f2023-04-27 14:44:40 +05302335/** Offset 0x0BA8 - Ibecc
Kapil Porwala42ad282022-07-07 18:28:30 +00002336 In-Band ECC Support
2337 $EN_DIS
2338**/
2339 UINT8 Ibecc;
2340
Kilari Raasib07209f2023-04-27 14:44:40 +05302341/** Offset 0x0BA9 - IbeccParity
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002342 In-Band ECC Parity Control
2343 $EN_DIS
2344**/
2345 UINT8 IbeccParity;
2346
Kilari Raasib07209f2023-04-27 14:44:40 +05302347/** Offset 0x0BAA - IbeccOperationMode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002348 In-Band ECC Operation Mode
2349 0:Protect base on address range, 1: Non-protected, 2: All protected
2350**/
2351 UINT8 IbeccOperationMode;
2352
Kilari Raasib07209f2023-04-27 14:44:40 +05302353/** Offset 0x0BAB - IbeccProtectedRegionEnable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002354 In-Band ECC Protected Region Enable
2355 $EN_DIS
2356**/
2357 UINT8 IbeccProtectedRegionEnable[8];
2358
Kilari Raasib07209f2023-04-27 14:44:40 +05302359/** Offset 0x0BB3 - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302360**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302361 UINT8 Reserved61;
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05302362
Kilari Raasib07209f2023-04-27 14:44:40 +05302363/** Offset 0x0BB4 - IbeccProtectedRegionBases
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002364 IBECC Protected Region Bases per IBECC instance
2365**/
2366 UINT16 IbeccProtectedRegionBase[8];
2367
Kilari Raasib07209f2023-04-27 14:44:40 +05302368/** Offset 0x0BC4 - IbeccProtectedRegionMasks
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002369 IBECC Protected Region Masks
2370**/
2371 UINT16 IbeccProtectedRegionMask[8];
2372
Kilari Raasib07209f2023-04-27 14:44:40 +05302373/** Offset 0x0BD4 - IbeccProtectedRegionOverallBases
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002374 IBECC Protected Region Bases based on enabled IBECC instance
2375**/
2376 UINT16 IbeccProtectedRegionOverallBase[8];
2377
Kilari Raasib07209f2023-04-27 14:44:40 +05302378/** Offset 0x0BE4 - Memory Remap
Kapil Porwala42ad282022-07-07 18:28:30 +00002379 Enables/Disable Memory Remap
2380 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002381**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002382 UINT8 RemapEnable;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002383
Kilari Raasib07209f2023-04-27 14:44:40 +05302384/** Offset 0x0BE5 - Rank Interleave support
Kapil Porwala42ad282022-07-07 18:28:30 +00002385 Enables/Disable Rank Interleave support. NOTE: RI and HORI can not be enabled at
2386 the same time.
2387 $EN_DIS
2388**/
2389 UINT8 RankInterleave;
2390
Kilari Raasib07209f2023-04-27 14:44:40 +05302391/** Offset 0x0BE6 - Enhanced Interleave support
Kapil Porwala42ad282022-07-07 18:28:30 +00002392 Enables/Disable Enhanced Interleave support
2393 $EN_DIS
2394**/
2395 UINT8 EnhancedInterleave;
2396
Kilari Raasib07209f2023-04-27 14:44:40 +05302397/** Offset 0x0BE7 - Ch Hash Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002398 Enable/Disable Channel Hash Support. NOTE: ONLY if Memory interleaved Mode
2399 $EN_DIS
2400**/
2401 UINT8 ChHashEnable;
2402
Kilari Raasib07209f2023-04-27 14:44:40 +05302403/** Offset 0x0BE8 - Extern Therm Status
Kapil Porwala42ad282022-07-07 18:28:30 +00002404 Enables/Disable Extern Therm Status
2405 $EN_DIS
2406**/
2407 UINT8 EnableExtts;
2408
Kilari Raasib07209f2023-04-27 14:44:40 +05302409/** Offset 0x0BE9 - DDR PowerDown and idle counter
Kapil Porwala42ad282022-07-07 18:28:30 +00002410 Enables/Disable DDR PowerDown and idle counter(For LPDDR Only)
2411 $EN_DIS
2412**/
2413 UINT8 EnablePwrDn;
2414
Kilari Raasib07209f2023-04-27 14:44:40 +05302415/** Offset 0x0BEA - DDR PowerDown and idle counter
Kapil Porwala42ad282022-07-07 18:28:30 +00002416 Enables/Disable DDR PowerDown and idle counter(For LPDDR Only)
2417 $EN_DIS
2418**/
2419 UINT8 EnablePwrDnLpddr;
2420
Kilari Raasib07209f2023-04-27 14:44:40 +05302421/** Offset 0x0BEB - SelfRefresh Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00002422 Enables/Disable SelfRefresh Enable
2423 $EN_DIS
2424**/
2425 UINT8 SrefCfgEna;
2426
Kilari Raasib07209f2023-04-27 14:44:40 +05302427/** Offset 0x0BEC - Throttler CKEMin Defeature
Kapil Porwala42ad282022-07-07 18:28:30 +00002428 Enables/Disable Throttler CKEMin Defeature(For LPDDR Only)
2429 $EN_DIS
2430**/
2431 UINT8 ThrtCkeMinDefeatLpddr;
2432
Kilari Raasib07209f2023-04-27 14:44:40 +05302433/** Offset 0x0BED - Throttler CKEMin Defeature
Kapil Porwala42ad282022-07-07 18:28:30 +00002434 Enables/Disable Throttler CKEMin Defeature
2435 $EN_DIS
2436**/
2437 UINT8 ThrtCkeMinDefeat;
2438
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302439/** Offset 0x0BEE - Row Hammer Select
2440 Row Hammer Select
2441 0:Disable, 1:RFM, 2:pTRR
Kapil Porwala42ad282022-07-07 18:28:30 +00002442**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302443 UINT8 RhSelect;
Kapil Porwala42ad282022-07-07 18:28:30 +00002444
Kilari Raasib07209f2023-04-27 14:44:40 +05302445/** Offset 0x0BEF - Exit On Failure (MRC)
Kapil Porwala42ad282022-07-07 18:28:30 +00002446 Enables/Disable Exit On Failure (MRC)
2447 $EN_DIS
2448**/
2449 UINT8 ExitOnFailure;
2450
Kilari Raasib07209f2023-04-27 14:44:40 +05302451/** Offset 0x0BF0 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002452**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302453 UINT8 Reserved62[4];
Kapil Porwala42ad282022-07-07 18:28:30 +00002454
Kilari Raasib07209f2023-04-27 14:44:40 +05302455/** Offset 0x0BF4 - Select if ZQ pin is shared between Rank0 and Rank1 in DDR4 DDP
Kapil Porwala42ad282022-07-07 18:28:30 +00002456 ESelect if ZQ pin is shared between Rank0 and Rank1 in DDR4 DDP
2457 $EN_DIS
2458**/
2459 UINT8 Ddr4DdpSharedZq;
2460
Kilari Raasib07209f2023-04-27 14:44:40 +05302461/** Offset 0x0BF5 - Ch Hash Interleaved Bit
Kapil Porwala42ad282022-07-07 18:28:30 +00002462 Select the BIT to be used for Channel Interleaved mode. NOTE: BIT7 will interlave
2463 the channels at a 2 cacheline granularity, BIT8 at 4 and BIT9 at 8. Default is BIT8
2464 0:BIT6, 1:BIT7, 2:BIT8, 3:BIT9, 4:BIT10, 5:BIT11, 6:BIT12, 7:BIT13
2465**/
2466 UINT8 ChHashInterleaveBit;
2467
Kilari Raasib07209f2023-04-27 14:44:40 +05302468/** Offset 0x0BF6 - Ch Hash Mask
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002469 Set the BIT(s) to be included in the XOR function. NOTE BIT mask corresponds to
2470 BITS [19:6] Default is 0x30CC
2471**/
2472 UINT16 ChHashMask;
2473
Kilari Raasib07209f2023-04-27 14:44:40 +05302474/** Offset 0x0BF8 - Base reference clock value
Kapil Porwala42ad282022-07-07 18:28:30 +00002475 Base reference clock value, in Hertz(Default is 125Hz)
2476 100000000:100Hz, 125000000:125Hz, 167000000:167Hz, 250000000:250Hz
2477**/
2478 UINT32 BClkFrequency;
2479
Kilari Raasib07209f2023-04-27 14:44:40 +05302480/** Offset 0x0BFC - EPG DIMM Idd3N
Kapil Porwala42ad282022-07-07 18:28:30 +00002481 Active standby current (Idd3N) in milliamps from datasheet. Must be calculated on
2482 a per DIMM basis. Default is 26
2483**/
2484 UINT16 Idd3n;
2485
Kilari Raasib07209f2023-04-27 14:44:40 +05302486/** Offset 0x0BFE - EPG DIMM Idd3P
Kapil Porwala42ad282022-07-07 18:28:30 +00002487 Active power-down current (Idd3P) in milliamps from datasheet. Must be calculated
2488 on a per DIMM basis. Default is 11
2489**/
2490 UINT16 Idd3p;
2491
Kilari Raasib07209f2023-04-27 14:44:40 +05302492/** Offset 0x0C00 - CMD Normalization
Kapil Porwala42ad282022-07-07 18:28:30 +00002493 Enable/Disable CMD Normalization
2494 $EN_DIS
2495**/
2496 UINT8 CMDNORM;
2497
Kilari Raasib07209f2023-04-27 14:44:40 +05302498/** Offset 0x0C01 - Early DQ Write Drive Strength and Equalization Training
Kapil Porwala42ad282022-07-07 18:28:30 +00002499 Enable/Disable Early DQ Write Drive Strength and Equalization Training
2500 $EN_DIS
2501**/
2502 UINT8 EWRDSEQ;
2503
Kilari Raasib07209f2023-04-27 14:44:40 +05302504/** Offset 0x0C02 - Idle Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002505 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2506**/
2507 UINT8 IdleEnergyMc0Ch0Dimm0;
2508
Kilari Raasib07209f2023-04-27 14:44:40 +05302509/** Offset 0x0C03 - Idle Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002510 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2511**/
2512 UINT8 IdleEnergyMc0Ch0Dimm1;
2513
Kilari Raasib07209f2023-04-27 14:44:40 +05302514/** Offset 0x0C04 - Idle Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002515 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2516**/
2517 UINT8 IdleEnergyMc0Ch1Dimm0;
2518
Kilari Raasib07209f2023-04-27 14:44:40 +05302519/** Offset 0x0C05 - Idle Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002520 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2521**/
2522 UINT8 IdleEnergyMc0Ch1Dimm1;
2523
Kilari Raasib07209f2023-04-27 14:44:40 +05302524/** Offset 0x0C06 - Idle Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002525 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2526**/
2527 UINT8 IdleEnergyMc1Ch0Dimm0;
2528
Kilari Raasib07209f2023-04-27 14:44:40 +05302529/** Offset 0x0C07 - Idle Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002530 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2531**/
2532 UINT8 IdleEnergyMc1Ch0Dimm1;
2533
Kilari Raasib07209f2023-04-27 14:44:40 +05302534/** Offset 0x0C08 - Idle Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002535 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2536**/
2537 UINT8 IdleEnergyMc1Ch1Dimm0;
2538
Kilari Raasib07209f2023-04-27 14:44:40 +05302539/** Offset 0x0C09 - Idle Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002540 Idle Energy Consumed for 1 clk w/dimm idle/cke on, range[63;0],(10= Def)
2541**/
2542 UINT8 IdleEnergyMc1Ch1Dimm1;
2543
Kilari Raasib07209f2023-04-27 14:44:40 +05302544/** Offset 0x0C0A - PowerDown Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002545 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2546**/
2547 UINT8 PdEnergyMc0Ch0Dimm0;
2548
Kilari Raasib07209f2023-04-27 14:44:40 +05302549/** Offset 0x0C0B - PowerDown Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002550 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2551**/
2552 UINT8 PdEnergyMc0Ch0Dimm1;
2553
Kilari Raasib07209f2023-04-27 14:44:40 +05302554/** Offset 0x0C0C - PowerDown Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002555 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2556**/
2557 UINT8 PdEnergyMc0Ch1Dimm0;
2558
Kilari Raasib07209f2023-04-27 14:44:40 +05302559/** Offset 0x0C0D - PowerDown Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002560 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2561**/
2562 UINT8 PdEnergyMc0Ch1Dimm1;
2563
Kilari Raasib07209f2023-04-27 14:44:40 +05302564/** Offset 0x0C0E - PowerDown Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002565 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2566**/
2567 UINT8 PdEnergyMc1Ch0Dimm0;
2568
Kilari Raasib07209f2023-04-27 14:44:40 +05302569/** Offset 0x0C0F - PowerDown Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002570 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2571**/
2572 UINT8 PdEnergyMc1Ch0Dimm1;
2573
Kilari Raasib07209f2023-04-27 14:44:40 +05302574/** Offset 0x0C10 - PowerDown Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002575 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2576**/
2577 UINT8 PdEnergyMc1Ch1Dimm0;
2578
Kilari Raasib07209f2023-04-27 14:44:40 +05302579/** Offset 0x0C11 - PowerDown Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002580 PowerDown Energy Consumed w/dimm idle/cke off, range[63;0],(6= Def)
2581**/
2582 UINT8 PdEnergyMc1Ch1Dimm1;
2583
Kilari Raasib07209f2023-04-27 14:44:40 +05302584/** Offset 0x0C12 - Activate Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002585 Activate Energy Contribution, range[255;0],(172= Def)
2586**/
2587 UINT8 ActEnergyMc0Ch0Dimm0;
2588
Kilari Raasib07209f2023-04-27 14:44:40 +05302589/** Offset 0x0C13 - Activate Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002590 Activate Energy Contribution, range[255;0],(172= Def)
2591**/
2592 UINT8 ActEnergyMc0Ch0Dimm1;
2593
Kilari Raasib07209f2023-04-27 14:44:40 +05302594/** Offset 0x0C14 - Activate Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002595 Activate Energy Contribution, range[255;0],(172= Def)
2596**/
2597 UINT8 ActEnergyMc0Ch1Dimm0;
2598
Kilari Raasib07209f2023-04-27 14:44:40 +05302599/** Offset 0x0C15 - Activate Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002600 Activate Energy Contribution, range[255;0],(172= Def)
2601**/
2602 UINT8 ActEnergyMc0Ch1Dimm1;
2603
Kilari Raasib07209f2023-04-27 14:44:40 +05302604/** Offset 0x0C16 - Activate Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002605 Activate Energy Contribution, range[255;0],(172= Def)
2606**/
2607 UINT8 ActEnergyMc1Ch0Dimm0;
2608
Kilari Raasib07209f2023-04-27 14:44:40 +05302609/** Offset 0x0C17 - Activate Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002610 Activate Energy Contribution, range[255;0],(172= Def)
2611**/
2612 UINT8 ActEnergyMc1Ch0Dimm1;
2613
Kilari Raasib07209f2023-04-27 14:44:40 +05302614/** Offset 0x0C18 - Activate Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002615 Activate Energy Contribution, range[255;0],(172= Def)
2616**/
2617 UINT8 ActEnergyMc1Ch1Dimm0;
2618
Kilari Raasib07209f2023-04-27 14:44:40 +05302619/** Offset 0x0C19 - Activate Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002620 Activate Energy Contribution, range[255;0],(172= Def)
2621**/
2622 UINT8 ActEnergyMc1Ch1Dimm1;
2623
Kilari Raasib07209f2023-04-27 14:44:40 +05302624/** Offset 0x0C1A - Read Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002625 Read Energy Contribution, range[255;0],(212= Def)
2626**/
2627 UINT8 RdEnergyMc0Ch0Dimm0;
2628
Kilari Raasib07209f2023-04-27 14:44:40 +05302629/** Offset 0x0C1B - Read Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002630 Read Energy Contribution, range[255;0],(212= Def)
2631**/
2632 UINT8 RdEnergyMc0Ch0Dimm1;
2633
Kilari Raasib07209f2023-04-27 14:44:40 +05302634/** Offset 0x0C1C - Read Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002635 Read Energy Contribution, range[255;0],(212= Def)
2636**/
2637 UINT8 RdEnergyMc0Ch1Dimm0;
2638
Kilari Raasib07209f2023-04-27 14:44:40 +05302639/** Offset 0x0C1D - Read Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002640 Read Energy Contribution, range[255;0],(212= Def)
2641**/
2642 UINT8 RdEnergyMc0Ch1Dimm1;
2643
Kilari Raasib07209f2023-04-27 14:44:40 +05302644/** Offset 0x0C1E - Read Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002645 Read Energy Contribution, range[255;0],(212= Def)
2646**/
2647 UINT8 RdEnergyMc1Ch0Dimm0;
2648
Kilari Raasib07209f2023-04-27 14:44:40 +05302649/** Offset 0x0C1F - Read Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002650 Read Energy Contribution, range[255;0],(212= Def)
2651**/
2652 UINT8 RdEnergyMc1Ch0Dimm1;
2653
Kilari Raasib07209f2023-04-27 14:44:40 +05302654/** Offset 0x0C20 - Read Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002655 Read Energy Contribution, range[255;0],(212= Def)
2656**/
2657 UINT8 RdEnergyMc1Ch1Dimm0;
2658
Kilari Raasib07209f2023-04-27 14:44:40 +05302659/** Offset 0x0C21 - Read Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002660 Read Energy Contribution, range[255;0],(212= Def)
2661**/
2662 UINT8 RdEnergyMc1Ch1Dimm1;
2663
Kilari Raasib07209f2023-04-27 14:44:40 +05302664/** Offset 0x0C22 - Write Energy Mc0Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002665 Write Energy Contribution, range[255;0],(221= Def)
2666**/
2667 UINT8 WrEnergyMc0Ch0Dimm0;
2668
Kilari Raasib07209f2023-04-27 14:44:40 +05302669/** Offset 0x0C23 - Write Energy Mc0Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002670 Write Energy Contribution, range[255;0],(221= Def)
2671**/
2672 UINT8 WrEnergyMc0Ch0Dimm1;
2673
Kilari Raasib07209f2023-04-27 14:44:40 +05302674/** Offset 0x0C24 - Write Energy Mc0Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002675 Write Energy Contribution, range[255;0],(221= Def)
2676**/
2677 UINT8 WrEnergyMc0Ch1Dimm0;
2678
Kilari Raasib07209f2023-04-27 14:44:40 +05302679/** Offset 0x0C25 - Write Energy Mc0Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002680 Write Energy Contribution, range[255;0],(221= Def)
2681**/
2682 UINT8 WrEnergyMc0Ch1Dimm1;
2683
Kilari Raasib07209f2023-04-27 14:44:40 +05302684/** Offset 0x0C26 - Write Energy Mc1Ch0Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002685 Write Energy Contribution, range[255;0],(221= Def)
2686**/
2687 UINT8 WrEnergyMc1Ch0Dimm0;
2688
Kilari Raasib07209f2023-04-27 14:44:40 +05302689/** Offset 0x0C27 - Write Energy Mc1Ch0Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002690 Write Energy Contribution, range[255;0],(221= Def)
2691**/
2692 UINT8 WrEnergyMc1Ch0Dimm1;
2693
Kilari Raasib07209f2023-04-27 14:44:40 +05302694/** Offset 0x0C28 - Write Energy Mc1Ch1Dimm0
Kapil Porwala42ad282022-07-07 18:28:30 +00002695 Write Energy Contribution, range[255;0],(221= Def)
2696**/
2697 UINT8 WrEnergyMc1Ch1Dimm0;
2698
Kilari Raasib07209f2023-04-27 14:44:40 +05302699/** Offset 0x0C29 - Write Energy Mc1Ch1Dimm1
Kapil Porwala42ad282022-07-07 18:28:30 +00002700 Write Energy Contribution, range[255;0],(221= Def)
2701**/
2702 UINT8 WrEnergyMc1Ch1Dimm1;
2703
Kilari Raasib07209f2023-04-27 14:44:40 +05302704/** Offset 0x0C2A - Throttler CKEMin Timer
Kapil Porwala42ad282022-07-07 18:28:30 +00002705 Timer value for CKEMin, range[255;0]. Req'd min of SC_ROUND_T + BYTE_LENGTH (4).
2706 Dfault is 0x00
2707**/
2708 UINT8 ThrtCkeMinTmr;
2709
Kilari Raasib07209f2023-04-27 14:44:40 +05302710/** Offset 0x0C2B - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002711**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302712 UINT8 Reserved63[2];
Kapil Porwala42ad282022-07-07 18:28:30 +00002713
Kilari Raasib07209f2023-04-27 14:44:40 +05302714/** Offset 0x0C2D - Rapl Power Floor Ch0
Kapil Porwala42ad282022-07-07 18:28:30 +00002715 Power budget ,range[255;0],(0= 5.3W Def)
2716**/
2717 UINT8 RaplPwrFlCh0;
2718
Kilari Raasib07209f2023-04-27 14:44:40 +05302719/** Offset 0x0C2E - Rapl Power Floor Ch1
Kapil Porwala42ad282022-07-07 18:28:30 +00002720 Power budget ,range[255;0],(0= 5.3W Def)
2721**/
2722 UINT8 RaplPwrFlCh1;
2723
Kilari Raasib07209f2023-04-27 14:44:40 +05302724/** Offset 0x0C2F - Command Rate Support
Kapil Porwala42ad282022-07-07 18:28:30 +00002725 CMD Rate and Limit Support Option. NOTE: ONLY supported in 1N Mode, Default is 3 CMDs
2726 0:Disable, 5:2 CMDS, 7:3 CMDS, 9:4 CMDS, 11:5 CMDS, 13:6 CMDS, 15:7 CMDS
2727**/
2728 UINT8 EnCmdRate;
2729
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302730/** Offset 0x0C30 - MC_REFRESH_RATE
2731 Type of Refresh Rate used to prevent Row Hammer. Default is NORMAL Refresh
2732 0:NORMAL Refresh, 1:1x Refresh, 2:2x Refresh, 3:4x Refresh
Kapil Porwala42ad282022-07-07 18:28:30 +00002733**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302734 UINT8 McRefreshRate;
Kapil Porwala42ad282022-07-07 18:28:30 +00002735
Kilari Raasib07209f2023-04-27 14:44:40 +05302736/** Offset 0x0C31 - Energy Performance Gain
Kapil Porwala42ad282022-07-07 18:28:30 +00002737 Enable/disable Energy Performance Gain. <b>0: Disable</b>; 1: Enable
2738 $EN_DIS
2739**/
2740 UINT8 EpgEnable;
2741
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302742/** Offset 0x0C32 - RH pTRR LFSR0 Mask
2743 Row Hammer pTRR LFSR0 Mask, 1/2^(value)
Kapil Porwala42ad282022-07-07 18:28:30 +00002744**/
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302745 UINT8 Lfsr0Mask;
Kapil Porwala42ad282022-07-07 18:28:30 +00002746
Kilari Raasib07209f2023-04-27 14:44:40 +05302747/** Offset 0x0C33 - User Manual Threshold
Kapil Porwala42ad282022-07-07 18:28:30 +00002748 Disabled: Predefined threshold will be used.\n
2749 Enabled: User Input will be used.
2750 $EN_DIS
2751**/
2752 UINT8 UserThresholdEnable;
2753
Kilari Raasib07209f2023-04-27 14:44:40 +05302754/** Offset 0x0C34 - User Manual Budget
Kapil Porwala42ad282022-07-07 18:28:30 +00002755 Disabled: Configuration of memories will defined the Budget value.\n
2756 Enabled: User Input will be used.
2757 $EN_DIS
2758**/
2759 UINT8 UserBudgetEnable;
2760
Kilari Raasib07209f2023-04-27 14:44:40 +05302761/** Offset 0x0C35 - Reserved
Kilari Raasieac71c02023-01-30 16:02:34 +05302762**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302763 UINT8 Reserved64;
Kilari Raasieac71c02023-01-30 16:02:34 +05302764
Kilari Raasib07209f2023-04-27 14:44:40 +05302765/** Offset 0x0C36 - Power Down Mode
Kapil Porwala42ad282022-07-07 18:28:30 +00002766 This option controls command bus tristating during idle periods
2767 0x0:No Power Down, 0x1:APD, 0x6:PPD DLL OFF, 0xFF:Auto
2768**/
2769 UINT8 PowerDownMode;
2770
Kilari Raasib07209f2023-04-27 14:44:40 +05302771/** Offset 0x0C37 - Pwr Down Idle Timer
Kapil Porwala42ad282022-07-07 18:28:30 +00002772 The minimum value should = to the worst case Roundtrip delay + Burst_Length. 0 means
2773 AUTO: 64 for ULX/ULT, 128 for DT/Halo
2774**/
2775 UINT8 PwdwnIdleCounter;
2776
Kilari Raasib07209f2023-04-27 14:44:40 +05302777/** Offset 0x0C38 - Page Close Idle Timeout
Kapil Porwala42ad282022-07-07 18:28:30 +00002778 This option controls Page Close Idle Timeout
2779 0:Enabled, 1:Disabled
2780**/
2781 UINT8 DisPgCloseIdleTimeout;
2782
Kilari Raasib07209f2023-04-27 14:44:40 +05302783/** Offset 0x0C39 - Bitmask of ranks that have CA bus terminated
Kapil Porwala42ad282022-07-07 18:28:30 +00002784 Offset 225 LPDDR4: Bitmask of ranks that have CA bus terminated. <b>0x01=Default,
2785 Rank0 is terminating and Rank1 is non-terminating</b>
2786**/
2787 UINT8 CmdRanksTerminated;
2788
Kilari Raasib07209f2023-04-27 14:44:40 +05302789/** Offset 0x0C3A - PcdSerialDebugLevel
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002790 Serial Debug Message Level. 0:Disable, 1:Error Only, 2:Error & Warnings, 3:Load,
2791 Error, Warnings & Info, 4:Load, Error, Warnings, Info & Event, 5:Load, Error, Warnings,
2792 Info & Verbose.
2793 0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warnings and Info, 4:Load
2794 Error Warnings and Info & Event, 5:Load Error Warnings Info and Verbose
2795**/
2796 UINT8 PcdSerialDebugLevel;
2797
Kilari Raasib07209f2023-04-27 14:44:40 +05302798/** Offset 0x0C3B - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002799**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302800 UINT8 Reserved65[8];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002801
Kilari Raasib07209f2023-04-27 14:44:40 +05302802/** Offset 0x0C43 - Ask MRC to clear memory content
Kapil Porwala42ad282022-07-07 18:28:30 +00002803 Ask MRC to clear memory content <b>0: Do not Clear Memory;</b> 1: Clear Memory.
2804 $EN_DIS
2805**/
2806 UINT8 CleanMemory;
2807
Kilari Raasib07209f2023-04-27 14:44:40 +05302808/** Offset 0x0C44 - TCSS USB Port Enable
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002809 Bitmap for per port enabling
2810**/
2811 UINT8 UsbTcPortEnPreMem;
2812
Kilari Raasib07209f2023-04-27 14:44:40 +05302813/** Offset 0x0C45 - Reserved
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002814**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302815 UINT8 Reserved66;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002816
Kilari Raasib07209f2023-04-27 14:44:40 +05302817/** Offset 0x0C46 - Post Code Output Port
Kapil Porwala42ad282022-07-07 18:28:30 +00002818 This option configures Post Code Output Port
2819**/
2820 UINT16 PostCodeOutputPort;
2821
Kilari Raasib07209f2023-04-27 14:44:40 +05302822/** Offset 0x0C48 - RMTLoopCount
Kapil Porwala42ad282022-07-07 18:28:30 +00002823 Specifies the Loop Count to be used during Rank Margin Tool Testing. 0 - AUTO
2824**/
2825 UINT8 RMTLoopCount;
2826
Kilari Raasib07209f2023-04-27 14:44:40 +05302827/** Offset 0x0C49 - Enable/Disable SA CRID
Kapil Porwala42ad282022-07-07 18:28:30 +00002828 Enable: SA CRID, Disable (Default): SA CRID
2829 $EN_DIS
2830**/
2831 UINT8 CridEnable;
2832
Kilari Raasib07209f2023-04-27 14:44:40 +05302833/** Offset 0x0C4A - Reserved
Kilari Raasieac71c02023-01-30 16:02:34 +05302834**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302835 UINT8 Reserved67[2];
Kilari Raasieac71c02023-01-30 16:02:34 +05302836
Kilari Raasib07209f2023-04-27 14:44:40 +05302837/** Offset 0x0C4C - BCLK RFI Frequency
Kapil Porwala42ad282022-07-07 18:28:30 +00002838 Bclk RFI Frequency for each SAGV point in Hz units. 98000000Hz = 98MHz <b>0 - No
2839 RFI Tuning</b>. Range is 98Mhz-100Mhz.
2840**/
2841 UINT32 BclkRfiFreq[4];
2842
Kilari Raasib07209f2023-04-27 14:44:40 +05302843/** Offset 0x0C5C - Size of PCIe IMR.
Kapil Porwala42ad282022-07-07 18:28:30 +00002844 Size of PCIe IMR in megabytes
2845**/
2846 UINT16 PcieImrSize;
2847
Kilari Raasib07209f2023-04-27 14:44:40 +05302848/** Offset 0x0C5E - Enable PCIe IMR
Kapil Porwala42ad282022-07-07 18:28:30 +00002849 0: Disable(AUTO), 1: Enable
2850 $EN_DIS
2851**/
2852 UINT8 PcieImrEnabled;
2853
Kilari Raasib07209f2023-04-27 14:44:40 +05302854/** Offset 0x0C5F - Enable PCIe IMR
Kapil Porwala42ad282022-07-07 18:28:30 +00002855 1: PCH PCIE, 2: SA PCIE. If PCIeImrEnabled is TRUE then this will use to select
2856 the Root port location from PCH PCIe or SA PCIe
2857 $EN_DIS
2858**/
2859 UINT8 PcieImrRpLocation;
2860
Kilari Raasib07209f2023-04-27 14:44:40 +05302861/** Offset 0x0C60 - Root port number for IMR.
Kapil Porwala42ad282022-07-07 18:28:30 +00002862 Root port number for IMR.If PCieImrRpLocation is PCH PCIe then select root port
2863 from 0 to 23 and if it is SA PCIe then select root port from 0 to 3
2864**/
2865 UINT8 PcieImrRpSelection;
2866
Kilari Raasib07209f2023-04-27 14:44:40 +05302867/** Offset 0x0C61 - SerialDebugMrcLevel
Subrata Banik82067412022-07-01 09:12:08 +00002868 MRC Serial Debug Message Level. 0:Disable, 1:Error Only, 2:Error & Warnings, 3:Load,
2869 Error, Warnings & Info, 4:Load, Error, Warnings, Info & Event, 5:Load, Error, Warnings,
2870 Info & Verbose.
2871 0:Disable, 1:Error Only, 2:Error and Warnings, 3:Load Error Warnings and Info, 4:Load
2872 Error Warnings and Info & Event, 5:Load Error Warnings Info and Verbose
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002873**/
Subrata Banik82067412022-07-01 09:12:08 +00002874 UINT8 SerialDebugMrcLevel;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002875
Kilari Raasib07209f2023-04-27 14:44:40 +05302876/** Offset 0x0C62 - Reserved
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002877**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302878 UINT8 Reserved68[11];
Kilari Raasi9c28ab12023-06-19 16:26:21 +05302879
2880/** Offset 0x0C6D - RH pTRR LFSR1 Mask
2881 Row Hammer pTRR LFSR1 Mask, 1/2^(value)
2882**/
2883 UINT8 Lfsr1Mask;
2884
2885/** Offset 0x0C6E - Reserved
2886**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302887 UINT8 Reserved69;
Srinidhi N Kaushikb2d9d572022-06-01 15:11:36 -07002888
Kilari Raasib07209f2023-04-27 14:44:40 +05302889/** Offset 0x0C6F - Command Pins Mapping
Kapil Porwala42ad282022-07-07 18:28:30 +00002890 BitMask where bits [3:0] are Controller 0 Channel [3:0] and bits [7:4] are Controller
2891 1 Channel [3:0]. 0 = CCC pin mapping is Ascending, 1 = CCC pin mapping is Descending.
2892**/
2893 UINT8 Lp5CccConfig;
2894
Kilari Raasib07209f2023-04-27 14:44:40 +05302895/** Offset 0x0C70 - Command Pins Mirrored
Kapil Porwala42ad282022-07-07 18:28:30 +00002896 BitMask where bits [3:0] are Controller 0 Channel [3:0] and bits [7:4] are Controller
2897 1 Channel [3:0]. 0 = No Command Mirror and 1 = Command Mirror.
2898**/
2899 UINT8 CmdMirror;
2900
Kilari Raasib07209f2023-04-27 14:44:40 +05302901/** Offset 0x0C71 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002902**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302903 UINT8 Reserved70[3];
2904
2905/** Offset 0x0C74 - LowerBasicMemTestSize
2906 Reduce BasicMemoryTest size WA: 0(Default)=Disable, 1=Enable
2907 $EN_DIS
2908**/
2909 UINT8 LowerBasicMemTestSize;
2910
2911/** Offset 0x0C75 - Reserved
2912**/
2913 UINT8 Reserved71[20];
Kapil Porwala42ad282022-07-07 18:28:30 +00002914
Kilari Raasib07209f2023-04-27 14:44:40 +05302915/** Offset 0x0C89 - Skip external display device scanning
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002916 Enable: Do not scan for external display device, Disable (Default): Scan external
2917 display devices
2918 $EN_DIS
2919**/
2920 UINT8 SkipExtGfxScan;
2921
Kilari Raasib07209f2023-04-27 14:44:40 +05302922/** Offset 0x0C8A - Generate BIOS Data ACPI Table
Kapil Porwala42ad282022-07-07 18:28:30 +00002923 Enable: Generate BDAT for MRC RMT or SA PCIe data. Disable (Default): Do not generate it
2924 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002925**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002926 UINT8 BdatEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002927
Kilari Raasib07209f2023-04-27 14:44:40 +05302928/** Offset 0x0C8B - Lock PCU Thermal Management registers
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002929 Lock PCU Thermal Management registers. Enable(Default)=1, Disable=0
2930 $EN_DIS
2931**/
2932 UINT8 LockPTMregs;
2933
Kilari Raasib07209f2023-04-27 14:44:40 +05302934/** Offset 0x0C8C - Panel Power Enable
Kapil Porwala42ad282022-07-07 18:28:30 +00002935 Control for enabling/disabling VDD force bit (Required only for early enabling of
2936 eDP panel). 0=Disable, 1(Default)=Enable
2937 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002938**/
Kapil Porwala42ad282022-07-07 18:28:30 +00002939 UINT8 PanelPowerEnable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002940
Kilari Raasib07209f2023-04-27 14:44:40 +05302941/** Offset 0x0C8D - BdatTestType
Kapil Porwala42ad282022-07-07 18:28:30 +00002942 Indicates the type of Memory Training data to populate into the BDAT ACPI table.
2943 0:RMT per Rank, 1:RMT per Bit, 2:Margin2D
2944**/
2945 UINT8 BdatTestType;
2946
Kilari Raasib07209f2023-04-27 14:44:40 +05302947/** Offset 0x0C8E - Reserved
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07002948**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302949 UINT8 Reserved72[2];
Srinidhi N Kaushik15b439e2022-07-29 16:06:05 -07002950
Kilari Raasib07209f2023-04-27 14:44:40 +05302951/** Offset 0x0C90 - PMR Size
Kapil Porwala42ad282022-07-07 18:28:30 +00002952 Size of PMR memory buffer. 0x400000 for normal boot and 0x200000 for S3 boot
2953**/
2954 UINT32 DmaBufferSize;
2955
Kilari Raasib07209f2023-04-27 14:44:40 +05302956/** Offset 0x0C94 - The policy for VTd driver behavior
Kapil Porwala42ad282022-07-07 18:28:30 +00002957 BIT0: Enable IOMMU during boot, BIT1: Enable IOMMU when transfer control to OS
2958**/
2959 UINT8 PreBootDmaMask;
2960
Kilari Raasib07209f2023-04-27 14:44:40 +05302961/** Offset 0x0C95 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002962**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302963 UINT8 Reserved73[143];
Kapil Porwala42ad282022-07-07 18:28:30 +00002964
Kilari Raasib07209f2023-04-27 14:44:40 +05302965/** Offset 0x0D24 - TotalFlashSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002966 Enable/Disable. 0: Disable, define default value of TotalFlashSize , 1: enable
2967**/
2968 UINT16 TotalFlashSize;
2969
Kilari Raasib07209f2023-04-27 14:44:40 +05302970/** Offset 0x0D26 - BiosSize
Kapil Porwala42ad282022-07-07 18:28:30 +00002971 The size of the BIOS region of the IFWI. Used if FspmUpd->FspmConfig.BiosGuard !=
2972 0. If BiosGuard is enabled, MRC will increase the size of the DPR (DMA Protected
2973 Range) so that a BIOS Update Script can be stored in the DPR.
2974**/
2975 UINT16 BiosSize;
2976
Kilari Raasib07209f2023-04-27 14:44:40 +05302977/** Offset 0x0D28 - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00002978**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302979 UINT8 Reserved74[28];
Kapil Porwala42ad282022-07-07 18:28:30 +00002980
Kilari Raasib07209f2023-04-27 14:44:40 +05302981/** Offset 0x0D44 - Smbus dynamic power gating
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002982 Disable or Enable Smbus dynamic power gating.
2983 $EN_DIS
2984**/
2985 UINT8 SmbusDynamicPowerGating;
2986
Kilari Raasib07209f2023-04-27 14:44:40 +05302987/** Offset 0x0D45 - Disable and Lock Watch Dog Register
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07002988 Set 1 to clear WDT status, then disable and lock WDT registers.
2989 $EN_DIS
2990**/
2991 UINT8 WdtDisableAndLock;
2992
Kilari Raasib07209f2023-04-27 14:44:40 +05302993/** Offset 0x0D46 - Reserved
Kilari Raasib1207582023-03-20 12:19:23 +05302994**/
Subrata Banik17d619c2023-09-22 12:26:11 +05302995 UINT8 Reserved75[2];
Kilari Raasib1207582023-03-20 12:19:23 +05302996
Kilari Raasib07209f2023-04-27 14:44:40 +05302997/** Offset 0x0D48 - SMBUS SPD Write Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00002998 Set/Clear Smbus SPD Write Disable. 0: leave SPD Write Disable bit; 1: set SPD Write
2999 Disable bit. For security recommendations, SPD write disable bit must be set.
3000 $EN_DIS
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003001**/
Kapil Porwala42ad282022-07-07 18:28:30 +00003002 UINT8 SmbusSpdWriteDisable;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003003
Kilari Raasib07209f2023-04-27 14:44:40 +05303004/** Offset 0x0D49 - Reserved
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05303005**/
Subrata Banik17d619c2023-09-22 12:26:11 +05303006 UINT8 Reserved76[34];
vjadeja-intel0ddeaed2022-11-03 14:48:46 +05303007
Kilari Raasib07209f2023-04-27 14:44:40 +05303008/** Offset 0x0D6B - HECI Timeouts
Kapil Porwala42ad282022-07-07 18:28:30 +00003009 0: Disable, 1: Enable (Default) timeout check for HECI
3010 $EN_DIS
3011**/
3012 UINT8 HeciTimeouts;
3013
Kilari Raasib07209f2023-04-27 14:44:40 +05303014/** Offset 0x0D6C - Force ME DID Init Status
Kapil Porwala42ad282022-07-07 18:28:30 +00003015 Test, 0: disable, 1: Success, 2: No Memory in Channels, 3: Memory Init Error, Set
3016 ME DID init stat value
3017 $EN_DIS
3018**/
3019 UINT8 DidInitStat;
3020
Kilari Raasib07209f2023-04-27 14:44:40 +05303021/** Offset 0x0D6D - CPU Replaced Polling Disable
Kapil Porwala42ad282022-07-07 18:28:30 +00003022 Test, 0: disable, 1: enable, Setting this option disables CPU replacement polling loop
3023 $EN_DIS
3024**/
3025 UINT8 DisableCpuReplacedPolling;
3026
Kilari Raasib07209f2023-04-27 14:44:40 +05303027/** Offset 0x0D6E - Check HECI message before send
Kapil Porwala42ad282022-07-07 18:28:30 +00003028 Test, 0: disable, 1: enable, Enable/Disable message check.
3029 $EN_DIS
3030**/
3031 UINT8 DisableMessageCheck;
3032
Kilari Raasib07209f2023-04-27 14:44:40 +05303033/** Offset 0x0D6F - Skip MBP HOB
3034 Test, 0: disable, 1: enable, Enable/Disable sending MBP message and creating MBP Hob.
Kapil Porwala42ad282022-07-07 18:28:30 +00003035 $EN_DIS
3036**/
3037 UINT8 SkipMbpHob;
3038
Kilari Raasib07209f2023-04-27 14:44:40 +05303039/** Offset 0x0D70 - HECI2 Interface Communication
Kapil Porwala42ad282022-07-07 18:28:30 +00003040 Test, 0: disable, 1: enable, Adds or Removes HECI2 Device from PCI space.
3041 $EN_DIS
3042**/
3043 UINT8 HeciCommunication2;
3044
Kilari Raasib07209f2023-04-27 14:44:40 +05303045/** Offset 0x0D71 - Enable KT device
Kilari Raasib1207582023-03-20 12:19:23 +05303046 Test, 0: POR, 1: enable, 2: disable, Enable or Disable KT device.
Kapil Porwala42ad282022-07-07 18:28:30 +00003047 $EN_DIS
3048**/
3049 UINT8 KtDeviceEnable;
3050
Kilari Raasib07209f2023-04-27 14:44:40 +05303051/** Offset 0x0D72 - Skip CPU replacement check
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003052 Test, 0: disable, 1: enable, Setting this option to skip CPU replacement check
3053 $EN_DIS
3054**/
3055 UINT8 SkipCpuReplacementCheck;
3056
Kilari Raasib07209f2023-04-27 14:44:40 +05303057/** Offset 0x0D73 - Reserved
3058**/
Subrata Banik17d619c2023-09-22 12:26:11 +05303059 UINT8 Reserved77[100];
Kilari Raasib07209f2023-04-27 14:44:40 +05303060
3061/** Offset 0x0DD7 - Avx2 Voltage Guardband Scaling Factor
Kapil Porwala42ad282022-07-07 18:28:30 +00003062 AVX2 Voltage Guardband Scale factor applied to AVX2 workloads. Range is 0-200 in
3063 1/100 units, where a value of 125 would apply a 1.25 scale factor.
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003064**/
Kapil Porwala42ad282022-07-07 18:28:30 +00003065 UINT8 Avx2VoltageScaleFactor;
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003066
Kilari Raasib07209f2023-04-27 14:44:40 +05303067/** Offset 0x0DD8 - Avx512 Voltage Guardband Scaling Factor
Subrata Banikd0de6c22023-08-30 17:38:50 +00003068 DEPRECATED. AVX512 Voltage Guardband Scale factor applied to AVX512 workloads. Range
3069 is 0-200 in 1/100 units, where a value of 125 would apply a 1.25 scale factor.
Kapil Porwala42ad282022-07-07 18:28:30 +00003070**/
3071 UINT8 Avx512VoltageScaleFactor;
3072
Kilari Raasib07209f2023-04-27 14:44:40 +05303073/** Offset 0x0DD9 - Serial Io Uart Debug Mode
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003074 Select SerialIo Uart Controller mode
3075 0:SerialIoUartDisabled, 1:SerialIoUartPci, 2:SerialIoUartHidden, 3:SerialIoUartCom,
3076 4:SerialIoUartSkipInit
3077**/
3078 UINT8 SerialIoUartDebugMode;
3079
Kilari Raasib07209f2023-04-27 14:44:40 +05303080/** Offset 0x0DDA - Reserved
Kilari Raasib1207582023-03-20 12:19:23 +05303081**/
Subrata Banik17d619c2023-09-22 12:26:11 +05303082 UINT8 Reserved78[2];
Kilari Raasib1207582023-03-20 12:19:23 +05303083
Kilari Raasib07209f2023-04-27 14:44:40 +05303084/** Offset 0x0DDC - SerialIoUartDebugRxPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003085 Select RX pin muxing for SerialIo UART used for debug
3086**/
3087 UINT32 SerialIoUartDebugRxPinMux;
3088
Kilari Raasib07209f2023-04-27 14:44:40 +05303089/** Offset 0x0DE0 - SerialIoUartDebugTxPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003090 Select TX pin muxing for SerialIo UART used for debug
3091**/
3092 UINT32 SerialIoUartDebugTxPinMux;
3093
Kilari Raasib07209f2023-04-27 14:44:40 +05303094/** Offset 0x0DE4 - SerialIoUartDebugRtsPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003095 Select SerialIo Uart used for debug Rts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_RTS*
3096 for possible values.
3097**/
3098 UINT32 SerialIoUartDebugRtsPinMux;
3099
Kilari Raasib07209f2023-04-27 14:44:40 +05303100/** Offset 0x0DE8 - SerialIoUartDebugCtsPinMux - FSPM
Kapil Porwala42ad282022-07-07 18:28:30 +00003101 Select SerialIo Uart used for debug Cts pin muxing. Refer to GPIO_*_MUXING_SERIALIO_UARTx_CTS*
3102 for possible values.
3103**/
3104 UINT32 SerialIoUartDebugCtsPinMux;
3105
Kilari Raasib07209f2023-04-27 14:44:40 +05303106/** Offset 0x0DEC - Reserved
Kapil Porwala42ad282022-07-07 18:28:30 +00003107**/
Subrata Banik17d619c2023-09-22 12:26:11 +05303108 UINT8 Reserved79[164];
Kilari Raasi9c28ab12023-06-19 16:26:21 +05303109
3110/** Offset 0x0E90 - TME Exclude Base Address
3111 TME Exclude Base Address.
3112**/
3113 UINT64 TmeExcludeBase;
3114
3115/** Offset 0x0E98 - TME Exclude Size Value
3116 TME Exclude Size Value.
3117**/
3118 UINT64 TmeExcludeSize;
3119
3120/** Offset 0x0EA0 - Generate New TME Key
3121 Enable: Generate New TME Key, Disable(Default): TME key determine by type of reset
3122 $EN_DIS
3123**/
3124 UINT8 GenerateNewTmeKey;
3125
3126/** Offset 0x0EA1 - Reserved
3127**/
Subrata Banik17d619c2023-09-22 12:26:11 +05303128 UINT8 Reserved80[7];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003129} FSP_M_CONFIG;
3130
3131/** Fsp M UPD Configuration
3132**/
3133typedef struct {
3134
3135/** Offset 0x0000
3136**/
3137 FSP_UPD_HEADER FspUpdHeader;
3138
3139/** Offset 0x0020
3140**/
3141 FSPM_ARCH_UPD FspmArchUpd;
3142
3143/** Offset 0x0040
3144**/
3145 FSP_M_CONFIG FspmConfig;
3146
Kilari Raasi6a7703f2023-05-30 12:36:36 +05303147/** Offset 0x0EA8
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003148**/
Subrata Banik6ed43152022-11-22 16:36:37 +05303149 UINT8 Rsvd500[6];
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003150
Kilari Raasi6a7703f2023-05-30 12:36:36 +05303151/** Offset 0x0EAE
Srinidhi N Kaushik08761032022-06-02 00:10:28 -07003152**/
3153 UINT16 UpdTerminator;
3154} FSPM_UPD;
3155
3156#pragma pack()
3157
3158#endif