cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / brya / variants / pujjo / overridetree.cb
blobe1215ae955c5e9bf63623bf61eb3e50e96b3fc8b
1 fw_config
2 field LTE 6
3 option LTE_ABSENT 0
4 option LTE_PRESENT 1
5 end
6 field SD_CARD 7
7 option SD_ABSENT 0
8 option SD_PRESENT 1
9 end
10 field STYLUS 8
11 option STYLUS_ABSENT 0
12 option STYLUS_PRESENT 1
13 end
14 field WFC 9
15 option WFC_ABSENT 0
16 option WFC_PRESENT 1
17 end
18 field THERMAL 10 11
19 option THERMAL_FAN_TABLE_0 0
20 option THERMAL_FAN_TABLE_1 1
21 option THERMAL_FAN_TABLE_2 2
22 option THERMAL_FAN_TABLE_3 3
23 end
24 field AUDIO 12 14
25 option ALC1019_ALC5682IVS 0
26 option MAX98357_ALC5682I 1
27 option MAX98357_ALC5682IVS 2
28 end
29 field EXT_VR 15
30 option EXT_VR_PRESENT 0
31 option EXT_VR_ABSENT 1
32 end
33 field WIFI_SAR_ID 16 18
34 option WIFI_SAR_TABLE_0 0
35 option WIFI_SAR_TABLE_1 1
36 option WIFI_SAR_TABLE_2 2
37 option WIFI_SAR_TABLE_3 3
38 option WIFI_SAR_TABLE_4 4
39 option WIFI_SAR_TABLE_5 5
40 end
41 field WWAN_5G 19
42 option WWAN_5G_ABSENT 0
43 option WWAN_5G_PRESENT 1
44 end
45 field LTE_EM060 20
46 option LTE_EM060_ABSENT 0
47 option LTE_EM060_PRESENT 1
48 end
49 field PANEL_IVO_BOE 21
50 option IVO_BOE_ABSENT 0
51 option IVO_BOE_PRESENT 1
52 end
54 end
56 chip soc/intel/alderlake
57 # Acoustic settings
58 register "acoustic_noise_mitigation" = "1"
59 register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_8"
60 register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_8"
61 register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1"
62 register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1"
63 register "PreWake" = "100"
65 register "sagv" = "SaGv_Enabled"
67 # EMMC Tx CMD Delay
68 # Refer to EDS-Vol2-42.3.7.
69 # [14:8] steps of delay for DDR mode, each 125ps, range: 0 - 39.
70 # [6:0] steps of delay for SDR mode, each 125ps, range: 0 - 39.
71 register "common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x505"
73 # EMMC TX DATA Delay 1
74 # Refer to EDS-Vol2-42.3.8.
75 # [14:8] steps of delay for HS400, each 125ps, range: 0 - 78.
76 # [6:0] steps of delay for SDR104/HS200, each 125ps, range: 0 - 79.
77 register "common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x909"
79 # EMMC TX DATA Delay 2
80 # Refer to EDS-Vol2-42.3.9.
81 # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 79.
82 # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78.
83 # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 -79.
84 # [6:0] steps of delay for SDR12, each 125ps. Range: 0 - 79.
85 register "common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1C2A2828"
87 # EMMC RX CMD/DATA Delay 1
88 # Refer to EDS-Vol2-42.3.10.
89 # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 119.
90 # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78.
91 # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 - 119.
92 # [6:0] steps of delay for SDR12, each 125ps, range: 0 - 119.
93 register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1C1B4F1B"
95 # EMMC RX CMD/DATA Delay 2
96 # Refer to EDS-Vol2-42.3.12.
97 # [17:16] stands for Rx Clock before Output Buffer,
98 # 00: Rx clock after output buffer,
99 # 01: Rx clock before output buffer,
100 # 10: Automatic selection based on working mode.
101 # 11: Reserved
102 # [14:8] steps of delay for Auto Tuning Mode, each 125ps, range: 0 - 39.
103 # [6:0] steps of delay for HS200, each 125ps, range: 0 - 79.
104 register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x10023"
106 # EMMC Rx Strobe Delay
107 # Refer to EDS-Vol2-42.3.11.
108 # [14:8] Rx Strobe Delay DLL 1(HS400 Mode), each 125ps, range: 0 - 39.
109 # [6:0] Rx Strobe Delay DLL 2(HS400 Mode), each 125ps, range: 0 - 39.
110 register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x11515"
112 # SOC Aux orientation override:
113 # This is a bitfield that corresponds to up to 4 TCSS ports.
114 # Bits (0,1) allocated for TCSS Port1 configuration and Bits (2,3)for TCSS Port2.
115 # TcssAuxOri = 0101b
116 # Bit0,Bit2 set to "1" indicates no retimer on USBC Ports
117 # Bit1,Bit3 set to "0" indicates Aux lines are not swapped on the
118 # motherboard to USBC connector
119 register "tcss_aux_ori" = "5"
121 register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
123 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # WFC Camera
124 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for PCIe WLAN
125 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN
127 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3 port for WWAN
129 # FIVR configurations for Pujjoteen are disabled since the board doesn't have V1p05 and Vnn
130 # bypass rails implemented.
131 register "ext_fivr_settings" = "{
132 .configure_ext_fivr = 1,
135 # Intel Common SoC Config
136 #+-------------------+---------------------------+
137 #| Field | Value |
138 #+-------------------+---------------------------+
139 #| I2C0 | TPM. Early init is |
140 #| | required to set up a BAR |
141 #| | for TPM communication |
142 #| I2C1 | Touchscreen |
143 #| I2C2 | Sub-board(PSensor)/WCAM |
144 #| I2C3 | Audio |
145 #| I2C5 | Trackpad |
146 #+-------------------+---------------------------+
147 register "common_soc_config" = "{
148 .i2c[0] = {
149 .early_init = 1,
150 .speed = I2C_SPEED_FAST_PLUS,
151 .speed_config[0] = {
152 .speed = I2C_SPEED_FAST_PLUS,
153 .scl_lcnt = 55,
154 .scl_hcnt = 30,
155 .sda_hold = 7,
158 .i2c[1] = {
159 .speed = I2C_SPEED_FAST,
160 .speed_config[0] = {
161 .speed = I2C_SPEED_FAST,
162 .scl_lcnt = 157,
163 .scl_hcnt = 79,
164 .sda_hold = 7,
167 .i2c[2] = {
168 .speed = I2C_SPEED_FAST,
169 .speed_config[0] = {
170 .speed = I2C_SPEED_FAST,
171 .scl_lcnt = 157,
172 .scl_hcnt = 79,
173 .sda_hold = 7,
176 .i2c[3] = {
177 .speed = I2C_SPEED_FAST,
178 .speed_config[0] = {
179 .speed = I2C_SPEED_FAST,
180 .scl_lcnt = 158,
181 .scl_hcnt = 79,
182 .sda_hold = 7,
185 .i2c[5] = {
186 .speed = I2C_SPEED_FAST,
187 .speed_config[0] = {
188 .speed = I2C_SPEED_FAST,
189 .scl_lcnt = 158,
190 .scl_hcnt = 79,
191 .sda_hold = 7,
196 device domain 0 on
197 device ref dtt on
198 chip drivers/intel/dptf
199 ## sensor information
200 register "options.tsr[0].desc" = ""CPU""
201 register "options.tsr[1].desc" = ""DDR""
202 register "options.tsr[2].desc" = ""5VCharger""
205 ## Passive Policy
206 register "policies.passive" = "{
207 [0] = DPTF_PASSIVE(CPU, CPU, 90, 10000),
208 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 60000),
209 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 80, 60000),
210 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 15000),
213 ## Critical Policy
214 register "policies.critical" = "{
215 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
216 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 100, SHUTDOWN),
217 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 100, SHUTDOWN),
218 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 100, SHUTDOWN),
221 register "controls.power_limits" = "{
222 .pl1 = {
223 .min_power = 3000,
224 .max_power = 6000,
225 .time_window_min = 1 * MSECS_PER_SEC,
226 .time_window_max = 1 * MSECS_PER_SEC,
227 .granularity = 200,
229 .pl2 = {
230 .min_power = 20000,
231 .max_power = 20000,
232 .time_window_min = 1 * MSECS_PER_SEC,
233 .time_window_max = 1 * MSECS_PER_SEC,
234 .granularity = 1000,
238 ## Charger Performance Control (Control, mA)
239 register "controls.charger_perf" = "{
240 [0] = { 255, 3000 },
241 [1] = { 24, 2000 },
242 [2] = { 16, 1500 },
243 [3] = { 8, 1000 }
246 device generic 0 on
247 probe THERMAL THERMAL_FAN_TABLE_0
250 chip drivers/intel/dptf
251 ## sensor information
252 register "options.tsr[0].desc" = ""CPU""
253 register "options.tsr[1].desc" = ""DDR""
254 register "options.tsr[2].desc" = ""5VCharger""
256 # TODO: below values are initial reference values only
257 ## Active Policy
258 register "policies.active" = "{
259 [0] = {
260 .target = DPTF_CPU,
261 .thresholds = {
262 TEMP_PCT(80, 100),
263 TEMP_PCT(75, 98),
264 TEMP_PCT(70, 86),
265 TEMP_PCT(65, 70),
266 TEMP_PCT(60, 70),
269 [1] = {
270 .target = DPTF_TEMP_SENSOR_1,
271 .thresholds = {
272 TEMP_PCT(50, 70),
273 TEMP_PCT(47, 58),
274 TEMP_PCT(45, 47),
275 TEMP_PCT(42, 45),
276 TEMP_PCT(39, 39),
279 [2] = {
280 .target = DPTF_TEMP_SENSOR_2,
281 .thresholds = {
282 TEMP_PCT(50, 70),
283 TEMP_PCT(47, 58),
284 TEMP_PCT(45, 47),
285 TEMP_PCT(42, 45),
286 TEMP_PCT(39, 39),
291 ## Passive Policy
292 register "policies.passive" = "{
293 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
294 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 90, 6000),
295 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 90, 6000),
296 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 90, 6000),
299 ## Critical Policy
300 register "policies.critical" = "{
301 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
302 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 100, SHUTDOWN),
303 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 100, SHUTDOWN),
304 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 100, SHUTDOWN),
307 register "controls.power_limits" = "{
308 .pl1 = {
309 .min_power = 3000,
310 .max_power = 15000,
311 .time_window_min = 28 * MSECS_PER_SEC,
312 .time_window_max = 32 * MSECS_PER_SEC,
313 .granularity = 200,
315 .pl2 = {
316 .min_power = 35000,
317 .max_power = 35000,
318 .time_window_min = 28 * MSECS_PER_SEC,
319 .time_window_max = 32 * MSECS_PER_SEC,
320 .granularity = 1000,
324 ## Charger Performance Control (Control, mA)
325 register "controls.charger_perf" = "{
326 [0] = { 255, 1700 },
327 [1] = { 24, 1500 },
328 [2] = { 16, 1000 },
329 [3] = { 8, 500 }
332 ## Fan Performance Control (Percent, Speed, Noise, Power)
333 register "controls.fan_perf" = "{
334 [0] = { 100, 6000, 220, 2200, },
335 [1] = { 92, 5500, 180, 1800, },
336 [2] = { 85, 5000, 145, 1450, },
337 [3] = { 70, 4400, 115, 1150, },
338 [4] = { 56, 3900, 90, 900, },
339 [5] = { 45, 3300, 55, 550, },
340 [6] = { 39, 3000, 30, 300, },
341 [7] = { 33, 2900, 15, 150, },
342 [8] = { 10, 800, 10, 100, },
343 [9] = { 0, 0, 0, 50, }
346 ## Fan options
347 register "options.fan.fine_grained_control" = "1"
348 register "options.fan.step_size" = "2"
350 device generic 1 on
351 probe THERMAL THERMAL_FAN_TABLE_1
356 device ref i2c1 on
357 chip drivers/i2c/hid
358 register "generic.hid" = ""ELAN901C""
359 register "generic.desc" = ""ELAN Touchscreen""
360 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
361 register "generic.detect" = "1"
362 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
363 register "generic.reset_delay_ms" = "20"
364 register "generic.reset_off_delay_ms" = "2"
365 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
366 register "generic.stop_delay_ms" = "280"
367 register "generic.stop_off_delay_ms" = "2"
368 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
369 register "generic.enable_delay_ms" = "1"
370 register "generic.has_power_resource" = "1"
371 register "hid_desc_reg_offset" = "0x01"
372 device i2c 10 on end
374 chip drivers/i2c/hid
375 register "generic.hid" = ""PARA3406""
376 register "generic.desc" = ""Parade Touchscreen""
377 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
378 register "generic.detect" = "1"
379 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
380 register "generic.reset_delay_ms" = "20"
381 register "generic.reset_off_delay_ms" = "2"
382 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
383 register "generic.stop_delay_ms" = "280"
384 register "generic.stop_off_delay_ms" = "2"
385 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
386 register "generic.enable_delay_ms" = "1"
387 register "generic.has_power_resource" = "1"
388 register "hid_desc_reg_offset" = "0x01"
389 device i2c 24 on end
391 chip drivers/i2c/hid
392 register "generic.hid" = ""GTCH7503""
393 register "generic.desc" = ""G2TOUCH Touchscreen""
394 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
395 register "generic.detect" = "1"
396 register "generic.reset_gpio" =
397 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
398 register "generic.reset_delay_ms" = "50"
399 register "generic.enable_gpio" =
400 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
401 register "generic.enable_delay_ms" = "1"
402 register "generic.has_power_resource" = "1"
403 register "hid_desc_reg_offset" = "0x01"
404 device i2c 40 on end
406 chip drivers/generic/gpio_keys
407 register "name" = ""PENH""
408 register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_F13)"
409 register "key.wake_gpe" = "GPE0_DW2_15"
410 register "key.wakeup_route" = "WAKEUP_ROUTE_SCI"
411 register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"
412 register "key.dev_name" = ""EJCT""
413 register "key.linux_code" = "SW_PEN_INSERTED"
414 register "key.linux_input_type" = "EV_SW"
415 register "key.label" = ""pen_eject""
416 device generic 0 on
417 probe STYLUS STYLUS_PRESENT
421 device ref i2c2 on
422 chip drivers/i2c/sx9324
423 register "desc" = ""SAR Proximity Sensor""
424 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_H19_IRQ)"
425 register "speed" = "I2C_SPEED_FAST"
426 register "uid" = "1"
427 register "reg_gnrl_ctrl0" = "0x16"
428 register "reg_gnrl_ctrl1" = "0x21"
429 register "reg_afe_ctrl0" = "0x00"
430 register "reg_afe_ctrl1" = "0x10"
431 register "reg_afe_ctrl2" = "0x00"
432 register "reg_afe_ctrl3" = "0x00"
433 register "reg_afe_ctrl4" = "0x47"
434 register "reg_afe_ctrl5" = "0x00"
435 register "reg_afe_ctrl6" = "0x00"
436 register "reg_afe_ctrl7" = "0x47"
437 register "reg_afe_ctrl8" = "0x12"
438 register "reg_afe_ctrl9" = "0x08"
439 register "reg_afe_ph0" = "0x3d"
440 register "reg_afe_ph1" = "0x1b"
441 register "reg_afe_ph2" = "0x1f"
442 register "reg_afe_ph3" = "0x3d"
443 register "reg_prox_ctrl0" = "0x0b"
444 register "reg_prox_ctrl1" = "0x0a"
445 register "reg_prox_ctrl2" = "0x90"
446 register "reg_prox_ctrl3" = "0x60"
447 register "reg_prox_ctrl4" = "0x0c"
448 register "reg_prox_ctrl5" = "0x00"
449 register "reg_prox_ctrl6" = "0x19"
450 register "reg_prox_ctrl7" = "0x58"
451 register "reg_adv_ctrl0" = "0x00"
452 register "reg_adv_ctrl1" = "0x00"
453 register "reg_adv_ctrl2" = "0x00"
454 register "reg_adv_ctrl3" = "0x00"
455 register "reg_adv_ctrl4" = "0x00"
456 register "reg_adv_ctrl5" = "0x05"
457 register "reg_adv_ctrl6" = "0x00"
458 register "reg_adv_ctrl7" = "0x00"
459 register "reg_adv_ctrl8" = "0x00"
460 register "reg_adv_ctrl9" = "0x00"
461 register "reg_adv_ctrl10" = "0x00"
462 register "reg_adv_ctrl11" = "0x00"
463 register "reg_adv_ctrl12" = "0x00"
464 register "reg_adv_ctrl13" = "0x00"
465 register "reg_adv_ctrl14" = "0x80"
466 register "reg_adv_ctrl15" = "0x0c"
467 register "reg_adv_ctrl16" = "0x08"
468 register "reg_adv_ctrl17" = "0x56"
469 register "reg_adv_ctrl18" = "0x33"
470 register "reg_adv_ctrl19" = "0x00"
471 register "reg_adv_ctrl20" = "0x00"
473 register "ph0_pin" = "{1, 3, 3}"
474 register "ph1_pin" = "{3, 2, 1}"
475 register "ph2_pin" = "{3, 3, 1}"
476 register "ph3_pin" = "{1, 3, 3}"
477 register "ph01_resolution" = "1024"
478 register "ph23_resolution" = "1024"
479 register "startup_sensor" = "1"
480 register "ph01_proxraw_strength" = "3"
481 register "ph23_proxraw_strength" = "2"
482 register "avg_pos_strength" = "256"
483 register "cs_idle_sleep" = ""hi-z""
484 register "int_comp_resistor" = ""lowest""
485 register "input_precharge_resistor_ohms" = "4000"
486 register "input_analog_gain" = "1"
487 device i2c 28 on
488 probe LTE LTE_PRESENT
489 probe LTE_EM060 LTE_EM060_PRESENT
492 chip drivers/i2c/sx9324
493 register "desc" = ""SAR Proximity Sensor""
494 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_H19_IRQ)"
495 register "speed" = "I2C_SPEED_FAST"
496 register "uid" = "1"
497 register "reg_gnrl_ctrl0" = "0x16"
498 register "reg_gnrl_ctrl1" = "0x25"
499 register "reg_afe_ctrl0" = "0x20"
500 register "reg_afe_ctrl1" = "0x10"
501 register "reg_afe_ctrl2" = "0x00"
502 register "reg_afe_ctrl3" = "0x00"
503 register "reg_afe_ctrl4" = "0x47"
504 register "reg_afe_ctrl5" = "0x00"
505 register "reg_afe_ctrl6" = "0x00"
506 register "reg_afe_ctrl7" = "0x47"
507 register "reg_afe_ctrl8" = "0x12"
508 register "reg_afe_ctrl9" = "0x08"
509 register "reg_afe_ph0" = "0x3d"
510 register "reg_afe_ph1" = "0x3f"
511 register "reg_afe_ph2" = "0x37"
512 register "reg_afe_ph3" = "0x3f"
513 register "reg_prox_ctrl0" = "0x0b"
514 register "reg_prox_ctrl1" = "0x0b"
515 register "reg_prox_ctrl2" = "0x20"
516 register "reg_prox_ctrl3" = "0x60"
517 register "reg_prox_ctrl4" = "0x0c"
518 register "reg_prox_ctrl5" = "0x00"
519 register "reg_prox_ctrl6" = "0x10"
520 register "reg_prox_ctrl7" = "0x0e"
521 register "reg_adv_ctrl0" = "0x00"
522 register "reg_adv_ctrl1" = "0x00"
523 register "reg_adv_ctrl2" = "0x00"
524 register "reg_adv_ctrl3" = "0x00"
525 register "reg_adv_ctrl4" = "0x00"
526 register "reg_adv_ctrl5" = "0x05"
527 register "reg_adv_ctrl6" = "0x00"
528 register "reg_adv_ctrl7" = "0x00"
529 register "reg_adv_ctrl8" = "0x00"
530 register "reg_adv_ctrl9" = "0x00"
531 register "reg_adv_ctrl10" = "0x00"
532 register "reg_adv_ctrl11" = "0x00"
533 register "reg_adv_ctrl12" = "0x00"
534 register "reg_adv_ctrl13" = "0x00"
535 register "reg_adv_ctrl14" = "0x80"
536 register "reg_adv_ctrl15" = "0x0c"
537 register "reg_adv_ctrl16" = "0x04"
538 register "reg_adv_ctrl17" = "0xff"
539 register "reg_adv_ctrl18" = "0x35"
540 register "reg_adv_ctrl19" = "0x00"
541 register "reg_adv_ctrl20" = "0x00"
542 register "reg_irq_msk" = "0x60"
543 register "reg_irq_cfg0" = "0x00"
544 register "reg_irq_cfg1" = "0x80"
545 register "reg_irq_cfg2" = "0x00"
547 register "ph0_pin" = "{1, 3, 3}"
548 register "ph1_pin" = "{3, 3, 3}"
549 register "ph2_pin" = "{3, 1, 3}"
550 register "ph3_pin" = "{3, 3, 3}"
551 register "ph01_resolution" = "1024"
552 register "ph23_resolution" = "1024"
553 register "startup_sensor" = "1"
554 register "ph01_proxraw_strength" = "3"
555 register "ph23_proxraw_strength" = "3"
556 register "avg_pos_strength" = "256"
557 register "cs_idle_sleep" = ""gnd""
558 register "int_comp_resistor" = ""lowest""
559 register "input_precharge_resistor_ohms" = "4000"
560 register "input_analog_gain" = "1"
561 device i2c 28 on
562 probe WWAN_5G WWAN_5G_PRESENT
567 device ref i2c3 on
568 chip drivers/i2c/generic
569 register "hid" = ""10EC5682""
570 register "name" = ""RT58""
571 register "desc" = ""Headset Codec""
572 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
573 # Set the jd_src to RT5668_JD1 for jack detection
574 register "property_count" = "1"
575 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
576 register "property_list[0].name" = ""realtek,jd-src""
577 register "property_list[0].integer" = "1"
578 device i2c 1a on
579 probe AUDIO MAX98357_ALC5682I
582 chip drivers/i2c/generic
583 register "hid" = ""RTL5682""
584 register "name" = ""RT58""
585 register "desc" = ""Headset Codec""
586 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
587 # Set the jd_src to RT5668_JD1 for jack detection
588 register "property_count" = "1"
589 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
590 register "property_list[0].name" = ""realtek,jd-src""
591 register "property_list[0].integer" = "1"
592 device i2c 1a on
593 probe AUDIO ALC1019_ALC5682IVS
594 probe AUDIO MAX98357_ALC5682IVS
597 chip drivers/generic/alc1015
598 register "hid" = ""RTL1019""
599 register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
600 device generic 0 on
601 probe AUDIO ALC1019_ALC5682IVS
605 device ref i2c5 on
606 chip drivers/i2c/generic
607 register "hid" = ""ELAN0000""
608 register "desc" = ""ELAN Touchpad""
609 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
610 register "wake" = "GPE0_DW2_14"
611 register "detect" = "1"
612 device i2c 15 on end
614 chip drivers/i2c/hid
615 register "generic.hid" = ""SYNA0000""
616 register "generic.cid" = ""ACPI0C50""
617 register "generic.desc" = ""Synaptics Touchpad""
618 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
619 register "generic.wake" = "GPE0_DW2_14"
620 register "generic.detect" = "1"
621 register "hid_desc_reg_offset" = "0x20"
622 device i2c 0x2c on end
625 device ref hda on
626 chip drivers/generic/max98357a
627 register "hid" = ""MX98360A""
628 register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
629 register "sdmode_delay" = "5"
630 device generic 0 on
631 probe AUDIO MAX98357_ALC5682I
632 probe AUDIO MAX98357_ALC5682IVS
635 chip drivers/sof
636 register "spkr_tplg" = "max98360a"
637 register "jack_tplg" = "rt5682"
638 register "mic_tplg" = "_2ch_pdm0"
639 device generic 0 on
640 probe AUDIO MAX98357_ALC5682I
641 probe AUDIO MAX98357_ALC5682IVS
644 chip drivers/sof
645 register "spkr_tplg" = "rt1019"
646 register "jack_tplg" = "rt5682"
647 register "mic_tplg" = "_2ch_pdm0"
648 device generic 0 on
649 probe AUDIO ALC1019_ALC5682IVS
653 device ref pcie_rp3 on
654 # WWAN PCIE 3 using clk 0
655 register "pch_pcie_rp[PCH_RP(3)]" = "{
656 .clk_src = 0,
657 .clk_req = 0,
658 .flags = PCIE_RP_LTR | PCIE_RP_AER,
660 chip soc/intel/common/block/pcie/rtd3
661 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H21)"
662 register "reset_off_delay_ms" = "20"
663 register "srcclk_pin" = "0"
664 register "ext_pm_support" = "ACPI_PCIE_RP_EMIT_ALL"
665 register "skip_on_off_support" = "true"
666 device generic 0 alias rp3_rtd3 on
667 probe WWAN_5G WWAN_5G_PRESENT
670 chip drivers/wwan/fm
671 register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D6)"
672 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F12)"
673 register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H21)"
674 register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A12)"
675 register "add_acpi_dma_property" = "true"
676 use rp3_rtd3 as rtd3dev
677 device generic 0 on
678 probe WWAN_5G WWAN_5G_PRESENT
681 probe WWAN_5G WWAN_5G_PRESENT
683 device ref pcie_rp4 on
684 # PCIe 4 WLAN
685 register "pch_pcie_rp[PCH_RP(4)]" = "{
686 .clk_src = 2,
687 .clk_req = 2,
688 .flags = PCIE_RP_LTR | PCIE_RP_AER,
690 chip drivers/wifi/generic
691 register "wake" = "GPE0_DW1_03"
692 register "add_acpi_dma_property" = "true"
693 device pci 00.0 on end
696 device ref pcie_rp7 on
697 # Enable SD Card PCIe 7 using clk 3
698 register "pch_pcie_rp[PCH_RP(7)]" = "{
699 .clk_src = 3,
700 .clk_req = 3,
701 .flags = PCIE_RP_HOTPLUG | PCIE_RP_LTR | PCIE_RP_AER,
703 chip soc/intel/common/block/pcie/rtd3
704 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)"
705 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H12)"
706 register "srcclk_pin" = "3"
707 register "enable_delay_ms" = "50"
708 device generic 0 on end
710 probe SD_CARD SD_PRESENT
712 device ref pch_espi on
713 chip ec/google/chromeec
714 use conn0 as mux_conn[0]
715 device pnp 0c09.0 on end
718 device ref pmc hidden
719 chip drivers/intel/pmc_mux
720 device generic 0 on
721 chip drivers/intel/pmc_mux/conn
722 use usb2_port1 as usb2_port
723 use tcss_usb3_port1 as usb3_port
724 device generic 0 alias conn0 on end
729 device ref tcss_xhci on
730 chip drivers/usb/acpi
731 device ref tcss_root_hub on
732 chip drivers/usb/acpi
733 register "desc" = ""USB3 Type-C Port C0 (MLB)""
734 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
735 register "use_custom_pld" = "true"
736 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
737 device ref tcss_usb3_port1 on end
742 device ref xhci on
743 chip drivers/usb/acpi
744 device ref xhci_root_hub on
745 chip drivers/usb/acpi
746 register "desc" = ""USB2 Type-C Port C0 (MLB)""
747 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
748 register "use_custom_pld" = "true"
749 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
750 device ref usb2_port1 on end
752 chip drivers/usb/acpi
753 register "desc" = ""USB2 WWAN""
754 register "type" = "UPC_TYPE_INTERNAL"
755 device ref usb2_port2 on
756 probe LTE LTE_PRESENT
757 probe LTE_EM060 LTE_EM060_PRESENT
760 chip drivers/usb/acpi
761 register "desc" = ""USB2 Type-A Port A0 (MLB)""
762 register "type" = "UPC_TYPE_A"
763 register "use_custom_pld" = "true"
764 register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
765 device ref usb2_port3 on end
767 chip drivers/usb/acpi
768 register "desc" = ""USB2 Type-A Port A1 (DB)""
769 register "type" = "UPC_TYPE_A"
770 register "use_custom_pld" = "true"
771 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
772 device ref usb2_port4 on end
774 chip drivers/usb/acpi
775 register "desc" = ""USB2 UFC""
776 register "type" = "UPC_TYPE_INTERNAL"
777 device ref usb2_port6 on end
779 chip drivers/usb/acpi
780 register "desc" = ""USB2 WFC""
781 register "type" = "UPC_TYPE_INTERNAL"
782 device ref usb2_port7 on
783 probe WFC WFC_PRESENT
786 chip drivers/usb/acpi
787 register "desc" = ""USB2 Bluetooth""
788 register "type" = "UPC_TYPE_INTERNAL"
789 register "reset_gpio" =
790 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
791 device ref usb2_port8 on end
793 chip drivers/usb/acpi
794 register "desc" = ""CNVi Bluetooth""
795 register "type" = "UPC_TYPE_INTERNAL"
796 register "reset_gpio" =
797 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
798 device ref usb2_port10 on end
800 chip drivers/usb/acpi
801 register "desc" = ""USB3 Type-A Port A0 (MLB)""
802 register "type" = "UPC_TYPE_USB3_A"
803 register "use_custom_pld" = "true"
804 register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
805 device ref usb3_port1 on end
807 chip drivers/usb/acpi
808 register "desc" = ""USB3 Type-A Port A1 (DB)""
809 register "type" = "UPC_TYPE_USB3_A"
810 register "use_custom_pld" = "true"
811 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
812 device ref usb3_port2 on end
814 chip drivers/usb/acpi
815 register "desc" = ""USB3 WWAN""
816 register "type" = "UPC_TYPE_INTERNAL"
817 device ref usb3_port3 on
818 probe LTE LTE_PRESENT
819 probe LTE_EM060 LTE_EM060_PRESENT