cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / brya / variants / vell / overridetree.cb
blob69563122abf9a1945cf3e25e5336991eeb7469d2
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 [PchSerialIoIndexI2C7] = PchSerialIoPci,
95 device domain 0 on
96 device ref igpu on
97 chip drivers/gfx/generic
98 register "device_count" = "5"
99 # DDIA for eDP
100 register "device[0].name" = ""LCD""
101 # Internal panel on the first port of the graphics chip
102 register "device[0].addr" = "0x80010400"
103 # DDIB is unused and HDMI is not enumerated in the kernel, so no GFX device is added for DDIB
104 # TCP0 (DP-1) for port C0
105 register "device[1].name" = ""DD01""
106 register "device[1].use_pld" = "true"
107 register "device[1].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
108 # TCP1 (DP-2) for port C1
109 register "device[2].name" = ""DD02""
110 register "device[2].use_pld" = "true"
111 register "device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
112 # TCP2 (DP-3) for port C2
113 register "device[3].name" = ""DD03""
114 register "device[3].use_pld" = "true"
115 register "device[3].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
116 # TCP3 (DP-4) for port C3
117 register "device[4].name" = ""DD04""
118 register "device[4].use_pld" = "true"
119 register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
120 device generic 0 on end
122 end # Integrated Graphics Device
123 device ref dtt on
124 chip drivers/intel/dptf
125 ## sensor information
126 register "options.tsr[0].desc" = ""DRAM""
127 register "options.tsr[1].desc" = ""Soc""
128 register "options.tsr[2].desc" = ""Charger""
129 register "options.tsr[3].desc" = ""Regulator""
130 # TODO: below values are initial reference values only
131 ## Passive Policy
132 register "policies.passive" = "{
133 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
134 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
135 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 75, 5000),
136 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
137 [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 75, 5000),
139 ## Critical Policy
140 register "policies.critical" = "{
141 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
142 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
143 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
144 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
145 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN),
147 register "controls.power_limits" = "{
148 .pl1 = {
149 .min_power = 3000,
150 .max_power = 15000,
151 .time_window_min = 28 * MSECS_PER_SEC,
152 .time_window_max = 32 * MSECS_PER_SEC,
153 .granularity = 200,
155 .pl2 = {
156 .min_power = 55000,
157 .max_power = 55000,
158 .time_window_min = 28 * MSECS_PER_SEC,
159 .time_window_max = 32 * MSECS_PER_SEC,
160 .granularity = 1000,
163 ## Charger Performance Control (Control, mA)
164 register "controls.charger_perf" = "{
165 [0] = { 255, 1700 },
166 [1] = { 24, 1500 },
167 [2] = { 16, 1000 },
168 [3] = { 8, 500 }
170 device generic 0 on end
173 device ref ipu on
174 chip drivers/intel/mipi_camera
175 register "acpi_uid" = "0x50000"
176 register "acpi_name" = ""IPU0""
177 register "device_type" = "INTEL_ACPI_CAMERA_CIO2"
179 register "cio2_num_ports" = "1"
180 register "cio2_lanes_used" = "{4}" # 4 CSI Camera lanes are used
181 register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
182 register "cio2_prt[0]" = "1"
183 device generic 0 on end
186 device ref pcie4_0 on
187 # Enable CPU PCIE RP 1 using CLK 1
188 register "cpu_pcie_rp[CPU_RP(1)]" = "{
189 .clk_req = 1,
190 .clk_src = 1,
191 .flags = PCIE_RP_LTR | PCIE_RP_AER,
194 device ref tbt_pcie_rp3 on end
195 device ref cnvi_wifi on
196 chip drivers/wifi/generic
197 register "wake" = "GPE0_PME_B0"
198 device generic 0 on end
201 device ref pcie_rp6 on
202 # Enable WWAN PCIE 6 using clk 5
203 register "pch_pcie_rp[PCH_RP(6)]" = "{
204 .clk_src = 5,
205 .clk_req = 5,
206 .flags = PCIE_RP_LTR | PCIE_RP_AER,
208 chip soc/intel/common/block/pcie/rtd3
209 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)"
210 register "reset_off_delay_ms" = "20"
211 register "srcclk_pin" = "5"
212 register "ext_pm_support" = "ACPI_PCIE_RP_EMIT_ALL"
213 register "skip_on_off_support" = "true"
214 register "use_rp_mutex" = "true"
215 device generic 0 alias rp6_rtd3 on end
217 chip drivers/wwan/fm
218 register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)"
219 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)"
220 register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)"
221 register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)"
222 register "add_acpi_dma_property" = "true"
223 use rp6_rtd3 as rtd3dev
224 device generic 0 alias rp6_wwan on end
227 device ref pcie_rp8 off end
228 device ref pcie_rp9 off end
229 device ref tcss_dma0 on
230 chip drivers/intel/usb4/retimer
231 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
232 use tcss_usb3_port1 as dfp[0].typec_port
233 device generic 0 on end
236 device ref tcss_dma1 on
237 chip drivers/intel/usb4/retimer
238 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
239 use tcss_usb3_port3 as dfp[0].typec_port
240 device generic 0 on end
243 device ref i2c0 on
244 chip drivers/i2c/cs35l53
245 register "name" = ""SPK0""
246 register "sub" = ""103C8C08""
247 register "desc" = ""Cirrus Logic CS35L53 Tweeter Left Audio Codec""
248 register "uid" = "2"
249 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
250 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
251 register "boost_type" = "EXTERNAL_BOOST"
252 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
253 register "gpio1_output_enable" = "true"
254 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
255 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
256 device i2c 0x40 alias i2c0_cs35l53_0 on end
258 chip drivers/i2c/cs35l53
259 register "name" = ""SPK1""
260 register "sub" = ""103C8C08""
261 register "desc" = ""Cirrus Logic CS35L53 Woofer Left Audio Codec""
262 register "uid" = "0"
263 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
264 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
265 register "boost_type" = "EXTERNAL_BOOST"
266 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
267 register "gpio1_output_enable" = "true"
268 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
269 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
270 device i2c 0x41 alias i2c0_cs35l53_1 on end
272 chip drivers/i2c/cs35l53
273 register "name" = ""SPK2""
274 register "sub" = ""103C8C08""
275 register "desc" = ""Cirrus Logic CS35L53 Tweeter Right Audio Codec""
276 register "uid" = "3"
277 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
278 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
279 register "boost_type" = "EXTERNAL_BOOST"
280 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
281 register "gpio1_output_enable" = "true"
282 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
283 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
284 device i2c 0x42 on end
286 chip drivers/i2c/cs35l53
287 register "name" = ""SPK3""
288 register "sub" = ""103C8C08""
289 register "desc" = ""Cirrus Logic CS35L53 Woofer Right Audio Codec""
290 register "uid" = "1"
291 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
292 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
293 register "boost_type" = "EXTERNAL_BOOST"
294 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
295 register "gpio1_output_enable" = "true"
296 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
297 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
298 device i2c 0x43 on end
300 end #I2C0
301 device ref i2c1 on
302 chip drivers/i2c/tpm
303 register "hid" = ""GOOG0005""
304 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
305 device i2c 50 on end
308 device ref i2c3 on
309 chip drivers/i2c/hid
310 register "generic.hid" = ""ELAN2513""
311 register "generic.desc" = ""ELAN Touchscreen""
312 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
313 register "generic.detect" = "1"
314 register "generic.reset_gpio" =
315 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
316 register "generic.reset_delay_ms" = "200"
317 register "generic.reset_off_delay_ms" = "1"
318 register "generic.enable_gpio" =
319 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
320 register "generic.enable_delay_ms" = "6"
321 register "generic.stop_gpio" =
322 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
323 register "generic.stop_off_delay_ms" = "1"
324 register "generic.has_power_resource" = "1"
325 register "hid_desc_reg_offset" = "0x01"
326 device i2c 0x10 on end
329 device ref i2c2 on
330 chip drivers/intel/mipi_camera
331 register "acpi_hid" = ""OVTI8856""
332 register "acpi_uid" = "0"
333 register "acpi_name" = ""CAM0""
334 register "chip_name" = ""Ov 8856 Camera""
335 register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
336 register "has_power_resource" = "1"
338 register "ssdb.lanes_used" = "4"
339 register "ssdb.link_used" = "1"
340 register "num_freq_entries" = "2"
341 register "link_freq[0]" = "360000000"
342 register "link_freq[1]" = "180000000"
343 register "remote_name" = ""IPU0""
344 register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
346 #Controls
347 register "clk_panel.clks[0].clknum" = "IMGCLKOUT_2"
348 register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
350 register "gpio_panel.gpio[0].gpio_num" = "GPP_F20" #reset
351 register "gpio_panel.gpio[1].gpio_num" = "GPP_C4" #power
353 #_ON
354 register "on_seq.ops_cnt" = "4"
355 register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
356 register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
357 register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)"
358 register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
360 #_OFF
361 register "off_seq.ops_cnt" = "3"
362 register "off_seq.ops[0]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
363 register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
364 register "off_seq.ops[2]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
366 device i2c 36 on end
368 chip drivers/intel/mipi_camera
369 register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
370 register "acpi_uid" = "1"
371 register "acpi_name" = ""NVM0""
372 register "chip_name" = ""GT24C08""
373 register "device_type" = "INTEL_ACPI_CAMERA_NVM"
375 register "nvm_compat" = ""atmel,24c1024""
377 register "nvm_size" = "0x2000"
378 register "nvm_pagesize" = "0x01"
379 register "nvm_readonly" = "0x01"
380 register "nvm_width" = "0x10"
382 device i2c 50 on end
385 device ref i2c5 on
386 chip drivers/i2c/hid
387 register "generic.hid" = ""ELAN2703""
388 register "generic.desc" = ""ELAN Touchpad""
389 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
390 register "generic.wake" = "GPE0_DW2_14"
391 register "generic.detect" = "1"
392 register "hid_desc_reg_offset" = "0x01"
393 device i2c 15 on end
396 device ref i2c7 on
397 chip drivers/i2c/cs35l53
398 register "name" = ""SPK0""
399 register "sub" = ""103C8C08""
400 register "desc" = ""Cirrus Logic CS35L53 Tweeter Left Audio Codec""
401 register "uid" = "2"
402 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
403 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
404 register "boost_type" = "EXTERNAL_BOOST"
405 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
406 register "gpio1_output_enable" = "true"
407 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
408 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
409 device i2c 0x40 alias i2c7_cs35l53_0 on end
411 chip drivers/i2c/cs35l53
412 register "name" = ""SPK1""
413 register "sub" = ""103C8C08""
414 register "desc" = ""Cirrus Logic CS35L53 Woofer Left Audio Codec""
415 register "uid" = "0"
416 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_D14)"
417 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
418 register "boost_type" = "EXTERNAL_BOOST"
419 register "asp_sdout_hiz" = "ASP_SDOUT_LOGIC0_UNUSED_LOGIC0_DISABLED"
420 register "gpio1_output_enable" = "true"
421 register "gpio1_src_select" = "GPIO1_SRC_GPIO"
422 register "gpio2_src_select" = "GPIO2_SRC_HIGH_IMPEDANCE"
423 device i2c 0x41 alias i2c7_cs35l53_1 on end
426 device ref gspi1 on
427 chip drivers/spi/acpi
428 register "name" = ""CRFP""
429 register "hid" = "ACPI_DT_NAMESPACE_HID"
430 register "uid" = "1"
431 register "compat_string" = ""google,cros-ec-spi""
432 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
433 register "wake" = "GPE0_DW2_15"
434 register "has_power_resource" = "1"
435 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)"
436 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)"
437 register "enable_delay_ms" = "3"
438 device spi 0 hidden end
439 end # FPMCU
441 device ref pch_espi on
442 chip ec/google/chromeec
443 use conn0 as mux_conn[0]
444 use conn1 as mux_conn[1]
445 use conn2 as mux_conn[2]
446 use conn3 as mux_conn[3]
447 device pnp 0c09.0 on end
450 device ref pmc hidden
451 chip drivers/intel/pmc_mux
452 device generic 0 on
453 chip drivers/intel/pmc_mux/conn
454 use usb2_port1 as usb2_port
455 use tcss_usb3_port1 as usb3_port
456 device generic 0 alias conn0 on end
458 chip drivers/intel/pmc_mux/conn
459 use usb2_port2 as usb2_port
460 use tcss_usb3_port2 as usb3_port
461 device generic 1 alias conn1 on end
463 chip drivers/intel/pmc_mux/conn
464 use usb2_port3 as usb2_port
465 use tcss_usb3_port3 as usb3_port
466 device generic 2 alias conn2 on end
468 chip drivers/intel/pmc_mux/conn
469 use usb2_port5 as usb2_port
470 use tcss_usb3_port4 as usb3_port
471 device generic 3 alias conn3 on end
476 device ref tcss_xhci on
477 chip drivers/usb/acpi
478 device ref tcss_root_hub on
479 chip drivers/usb/acpi
480 register "desc" = ""USB3 Type-C Port C0 (MLB)""
481 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
482 register "use_custom_pld" = "true"
483 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
484 device ref tcss_usb3_port1 on end
486 chip drivers/usb/acpi
487 register "desc" = ""USB3 Type-C Port C1 (MlB)""
488 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
489 register "use_custom_pld" = "true"
490 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
491 device ref tcss_usb3_port2 on end
493 chip drivers/usb/acpi
494 register "desc" = ""USB3 Type-C Port C2 (DB)""
495 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
496 register "use_custom_pld" = "true"
497 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
498 device ref tcss_usb3_port3 on end
500 chip drivers/usb/acpi
501 register "desc" = ""USB3 Type-C Port C3 (DB)""
502 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
503 register "use_custom_pld" = "true"
504 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
505 device ref tcss_usb3_port4 on end
510 device ref xhci on
511 chip drivers/usb/acpi
512 device ref xhci_root_hub on
513 chip drivers/usb/acpi
514 register "desc" = ""USB2 Type-C Port C0 (MLB)""
515 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
516 register "use_custom_pld" = "true"
517 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
518 device ref usb2_port1 on end
520 chip drivers/usb/acpi
521 register "desc" = ""USB2 Type-C Port C1 (MLB)""
522 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
523 register "use_custom_pld" = "true"
524 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
525 device ref usb2_port2 on end
527 chip drivers/usb/acpi
528 register "desc" = ""USB2 Type-C Port C2 (DB)""
529 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
530 register "use_custom_pld" = "true"
531 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))"
532 device ref usb2_port3 on end
534 chip drivers/usb/acpi
535 register "desc" = ""USB2 WWAN""
536 register "type" = "UPC_TYPE_INTERNAL"
537 device ref usb2_port4 on end
539 chip drivers/usb/acpi
540 register "desc" = ""USB2 Type-C Port C3 (DB)""
541 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
542 register "use_custom_pld" = "true"
543 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(4, 1))"
544 device ref usb2_port5 on end
546 chip drivers/usb/acpi
547 register "desc" = ""USB2 Camera""
548 register "type" = "UPC_TYPE_INTERNAL"
549 device ref usb2_port6 on end
551 chip drivers/usb/acpi
552 register "desc" = ""RGB Keyboard""
553 register "type" = "UPC_TYPE_INTERNAL"
554 device ref usb2_port7 on end
556 chip drivers/usb/acpi
557 register "desc" = ""USB3 WWAN""
558 register "type" = "UPC_TYPE_INTERNAL"
559 device ref usb3_port4 on end