9 chip soc
/intel
/alderlake
10 register
"sagv" = "SaGv_Enabled"
12 # Bit
0 - C0 has no redriver
, so enable SBU muxing in the SoC.
13 # Bit
2 - C1 has a redriver which does SBU muxing.
14 # Bit
1,3 - AUX lines are
not swapped on the motherboard
for either C0
or C1.
15 register
"tcss_aux_ori" = "1"
17 register
"typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
19 register
"usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # WFC
20 register
"usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port
for PCIe WLAN
21 register
"usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port
for CNVi WLAN
23 # Configure external V1P05
/Vnn
/VnnSx Rails
24 register
"ext_fivr_settings" = "{
25 .configure_ext_fivr = 1,
26 .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX & ~FIVR_ENABLE_S0,
27 .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX,
28 .vnn_sx_enable_bitmap = FIVR_ENABLE_ALL_SX,
29 .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL,
30 .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_MIN_ACTIVE,
31 .v1p05_voltage_mv = 1050,
32 .vnn_voltage_mv = 780,
33 .vnn_sx_voltage_mv = 1050,
34 .v1p05_icc_max_ma = 500,
35 .vnn_icc_max_ma = 500,
38 # Intel Common SoC Config
39 #
+-------------------+---------------------------+
41 #
+-------------------+---------------------------+
42 #| I2C0 | TPM. Early init is |
43 #| | required
to set up a BAR |
44 #| |
for TPM communication |
45 #| I2C1 | Touchscreen |
46 #| I2C2 |
Sub-board
(PSensor
)/WCAM |
49 #
+-------------------+---------------------------+
50 register
"common_soc_config" = "{
53 .speed = I2C_SPEED_FAST_PLUS,
55 .speed = I2C_SPEED_FAST_PLUS,
62 .speed = I2C_SPEED_FAST,
64 .speed = I2C_SPEED_FAST,
71 .speed = I2C_SPEED_FAST,
73 .speed = I2C_SPEED_FAST,
80 .speed = I2C_SPEED_FAST,
82 .speed = I2C_SPEED_FAST,
92 chip drivers
/intel
/dptf
94 register
"options.tsr[0].desc" = ""Memory
""
95 register
"options.tsr[1].desc" = ""Charger
""
96 register
"options.tsr[2].desc" = ""Ambient
""
98 # TODO
: below values are initial reference values only
100 register
"policies.passive" = "{
101 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
102 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
103 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 5000),
104 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 75, 5000),
108 register
"policies.critical" = "{
109 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
110 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
111 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
112 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
115 register
"controls.power_limits" = "{
119 .time_window_min = 28 * MSECS_PER_SEC,
120 .time_window_max = 32 * MSECS_PER_SEC,
126 .time_window_min = 28 * MSECS_PER_SEC,
127 .time_window_max = 32 * MSECS_PER_SEC,
132 ## Charger Performance
Control (Control, mA
)
133 register
"controls.charger_perf" = "{
140 device generic
0 on
end
145 register
"generic.hid" = ""GDIX0000
""
146 register
"generic.desc" = ""Goodix Touchscreen
""
147 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
148 register
"generic.detect" = "1"
149 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
150 register
"generic.enable_delay_ms" = "20"
151 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
152 register
"generic.reset_delay_ms" = "180"
153 register
"generic.reset_off_delay_ms" = "3"
154 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
155 register
"generic.stop_off_delay_ms" = "1"
156 register
"generic.has_power_resource" = "1"
157 register
"hid_desc_reg_offset" = "0x01"
160 chip drivers
/generic
/gpio_keys
161 register
"name" = ""PENH
""
162 register
"gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_F13)"
163 register
"key.wake_gpe" = "GPE0_DW2_15"
164 register
"key.wakeup_route" = "WAKEUP_ROUTE_SCI"
165 register
"key.wakeup_event_action" = "EV_ACT_DEASSERTED"
166 register
"key.dev_name" = ""EJCT
""
167 register
"key.linux_code" = "SW_PEN_INSERTED"
168 register
"key.linux_input_type" = "EV_SW"
169 register
"key.label" = ""pen_eject
""
170 device generic
0 on
end
174 chip drivers
/i2c
/generic
175 register
"hid" = ""RTL5682
""
176 register
"name" = ""RT58
""
177 register
"desc" = ""Headset Codec
""
178 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
179 #
Set the jd_src
to RT5668_JD1
for jack detection
180 register
"property_count" = "1"
181 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
182 register
"property_list[0].name" = ""realtek
,jd
-src
""
183 register
"property_list[0].integer" = "1"
186 chip drivers
/generic
/alc1015
187 register
"hid" = ""RTL1019
""
188 register
"sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
189 device generic
0 on
end
193 chip drivers
/i2c
/generic
194 register
"hid" = ""ELAN0000
""
195 register
"desc" = ""ELAN Touchpad
""
196 register
"irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
197 register
"wake" = "GPE0_DW2_14"
198 register
"detect" = "1"
202 device ref pcie_rp4 on
204 register
"pch_pcie_rp[PCH_RP(4)]" = "{
207 .flags = PCIE_RP_LTR | PCIE_RP_AER,
209 chip drivers
/wifi
/generic
210 register
"wake" = "GPE0_DW1_03"
211 register
"add_acpi_dma_property" = "true"
212 device pci
00.0 on
end
215 device ref pch_espi on
216 chip ec
/google
/chromeec
217 use conn0
as mux_conn
[0]
218 use conn1
as mux_conn
[1]
219 device pnp
0c09.0 on
end
222 device ref pmc hidden
223 chip drivers
/intel
/pmc_mux
225 chip drivers
/intel
/pmc_mux
/conn
226 use usb2_port1
as usb2_port
227 use tcss_usb3_port1
as usb3_port
228 device generic
0 alias conn0 on
end
230 chip drivers
/intel
/pmc_mux
/conn
231 use usb2_port2
as usb2_port
232 use tcss_usb3_port2
as usb3_port
233 device generic
1 alias conn1 on
234 probe DB_USB DB_1C_1A
240 device ref tcss_xhci on
241 chip drivers
/usb
/acpi
242 device ref tcss_root_hub on
243 chip drivers
/usb
/acpi
244 register
"desc" = ""USB3
Type-C Port C0
(MLB
)""
245 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
246 register
"use_custom_pld" = "true"
247 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
248 device ref tcss_usb3_port1 on
end
250 chip drivers
/usb
/acpi
251 register
"desc" = ""USB3
Type-C Port C1
(DB
)""
252 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
253 register
"use_custom_pld" = "true"
254 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
255 device ref tcss_usb3_port2 on
end
261 chip drivers
/usb
/acpi
262 device ref xhci_root_hub on
263 chip drivers
/usb
/acpi
264 register
"desc" = ""USB2
Type-C Port C0
(MLB
)""
265 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
266 register
"use_custom_pld" = "true"
267 register
"custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
268 device ref usb2_port1 on
end
270 chip drivers
/usb
/acpi
271 register
"desc" = ""USB2
Type-C Port C1
(DB
)""
272 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
273 register
"use_custom_pld" = "true"
274 register
"custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
275 device ref usb2_port2 on
276 probe DB_USB DB_1C_1A
279 chip drivers
/usb
/acpi
280 register
"desc" = ""USB2
Type-A Port A0
(MLB
)""
281 register
"type" = "UPC_TYPE_A"
282 register
"use_custom_pld" = "true"
283 register
"custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
284 device ref usb2_port3 on
end
286 chip drivers
/usb
/acpi
287 register
"desc" = ""USB2
Type-A Port A1
(DB
)""
288 register
"type" = "UPC_TYPE_A"
289 register
"use_custom_pld" = "true"
290 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
291 device ref usb2_port4 on
end
293 chip drivers
/usb
/acpi
294 register
"desc" = ""USB2 UFC
""
295 register
"type" = "UPC_TYPE_INTERNAL"
296 device ref usb2_port6 on
end
298 chip drivers
/usb
/acpi
299 register
"desc" = ""USB2 WFC
""
300 register
"type" = "UPC_TYPE_INTERNAL"
301 device ref usb2_port7 on
end
303 chip drivers
/usb
/acpi
304 register
"desc" = ""USB2 Bluetooth
""
305 register
"type" = "UPC_TYPE_INTERNAL"
306 register
"reset_gpio" =
307 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
308 device ref usb2_port8 on
end
310 chip drivers
/usb
/acpi
311 register
"desc" = ""CNVi Bluetooth
""
312 register
"type" = "UPC_TYPE_INTERNAL"
313 register
"reset_gpio" =
314 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
315 device ref usb2_port10 on
end
317 chip drivers
/usb
/acpi
318 register
"desc" = ""USB3
Type-A Port A0
(MLB
)""
319 register
"type" = "UPC_TYPE_USB3_A"
320 register
"use_custom_pld" = "true"
321 register
"custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))"
322 device ref usb3_port1 on
end
324 chip drivers
/usb
/acpi
325 register
"desc" = ""USB3
Type-A Port A1
(DB
)""
326 register
"type" = "UPC_TYPE_USB3_A"
327 register
"use_custom_pld" = "true"
328 register
"custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))"
329 device ref usb3_port2 on
end
336 register
"spkr_tplg" = "rt1019"
337 register
"jack_tplg" = "rt5682"
338 register
"mic_tplg" = "_2ch_pdm0"
339 device generic
0 on
end