mb/google/fatcat/var/fatcat: Refactor GPIO programming for UFS support
[coreboot.git] / src / mainboard / google / brya / variants / riven / overridetree.cb
blob359c4275dff3d05ef77df9891f5c50f2825faab1
1 fw_config
2 field DB_USB 0 1
3 option DB_NONE 0
4 option DB_1C_1A 1
5 option DB_1C_LTE 2
6 end
7 field STYLUS 2
8 option STYLUS_ABSENT 0
9 option STYLUS_PRESENT 1
10 end
11 field WIFI_SAR_ID 4 6
12 option ID_0 0
13 option ID_1 1
14 end
15 field WIFI_TYPE 7
16 option WIFI_CNVI 0
17 option WIFI_PCIE 1
18 end
19 field WFC 9 10
20 option WFC_ABSENT 0
21 option WFC_MIPI_OVTI5675 1
22 option WFC_MIPI_OVTI8856 2
23 end
24 end
26 chip soc/intel/alderlake
27 # Acoustic settings
28 register "acoustic_noise_mitigation" = "true"
29 register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_4"
30 register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_4"
31 register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1"
32 register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1"
34 register "sagv" = "SaGv_Enabled"
36 # EMMC Tx CMD Delay
37 # Refer to EDS-Vol2-42.3.7.
38 # [14:8] steps of delay for DDR mode, each 125ps, range: 0 - 39.
39 # [6:0] steps of delay for SDR mode, each 125ps, range: 0 - 39.
40 register "common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x505"
42 # EMMC TX DATA Delay 1
43 # Refer to EDS-Vol2-42.3.8.
44 # [14:8] steps of delay for HS400, each 125ps, range: 0 - 78.
45 # [6:0] steps of delay for SDR104/HS200, each 125ps, range: 0 - 79.
46 register "common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x909"
48 # EMMC TX DATA Delay 2
49 # Refer to EDS-Vol2-42.3.9.
50 # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 79.
51 # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78.
52 # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 -79.
53 # [6:0] steps of delay for SDR12, each 125ps. Range: 0 - 79.
54 register "common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1C2A2828"
56 # EMMC RX CMD/DATA Delay 1
57 # Refer to EDS-Vol2-42.3.10.
58 # [30:24] steps of delay for SDR50, each 125ps, range: 0 - 119.
59 # [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78.
60 # [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 - 119.
61 # [6:0] steps of delay for SDR12, each 125ps, range: 0 - 119.
62 register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1C1B4F3C"
64 # EMMC RX CMD/DATA Delay 2
65 # Refer to EDS-Vol2-42.3.12.
66 # [17:16] stands for Rx Clock before Output Buffer,
67 # 00: Rx clock after output buffer,
68 # 01: Rx clock before output buffer,
69 # 10: Automatic selection based on working mode.
70 # 11: Reserved
71 # [14:8] steps of delay for Auto Tuning Mode, each 125ps, range: 0 - 39.
72 # [6:0] steps of delay for HS200, each 125ps, range: 0 - 79.
73 register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x10023"
75 # EMMC Rx Strobe Delay
76 # Refer to EDS-Vol2-42.3.11.
77 # [14:8] Rx Strobe Delay DLL 1(HS400 Mode), each 125ps, range: 0 - 39.
78 # [6:0] Rx Strobe Delay DLL 2(HS400 Mode), each 125ps, range: 0 - 39.
79 register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x11515"
81 # SOC Aux orientation override:
82 # This is a bitfield that corresponds to up to 4 TCSS ports.
83 # Bits (0,1) allocated for TCSS Port1 configuration and Bits (2,3)for TCSS Port2.
84 # TcssAuxOri = 0101b
85 # Bit0,Bit2 set to "1" indicates no retimer on USBC Ports
86 # Bit1,Bit3 set to "0" indicates Aux lines are not swapped on the
87 # motherboard to USBC connector
88 register "tcss_aux_ori" = "5"
90 register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
91 register "typec_aux_bias_pads[1]" = "{.pad_auxp_dc = GPP_A21, .pad_auxn_dc = GPP_A22}"
93 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for PCIe WLAN
94 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN
96 # Enable the Cnvi BT Audio Offload
97 register "cnvi_bt_audio_offload" = "1"
99 # Intel Common SoC Config
100 #+-------------------+---------------------------+
101 #| Field | Value |
102 #+-------------------+---------------------------+
103 #| I2C0 | TPM. Early init is |
104 #| | required to set up a BAR |
105 #| | for TPM communication |
106 #| I2C1 | Touchscreen |
107 #| I2C2 | Sub-board(PSensor)/WCAM |
108 #| I2C3 | Audio |
109 #| I2C5 | Trackpad |
110 #+-------------------+---------------------------+
111 register "common_soc_config" = "{
112 .i2c[0] = {
113 .early_init = 1,
114 .speed = I2C_SPEED_FAST_PLUS,
115 .speed_config[0] = {
116 .speed = I2C_SPEED_FAST_PLUS,
117 .scl_lcnt = 55,
118 .scl_hcnt = 30,
119 .sda_hold = 7,
122 .i2c[1] = {
123 .speed = I2C_SPEED_FAST,
124 .speed_config[0] = {
125 .speed = I2C_SPEED_FAST,
126 .scl_lcnt = 158,
127 .scl_hcnt = 79,
128 .sda_hold = 30,
131 .i2c[2] = {
132 .speed = I2C_SPEED_FAST,
133 .speed_config[0] = {
134 .speed = I2C_SPEED_FAST,
135 .scl_lcnt = 158,
136 .scl_hcnt = 79,
137 .sda_hold = 7,
140 .i2c[3] = {
141 .speed = I2C_SPEED_FAST,
142 .speed_config[0] = {
143 .speed = I2C_SPEED_FAST,
144 .scl_lcnt = 158,
145 .scl_hcnt = 79,
146 .sda_hold = 7,
149 .i2c[5] = {
150 .speed = I2C_SPEED_FAST,
151 .speed_config[0] = {
152 .speed = I2C_SPEED_FAST,
153 .scl_lcnt = 158,
154 .scl_hcnt = 79,
155 .sda_hold = 40,
160 device domain 0 on
161 device ref dtt on
162 chip drivers/intel/dptf
163 ## sensor information
164 register "options.tsr[0].desc" = ""Memory""
165 register "options.tsr[1].desc" = ""Charger""
166 register "options.tsr[2].desc" = ""Ambient""
168 # TODO: below values are initial reference values only
169 ## Passive Policy
170 register "policies.passive" = "{
171 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
172 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
173 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 5000),
174 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 75, 5000),
177 ## Critical Policy
178 register "policies.critical" = "{
179 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
180 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
181 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
182 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
185 register "controls.power_limits" = "{
186 .pl1 = {
187 .min_power = 5500,
188 .max_power = 6000,
189 .time_window_min = 28 * MSECS_PER_SEC,
190 .time_window_max = 28 * MSECS_PER_SEC,
191 .granularity = 200
193 .pl2 = {
194 .min_power = 25000,
195 .max_power = 25000,
196 .time_window_min = 1,
197 .time_window_max = 1,
198 .granularity = 1000
202 ## Charger Performance Control (Control, mA)
203 register "controls.charger_perf" = "{
204 [0] = { 255, 1700 },
205 [1] = { 24, 1500 },
206 [2] = { 16, 1000 },
207 [3] = { 8, 500 }
210 device generic 0 on end
213 device ref ipu on
214 chip drivers/intel/mipi_camera
215 register "acpi_uid" = "0x50000"
216 register "acpi_name" = ""IPU0""
217 register "device_type" = "INTEL_ACPI_CAMERA_CIO2"
219 register "cio2_num_ports" = "1"
220 register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used
221 register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
222 register "cio2_prt[0]" = "1"
223 device generic 0 on end
225 probe WFC WFC_MIPI_OVTI5675
226 probe WFC WFC_MIPI_OVTI8856
228 device ref cnvi_wifi on
229 chip drivers/wifi/generic
230 register "enable_cnvi_ddr_rfim" = "true"
231 device generic 0 on
232 probe WIFI_TYPE WIFI_CNVI
236 device ref i2c1 on
237 chip drivers/i2c/hid
238 register "generic.hid" = ""ELAN9004""
239 register "generic.desc" = ""ELAN Touchscreen""
240 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
241 register "generic.detect" = "1"
242 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
243 register "generic.reset_delay_ms" = "20"
244 register "generic.reset_off_delay_ms" = "2"
245 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
246 register "generic.stop_delay_ms" = "180"
247 register "generic.stop_off_delay_ms" = "2"
248 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
249 register "generic.enable_delay_ms" = "1"
250 register "generic.has_power_resource" = "1"
251 register "hid_desc_reg_offset" = "0x01"
252 device i2c 10 on end
254 chip drivers/i2c/hid
255 register "generic.hid" = ""ELAN9004""
256 register "generic.desc" = ""ELAN Touchscreen""
257 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
258 register "generic.detect" = "1"
259 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
260 register "generic.reset_delay_ms" = "20"
261 register "generic.reset_off_delay_ms" = "2"
262 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
263 register "generic.stop_delay_ms" = "180"
264 register "generic.stop_off_delay_ms" = "2"
265 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
266 register "generic.enable_delay_ms" = "1"
267 register "generic.has_power_resource" = "1"
268 register "hid_desc_reg_offset" = "0x01"
269 device i2c 16 on end
271 chip drivers/i2c/hid
272 register "generic.hid" = ""GTCH7503""
273 register "generic.desc" = ""G2 Touchscreen""
274 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
275 register "generic.detect" = "1"
276 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
277 register "generic.reset_delay_ms" = "120"
278 register "generic.reset_off_delay_ms" = "3"
279 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
280 register "generic.enable_delay_ms" = "12"
281 register "generic.has_power_resource" = "1"
282 register "hid_desc_reg_offset" = "0x01"
283 device i2c 40 on end
285 chip drivers/generic/gpio_keys
286 register "name" = ""PENH""
287 register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_F13)"
288 register "key.wake_gpe" = "GPE0_DW2_15"
289 register "key.wakeup_route" = "WAKEUP_ROUTE_SCI"
290 register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"
291 register "key.dev_name" = ""EJCT""
292 register "key.linux_code" = "SW_PEN_INSERTED"
293 register "key.linux_input_type" = "EV_SW"
294 register "key.label" = ""pen_eject""
295 device generic 0 on
296 probe STYLUS STYLUS_PRESENT
300 device ref i2c2 on
301 chip drivers/intel/mipi_camera
302 register "acpi_hid" = ""OVTI5675""
303 register "acpi_uid" = "0"
304 register "acpi_name" = ""CAM0""
305 register "chip_name" = ""Ov 5675 Camera""
306 register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
308 register "ssdb.lanes_used" = "2"
309 register "ssdb.link_used" = "1"
310 register "ssdb.vcm_type" = "0x0C"
311 register "vcm_name" = ""VCM0""
312 register "num_freq_entries" = "1"
313 register "link_freq[0]" = "DEFAULT_LINK_FREQ"
314 register "remote_name" = ""IPU0""
316 register "has_power_resource" = "true"
317 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
319 #Controls
320 register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3"
321 register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
323 register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" # EN_PP2800_WCAM_X
324 register "gpio_panel.gpio[1].gpio_num" = "GPP_D16" # EN_PP1800_PP1200_WCAM_X
325 register "gpio_panel.gpio[2].gpio_num" = "GPP_D3" # WCAM_RST_L
327 #_ON
328 register "on_seq.ops_cnt" = "5"
329 register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
330 register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
331 register "on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
332 register "on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)"
333 register "on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)"
335 #_OFF
336 register "off_seq.ops_cnt" = "4"
337 register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
338 register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)"
339 register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
340 register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
342 device i2c 36 on
343 probe WFC WFC_MIPI_OVTI5675
346 chip drivers/intel/mipi_camera
347 register "acpi_hid" = ""OVTI8856""
348 register "acpi_uid" = "0"
349 register "acpi_name" = ""CAM0""
350 register "chip_name" = ""Ov 8856 Camera""
351 register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
352 register "has_power_resource" = "true"
353 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
355 register "ssdb.lanes_used" = "2"
356 register "ssdb.link_used" = "1"
357 register "ssdb.vcm_type" = "0x0C"
358 register "vcm_name" = ""VCM0""
359 register "num_freq_entries" = "2"
360 register "link_freq[0]" = "720000000"
361 register "link_freq[1]" = "360000000"
362 register "remote_name" = ""IPU0""
364 #Controls
365 register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3"
366 register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
368 register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" # EN_PP2800_WCAM_X
369 register "gpio_panel.gpio[1].gpio_num" = "GPP_D16" # EN_PP1800_PP1200_WCAM_X
370 register "gpio_panel.gpio[2].gpio_num" = "GPP_D3" # WCAM_RST_L
372 #_ON
373 register "on_seq.ops_cnt" = "5"
374 register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
375 register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
376 register "on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
377 register "on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)"
378 register "on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)"
380 #_OFF
381 register "off_seq.ops_cnt" = "4"
382 register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
383 register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)"
384 register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
385 register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
387 device i2c 10 on
388 probe WFC WFC_MIPI_OVTI8856
391 chip drivers/intel/mipi_camera
392 register "acpi_uid" = "3"
393 register "acpi_name" = ""VCM0""
394 register "chip_name" = ""DW AF DAC""
395 register "device_type" = "INTEL_ACPI_CAMERA_VCM"
397 register "vcm_compat" = ""dongwoon,dw9714""
398 register "has_power_resource" = "true"
399 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
401 #Controls
402 register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" # EN_PP2800_WCAM_X
404 #_ON
405 register "on_seq.ops_cnt" = "1"
406 register "on_seq.ops[0]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
408 #_OFF
409 register "off_seq.ops_cnt" = "1"
410 register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
412 device i2c 0C on
413 probe WFC WFC_MIPI_OVTI5675
414 probe WFC WFC_MIPI_OVTI8856
417 chip drivers/intel/mipi_camera
418 register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
419 register "acpi_uid" = "1"
420 register "acpi_name" = ""NVM0""
421 register "chip_name" = ""GT24C08""
422 register "device_type" = "INTEL_ACPI_CAMERA_NVM"
424 register "nvm_size" = "0x2000"
425 register "nvm_pagesize" = "1"
426 register "nvm_readonly" = "1"
427 register "nvm_width" = "0x10"
428 register "nvm_compat" = ""atmel,24c08""
430 device i2c 50 on
431 probe WFC WFC_MIPI_OVTI5675
432 probe WFC WFC_MIPI_OVTI8856
436 device ref i2c3 on
437 chip drivers/i2c/generic
438 register "hid" = ""RTL5682""
439 register "name" = ""RT58""
440 register "desc" = ""Headset Codec""
441 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
442 # Set the jd_src to RT5668_JD1 for jack detection
443 register "property_count" = "1"
444 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
445 register "property_list[0].name" = ""realtek,jd-src""
446 register "property_list[0].integer" = "1"
447 device i2c 1a on end
449 chip drivers/generic/alc1015
450 register "hid" = ""RTL1019""
451 register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
452 device generic 0 on end
455 device ref i2c5 on
456 chip drivers/i2c/generic
457 register "hid" = ""ELAN0000""
458 register "desc" = ""ELAN Touchpad""
459 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
460 register "wake" = "GPE0_DW2_14"
461 register "detect" = "1"
462 device i2c 15 on end
464 chip drivers/i2c/hid
465 register "generic.hid" = ""SYNA0000""
466 register "generic.cid" = ""ACPI0C50""
467 register "generic.desc" = ""Synaptics Touchpad""
468 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
469 register "generic.wake" = "GPE0_DW2_14"
470 register "generic.detect" = "1"
471 register "hid_desc_reg_offset" = "0x20"
472 device i2c 0x2c on end
475 device ref hda on
476 chip drivers/sof
477 register "spkr_tplg" = "rt1019"
478 register "jack_tplg" = "rt5682"
479 register "mic_tplg" = "_2ch_pdm0"
480 device generic 0 on end
483 device ref pcie_rp4 on
484 probe WIFI_TYPE WIFI_PCIE
485 # Enable wlan PCIe 4 using clk 2
486 register "pch_pcie_rp[PCH_RP(4)]" = "{
487 .clk_src = 2,
488 .clk_req = 2,
489 .flags = PCIE_RP_LTR | PCIE_RP_AER,
490 .pcie_rp_pcie_speed = SPEED_GEN2,
492 chip drivers/wifi/generic
493 register "wake" = "GPE0_DW1_03"
494 register "add_acpi_dma_property" = "true"
495 use usb2_port8 as bluetooth_companion
496 device pci 00.0 on
497 probe WIFI_TYPE WIFI_PCIE
500 chip soc/intel/common/block/pcie/rtd3
501 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B11)"
502 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H20)"
503 register "srcclk_pin" = "2"
504 device generic 0 on
505 probe WIFI_TYPE WIFI_PCIE
509 device ref pcie_rp7 off end # PCIE7 no SD card
510 device ref emmc on
511 probe STORAGE STORAGE_UNKNOWN
512 probe STORAGE STORAGE_EMMC
514 device ref ish on
515 chip drivers/intel/ish
516 register "add_acpi_dma_property" = "true"
517 device generic 0 on end
519 probe STORAGE STORAGE_UNKNOWN
520 probe STORAGE STORAGE_UFS
522 device ref ufs on
523 probe STORAGE STORAGE_UNKNOWN
524 probe STORAGE STORAGE_UFS
526 device ref pch_espi on
527 chip ec/google/chromeec
528 use conn0 as mux_conn[0]
529 use conn1 as mux_conn[1]
530 device pnp 0c09.0 on end
533 device ref pmc hidden
534 chip drivers/intel/pmc_mux
535 device generic 0 on
536 chip drivers/intel/pmc_mux/conn
537 use usb2_port1 as usb2_port
538 use tcss_usb3_port1 as usb3_port
539 device generic 0 alias conn0 on end
541 chip drivers/intel/pmc_mux/conn
542 use usb2_port2 as usb2_port
543 use tcss_usb3_port2 as usb3_port
544 device generic 1 alias conn1 on
545 probe DB_USB DB_1C_1A
546 probe DB_USB DB_1C_LTE
552 device ref tcss_xhci on
553 chip drivers/usb/acpi
554 device ref tcss_root_hub on
555 chip drivers/usb/acpi
556 register "desc" = ""USB3 Type-C Port C0 (MLB)""
557 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
558 register "use_custom_pld" = "true"
559 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
560 device ref tcss_usb3_port1 on end
562 chip drivers/usb/acpi
563 register "desc" = ""USB3 Type-C Port C1 (DB)""
564 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
565 register "use_custom_pld" = "true"
566 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
567 device ref tcss_usb3_port2 on end
572 device ref xhci on
573 chip drivers/usb/acpi
574 device ref xhci_root_hub on
575 chip drivers/usb/acpi
576 register "desc" = ""USB2 Type-C Port C0 (MLB)""
577 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
578 register "use_custom_pld" = "true"
579 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
580 device ref usb2_port1 on end
582 chip drivers/usb/acpi
583 register "desc" = ""USB2 Type-C Port C1 (DB)""
584 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
585 register "use_custom_pld" = "true"
586 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
587 device ref usb2_port2 on
588 probe DB_USB DB_1C_1A
589 probe DB_USB DB_1C_LTE
592 chip drivers/usb/acpi
593 register "desc" = ""USB2 Type-A Port A0 (MLB)""
594 register "type" = "UPC_TYPE_A"
595 register "use_custom_pld" = "true"
596 register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
597 device ref usb2_port3 on end
599 chip drivers/usb/acpi
600 register "desc" = ""USB2 Type-A Port A1 (DB)""
601 register "type" = "UPC_TYPE_A"
602 register "use_custom_pld" = "true"
603 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
604 device ref usb2_port4 on
605 probe DB_USB DB_1C_1A
608 chip drivers/usb/acpi
609 register "desc" = ""USB2 WWAN""
610 register "type" = "UPC_TYPE_INTERNAL"
611 device ref usb2_port4 on
612 probe DB_USB DB_1C_LTE
615 chip drivers/usb/acpi
616 register "desc" = ""USB2 Camera""
617 register "type" = "UPC_TYPE_INTERNAL"
618 device ref usb2_port6 on end
620 chip drivers/usb/acpi
621 register "desc" = ""USB2 Bluetooth""
622 register "type" = "UPC_TYPE_INTERNAL"
623 register "reset_gpio" =
624 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
625 device ref usb2_port8 on
626 probe WIFI_TYPE WIFI_PCIE
629 chip drivers/usb/acpi
630 register "desc" = ""CNVI Bluetooth""
631 register "type" = "UPC_TYPE_INTERNAL"
632 register "reset_gpio" =
633 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
634 device ref usb2_port10 on
635 probe WIFI_TYPE WIFI_CNVI
638 chip drivers/usb/acpi
639 register "desc" = ""USB3 Type-A Port A0 (MLB)""
640 register "type" = "UPC_TYPE_USB3_A"
641 register "use_custom_pld" = "true"
642 register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
643 device ref usb3_port1 on end
645 chip drivers/usb/acpi
646 register "desc" = ""USB3 Type-A Port A1 (DB)""
647 register "type" = "UPC_TYPE_USB3_A"
648 register "use_custom_pld" = "true"
649 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
650 device ref usb3_port2 on
651 probe DB_USB DB_1C_1A
654 chip drivers/usb/acpi
655 register "desc" = ""USB3 WWAN""
656 register "type" = "UPC_TYPE_INTERNAL"
657 device ref usb3_port2 on
658 probe DB_USB DB_1C_LTE