3 option DB_USB_UNKNOWN
0
4 option DB_USB4_ANX7452
1
8 option STYLUS_PRESENT
1
11 option ALC5650_NO_AMP_I2S
0
22 option FP_MCU_NUVOTON
1
26 option KB_TYPE_DEFAULT
0
33 field PANEL_PWRSEQ_EC_CONTROL
14
39 chip soc
/intel
/meteorlake
41 register
"usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C1
42 register
"usb2_ports[1]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C0
43 register
"usb2_ports[8]" = "USB2_PORT_MID(OC3)" #
Type-A Port A0
44 register
"usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # M
.2 Bluetooth
46 register
"usb3_ports[0]" = "USB3_PORT_DEFAULT(OC3)" # USB3
/2 Type A port A0
48 register
"tcss_ports[0]" = "TCSS_PORT_DEFAULT(OC_SKIP)" # USB3_C0
49 register
"tcss_ports[2]" = "TCSS_PORT_DEFAULT(OC_SKIP)" # USB3_C1
51 # Enable eDP in Port A
52 register
"ddi_port_A_config" = "1"
53 # Enable HDMI in Port B
54 register
"ddi_port_B_config" = "0"
56 # Enable Display Port Configuration
57 register
"ddi_ports_config" = "{
58 [DDI_PORT_A] = DDI_ENABLE_HPD,
59 [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
60 [DDI_PORT_1] = DDI_ENABLE_HPD,
61 [DDI_PORT_2] = DDI_ENABLE_HPD,
62 [DDI_PORT_3] = DDI_ENABLE_HPD,
63 [DDI_PORT_4] = DDI_ENABLE_HPD,
66 register
"serial_io_gspi_mode" = "{
67 [PchSerialIoIndexGSPI0] = PchSerialIoDisabled,
68 [PchSerialIoIndexGSPI1] = PchSerialIoPci,
69 [PchSerialIoIndexGSPI2] = PchSerialIoDisabled,
72 register
"serial_io_i2c_mode" = "{
73 [PchSerialIoIndexI2C0] = PchSerialIoPci,
74 [PchSerialIoIndexI2C1] = PchSerialIoPci,
75 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
76 [PchSerialIoIndexI2C3] = PchSerialIoPci,
77 [PchSerialIoIndexI2C4] = PchSerialIoPci,
78 [PchSerialIoIndexI2C5] = PchSerialIoPci,
81 # Intel Common SoC Config
82 #
+-------------------+---------------------------+
84 #
+-------------------+---------------------------+
85 #| I2C0 | Audio
and WFC |
86 #| I2C1 | Touchscreen |
88 #| I2C4 | cr50 TPM. Early init is |
89 #| | required
to set up a BAR |
90 #| |
for TPM communication |
91 #| I2C5 | UFC
, SAR1
, SAR2
, HPS |
92 #
+-------------------+---------------------------+
93 register
"common_soc_config" = "{
95 .speed = I2C_SPEED_FAST,
98 .data_hold_time_ns = 50,
101 .speed = I2C_SPEED_FAST,
104 .data_hold_time_ns = 50,
107 .speed = I2C_SPEED_FAST,
110 .data_hold_time_ns = 50,
114 .speed = I2C_SPEED_FAST,
117 .data_hold_time_ns = 50,
120 .speed = I2C_SPEED_FAST,
123 .data_hold_time_ns = 50,
129 chip drivers
/gfx
/generic
130 register
"device_count" = "6"
132 register
"device[0].name" = ""LCD0
""
133 register
"device[0].type" = "panel"
135 register
"device[1].name" = ""DD01
""
136 # TCP0
(DP
-1) for port C0
137 register
"device[2].name" = ""DD02
""
138 register
"device[2].use_pld" = "true"
139 register
"device[2].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
141 register
"device[3].name" = ""DD03
""
142 # TCP2
(DP
-3) for port C1
143 register
"device[4].name" = ""DD04
""
144 register
"device[4].use_pld" = "true"
145 register
"device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(2, 1))"
147 register
"device[5].name" = ""DD05
""
148 device generic
0 on
end
150 end # Integrated Graphics Device
152 chip drivers
/intel
/dptf
153 ## sensor information
154 register
"options.tsr[0].desc" = ""DDR_SOC
""
155 register
"options.tsr[1].desc" = ""Ambient
""
156 register
"options.tsr[2].desc" = ""Charger
""
159 # FIXME
: below values are initial reference values only
160 register
"policies.active" = "{
162 .target = DPTF_TEMP_SENSOR_0,
174 .target = DPTF_TEMP_SENSOR_1,
186 .target = DPTF_TEMP_SENSOR_2,
197 # TODO
: below values are initial reference values only
198 register
"policies.passive" = "{
199 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
200 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 5000),
201 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 80, 5000),
202 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
206 # TODO
: below values are initial reference values only
207 register
"policies.critical" = "{
208 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
209 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
210 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
211 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
214 ## Power Limits
Control
215 register
"controls.power_limits" = "{
219 .time_window_min = 28 * MSECS_PER_SEC,
220 .time_window_max = 32 * MSECS_PER_SEC,
226 .time_window_min = 28 * MSECS_PER_SEC,
227 .time_window_max = 32 * MSECS_PER_SEC,
232 ## Charger Performance
Control (Control, mA
)
233 register
"controls.charger_perf" = "{
240 ## Fan Performance
Control (Percent
, Speed
, Noise
, Power
)
241 register
"controls.fan_perf" = "{
242 [0] = { 90, 6700, 220, 2200, },
243 [1] = { 80, 5800, 180, 1800, },
244 [2] = { 70, 5000, 145, 1450, },
245 [3] = { 60, 4900, 115, 1150, },
246 [4] = { 50, 3838, 90, 900, },
247 [5] = { 40, 2904, 55, 550, },
248 [6] = { 30, 2337, 30, 300, },
249 [7] = { 20, 1608, 15, 150, },
250 [8] = { 10, 800, 10, 100, },
251 [9] = { 0, 0, 0, 50, }
255 register
"options.fan.fine_grained_control" = "1"
256 register
"options.fan.step_size" = "2"
258 device generic
0 alias dptf_policy on
end
261 device ref pcie_rp10 on
262 # Enable SSD Card PCIE
10 using clk
8
263 register
"pcie_rp[PCIE_RP(10)]" = "{
266 .flags = PCIE_RP_LTR | PCIE_RP_AER,
268 chip soc
/intel
/common
/block
/pcie
/rtd3
269 register
"is_storage" = "true"
270 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A19)"
271 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A20)"
272 register
"srcclk_pin" = "8"
273 device generic
0 on
end
275 end # PCIE10 SSD card
276 device ref tbt_pcie_rp0 on
end
277 device ref tbt_pcie_rp2 on
end
278 device ref tcss_xhci on
279 chip drivers
/usb
/acpi
280 device ref tcss_root_hub on
281 chip drivers
/usb
/acpi
282 register
"desc" = ""USB3
Type-C Port C0
(MLB
)""
283 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
284 register
"use_custom_pld" = "true"
285 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
286 device ref tcss_usb3_port0 on
end
288 chip drivers
/usb
/acpi
289 register
"desc" = ""USB3
Type-C Port C1
(MLB
)""
290 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
291 register
"use_custom_pld" = "true"
292 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(2, 1))"
293 device ref tcss_usb3_port2 on
end
298 device ref tcss_dma0 on
299 chip drivers
/intel
/usb4
/retimer
300 register
"dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B22)"
301 use tcss_usb3_port0
as dfp
[0].typec_port
302 device generic
0 on
end
305 device ref tcss_dma1 on
306 chip drivers
/intel
/usb4
/retimer
307 register
"dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B22)"
308 use tcss_usb3_port2
as dfp
[0].typec_port
309 device generic
0 on
end
313 chip drivers
/usb
/acpi
314 device ref xhci_root_hub on
315 chip drivers
/usb
/acpi
316 register
"desc" = ""USB2
Type-C Port C1
(MLB
)""
317 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
318 register
"use_custom_pld" = "true"
319 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(2, 1))"
320 device ref usb2_port1 on
end
322 chip drivers
/usb
/acpi
323 register
"desc" = ""USB2
Type-C Port C0
(MLB
)""
324 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
325 register
"use_custom_pld" = "true"
326 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
327 device ref usb2_port2 on
end
329 chip drivers
/usb
/acpi
330 register
"desc" = ""USB2
Type-A Port A0
(DB
)""
331 register
"type" = "UPC_TYPE_A"
332 register
"use_custom_pld" = "true"
333 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
334 device ref usb2_port9 on
end
336 chip drivers
/usb
/acpi
337 register
"desc" = ""USB2 Bluetooth
""
338 register
"type" = "UPC_TYPE_INTERNAL"
339 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B01)"
340 device ref usb2_port10 on
end
342 chip drivers
/usb
/acpi
343 register
"desc" = ""USB3
Type-A Port A0
(DB
)""
344 register
"type" = "UPC_TYPE_USB3_A"
345 register
"use_custom_pld" = "true"
346 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
347 device ref usb3_port1 on
end
352 device ref cnvi_wifi on
353 chip drivers
/wifi
/generic
354 register
"wake" = "GPE0_PME_B0"
355 register
"add_acpi_dma_property" = "true"
356 register
"enable_cnvi_ddr_rfim" = "true"
358 probe WIFI_TYPE WIFI_CNVI
363 chip drivers
/intel
/mipi_camera
364 register
"acpi_uid" = "0x50000"
365 register
"acpi_name" = ""IPU0
""
366 register
"device_type" = "INTEL_ACPI_CAMERA_CIO2"
368 register
"cio2_num_ports" = "1"
369 register
"cio2_lanes_used" = "{2}" #
2 CSI Camera lanes are used
370 register
"cio2_lane_endpoint[0]" = ""^I2C5.CAM0
""
371 register
"cio2_prt[0]" = "4"
373 probe MIPI_CAM UF_CAM_HI556
378 chip drivers
/i2c
/generic
379 register
"hid" = ""10EC5650
""
380 register
"name" = ""RT58
""
381 register
"desc" = ""Realtek RT5650
""
382 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_B06)"
383 register
"property_count" = "1"
384 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
385 register
"property_list[0].name" = ""realtek
,jd
-mode
""
386 register
"property_list[0].integer" = "2"
388 probe AUDIO ALC5650_NO_AMP_I2S
394 register
"generic.hid" = ""ELAN9004
""
395 register
"generic.desc" = ""ELAN Touchscreen
""
396 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C07_IRQ)"
397 register
"generic.detect" = "1"
398 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C01)"
399 register
"generic.reset_delay_ms" = "150"
400 register
"generic.reset_off_delay_ms" = "1"
401 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C00)"
402 register
"generic.enable_delay_ms" = "6"
403 register
"generic.enable_off_delay_ms" = "30"
404 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C06)"
405 register
"generic.stop_off_delay_ms" = "1"
406 register
"generic.has_power_resource" = "1"
407 register
"hid_desc_reg_offset" = "0x01"
408 device i2c
0x10 on
end
410 chip drivers
/generic
/gpio_keys
411 register
"name" = ""PENH
""
412 # GPP_E04 is the IRQ source
, and GPP_E09 is the wake source
413 register
"gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_E04)"
414 register
"key.wake_gpe" = "GPE0_DW1_09"
415 register
"key.wakeup_route" = "WAKEUP_ROUTE_SCI"
416 register
"key.wakeup_event_action" = "EV_ACT_DEASSERTED"
417 register
"key.dev_name" = ""EJCT
""
418 register
"key.linux_code" = "SW_PEN_INSERTED"
419 register
"key.linux_input_type" = "EV_SW"
420 register
"key.label" = ""pen_eject
""
422 probe STYLUS STYLUS_PRESENT
427 chip drivers
/i2c
/generic
428 register
"hid" = ""ELAN0000
""
429 register
"desc" = ""ELAN Touchpad
""
430 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B00_IRQ)"
431 register
"wake" = "GPE0_DW0_00"
432 register
"detect" = "1"
436 register
"generic.hid" = ""PIXA2305
""
437 register
"generic.desc" = ""PIXA Touchpad
""
438 register
"generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B00_IRQ)"
439 register
"generic.wake" = "GPE0_DW0_00"
440 register
"generic.detect" = "1"
441 register
"hid_desc_reg_offset" = "0x20"
447 register
"hid" = ""GOOG0005
""
448 register
"irq" = "ACPI_IRQ_EDGE_LOW(GPP_E03_IRQ)"
453 chip drivers
/intel
/mipi_camera
454 register
"acpi_hid" = ""INT3537
""
455 register
"acpi_uid" = "0"
456 register
"acpi_name" = ""CAM0
""
457 register
"chip_name" = ""Hi
-556 Camera
""
458 register
"device_type" = "INTEL_ACPI_CAMERA_SENSOR"
459 register
"has_power_resource" = "1"
461 register
"ssdb.lanes_used" = "2"
462 register
"ssdb.link_used" = "1"
463 register
"num_freq_entries" = "1"
464 register
"link_freq[0]" = "437 * MHz"
465 register
"remote_name" = ""IPU0
""
466 register
"max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
469 register
"gpio_panel.gpio[0].gpio_num" = "GPP_A11" #EN_UCAM_SENR_PWR
470 register
"gpio_panel.gpio[1].gpio_num" = "GPP_B09" #EN_FCAM_PWR
471 register
"gpio_panel.gpio[2].gpio_num" = "GPP_V23" #UCAM_RST_L
472 register
"clk_panel.clks[0].clknum" = "IMGCLKOUT_3"
473 register
"clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
476 register
"on_seq.ops_cnt" = "5"
477 register
"on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
478 register
"on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
479 register
"on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
480 register
"on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)"
481 register
"on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)"
484 register
"off_seq.ops_cnt" = "4"
485 register
"off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
486 register
"off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)"
487 register
"off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
488 register
"off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
490 probe MIPI_CAM UF_CAM_HI556
493 chip drivers
/intel
/mipi_camera
494 register
"acpi_hid" = "ACPI_DT_NAMESPACE_HID"
495 register
"acpi_uid" = "1"
496 register
"acpi_name" = ""NVM0
""
497 register
"chip_name" = ""ST M24C64X
""
498 register
"device_type" = "INTEL_ACPI_CAMERA_NVM"
500 register
"nvm_size" = "0x2000"
501 register
"nvm_pagesize" = "1"
502 register
"nvm_readonly" = "1"
503 register
"nvm_width" = "0x10"
504 register
"nvm_compat" = ""atmel
,24c64
""
506 register
"max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D0"
508 register
"has_power_resource" = "1"
511 register
"gpio_panel.gpio[0].gpio_num" = "GPP_B09" #EN_FCAM_PWR
514 register
"on_seq.ops_cnt" = "1"
515 register
"on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(0, 0)"
518 register
"off_seq.ops_cnt" = "1"
519 register
"off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
522 probe MIPI_CAM UF_CAM_HI556
526 device ref pcie_rp5 on
527 probe WIFI_TYPE WIFI_PCIE
528 # Enable WLAN Card PCIE
5 using clk
5
529 register
"pcie_rp[PCH_RP(5)]" = "{
532 .flags = PCIE_RP_HOTPLUG | PCIE_RP_LTR | PCIE_RP_AER,
534 chip drivers
/wifi
/generic
535 register
"wake" = "GPE0_DW2_09"
536 register
"add_acpi_dma_property" = "true"
537 use usb2_port10
as bluetooth_companion
539 probe WIFI_TYPE WIFI_PCIE
542 chip soc
/intel
/common
/block
/pcie
/rtd3
543 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E22)"
544 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F08)"
545 register
"srcclk_pin" = "5"
547 probe WIFI_TYPE WIFI_PCIE
552 chip drivers
/spi
/acpi
553 register
"name" = ""CRFP
""
554 register
"hid" = "ACPI_DT_NAMESPACE_HID"
556 register
"compat_string" = ""google
,cros
-ec
-spi
""
557 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E10_IRQ)"
558 register
"wake" = "GPE0_DW1_10"
559 register
"has_power_resource" = "1"
560 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C23)"
561 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B11)"
562 register
"enable_delay_ms" = "3"
564 probe FP_MCU FP_MCU_NUVOTON
568 device ref soc_espi on
569 chip ec
/google
/chromeec
570 use conn0
as mux_conn
[0]
571 use conn1
as mux_conn
[1]
572 device pnp
0c09.0 on
end
575 device ref pmc hidden
576 chip drivers
/intel
/pmc_mux
578 chip drivers
/intel
/pmc_mux
/conn
579 use usb2_port2
as usb2_port
580 use tcss_usb3_port0
as usb3_port
581 device generic
0 alias conn0 on
end
583 chip drivers
/intel
/pmc_mux
/conn
584 use usb2_port1
as usb2_port
585 use tcss_usb3_port2
as usb3_port
586 device generic
1 alias conn1 on
end
591 device ref hda on
end