1 chip soc
/intel
/cannonlake
2 # Auto
-switch between X4 NVMe
and X2 NVMe.
3 register
"TetonGlacierMode" = "1"
5 register
"SerialIoDevMode" = "{
6 [PchSerialIoIndexI2C0] = PchSerialIoDisabled,
7 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
8 [PchSerialIoIndexI2C2] = PchSerialIoPci,
9 [PchSerialIoIndexI2C3] = PchSerialIoPci,
10 [PchSerialIoIndexI2C4] = PchSerialIoPci,
11 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
12 [PchSerialIoIndexSPI0] = PchSerialIoPci,
13 [PchSerialIoIndexSPI1] = PchSerialIoDisabled,
14 [PchSerialIoIndexSPI2] = PchSerialIoDisabled,
15 [PchSerialIoIndexUART0] = PchSerialIoSkipInit,
16 [PchSerialIoIndexUART1] = PchSerialIoPci,
17 [PchSerialIoIndexUART2] = PchSerialIoDisabled,
21 register
"usb2_ports[0]" = "{
24 .tx_bias = USB2_BIAS_0MV,
25 .tx_emp_enable = USB2_PRE_EMP_ON,
26 .pre_emp_bias = USB2_BIAS_11P25MV,
27 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
29 register
"usb2_ports[1]" = "{
32 .tx_bias = USB2_BIAS_0MV,
33 .tx_emp_enable = USB2_PRE_EMP_ON,
34 .pre_emp_bias = USB2_BIAS_28P15MV,
35 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
37 register
"usb2_ports[2]" = "{
40 .tx_bias = USB2_BIAS_0MV,
41 .tx_emp_enable = USB2_PRE_EMP_ON,
42 .pre_emp_bias = USB2_BIAS_28P15MV,
43 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
45 register
"usb2_ports[3]" = "USB2_PORT_TYPE_C(OC_SKIP)" #
Type-C Port
46 register
"usb2_ports[4]" = "{
49 .tx_bias = USB2_BIAS_0MV,
50 .tx_emp_enable = USB2_PRE_EMP_ON,
51 .pre_emp_bias = USB2_BIAS_28P15MV,
52 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
54 register
"usb2_ports[5]" = "{
57 .tx_bias = USB2_BIAS_0MV,
58 .tx_emp_enable = USB2_PRE_EMP_ON,
59 .pre_emp_bias = USB2_BIAS_28P15MV,
60 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
62 register
"usb2_ports[6]" = "USB2_PORT_EMPTY"
63 register
"usb2_ports[7]" = "USB2_PORT_EMPTY"
64 register
"usb2_ports[8]" = "USB2_PORT_EMPTY"
65 register
"usb2_ports[9]" = "{
68 .tx_bias = USB2_BIAS_0MV,
69 .tx_emp_enable = USB2_PRE_EMP_ON,
70 .pre_emp_bias = USB2_BIAS_28P15MV,
71 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
74 register
"usb3_ports[0]" = "USB3_PORT_DEFAULT(OC2)" #
Type-A Port
2
75 register
"usb3_ports[1]" = "USB3_PORT_DEFAULT(OC3)" #
Type-A Port
3
76 register
"usb3_ports[2]" = "USB3_PORT_DEFAULT(OC1)" #
Type-A Port
1
77 register
"usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" #
Type-C
78 register
"usb3_ports[4]" = "USB3_PORT_DEFAULT(OC0)" #
Type-A Port
0
79 register
"usb3_ports[5]" = "USB3_PORT_DEFAULT(OC_SKIP)" #
Type-A Port
4
81 # Bitmap
for Wake Enable on USB attach
/detach
82 register
"usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) |
83 USB_PORT_WAKE_ENABLE(2) |
84 USB_PORT_WAKE_ENABLE(3) |
85 USB_PORT_WAKE_ENABLE(5) |
86 USB_PORT_WAKE_ENABLE(6)"
87 register
"usb3_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(1) |
88 USB_PORT_WAKE_ENABLE(2) |
89 USB_PORT_WAKE_ENABLE(3) |
90 USB_PORT_WAKE_ENABLE(5) |
91 USB_PORT_WAKE_ENABLE(6)"
94 register
"ScsEmmcHs400Enabled" = "1"
97 # Refer
to EDS
-Vol2
-14.3.7.
98 #
[14:8] steps of delay
for DDR mode
, each
125ps
, range
: 0 - 39.
99 #
[6:0] steps of delay
for SDR mode
, each
125ps
, range
: 0 - 39.
100 register
"common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x505"
102 # EMMC TX DATA Delay
1
103 # Refer
to EDS
-Vol2
-14.3.8.
104 #
[14:8] steps of delay
for HS400
, each
125ps
, range
: 0 - 78.
105 #
[6:0] steps of delay
for SDR104
/HS200
, each
125ps
, range
: 0 - 79.
106 register
"common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x911"
108 # EMMC TX DATA Delay
2
109 # Refer
to EDS
-Vol2
-14.3.9.
110 #
[30:24] steps of delay
for SDR50
, each
125ps
, range
: 0 - 79.
111 #
[22:16] steps of delay
for DDR50
, each
125ps
, range
: 0 - 78.
112 #
[14:8] steps of delay
for SDR25
/HS50
, each
125ps
, range
: 0 -79.
113 #
[6:0] steps of delay
for SDR12
, each
125ps. Range
: 0 - 79.
114 register
"common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1C262828"
116 # EMMC RX CMD
/DATA Delay
1
117 # Refer
to EDS
-Vol2
-14.3.10.
118 #
[30:24] steps of delay
for SDR50
, each
125ps
, range
: 0 - 119.
119 #
[22:16] steps of delay
for DDR50
, each
125ps
, range
: 0 - 78.
120 #
[14:8] steps of delay
for SDR25
/HS50
, each
125ps
, range
: 0 - 119.
121 #
[6:0] steps of delay
for SDR12
, each
125ps
, range
: 0 - 119.
122 register
"common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1C16583b"
124 # EMMC RX CMD
/DATA Delay
2
125 # Refer
to EDS
-Vol2
-14.3.12.
126 #
[17:16] stands
for Rx Clock before Output Buffer
,
127 #
00: Rx clock after output buffer
,
128 #
01: Rx clock before output buffer
,
129 #
10: Automatic selection based on working mode.
131 #
[14:8] steps of delay
for Auto Tuning Mode
, each
125ps
, range
: 0 - 39.
132 #
[6:0] steps of delay
for HS200
, each
125ps
, range
: 0 - 79.
133 register
"common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x1001D"
135 # EMMC Rx Strobe Delay
136 # Refer
to EDS
-Vol2
-14.3.11.
137 #
[14:8] Rx Strobe Delay DLL
1(HS400 Mode
), each
125ps
, range
: 0 - 39.
138 #
[6:0] Rx Strobe Delay DLL
2(HS400 Mode
), each
125ps
, range
: 0 - 39.
139 register
"common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x1515"
141 # Intel HDA
- disable I2S Audio SSP1
and DMIC0
as puff variant does
not have them.
142 register
"PchHdaAudioLinkSsp1" = "0"
143 register
"PchHdaAudioLinkDmic0" = "0"
145 # Intel Common SoC Config
146 #
+-------------------+---------------------------+
148 #
+-------------------+---------------------------+
149 #| GSPI0 | cr50 TPM. Early init is |
150 #| | required
to set up a BAR |
151 #| |
for TPM communication |
152 #| | before memory is up |
156 #
+-------------------+---------------------------+
157 register
"common_soc_config" = "{
163 .speed = I2C_SPEED_FAST,
168 .speed = I2C_SPEED_FAST,
173 .speed = I2C_SPEED_FAST,
179 # PCIe root port
7 for LAN
180 register
"PcieRpEnable[6]" = "1"
181 register
"PcieRpLtrEnable[6]" = "1"
183 register
"PcieClkSrcUsage[0]" = "6"
184 register
"PcieClkSrcClkReq[0]" = "0"
186 # PCIe root port
8 for WLAN
187 register
"PcieRpEnable[7]" = "1"
188 register
"PcieRpLtrEnable[7]" = "1"
190 register
"PcieClkSrcUsage[5]" = "7"
191 register
"PcieClkSrcClkReq[5]" = "5"
193 # PCIe root port
9 for SSD
(PCIe Lanes
11, 12)
194 register
"PcieRpEnable[8]" = "1"
195 register
"PcieRpLtrEnable[8]" = "1"
196 # RP
9 uses CLK SRC
1
197 register
"PcieClkSrcUsage[1]" = "8"
198 register
"PcieClkSrcClkReq[1]" = "1"
200 # PCIe root port
10 disabled
201 register
"PcieRpEnable[9]" = "0"
203 # PCIe root port
11 TPU1
204 register
"PcieRpEnable[10]" = "1"
205 register
"PcieRpLtrEnable[10]" = "1"
206 # RP
11 uses CLK SRC
1
207 register
"PcieClkSrcUsage[4]" = "10"
208 register
"PcieClkSrcClkReq[4]" = "4"
210 # PCIe root port
12 TPU0
211 register
"PcieRpEnable[11]" = "1"
212 register
"PcieRpLtrEnable[11]" = "1"
213 # RP
11 uses CLK SRC
1
214 register
"PcieClkSrcUsage[2]" = "11"
215 register
"PcieClkSrcClkReq[2]" = "2"
217 # PCIe port
13 for i350 NIC
(x4
)
218 register
"PcieRpEnable[12]" = "1"
219 register
"PcieRpLtrEnable[12]" = "1"
220 # RP
13 uses CLK SRC
3
221 register
"PcieClkSrcUsage[3]" = "12"
222 # RP
13 does
not use a source clock request line
223 # NOTE
: Any value other than a valid source
-clock
-request
(0-5) is
224 # effectively
"not connected"
225 register
"PcieClkSrcClkReq[3]" = "0xFF"
226 # Disable the remaining ports
14-16
227 register
"PcieRpEnable[13]" = "0"
228 register
"PcieRpEnable[14]" = "0"
229 register
"PcieRpEnable[15]" = "0"
231 # GPIO
for SD card detect
232 register
"sdcard_cd_gpio" = "vSD3_CD_B"
234 # SATA port
1 Gen3 Strength
235 # Port1 Tx De
-Emphasis
= 20*log
(0x20/64) = -6dB
236 register
"sata_port[1].TxGen3DeEmphEnable" = "1"
237 register
"sata_port[1].TxGen3DeEmph" = "0x20"
241 chip drivers
/intel
/dptf
243 register
"policies.active[0]" = "{.target=DPTF_CPU,
244 .thresholds={TEMP_PCT(94, 0),}}"
245 register
"policies.active[1]" = "{.target=DPTF_TEMP_SENSOR_0,
246 .thresholds={TEMP_PCT(72, 90),
254 register
"policies.passive[0]" = "DPTF_PASSIVE(CPU, CPU, 95, 5000)"
255 register
"policies.passive[1]" = "DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 85, 6000)"
258 register
"policies.critical[0]" = "DPTF_CRITICAL(CPU, 100, SHUTDOWN)"
259 register
"policies.critical[1]" = "DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN)"
261 ## Power Limits
Control
262 # PL1 is fixed at
15W
, avg over
28-32s interval
263 #
51-51W PL2 in
1000mW increments
, avg over
28-32s interval
264 register
"controls.power_limits.pl1" = "{
267 .time_window_min = 28 * MSECS_PER_SEC,
268 .time_window_max = 32 * MSECS_PER_SEC,
269 .granularity = 125,}"
270 register
"controls.power_limits.pl2" = "{
273 .time_window_min = 28 * MSECS_PER_SEC,
274 .time_window_max = 32 * MSECS_PER_SEC,
275 .granularity = 1000,}"
277 ## Charger Performance
Control (Control, mA
)
278 register
"controls.charger_perf[0]" = "{ 255, 1700 }"
279 register
"controls.charger_perf[1]" = "{ 24, 1500 }"
280 register
"controls.charger_perf[2]" = "{ 16, 1000 }"
281 register
"controls.charger_perf[3]" = "{ 8, 500 }"
283 ## Fan Performance
Control (Percent
, Speed
, Noise
, Power
)
284 register
"controls.fan_perf[0]" = "{ 90, 6700, 220, 2200, }"
285 register
"controls.fan_perf[1]" = "{ 80, 5800, 180, 1800, }"
286 register
"controls.fan_perf[2]" = "{ 70, 5000, 145, 1450, }"
287 register
"controls.fan_perf[3]" = "{ 60, 4900, 115, 1150, }"
288 register
"controls.fan_perf[4]" = "{ 50, 3838, 90, 900, }"
289 register
"controls.fan_perf[5]" = "{ 40, 2904, 55, 550, }"
290 register
"controls.fan_perf[6]" = "{ 30, 2337, 30, 300, }"
291 register
"controls.fan_perf[7]" = "{ 20, 1608, 15, 150, }"
292 register
"controls.fan_perf[8]" = "{ 10, 800, 10, 100, }"
293 register
"controls.fan_perf[9]" = "{ 0, 0, 0, 50, }"
296 register
"options.fan.fine_grained_control" = "1"
297 register
"options.fan.step_size" = "2"
299 device generic
0 on
end
303 chip drivers
/usb
/acpi
305 chip drivers
/usb
/acpi
306 register
"desc" = ""USB2
Type-A Front Left
""
307 register
"type" = "UPC_TYPE_A"
308 register
"group" = "ACPI_PLD_GROUP(0, 0)"
309 device usb
2.0 on
end
311 chip drivers
/usb
/acpi
312 register
"desc" = ""USB2
Type-C Port Rear
""
313 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
314 register
"group" = "ACPI_PLD_GROUP(1, 3)"
315 device usb
2.1 on
end
317 chip drivers
/usb
/acpi
318 register
"desc" = ""USB2
Type-A Front Right
""
319 register
"type" = "UPC_TYPE_A"
320 register
"group" = "ACPI_PLD_GROUP(0, 1)"
321 device usb
2.2 on
end
323 chip drivers
/usb
/acpi
324 register
"desc" = ""USB2
Type-A Rear Right
""
325 register
"type" = "UPC_TYPE_A"
326 register
"group" = "ACPI_PLD_GROUP(1, 2)"
327 device usb
2.3 on
end
329 chip drivers
/usb
/acpi
330 register
"desc" = ""USB2
Type-A Rear Middle
""
331 register
"type" = "UPC_TYPE_A"
332 register
"group" = "ACPI_PLD_GROUP(1, 1)"
333 device usb
2.4 on
end
335 chip drivers
/usb
/acpi
336 register
"desc" = ""USB2
Type-A Rear Left
""
337 register
"type" = "UPC_TYPE_A"
338 register
"group" = "ACPI_PLD_GROUP(1, 0)"
339 device usb
2.5 on
end
341 chip drivers
/usb
/acpi
342 device usb
2.6 off
end
344 chip drivers
/usb
/acpi
345 register
"desc" = ""USB3
Type-A Front Left
""
346 register
"type" = "UPC_TYPE_USB3_A"
347 register
"group" = "ACPI_PLD_GROUP(0, 0)"
348 device usb
3.0 on
end
350 chip drivers
/usb
/acpi
351 register
"desc" = ""USB3
Type-A Front Right
""
352 register
"type" = "UPC_TYPE_USB3_A"
353 register
"group" = "ACPI_PLD_GROUP(0, 1)"
354 device usb
3.1 on
end
356 chip drivers
/usb
/acpi
357 register
"desc" = ""USB3
Type-A Rear Right
""
358 register
"type" = "UPC_TYPE_USB3_A"
359 register
"group" = "ACPI_PLD_GROUP(1, 2)"
360 device usb
3.2 on
end
362 chip drivers
/usb
/acpi
363 register
"desc" = ""USB3
Type-C Rear
""
364 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
365 register
"group" = "ACPI_PLD_GROUP(1, 3)"
366 device usb
3.3 on
end
368 chip drivers
/usb
/acpi
369 register
"desc" = ""USB3
Type-A Rear Left
""
370 register
"type" = "UPC_TYPE_USB3_A"
371 register
"group" = "ACPI_PLD_GROUP(1, 0)"
372 device usb
3.4 on
end
374 chip drivers
/usb
/acpi
375 register
"desc" = ""USB3
Type-A Rear Middle
""
376 register
"type" = "UPC_TYPE_USB3_A"
377 register
"group" = "ACPI_PLD_GROUP(1, 1)"
378 device usb
3.5 on
end
385 chip drivers
/i2c
/generic
386 register
"hid" = ""1AF80175
""
387 register
"name" = ""PS17
""
388 register
"desc" = ""Parade PS175
""
389 device i2c
4a hidden
end
394 chip drivers
/i2c
/generic
395 register
"hid" = ""10EC2142
""
396 register
"name" = ""RTD2
""
397 register
"desc" = ""Realtek RTD2142
""
398 device i2c
4a hidden
end
402 chip drivers
/i2c
/generic
403 register
"hid" = ""10EC5682
""
404 register
"name" = ""RT58
""
405 register
"desc" = ""Realtek RT5682
""
406 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_H0)"
407 register
"property_count" = "1"
408 #
Set the jd_src
to RT5668_JD1
for jack detection
409 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
410 register
"property_list[0].name" = ""realtek
,jd
-src
""
411 register
"property_list[0].integer" = "1"
415 device ref pcie_rp7 on
417 chip drivers
/net # RTL8111H Ethernet NIC
418 register
"customized_leds" = "0x05af"
419 register
"wake" = "GPE0_DW1_07" # GPP_C7
420 register
"device_index" = "0"
421 register
"enable_aspm_l1_2" = "1"
422 device pci
00.0 on
end
425 device ref pcie_rp8 on
427 register
"PcieRpSlotImplemented[7]" = "1" # M
.2 Slot
429 device ref pcie_rp9 on
431 register
"PcieRpSlotImplemented[8]" = "1" # M
.2 Slot
433 device ref pcie_rp11 on
435 register
"PcieRpSlotImplemented[10]" = "1" # M
.2 Slot
437 device ref pcie_rp12 on
439 register
"PcieRpSlotImplemented[11]" = "1" # M
.2 Slot
441 device ref pcie_rp13 on
443 register
"PcieRpSlotImplemented[12]" = "0" # Built
-in
445 device ref pcie_rp14 on
end # non
-root
446 device ref pcie_rp15 on
end # non
-root
447 device ref pcie_rp16 on
end # non
-root
448 device ref uart1 on
end
451 # VR Settings Configuration
for 4 Domains
452 #
+----------------+-------+-------+-------+-------+
453 #| Domain
/Setting | SA | IA | GTUS | GTS |
454 #
+----------------+-------+-------+-------+-------+
455 #| Psi1Threshold |
20A |
20A |
20A |
20A |
456 #| Psi2Threshold |
5A |
5A |
5A |
5A |
457 #| Psi3Threshold |
1A |
1A |
1A |
1A |
458 #| Psi3Enable |
1 |
1 |
1 |
1 |
459 #| Psi4Enable |
1 |
1 |
1 |
1 |
460 #| ImonSlope |
0 |
0 |
0 |
0 |
461 #| ImonOffset |
0 |
0 |
0 |
0 |
462 #| VrVoltageLimit |
1.52V |
1.52V |
1.52V |
1.52V |
463 #| AcLoadline |
10.04 |
1.81 |
3.19 |
3.19 |
464 #| DcLoadline |
10.04 |
1.81 |
3.19 |
3.19 |
465 #
+----------------+-------+-------+-------+-------+
466 #Note
: IccMax settings are moved
to SoC code
467 register
"domain_vr_config[VR_SYSTEM_AGENT]" = "{
468 .vr_config_enable = 1,
469 .psi1threshold = VR_CFG_AMP(20),
470 .psi2threshold = VR_CFG_AMP(5),
471 .psi3threshold = VR_CFG_AMP(1),
477 .voltage_limit = 1520,
482 register
"domain_vr_config[VR_IA_CORE]" = "{
483 .vr_config_enable = 1,
484 .psi1threshold = VR_CFG_AMP(20),
485 .psi2threshold = VR_CFG_AMP(5),
486 .psi3threshold = VR_CFG_AMP(1),
492 .voltage_limit = 1520,
497 register
"domain_vr_config[VR_GT_UNSLICED]" = "{
498 .vr_config_enable = 1,
499 .psi1threshold = VR_CFG_AMP(20),
500 .psi2threshold = VR_CFG_AMP(5),
501 .psi3threshold = VR_CFG_AMP(1),
507 .voltage_limit = 1520,
512 register
"domain_vr_config[VR_GT_SLICED]" = "{
513 .vr_config_enable = 1,
514 .psi1threshold = VR_CFG_AMP(20),
515 .psi2threshold = VR_CFG_AMP(5),
516 .psi3threshold = VR_CFG_AMP(1),
522 .voltage_limit = 1520,