mb/google/fatcat/var/fatcat: Refactor GPIO programming for UFS support
[coreboot.git] / src / mainboard / google / brya / variants / vell / overridetree.cb
blob697d0ef6742ca7afeba2ee669f22811e912dae63
1 fw_config
2 field DB_CELLULAR 0 0
3 option DB_CELLULAR_ABSENT 0
4 option DB_CELLULAR_PCIE 1
5 end
6 field KB_COLOR 1 1
7 option KB_COLOR_WHITE 0
8 option KB_COLOR_BLUE 1
9 end
10 field NAND 2 2
11 option NAND_MICRON 0
12 option NAND_KIOXIA 1
13 end
14 field WIFI_SAR_ID 30 31
15 option WIFI_SAR_ID_0 0
16 option WIFI_SAR_ID_1 1
17 end
18 end
19 chip soc/intel/alderlake
20 # Intel Common SoC Config
21 #+-------------------+---------------------------+
22 #| Field | Value |
23 #+-------------------+---------------------------+
24 #| GSPI1 | Fingerprint MCU |
25 #| I2C0 | Audio |
26 #| I2C1 | cr50 TPM. Early init is |
27 #| | required to set up a BAR |
28 #| | for TPM communication |
29 #| I2C2 | |
30 #| I2C3 | Touchscreen |
31 #| I2C5 | Trackpad |
32 #+-------------------+---------------------------+
33 register "common_soc_config" = "{
34 .i2c[0] = {
35 .speed = I2C_SPEED_FAST_PLUS,
36 .speed_config[0] = {
37 .speed = I2C_SPEED_FAST_PLUS,
38 .scl_lcnt = 45,
39 .scl_hcnt = 33,
40 .sda_hold = 20,
43 .i2c[1] = {
44 .early_init = 1,
45 .speed = I2C_SPEED_FAST,
46 .rise_time_ns = 600,
47 .fall_time_ns = 400,
48 .data_hold_time_ns = 50,
50 .i2c[3] = {
51 .rise_time_ns = 650,
52 .fall_time_ns = 400,
53 .data_hold_time_ns = 50,
55 .i2c[7] = {
56 .speed = I2C_SPEED_FAST_PLUS,
57 .speed_config[0] = {
58 .speed = I2C_SPEED_FAST_PLUS,
59 .scl_lcnt = 45,
60 .scl_hcnt = 30,
61 .sda_hold = 20,
65 register "usb2_ports[4]" = "USB2_PORT_TYPE_C(OC3)" # USB2_C3
66 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)"
67 register "usb2_ports[8]" = "USB2_PORT_EMPTY"
69 register "usb3_ports[0]" = "USB3_PORT_EMPTY"
71 register "tcss_ports[3]" = "TCSS_PORT_DEFAULT(OC3)"
72 register "sagv" = "SaGv_Enabled"
74 # As per Intel Advisory doc#723158, the change is required to prevent possible
75 # display flickering issue.
76 register "usb2_phy_sus_pg_disable" = "1"
78 # Set EPP to 50%: 50 * 256 / 100 = 0x80
79 register "enable_energy_perf_pref" = "true"
80 register "energy_perf_pref_value" = "0x80"
82 # FIVR RFI Spread Spectrum 6%
83 register "fivr_spread_spectrum" = "FIVR_SS_6"
85 # I2C Port Config
86 register "serial_io_i2c_mode" = "{
87 [PchSerialIoIndexI2C0] = PchSerialIoPci,
88 [PchSerialIoIndexI2C1] = PchSerialIoPci,
89 [PchSerialIoIndexI2C2] = PchSerialIoPci,
90 [PchSerialIoIndexI2C3] = PchSerialIoPci,
91 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
92 [PchSerialIoIndexI2C5] = PchSerialIoPci,
93 [PchSerialIoIndexI2C6] = PchSerialIoDisabled,
94 [PchSerialIoIndexI2C7] = PchSerialIoPci,
96 device domain 0 on
97 device ref igpu on
98 chip drivers/gfx/generic
99 register "device_count" = "5"
100 # DDIA for eDP
101 register "device[0].name" = ""LCD0""
102 # Internal panel on the first port of the graphics chip
103 register "device[0].type" = "panel"
104 # DDIB is unused and HDMI is not enumerated in the kernel, so no GFX device is added for DDIB
105 # TCP0 (DP-1) for port C0
106 register "device[1].name" = ""DD01""
107 register "device[1].use_pld" = "true"
108 register "device[1].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
109 # TCP1 (DP-2) for port C1
110 register "device[2].name" = ""DD02""
111 register "device[2].use_pld" = "true"
112 register "device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
113 # TCP2 (DP-3) for port C2
114 register "device[3].name" = ""DD03""
115 register "device[3].use_pld" = "true"
116 register "device[3].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
117 # TCP3 (DP-4) for port C3
118 register "device[4].name" = ""DD04""
119 register "device[4].use_pld" = "true"
120 register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
121 device generic 0 on end
123 end # Integrated Graphics Device
124 device ref dtt on
125 chip drivers/intel/dptf
126 ## sensor information
127 register "options.tsr[0].desc" = ""DRAM""
128 register "options.tsr[1].desc" = ""Soc""
129 register "options.tsr[2].desc" = ""Charger""
130 register "options.tsr[3].desc" = ""Regulator""
131 # TODO: below values are initial reference values only
132 ## Passive Policy
133 register "policies.passive" = "{
134 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
135 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
136 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 75, 5000),
137 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
138 [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 75, 5000),
140 ## Critical Policy
141 register "policies.critical" = "{
142 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
143 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
144 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
145 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
146 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN),
148 register "controls.power_limits" = "{
149 .pl1 = {
150 .min_power = 3000,
151 .max_power = 15000,
152 .time_window_min = 28 * MSECS_PER_SEC,
153 .time_window_max = 32 * MSECS_PER_SEC,
154 .granularity = 200,
156 .pl2 = {
157 .min_power = 55000,
158 .max_power = 55000,
159 .time_window_min = 28 * MSECS_PER_SEC,
160 .time_window_max = 32 * MSECS_PER_SEC,
161 .granularity = 1000,
164 ## Charger Performance Control (Control, mA)
165 register "controls.charger_perf" = "{
166 [0] = { 255, 1700 },
167 [1] = { 24, 1500 },
168 [2] = { 16, 1000 },
169 [3] = { 8, 500 }
171 device generic 0 on end
174 device ref ipu on
175 chip drivers/intel/mipi_camera
176 register "acpi_uid" = "0x50000"
177 register "acpi_name" = ""IPU0""
178 register "device_type" = "INTEL_ACPI_CAMERA_CIO2"
180 register "cio2_num_ports" = "1"
181 register "cio2_lanes_used" = "{4}" # 4 CSI Camera lanes are used
182 register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
183 register "cio2_prt[0]" = "1"
184 device generic 0 on end
187 device ref pcie4_0 on
188 # Enable CPU PCIE RP 1 using CLK 1
189 register "cpu_pcie_rp[CPU_RP(1)]" = "{
190 .clk_req = 1,
191 .clk_src = 1,
192 .flags = PCIE_RP_LTR | PCIE_RP_AER,
195 device ref tbt_pcie_rp3 on end
196 device ref cnvi_wifi on
197 chip drivers/wifi/generic
198 register "wake" = "GPE0_PME_B0"
199 device generic 0 on end
202 device ref pcie_rp6 on
203 # Enable WWAN PCIE 6 using clk 5
204 register "pch_pcie_rp[PCH_RP(6)]" = "{
205 .clk_src = 5,
206 .clk_req = 5,
207 .flags = PCIE_RP_LTR | PCIE_RP_AER,
209 chip soc/intel/common/block/pcie/rtd3
210 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)"
211 register "reset_off_delay_ms" = "20"
212 register "srcclk_pin" = "5"
213 register "ext_pm_support" = "ACPI_PCIE_RP_EMIT_ALL"
214 register "skip_on_off_support" = "true"
215 register "use_rp_mutex" = "true"
216 device generic 0 alias rp6_rtd3 on end
218 chip drivers/wwan/fm
219 register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)"
220 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)"
221 register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)"
222 register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)"
223 register "add_acpi_dma_property" = "true"
224 use rp6_rtd3 as rtd3dev
225 device generic 0 alias rp6_wwan on end
228 device ref pcie_rp8 off end
229 device ref pcie_rp9 off end
230 device ref tcss_dma0 on
231 chip drivers/intel/usb4/retimer
232 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
233 use tcss_usb3_port1 as dfp[0].typec_port
234 device generic 0 on end
237 device ref tcss_dma1 on
238 chip drivers/intel/usb4/retimer
239 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
240 use tcss_usb3_port3 as dfp[0].typec_port
241 device generic 0 on end
244 device ref i2c0 on
245 chip drivers/i2c/cs35l53
246 register "name" = ""SPK0""
247 register "sub" = ""103C8C08""
248 register "desc" = ""Cirrus Logic CS35L53 Tweeter Left Audio Codec""
249 register "uid" = "2"
250 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
251 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
252 register "boost_type" = "EXTERNAL_BOOST"
253 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
254 register "gpio1_output_enable" = "true"
255 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
256 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
257 device i2c 0x40 alias i2c0_cs35l53_0 on end
259 chip drivers/i2c/cs35l53
260 register "name" = ""SPK1""
261 register "sub" = ""103C8C08""
262 register "desc" = ""Cirrus Logic CS35L53 Woofer Left Audio Codec""
263 register "uid" = "0"
264 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
265 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
266 register "boost_type" = "EXTERNAL_BOOST"
267 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
268 register "gpio1_output_enable" = "true"
269 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
270 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
271 device i2c 0x41 alias i2c0_cs35l53_1 on end
273 chip drivers/i2c/cs35l53
274 register "name" = ""SPK2""
275 register "sub" = ""103C8C08""
276 register "desc" = ""Cirrus Logic CS35L53 Tweeter Right Audio Codec""
277 register "uid" = "3"
278 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
279 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
280 register "boost_type" = "EXTERNAL_BOOST"
281 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
282 register "gpio1_output_enable" = "true"
283 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
284 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
285 device i2c 0x42 on end
287 chip drivers/i2c/cs35l53
288 register "name" = ""SPK3""
289 register "sub" = ""103C8C08""
290 register "desc" = ""Cirrus Logic CS35L53 Woofer Right Audio Codec""
291 register "uid" = "1"
292 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
293 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
294 register "boost_type" = "EXTERNAL_BOOST"
295 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
296 register "gpio1_output_enable" = "true"
297 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
298 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
299 device i2c 0x43 on end
301 end #I2C0
302 device ref i2c1 on
303 chip drivers/i2c/tpm
304 register "hid" = ""GOOG0005""
305 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
306 device i2c 50 on end
309 device ref i2c3 on
310 chip drivers/i2c/hid
311 register "generic.hid" = ""ELAN2513""
312 register "generic.desc" = ""ELAN Touchscreen""
313 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
314 register "generic.detect" = "1"
315 register "generic.reset_gpio" =
316 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
317 register "generic.reset_delay_ms" = "200"
318 register "generic.reset_off_delay_ms" = "1"
319 register "generic.enable_gpio" =
320 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
321 register "generic.enable_delay_ms" = "6"
322 register "generic.stop_gpio" =
323 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
324 register "generic.stop_off_delay_ms" = "1"
325 register "generic.has_power_resource" = "1"
326 register "hid_desc_reg_offset" = "0x01"
327 device i2c 0x10 on end
330 device ref i2c2 on
331 chip drivers/intel/mipi_camera
332 register "acpi_hid" = ""OVTI8856""
333 register "acpi_uid" = "0"
334 register "acpi_name" = ""CAM0""
335 register "chip_name" = ""Ov 8856 Camera""
336 register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
337 register "has_power_resource" = "true"
339 register "ssdb.lanes_used" = "4"
340 register "ssdb.link_used" = "1"
341 register "num_freq_entries" = "2"
342 register "link_freq[0]" = "360000000"
343 register "link_freq[1]" = "180000000"
344 register "remote_name" = ""IPU0""
345 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
347 #Controls
348 register "clk_panel.clks[0].clknum" = "IMGCLKOUT_2"
349 register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
351 register "gpio_panel.gpio[0].gpio_num" = "GPP_F20" #reset
352 register "gpio_panel.gpio[1].gpio_num" = "GPP_C4" #power
354 #_ON
355 register "on_seq.ops_cnt" = "4"
356 register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
357 register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
358 register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)"
359 register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
361 #_OFF
362 register "off_seq.ops_cnt" = "3"
363 register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
364 register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
365 register "off_seq.ops[2]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
367 device i2c 36 on end
369 chip drivers/intel/mipi_camera
370 register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
371 register "acpi_uid" = "1"
372 register "acpi_name" = ""NVM0""
373 register "chip_name" = ""GT24C08""
374 register "device_type" = "INTEL_ACPI_CAMERA_NVM"
376 register "nvm_compat" = ""atmel,24c1024""
378 register "nvm_size" = "0x2000"
379 register "nvm_pagesize" = "0x01"
380 register "nvm_readonly" = "0x01"
381 register "nvm_width" = "0x10"
383 device i2c 50 on end
386 device ref i2c5 on
387 chip drivers/i2c/hid
388 register "generic.hid" = ""ELAN2703""
389 register "generic.desc" = ""ELAN Touchpad""
390 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
391 register "generic.wake" = "GPE0_DW2_14"
392 register "generic.detect" = "1"
393 register "hid_desc_reg_offset" = "0x01"
394 device i2c 15 on end
397 device ref i2c7 on
398 chip drivers/i2c/cs35l53
399 register "name" = ""SPK0""
400 register "sub" = ""103C8C08""
401 register "desc" = ""Cirrus Logic CS35L53 Tweeter Left Audio Codec""
402 register "uid" = "2"
403 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
404 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
405 register "boost_type" = "EXTERNAL_BOOST"
406 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
407 register "gpio1_output_enable" = "true"
408 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
409 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
410 device i2c 0x40 alias i2c7_cs35l53_0 on end
412 chip drivers/i2c/cs35l53
413 register "name" = ""SPK1""
414 register "sub" = ""103C8C08""
415 register "desc" = ""Cirrus Logic CS35L53 Woofer Left Audio Codec""
416 register "uid" = "0"
417 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
418 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
419 register "boost_type" = "EXTERNAL_BOOST"
420 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
421 register "gpio1_output_enable" = "true"
422 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
423 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
424 device i2c 0x41 alias i2c7_cs35l53_1 on end
427 device ref gspi1 on
428 chip drivers/spi/acpi
429 register "name" = ""CRFP""
430 register "hid" = "ACPI_DT_NAMESPACE_HID"
431 register "uid" = "1"
432 register "compat_string" = ""google,cros-ec-spi""
433 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
434 register "wake" = "GPE0_DW2_15"
435 register "has_power_resource" = "true"
436 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)"
437 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)"
438 register "enable_delay_ms" = "3"
439 device spi 0 hidden end
440 end # FPMCU
442 device ref pch_espi on
443 chip ec/google/chromeec
444 use conn0 as mux_conn[0]
445 use conn1 as mux_conn[1]
446 use conn2 as mux_conn[2]
447 use conn3 as mux_conn[3]
448 device pnp 0c09.0 on end
451 device ref pmc hidden
452 chip drivers/intel/pmc_mux
453 device generic 0 on
454 chip drivers/intel/pmc_mux/conn
455 use usb2_port1 as usb2_port
456 use tcss_usb3_port1 as usb3_port
457 device generic 0 alias conn0 on end
459 chip drivers/intel/pmc_mux/conn
460 use usb2_port2 as usb2_port
461 use tcss_usb3_port2 as usb3_port
462 device generic 1 alias conn1 on end
464 chip drivers/intel/pmc_mux/conn
465 use usb2_port3 as usb2_port
466 use tcss_usb3_port3 as usb3_port
467 device generic 2 alias conn2 on end
469 chip drivers/intel/pmc_mux/conn
470 use usb2_port5 as usb2_port
471 use tcss_usb3_port4 as usb3_port
472 device generic 3 alias conn3 on end
477 device ref tcss_xhci on
478 chip drivers/usb/acpi
479 device ref tcss_root_hub on
480 chip drivers/usb/acpi
481 register "desc" = ""USB3 Type-C Port C0 (MLB)""
482 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
483 register "use_custom_pld" = "true"
484 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
485 device ref tcss_usb3_port1 on end
487 chip drivers/usb/acpi
488 register "desc" = ""USB3 Type-C Port C1 (MlB)""
489 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
490 register "use_custom_pld" = "true"
491 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
492 device ref tcss_usb3_port2 on end
494 chip drivers/usb/acpi
495 register "desc" = ""USB3 Type-C Port C2 (DB)""
496 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
497 register "use_custom_pld" = "true"
498 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
499 device ref tcss_usb3_port3 on end
501 chip drivers/usb/acpi
502 register "desc" = ""USB3 Type-C Port C3 (DB)""
503 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
504 register "use_custom_pld" = "true"
505 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
506 device ref tcss_usb3_port4 on end
511 device ref xhci on
512 chip drivers/usb/acpi
513 device ref xhci_root_hub on
514 chip drivers/usb/acpi
515 register "desc" = ""USB2 Type-C Port C0 (MLB)""
516 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
517 register "use_custom_pld" = "true"
518 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
519 device ref usb2_port1 on end
521 chip drivers/usb/acpi
522 register "desc" = ""USB2 Type-C Port C1 (MLB)""
523 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
524 register "use_custom_pld" = "true"
525 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
526 device ref usb2_port2 on end
528 chip drivers/usb/acpi
529 register "desc" = ""USB2 Type-C Port C2 (DB)""
530 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
531 register "use_custom_pld" = "true"
532 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
533 device ref usb2_port3 on end
535 chip drivers/usb/acpi
536 register "desc" = ""USB2 WWAN""
537 register "type" = "UPC_TYPE_INTERNAL"
538 device ref usb2_port4 on end
540 chip drivers/usb/acpi
541 register "desc" = ""USB2 Type-C Port C3 (DB)""
542 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
543 register "use_custom_pld" = "true"
544 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
545 device ref usb2_port5 on end
547 chip drivers/usb/acpi
548 register "desc" = ""USB2 Camera""
549 register "type" = "UPC_TYPE_INTERNAL"
550 device ref usb2_port6 on end
552 chip drivers/usb/acpi
553 register "desc" = ""RGB Keyboard""
554 register "type" = "UPC_TYPE_INTERNAL"
555 device ref usb2_port7 on end
557 chip drivers/usb/acpi
558 register "desc" = ""USB3 WWAN""
559 register "type" = "UPC_TYPE_INTERNAL"
560 device ref usb3_port4 on end