mb/google/fatcat/var/fatcat: Refactor GPIO programming for UFS support
[coreboot.git] / src / mainboard / google / brya / variants / redrix / overridetree.cb
blobf26d1334618262569d0af5cc510bc61bb7697f4b
1 fw_config
2 field DB_SD 0 1
3 option SD_ABSENT 0
4 option SD_GL9755S 1
5 end
6 field KB_BL 2 2
7 option KB_BL_ABSENT 0
8 option KB_BL_PRESENT 1
9 end
10 field AUDIO 3 5
11 option AUDIO_UNKNOWN 0
12 option MAX98390_ALC5682I_I2S_4SPK 1
13 end
14 field DB_LTE 6 7
15 option LTE_ABSENT 0
16 option LTE_USB 1
17 option LTE_PCIE 2
18 end
19 field EPS 10 10
20 option PRIVACY_SCREEN_ABSENT 0
21 option PRIVACY_SCREEN 1
22 end
23 field CAMERA_UFC 38 39
24 option CAMERA_NONE 0
25 option CAMERA_OV5675 1
26 option CAMERA_HI556 2
27 end
28 field TP_SOURCE 40 41
29 option ELAN0000 0
30 option ELAN2703 1
31 end
32 end
33 chip soc/intel/alderlake
34 register "sagv" = "SaGv_Enabled"
36 # As per Intel Advisory doc#723158, the change is required to prevent possible
37 # display flickering issue.
38 register "usb2_phy_sus_pg_disable" = "1"
40 register "cnvi_bt_audio_offload" = "true"
41 # FIVR RFI Spread Spectrum 6%
42 register "fivr_spread_spectrum" = "FIVR_SS_6"
44 # Acoustic settings
45 register "acoustic_noise_mitigation" = "true"
46 register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_8"
47 register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_8"
48 register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1"
49 register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1"
51 register "usb2_ports[1]" = "USB2_PORT_EMPTY"
52 register "usb2_ports[5]" = "USB2_PORT_EMPTY"
53 register "tcss_ports[1]" = "TCSS_PORT_EMPTY"
55 # Intel Common SoC Config
56 #+-------------------+---------------------------+
57 #| Field | Value |
58 #+-------------------+---------------------------+
59 #| GSPI1 | Fingerprint MCU |
60 #| I2C0 | Audio |
61 #| I2C1 | cr50 TPM. Early init is |
62 #| | required to set up a BAR |
63 #| | for TPM communication |
64 #| I2C3 | TouchScreen |
65 #| I2C5 | Trackpad |
66 #+-------------------+---------------------------+
67 register "common_soc_config" = "{
68 .i2c[0] = {
69 .speed = I2C_SPEED_FAST,
70 .rise_time_ns = 650,
71 .fall_time_ns = 400,
72 .data_hold_time_ns = 50,
74 .i2c[1] = {
75 .early_init = 1,
76 .speed = I2C_SPEED_FAST,
77 .rise_time_ns = 600,
78 .fall_time_ns = 400,
79 .data_hold_time_ns = 50,
81 .i2c[2] = {
82 .speed = I2C_SPEED_FAST,
83 .rise_time_ns = 650,
84 .fall_time_ns = 400,
85 .data_hold_time_ns = 50,
87 .i2c[3] = {
88 .speed = I2C_SPEED_FAST,
89 .rise_time_ns = 650,
90 .fall_time_ns = 400,
91 .data_hold_time_ns = 50,
93 .i2c[5] = {
94 .speed = I2C_SPEED_FAST,
95 .rise_time_ns = 650,
96 .fall_time_ns = 400,
97 .data_hold_time_ns = 50,
100 register "tcc_offset" = "3" # TCC of 97C
102 device domain 0 on
103 device ref igpu on
104 chip drivers/gfx/generic
105 register "device_count" = "6"
106 # DDIA for eDP
107 register "device[0].name" = ""LCD0""
108 # Use ChromeOS privacy screen _HID
109 register "device[0].hid" = ""GOOG0010""
110 # Internal panel on the first port of the graphics chip
111 register "device[0].type" = "panel"
112 register "device[0].privacy.enabled" = "1"
113 register "device[0].privacy.gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H21)"
114 # DDIB for HDMI
115 register "device[1].name" = ""DD01""
116 # TCP0 (DP-1) for port C0
117 register "device[2].name" = ""DD02""
118 register "device[2].use_pld" = "true"
119 register "device[2].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
120 # TCP1 (DP-2) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP1
121 register "device[3].name" = ""DD03""
122 # TCP2 (DP-3) for port C2
123 register "device[4].name" = ""DD04""
124 register "device[4].use_pld" = "true"
125 register "device[4].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))"
126 # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3
127 register "device[5].name" = ""DD05""
128 device generic 0 on
129 probe EPS PRIVACY_SCREEN
132 chip drivers/gfx/generic
133 register "device_count" = "6"
134 # DDIA for eDP
135 register "device[0].name" = ""LCD0""
136 # Internal panel on the first port of the graphics chip
137 register "device[0].type" = "panel"
138 # DDIB for HDMI
139 register "device[1].name" = ""DD01""
140 # TCP0 (DP-1) for port C0
141 register "device[2].name" = ""DD02""
142 register "device[2].use_pld" = "true"
143 register "device[2].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
144 # TCP1 (DP-2) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP1
145 register "device[3].name" = ""DD03""
146 # TCP2 (DP-3) for port C2
147 register "device[4].name" = ""DD04""
148 register "device[4].use_pld" = "true"
149 register "device[4].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))"
150 # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3
151 register "device[5].name" = ""DD05""
152 device generic 0 on
153 probe EPS PRIVACY_SCREEN_ABSENT
156 end # Integrated Graphics Device
157 device ref dtt on
158 chip drivers/intel/dptf
159 ## sensor information
160 register "options.tsr[0].desc" = ""DRAM""
161 register "options.tsr[1].desc" = ""SOC""
162 register "options.tsr[2].desc" = ""Charger""
163 register "options.tsr[3].desc" = ""5V regulator""
165 ## Active Policy
166 # NOTE: Copy from EC. Only to enable acpi-fan.
167 register "policies.active" = "{
168 [0] = {
169 .target = DPTF_TEMP_SENSOR_0,
170 .thresholds = {
171 TEMP_PCT(100, 85),
172 TEMP_PCT( 58, 78),
173 TEMP_PCT( 57, 71),
174 TEMP_PCT( 56, 68),
175 TEMP_PCT( 55, 66),
176 TEMP_PCT( 54, 53),
179 [1] = {
180 .target = DPTF_CPU,
181 .thresholds = {
182 TEMP_PCT(100, 85),
183 TEMP_PCT( 58, 78),
184 TEMP_PCT( 57, 71),
185 TEMP_PCT( 56, 68),
186 TEMP_PCT( 55, 66),
187 TEMP_PCT( 54, 53),
190 [2] = {
191 .target = DPTF_TEMP_SENSOR_2,
192 .thresholds = {
193 TEMP_PCT(100, 100),
194 TEMP_PCT( 58, 63),
195 TEMP_PCT( 57, 61),
200 # TODO: below values are initial reference values only
201 ## Passive Policy
202 register "policies.passive" = "{
203 [0] = DPTF_PASSIVE(CPU, CPU, 55, 5000),
204 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 45, 5000),
205 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 51, 5000),
206 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 51, 5000),
207 [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 51, 5000),
209 register "controls.power_limits" = "{
210 .pl1 = {
211 .min_power = 13000,
212 .max_power = 15000,
213 .time_window_min = 42 * MSECS_PER_SEC,
214 .time_window_max = 42 * MSECS_PER_SEC,
215 .granularity = 200,
217 .pl2 = {
218 .min_power = 35000,
219 .max_power = 35000,
220 .time_window_min = 42 * MSECS_PER_SEC,
221 .time_window_max = 42 * MSECS_PER_SEC,
222 .granularity = 1000,
225 ## Charger Performance Control (Control, mA)
226 register "controls.charger_perf" = "{
227 [0] = { 255, 1700 },
228 [1] = { 24, 1500 },
229 [2] = { 16, 1000 },
230 [3] = { 8, 500 }
233 ## Fan Performance Control (Percent, Speed, Noise, Power)
234 # NOTE: Noise and Power numbers are placeholders.
235 register "controls.fan_perf" = "{
236 [ 0] = { 100, 9500, 200, 2000, },
237 [ 1] = { 90, 8700, 180, 1800, },
238 [ 2] = { 80, 8000, 160, 1600, },
239 [ 3] = { 70, 7200, 140, 1400, },
240 [ 4] = { 60, 6300, 120, 1200, },
241 [ 5] = { 50, 5400, 100, 1000, },
242 [ 6] = { 40, 4400, 80, 800, },
243 [ 7] = { 30, 3300, 60, 600, },
244 [ 8] = { 20, 2100, 40, 400, },
245 [ 9] = { 10, 800, 20, 200, },
246 [10] = { 0, 0, 0, 0, },
249 ## Fan options
250 register "options.fan.fine_grained_control" = "true"
251 register "options.fan.step_size" = "2"
253 device generic 0 alias dptf_policy on end
256 device ref tbt_pcie_rp1 off end
257 device ref ipu on
258 chip drivers/intel/mipi_camera
259 register "acpi_uid" = "0x50000"
260 register "acpi_name" = ""IPU0""
261 register "device_type" = "INTEL_ACPI_CAMERA_CIO2"
263 register "cio2_num_ports" = "1"
264 register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used
265 register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
266 register "cio2_prt[0]" = "2"
267 device generic 0 on end
270 device ref cnvi_wifi on
271 chip drivers/wifi/generic
272 register "wake" = "GPE0_PME_B0"
273 device generic 0 on end
276 device ref pcie_rp6 on
277 # Enable WWAN PCIE 6 using clk 5
278 register "pch_pcie_rp[PCH_RP(6)]" = "{
279 .clk_src = 5,
280 .clk_req = 5,
281 .flags = PCIE_RP_LTR | PCIE_RP_AER,
283 chip soc/intel/common/block/pcie/rtd3
284 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)"
285 register "reset_off_delay_ms" = "20"
286 # register "reset_delay_ms" = "1000"
287 register "srcclk_pin" = "5"
288 register "ext_pm_support" = "ACPI_PCIE_RP_EMIT_ALL"
289 register "skip_on_off_support" = "true"
290 register "use_rp_mutex" = "true"
291 device generic 0 alias rp6_rtd3 on
292 probe DB_LTE LTE_PCIE
295 chip drivers/wwan/fm
296 register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)"
297 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)"
298 register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)"
299 register "wake_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPP_A7)"
300 register "add_acpi_dma_property" = "true"
301 use rp6_rtd3 as rtd3dev
302 device generic 0 alias rp6_wwan on
303 probe DB_LTE LTE_PCIE
306 probe DB_LTE LTE_PCIE
308 device ref tcss_dma0 on
309 chip drivers/intel/usb4/retimer
310 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
311 use tcss_usb3_port1 as dfp[0].typec_port
312 device generic 0 on end
315 device ref tcss_dma1 on
316 chip drivers/intel/usb4/retimer
317 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
318 use tcss_usb3_port3 as dfp[0].typec_port
319 device generic 0 on end
322 device ref pcie_rp8 on
323 chip soc/intel/common/block/pcie/rtd3
324 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)"
325 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)"
326 register "srcclk_pin" = "3"
327 device generic 0 on end
329 end #PCIE8 SD card
330 device ref i2c0 on
331 chip drivers/i2c/generic
332 register "hid" = ""RTL5682""
333 register "name" = ""RT58""
334 register "desc" = ""Headset Codec""
335 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
336 # Set the jd_src to RT5668_JD1 for jack detection
337 register "property_count" = "1"
338 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
339 register "property_list[0].name" = ""realtek,jd-src""
340 register "property_list[0].integer" = "1"
341 device i2c 1a on
342 probe AUDIO MAX98390_ALC5682I_I2S_4SPK
345 chip drivers/i2c/max98390
346 register "desc" = ""MAX98390 Speaker Amp 0""
347 register "uid" = "0"
348 register "name" = ""MXW0""
349 register "r0_calib_key" = ""dsm_calib_r0_0""
350 register "temperature_calib_key" = ""dsm_calib_temp_0""
351 register "dsm_param_file_name" = ""dsm_param_R""
352 register "vmon_slot_no" = "0"
353 register "imon_slot_no" = "1"
354 device i2c 0x3a on
355 probe AUDIO MAX98390_ALC5682I_I2S_4SPK
358 chip drivers/i2c/max98390
359 register "desc" = ""MAX98390 Speaker Amp 1""
360 register "uid" = "1"
361 register "name" = ""MXW1""
362 register "r0_calib_key" = ""dsm_calib_r0_1""
363 register "temperature_calib_key" = ""dsm_calib_temp_1""
364 register "dsm_param_file_name" = ""dsm_param_L""
365 register "vmon_slot_no" = "1"
366 register "imon_slot_no" = "0"
367 device i2c 0x3b on
368 probe AUDIO MAX98390_ALC5682I_I2S_4SPK
371 chip drivers/i2c/max98390
372 register "desc" = ""MAX98390 Speaker Amp 2""
373 register "uid" = "2"
374 register "name" = ""MXW2""
375 register "r0_calib_key" = ""dsm_calib_r0_2""
376 register "temperature_calib_key" = ""dsm_calib_temp_2""
377 register "dsm_param_file_name" = ""dsm_param_tt_R""
378 register "vmon_slot_no" = "2"
379 register "imon_slot_no" = "3"
380 device i2c 0x38 on
381 probe AUDIO MAX98390_ALC5682I_I2S_4SPK
384 chip drivers/i2c/max98390
385 register "desc" = ""MAX98390 Speaker Amp 3""
386 register "uid" = "3"
387 register "name" = ""MXW3""
388 register "r0_calib_key" = ""dsm_calib_r0_3""
389 register "temperature_calib_key" = ""dsm_calib_temp_3""
390 register "dsm_param_file_name" = ""dsm_param_tt_L""
391 register "vmon_slot_no" = "3"
392 register "imon_slot_no" = "2"
393 device i2c 0x39 on
394 probe AUDIO MAX98390_ALC5682I_I2S_4SPK
397 end #I2C0
398 device ref i2c1 on
399 chip drivers/i2c/tpm
400 register "hid" = ""GOOG0005""
401 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
402 device i2c 50 on end
405 device ref i2c2 on
406 chip drivers/intel/mipi_camera
407 register "acpi_hid" = ""OVTI5675""
408 register "acpi_uid" = "0"
409 register "acpi_name" = ""CAM0""
410 register "chip_name" = ""Ov 5675 Camera""
411 register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
413 register "ssdb.lanes_used" = "2"
414 register "ssdb.link_used" = "1"
415 register "num_freq_entries" = "1"
416 register "link_freq[0]" = "DEFAULT_LINK_FREQ"
417 register "remote_name" = ""IPU0""
418 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
420 register "has_power_resource" = "true"
421 #Controls
422 register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3"
423 register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
425 register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" #EN_UCAM_LED_PWR
426 register "gpio_panel.gpio[1].gpio_num" = "GPP_D3" #reset
428 #_ON
429 register "on_seq.ops_cnt" = "4"
430 register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
431 register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
432 register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)"
433 register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
435 #_OFF
436 register "off_seq.ops_cnt" = "3"
437 register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
438 register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
439 register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
440 device i2c 36 on
441 probe CAMERA_UFC CAMERA_NONE
442 probe CAMERA_UFC CAMERA_OV5675
445 chip drivers/intel/mipi_camera
446 register "acpi_hid" = ""INT3537""
447 register "acpi_uid" = "0"
448 register "acpi_name" = ""CAM0""
449 register "chip_name" = ""Hi-556 Camera""
450 register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
451 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
453 register "ssdb.lanes_used" = "2"
454 register "ssdb.link_used" = "1"
455 register "num_freq_entries" = "1"
456 register "link_freq[0]" = "437000000"
457 register "remote_name" = ""IPU0""
459 register "has_power_resource" = "true"
460 #Controls
461 register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3"
462 register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
464 register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" #EN_UCAM_LED_PWR
465 register "gpio_panel.gpio[1].gpio_num" = "GPP_D3" #reset
467 #_ON
468 register "on_seq.ops_cnt" = "4"
469 register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
470 register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
471 register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)"
472 register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
474 #_OFF
475 register "off_seq.ops_cnt" = "3"
476 register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
477 register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
478 register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
479 device i2c 20 on
480 probe CAMERA_UFC CAMERA_HI556
483 chip drivers/intel/mipi_camera
484 register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
485 register "acpi_uid" = "1"
486 register "acpi_name" = ""NVM0""
487 register "chip_name" = ""M24C64X""
488 register "device_type" = "INTEL_ACPI_CAMERA_NVM"
489 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D0"
491 register "nvm_size" = "0x2000"
492 register "nvm_pagesize" = "1"
493 register "nvm_readonly" = "1"
494 register "nvm_width" = "0x10"
495 register "nvm_compat" = ""atmel,24c64""
496 device i2c 50 on end
500 device ref i2c3 on
501 chip drivers/i2c/hid
502 register "generic.hid" = ""ELAN2513""
503 register "generic.desc" = ""ELAN Touchscreen""
504 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
505 register "generic.detect" = "1"
506 register "generic.reset_gpio" =
507 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
508 register "generic.reset_delay_ms" = "300"
509 register "generic.reset_off_delay_ms" = "1"
510 register "generic.enable_gpio" =
511 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
512 register "generic.enable_delay_ms" = "6"
513 register "generic.stop_gpio" =
514 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
515 register "generic.stop_off_delay_ms" = "1"
516 register "generic.has_power_resource" = "1"
517 register "hid_desc_reg_offset" = "0x01"
518 device i2c 0x15 on end
521 device ref i2c5 on
522 chip drivers/i2c/generic
523 register "hid" = ""ELAN0000""
524 register "desc" = ""ELAN Touchpad""
525 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
526 register "wake" = "GPE0_DW2_14"
527 register "detect" = "1"
528 device i2c 15 on
529 probe TP_SOURCE ELAN0000
532 chip drivers/i2c/hid
533 register "generic.hid" = ""ELAN2703""
534 register "generic.desc" = ""ELAN Touchpad""
535 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
536 register "generic.wake" = "GPE0_DW2_14"
537 register "generic.detect" = "1"
538 register "hid_desc_reg_offset" = "0x01"
539 device i2c 15 on
540 probe TP_SOURCE ELAN2703
544 device ref gspi1 on
545 chip drivers/spi/acpi
546 register "name" = ""CRFP""
547 register "hid" = "ACPI_DT_NAMESPACE_HID"
548 register "uid" = "1"
549 register "compat_string" = ""google,cros-ec-spi""
550 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
551 register "wake" = "GPE0_DW2_15"
552 register "has_power_resource" = "true"
553 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)"
554 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)"
555 register "enable_delay_ms" = "3"
556 device spi 0 hidden end
557 end # FPMCU
559 device ref pch_espi on
560 chip ec/google/chromeec
561 use conn0 as mux_conn[0]
562 use conn1 as mux_conn[1]
563 device pnp 0c09.0 on end
566 device ref pmc hidden
567 chip drivers/intel/pmc_mux
568 device generic 0 on
569 chip drivers/intel/pmc_mux/conn
570 use usb2_port1 as usb2_port
571 use tcss_usb3_port1 as usb3_port
572 device generic 0 alias conn0 on end
574 chip drivers/intel/pmc_mux/conn
575 use usb2_port3 as usb2_port
576 use tcss_usb3_port3 as usb3_port
577 device generic 1 alias conn1 on end
582 device ref tcss_xhci on
583 chip drivers/usb/acpi
584 device ref tcss_root_hub on
585 chip drivers/usb/acpi
586 register "desc" = ""USB3 Type-C Port C0 (MLB)""
587 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
588 register "use_custom_pld" = "true"
589 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
590 device ref tcss_usb3_port1 on end
592 chip drivers/usb/acpi
593 register "desc" = ""USB3 Type-C Port C2 (MLB)""
594 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
595 register "use_custom_pld" = "true"
596 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))"
597 device ref tcss_usb3_port3 on end
602 device ref xhci on
603 chip drivers/usb/acpi
604 device ref xhci_root_hub on
605 chip drivers/usb/acpi
606 register "desc" = ""USB2 Type-C Port C0 (MLB)""
607 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
608 register "use_custom_pld" = "true"
609 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
610 device ref usb2_port1 on end
612 chip drivers/usb/acpi
613 register "desc" = ""USB2 Type-C Port C2 (MLB)""
614 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
615 register "use_custom_pld" = "true"
616 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(2, 1))"
617 device ref usb2_port3 on end
619 chip drivers/usb/acpi
620 register "desc" = ""USB2 WWAN""
621 register "type" = "UPC_TYPE_INTERNAL"
622 device ref usb2_port4 on end
624 chip drivers/usb/acpi
625 register "desc" = ""USB2 Camera""
626 register "type" = "UPC_TYPE_INTERNAL"
627 device ref usb2_port6 on end
629 chip drivers/usb/acpi
630 register "desc" = ""USB2 Type-A Port (MLB)""
631 register "type" = "UPC_TYPE_A"
632 register "use_custom_pld" = "true"
633 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
634 device ref usb2_port9 on end
636 chip drivers/usb/acpi
637 register "desc" = ""USB2 Bluetooth""
638 register "type" = "UPC_TYPE_INTERNAL"
639 register "reset_gpio" =
640 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
641 device ref usb2_port10 on end
643 chip drivers/usb/acpi
644 register "desc" = ""USB3 Type-A Port (MLB)""
645 register "type" = "UPC_TYPE_USB3_A"
646 register "use_custom_pld" = "true"
647 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
648 device ref usb3_port1 on end
650 chip drivers/usb/acpi
651 register "desc" = ""USB3 WWAN""
652 register "type" = "UPC_TYPE_INTERNAL"
653 device ref usb3_port4 on end