8 option ALC1019_ALC5682I_VD_I2S
1
9 option ALC1019_ALC5682I_VS_I2S
2
17 option TOUCH_ELAN0001
1
20 option WIFI_SAR_ID_0
0
21 option WIFI_SAR_ID_1
1
24 option STORAGE_UNKNOWN
0
30 chip soc
/intel
/alderlake
32 register
"acoustic_noise_mitigation" = "1"
33 register
"slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_8"
34 register
"slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_8"
35 register
"fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1"
36 register
"fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1"
38 # Intel Common SoC Config
39 #
+-------------------+---------------------------+
41 #
+-------------------+---------------------------+
42 #| GSPI1 | Fingerprint MCU |
44 #| I2C1 | cr50 TPM. Early init is |
45 #| | required
to set up a BAR |
46 #| |
for TPM communication |
47 #| I2C3 | TouchScreen |
49 #
+-------------------+---------------------------+
50 register
"common_soc_config" = "{
52 .speed = I2C_SPEED_FAST,
55 .data_hold_time_ns = 50,
59 .speed = I2C_SPEED_FAST,
62 .data_hold_time_ns = 50,
65 .speed = I2C_SPEED_FAST,
68 .data_hold_time_ns = 50,
71 .speed = I2C_SPEED_FAST,
74 .data_hold_time_ns = 50,
77 register
"sagv" = "SaGv_Enabled"
79 register
"ext_fivr_settings" = "{
80 .configure_ext_fivr = 1,
81 .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX,
82 .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX,
83 .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
84 FIVR_VOLTAGE_MIN_ACTIVE |
85 FIVR_VOLTAGE_MIN_RETENTION,
86 .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
87 FIVR_VOLTAGE_MIN_ACTIVE |
88 FIVR_VOLTAGE_MIN_RETENTION,
89 .v1p05_icc_max_ma = 500,
90 .vnn_sx_voltage_mv = 1250,
93 #
As per Intel Advisory doc#
723158, the change is required
to prevent possible
94 # display flickering issue.
95 register
"disable_dynamic_tccold_handshake" = "true"
97 register
"serial_io_i2c_mode" = "{
98 [PchSerialIoIndexI2C0] = PchSerialIoPci,
99 [PchSerialIoIndexI2C1] = PchSerialIoPci,
100 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
101 [PchSerialIoIndexI2C3] = PchSerialIoPci,
102 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
103 [PchSerialIoIndexI2C5] = PchSerialIoPci,
106 # SOC Aux orientation override
:
107 # This is a bitfield that corresponds
to up
to 4 TCSS ports.
108 # Bits
(0,1) are allocated
for TCSS Port1 configuration
and Bits
(2,3) for TCSS Port2.
110 # Bit0
, Bit2
set to "1" indicates no retimer on USB
-C Ports
111 # Bit1
, Bit3
set to "0" indicates Aux lines are
not swapped on the
112 # motherboard
to USB
-C connector
113 register
"tcss_aux_ori" = "1"
114 register
"typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22,
115 .pad_auxn_dc = GPP_E23}"
117 register
"usb2_ports[0]" = "USB2_PORT_TYPE_C(OC0)" # USB2_C0
118 register
"usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2_Port
1
119 register
"usb2_ports[2]" = "USB2_PORT_TYPE_C(OC1)" # USB2_C2
120 register
"usb2_ports[3]" = "USB2_PORT_MID(OC2)" #
Type-A Port A1
121 register
"usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable USB2 Port
4
122 register
"usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # M
.2 Camera
123 register
"usb2_ports[6]" = "USB2_PORT_EMPTY" # Disable USB2 Port
6
124 register
"usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # DCI port
125 register
"usb2_ports[8]" = "USB2_PORT_MID(OC3)" #
Type-A Port A0
126 register
"usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # M
.2 Bluetooth
128 register
"usb3_ports[0]" = "USB3_PORT_DEFAULT(OC3)" # USB3
/2 Type A port A0
129 register
"usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # DCI port
130 register
"usb3_ports[2]" = "USB3_PORT_EMPTY" # Disable USB3 Port
2
131 register
"usb3_ports[3]" = "USB3_PORT_DEFAULT(OC2)" # USB3
/2 Type A port A1
133 register
"tcss_ports[1]" = "TCSS_PORT_EMPTY"
135 register
"tcc_offset" = "5" # TCC of
100
137 register
"power_limits_config[RPL_P_282_242_142_15W_CORE]" = "{
138 .tdp_pl1_override = 17,
139 .tdp_pl2_override = 55,
145 chip drivers
/gfx
/generic
146 register
"device_count" = "6"
148 register
"device[0].name" = ""LCD0
""
149 # Internal panel on the first port of the graphics chip
150 register
"device[0].type" = "panel"
152 register
"device[1].name" = ""DD01
""
153 # TCP0
(DP
-1) for port C0
154 register
"device[2].name" = ""DD02
""
155 register
"device[2].use_pld" = "true"
156 register
"device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
157 # TCP1
(DP
-2) is unused
for any ports but still enumerated in the kernel
, so GFX device is added
for TCP1
158 register
"device[3].name" = ""DD03
""
159 # TCP2
(DP
-3) for port C1
160 register
"device[4].name" = ""DD04
""
161 register
"device[4].use_pld" = "true"
162 register
"device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
163 # TCP3
(DP
-4) is unused
for any ports but still enumerated in the kernel
, so GFX device is added
for TCP3
164 register
"device[5].name" = ""DD05
""
165 device generic
0 on
end
167 end # Integrated Graphics Device
169 chip drivers
/intel
/dptf
170 ## sensor information
171 register
"options.tsr[0].desc" = ""Charge
""
172 register
"options.tsr[1].desc" = ""5V
""
173 register
"options.tsr[2].desc" = ""AMB
""
174 register
"options.tsr[3].desc" = ""CPU Power
""
176 # TODO
: below values are initial reference values only
178 register
"policies.active" = "{
197 register
"policies.critical" = "{
198 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
199 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 80, SHUTDOWN),
200 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 70, SHUTDOWN),
201 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 65, SHUTDOWN),
202 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 90, SHUTDOWN),
205 register
"controls.power_limits" = "{
209 .time_window_min = 28 * MSECS_PER_SEC,
210 .time_window_max = 32 * MSECS_PER_SEC,
216 .time_window_min = 28 * MSECS_PER_SEC,
217 .time_window_max = 32 * MSECS_PER_SEC,
222 ## Charger Performance
Control (Control, mA
)
223 register
"controls.charger_perf" = "{
230 ## Fan Performance
Control (Percent
, Speed
, Noise
, Power
)
231 register
"controls.fan_perf" = "{
232 [0] = { 90, 6700, 220, 2200, },
233 [1] = { 80, 5800, 180, 1800, },
234 [2] = { 70, 5000, 145, 1450, },
235 [3] = { 60, 4900, 115, 1150, },
236 [4] = { 50, 3838, 90, 900, },
237 [5] = { 40, 2904, 55, 550, },
238 [6] = { 30, 2337, 30, 300, },
239 [7] = { 20, 1608, 15, 150, },
240 [8] = { 10, 800, 10, 100, },
241 [9] = { 0, 0, 0, 50, }
245 register
"options.fan.fine_grained_control" = "1"
246 register
"options.fan.step_size" = "2"
248 device generic
0 alias dptf_policy on
end
252 chip drivers
/i2c
/generic
253 register
"hid" = ""10EC5682
""
254 register
"name" = ""RT58
""
255 register
"desc" = ""Headset Codec
""
256 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
257 #
Set the jd_src
to RT5668_JD1
for jack detection
258 register
"property_count" = "1"
259 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
260 register
"property_list[0].name" = ""realtek
,jd
-src
""
261 register
"property_list[0].integer" = "1"
263 probe AUDIO AUDIO_UNKNOWN
264 probe AUDIO ALC1019_ALC5682I_VD_I2S
267 chip drivers
/i2c
/generic
268 register
"hid" = ""RTL5682
""
269 register
"name" = ""RT58
""
270 register
"desc" = ""Headset Codec
""
271 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
272 #
Set the jd_src
to RT5668_JD1
for jack detection
273 register
"property_count" = "1"
274 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
275 register
"property_list[0].name" = ""realtek
,jd
-src
""
276 register
"property_list[0].integer" = "1"
278 probe AUDIO ALC1019_ALC5682I_VS_I2S
281 chip drivers
/generic
/alc1015
282 register
"hid" = ""RTL1019
""
283 register
"sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
284 device generic
1 on
end
289 register
"hid" = ""GOOG0005
""
290 register
"irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
295 chip drivers
/i2c
/generic
296 register
"hid" = ""ELAN0001
""
297 register
"desc" = ""ELAN Touchscreen
""
298 register
"irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
299 register
"detect" = "1"
300 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
301 register
"reset_delay_ms" = "150"
302 register
"reset_off_delay_ms" = "1"
303 register
"enable_gpio" =
304 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
305 register
"enable_delay_ms" = "6"
306 register
"stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
307 register
"stop_off_delay_ms" = "1"
308 register
"has_power_resource" = "1"
310 probe TOUCH TOUCH_ELAN0001
316 register
"generic.hid" = ""PIXA2342
""
317 register
"generic.desc" = ""PIXA Touchpad
""
318 register
"generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
319 register
"generic.wake" = "GPE0_DW2_14"
320 register
"hid_desc_reg_offset" = "0x1"
324 device ref pcie_rp5 on
325 # Enable wlan PCIe
5 using clk
2
326 register
"pch_pcie_rp[PCH_RP(5)]" = "{
329 .flags = PCIE_RP_LTR | PCIE_RP_AER,
331 chip drivers
/wifi
/generic
332 register
"add_acpi_dma_property" = "true"
333 device pci
00.0 on
end
336 device ref pcie_rp8 off
end
337 device ref pcie_rp11 on
338 # Enable NVMe SSD PCIe
11-12 using clk
1
339 register
"pch_pcie_rp[PCH_RP(11)]" = "{
342 .flags = PCIE_RP_LTR | PCIE_RP_AER,
344 probe STORAGE STORAGE_UNKNOWN
345 probe STORAGE STORAGE_NVME
348 chip drivers
/intel
/ish
349 register
"add_acpi_dma_property" = "true"
350 device generic
0 on
end
352 probe STORAGE STORAGE_UFS
355 probe STORAGE STORAGE_UFS
358 chip drivers
/spi
/acpi
359 register
"name" = ""CRFP
""
360 register
"hid" = "ACPI_DT_NAMESPACE_HID"
362 register
"compat_string" = ""google
,cros
-ec
-spi
""
363 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
364 register
"wake" = "GPE0_DW2_15"
365 register
"has_power_resource" = "1"
366 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)"
367 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)"
368 register
"enable_delay_ms" = "3"
369 device spi
0 hidden
end
372 device ref pch_espi on
373 chip ec
/google
/chromeec
374 use conn0
as mux_conn
[0]
375 use conn1
as mux_conn
[1]
376 device pnp
0c09.0 on
end
379 device ref pmc hidden
380 chip drivers
/intel
/pmc_mux
382 chip drivers
/intel
/pmc_mux
/conn
383 use usb2_port1
as usb2_port
384 use tcss_usb3_port1
as usb3_port
385 device generic
0 alias conn0 on
end
387 chip drivers
/intel
/pmc_mux
/conn
388 use usb2_port3
as usb2_port
389 use tcss_usb3_port3
as usb3_port
390 device generic
1 alias conn1 on
end
395 device ref tcss_xhci on
396 chip drivers
/usb
/acpi
397 device ref tcss_root_hub on
398 chip drivers
/usb
/acpi
399 register
"desc" = ""USB3
Type-C Port C0
(MLB
)""
400 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
401 register
"use_custom_pld" = "true"
402 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
403 device ref tcss_usb3_port1 on
end
405 chip drivers
/usb
/acpi
406 register
"desc" = ""USB3
Type-C Port C2
(DB
)""
407 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
408 register
"use_custom_pld" = "true"
409 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
410 register
"usb_lpm_incapable" = "true"
411 device ref tcss_usb3_port3 on
end
417 chip drivers
/usb
/acpi
418 device ref xhci_root_hub on
419 chip drivers
/usb
/acpi
420 register
"desc" = ""USB2
Type-C Port C0
(MLB
)""
421 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
422 register
"use_custom_pld" = "true"
423 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
424 device ref usb2_port1 on
end
426 chip drivers
/usb
/acpi
427 register
"desc" = ""USB2
Type-C Port C2
(DB
)""
428 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
429 register
"use_custom_pld" = "true"
430 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
431 device ref usb2_port3 on
end
433 chip drivers
/usb
/acpi
434 register
"desc" = ""USB2
Type-A Port A1
(MLB
)""
435 register
"type" = "UPC_TYPE_A"
436 register
"use_custom_pld" = "true"
437 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 2))"
438 device ref usb2_port4 on
end
440 chip drivers
/usb
/acpi
441 register
"desc" = ""USB2 Camera
""
442 register
"type" = "UPC_TYPE_INTERNAL"
443 device ref usb2_port6 on
end
445 chip drivers
/usb
/acpi
446 register
"desc" = ""USB2
Type-A Port A0
(MLB
)""
447 register
"type" = "UPC_TYPE_A"
448 register
"use_custom_pld" = "true"
449 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))"
450 device ref usb2_port9 on
end
452 chip drivers
/usb
/acpi
453 register
"desc" = ""USB2 Bluetooth
""
454 register
"type" = "UPC_TYPE_INTERNAL"
455 register
"reset_gpio" =
456 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
457 device ref usb2_port10 on
end
459 chip drivers
/usb
/acpi
460 register
"desc" = ""USB3
Type-A Port A0
(MLB
)""
461 register
"type" = "UPC_TYPE_USB3_A"
462 register
"use_custom_pld" = "true"
463 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))"
464 device ref usb3_port1 on
end
466 chip drivers
/usb
/acpi
467 register
"desc" = ""USB3
Type-A Port A1
(MLB
)""
468 register
"type" = "UPC_TYPE_USB3_A"
469 register
"use_custom_pld" = "true"
470 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 2))"
471 device ref usb3_port4 on
end