soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / brya / variants / felwinter / overridetree.cb
blob8b5dd0d8eecb6245ad4da77b703486ed81ed6f3a
1 fw_config
2 field DB_USB 0 2
3 option USB_ABSENT 0
4 option USB3_PS8815 1
5 option USB4_KB8001 2
6 end
7 field STYLUS 5
8 option STYLUS_ABSENT 0
9 option STYLUS_PRESENT 1
10 end
11 field AUDIO_AMP 7 9
12 option UNPROVISIONED 0
13 option MAX98360_ALC5682I_I2S 1
14 option MAX98360_ALC5682VS_I2S_2WAY 2
15 end
16 end
18 chip soc/intel/alderlake
19 register "sagv" = "SaGv_Enabled"
21 # FIVR configurations for brya are disabled since the board doesn't have V1p05 and Vnn
22 # bypass rails implemented.
23 register "ext_fivr_settings" = "{
24 .configure_ext_fivr = 1,
27 register "usb2_ports[0]" = "USB2_PORT_EMPTY"
28 register "usb2_ports[3]" = "USB2_PORT_EMPTY"
29 register "usb3_ports[3]" = "USB3_PORT_EMPTY"
31 register "tcss_ports[0]" = "TCSS_PORT_EMPTY"
33 register "serial_io_i2c_mode" = "{
34 [PchSerialIoIndexI2C0] = PchSerialIoPci,
35 [PchSerialIoIndexI2C1] = PchSerialIoPci,
36 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
37 [PchSerialIoIndexI2C3] = PchSerialIoPci,
38 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
39 [PchSerialIoIndexI2C5] = PchSerialIoPci,
42 register "serial_io_gspi_mode" = "{
43 [PchSerialIoIndexGSPI0] = PchSerialIoDisabled,
44 [PchSerialIoIndexGSPI1] = PchSerialIoDisabled,
47 # As per Intel Advisory doc#723158, the change is required to prevent possible
48 # display flickering issue.
49 register "usb2_phy_sus_pg_disable" = "1"
51 # Intel Common SoC Config
52 #+-------------------+---------------------------+
53 #| Field | Value |
54 #+-------------------+---------------------------+
55 #| I2C0 | Audio |
56 #| I2C1 | cr50 TPM. Early init is |
57 #| | required to set up a BAR |
58 #| | for TPM communication |
59 #| I2C3 | Touchscreen |
60 #| I2C5 | Trackpad |
61 #+-------------------+---------------------------+
62 register "common_soc_config" = "{
63 .i2c[0] = {
64 .speed = I2C_SPEED_FAST,
65 .rise_time_ns = 550,
66 .fall_time_ns = 400,
67 .data_hold_time_ns = 50,
69 .i2c[1] = {
70 .early_init = 1,
71 .speed = I2C_SPEED_FAST,
72 .rise_time_ns = 550,
73 .fall_time_ns = 400,
74 .data_hold_time_ns = 50,
76 .i2c[3] = {
77 .speed = I2C_SPEED_FAST,
78 .rise_time_ns = 550,
79 .fall_time_ns = 400,
80 .data_hold_time_ns = 50,
82 .i2c[5] = {
83 .speed = I2C_SPEED_FAST,
84 .rise_time_ns = 550,
85 .fall_time_ns = 400,
86 .speed_config[0] = {
87 .speed = I2C_SPEED_FAST,
88 .scl_lcnt = 160,
89 .scl_hcnt = 70,
90 .sda_hold = 40,
95 device domain 0 on
96 device ref igpu on
97 chip drivers/gfx/generic
98 register "device_count" = "6"
99 # DDIA for eDP
100 register "device[0].name" = ""LCD0""
101 # Internal panel on the first port of the graphics chip
102 register "device[0].type" = "panel"
103 # DDIB for HDMI
104 register "device[1].name" = ""DD01""
105 # TCP0 (DP-1) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP0
106 register "device[2].name" = ""DD02""
107 # TCP1 (DP-2) for port C1
108 register "device[3].name" = ""DD03""
109 register "device[3].use_pld" = "true"
110 register "device[3].pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
111 # TCP2 (DP-3) for port C2
112 register "device[4].name" = ""DD04""
113 register "device[4].use_pld" = "true"
114 register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
115 # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3
116 register "device[5].name" = ""DD05""
117 device generic 0 on end
119 end # Integrated Graphics Device
120 device ref dtt on
121 chip drivers/intel/dptf
122 ## sensor information
123 register "options.tsr[0].desc" = ""DRAM_SOC""
124 register "options.tsr[1].desc" = ""Ambient""
125 register "options.tsr[2].desc" = ""Charger""
127 ## Active Policy
128 register "policies.active" = "{
129 [0] = {
130 .target = DPTF_CPU,
131 .thresholds = {
132 TEMP_PCT(44, 76),
133 TEMP_PCT(40, 65),
134 TEMP_PCT(36, 53),
135 TEMP_PCT(32, 41),
136 TEMP_PCT(28, 29),
139 [1] = {
140 .target = DPTF_TEMP_SENSOR_1,
141 .thresholds = {
142 TEMP_PCT(44, 76),
143 TEMP_PCT(40, 65),
144 TEMP_PCT(36, 53),
145 TEMP_PCT(32, 41),
146 TEMP_PCT(28, 29),
151 ## Passive Policy
152 register "policies.passive" = "{
153 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
154 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
155 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 75, 5000),
156 [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
159 ## Critical Policy
160 register "policies.critical" = "{
161 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
162 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
163 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
164 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
167 register "controls.power_limits" = "{
168 .pl1 = {
169 .min_power = 13000,
170 .max_power = 15000,
171 .time_window_min = 28 * MSECS_PER_SEC,
172 .time_window_max = 28 * MSECS_PER_SEC,
173 .granularity = 200,
175 .pl2 = {
176 .min_power = 55000,
177 .max_power = 55000,
178 .time_window_min = 32 * MSECS_PER_SEC,
179 .time_window_max = 32 * MSECS_PER_SEC,
180 .granularity = 1000,
184 ## Charger Performance Control (Control, mA)
185 register "controls.charger_perf" = "{
186 [0] = { 255, 1700 },
187 [1] = { 24, 1500 },
188 [2] = { 16, 1000 },
189 [3] = { 8, 500 }
192 ## Fan Performance Control (Percent, Speed, Noise, Power)
193 register "controls.fan_perf" = "{
194 [0] = { 90, 6700, 220, 2200, },
195 [1] = { 80, 5800, 180, 1800, },
196 [2] = { 70, 5000, 145, 1450, },
197 [3] = { 60, 4900, 115, 1150, },
198 [4] = { 50, 3838, 90, 900, },
199 [5] = { 40, 2904, 55, 550, },
200 [6] = { 30, 2337, 30, 300, },
201 [7] = { 20, 1608, 15, 150, },
202 [8] = { 10, 800, 10, 100, },
203 [9] = { 0, 0, 0, 50, }
206 ## Fan options
207 register "options.fan.fine_grained_control" = "1"
208 register "options.fan.step_size" = "2"
210 device generic 0 alias dptf_policy on end
213 device ref tbt_pcie_rp0 on
214 probe DB_USB USB4_KB8001
216 device ref tbt_pcie_rp1 on
217 probe DB_USB USB4_KB8001
219 device ref tbt_pcie_rp2 on
220 probe DB_USB USB4_KB8001
222 device ref cnvi_wifi on
223 chip drivers/wifi/generic
224 register "wake" = "GPE0_PME_B0"
225 device generic 0 on end
228 device ref tcss_dma0 on
229 probe DB_USB USB4_KB8001
230 chip drivers/intel/usb4/retimer
231 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
232 use tcss_usb3_port2 as dfp[0].typec_port
233 device generic 0 on end
236 device ref tcss_dma1 on
237 probe DB_USB USB4_KB8001
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 pcie_rp6 off end
245 device ref pcie_rp8 on
246 chip soc/intel/common/block/pcie/rtd3
247 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)"
248 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)"
249 register "srcclk_pin" = "3"
250 device generic 0 on end
252 end #PCIE8 SD card
253 device ref i2c0 on
254 chip drivers/i2c/generic
255 register "hid" = ""10EC5682""
256 register "name" = ""RT58""
257 register "desc" = ""Headset Codec""
258 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
259 # Set the jd_src to RT5668_JD1 for jack detection
260 register "property_count" = "1"
261 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
262 register "property_list[0].name" = ""realtek,jd-src""
263 register "property_list[0].integer" = "1"
264 device i2c 1a on
265 probe AUDIO_AMP MAX98360_ALC5682I_I2S
268 chip drivers/i2c/generic
269 register "hid" = ""RTL5682""
270 register "name" = ""RT58""
271 register "desc" = ""Headset Codec""
272 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
273 # Set the jd_src to RT5668_JD1 for jack detection
274 register "property_count" = "1"
275 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
276 register "property_list[0].name" = ""realtek,jd-src""
277 register "property_list[0].integer" = "1"
278 device i2c 1a on
279 probe AUDIO_AMP MAX98360_ALC5682VS_I2S_2WAY
282 end #I2C0
283 device ref i2c1 on
284 chip drivers/i2c/tpm
285 register "hid" = ""GOOG0005""
286 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
287 device i2c 50 on end
289 end #I2C1
290 device ref i2c3 on
291 chip drivers/i2c/hid
292 register "generic.hid" = ""ELAN9008""
293 register "generic.desc" = ""ELAN Touchscreen""
294 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
295 register "generic.detect" = "1"
296 register "generic.reset_gpio" =
297 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
298 register "generic.reset_delay_ms" = "300"
299 register "generic.reset_off_delay_ms" = "1"
300 register "generic.enable_gpio" =
301 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
302 register "generic.enable_delay_ms" = "6"
303 register "generic.stop_gpio" =
304 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
305 register "generic.stop_off_delay_ms" = "1"
306 register "generic.has_power_resource" = "1"
307 register "hid_desc_reg_offset" = "0x01"
308 device i2c 10 on end
310 chip drivers/generic/gpio_keys
311 register "name" = ""PENH""
312 register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_A7)"
313 register "key.wake_gpe" = "GPE0_DW0_08"
314 register "key.wakeup_route" = "WAKEUP_ROUTE_SCI"
315 register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"
316 register "key.dev_name" = ""EJCT""
317 register "key.linux_code" = "SW_PEN_INSERTED"
318 register "key.linux_input_type" = "EV_SW"
319 register "key.label" = ""pen_eject""
320 device generic 0 on
321 probe STYLUS STYLUS_PRESENT
324 end #I2C3
325 device ref i2c5 on
326 chip drivers/i2c/generic
327 register "hid" = ""ELAN0000""
328 register "desc" = ""ELAN Touchpad""
329 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
330 register "wake" = "GPE0_DW2_14"
331 register "detect" = "1"
332 device i2c 15 on end
334 end #I2C5
335 device ref hda on
336 chip drivers/generic/max98357a
337 register "hid" = ""MX98360A""
338 register "sdmode_gpio" =
339 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
340 register "sdmode_delay" = "5"
341 device generic 0 on end
343 chip drivers/sof
344 register "spkr_tplg" = "max98360a"
345 register "jack_tplg" = "rt5682"
346 register "mic_tplg" = "_2ch_pdm1"
347 device generic 0 on end
350 device ref pch_espi on
351 chip ec/google/chromeec
352 use conn1 as mux_conn[0]
353 use conn2 as mux_conn[1]
354 device pnp 0c09.0 on end
357 device ref pmc hidden
358 chip drivers/intel/pmc_mux
359 device generic 0 on
360 chip drivers/intel/pmc_mux/conn
361 use usb2_port2 as usb2_port
362 use tcss_usb3_port2 as usb3_port
363 device generic 2 alias conn2 on end
365 chip drivers/intel/pmc_mux/conn
366 use usb2_port3 as usb2_port
367 use tcss_usb3_port3 as usb3_port
368 device generic 1 alias conn1 on end
373 device ref tcss_xhci on
374 chip drivers/usb/acpi
375 device ref tcss_root_hub on
376 chip drivers/usb/acpi
377 register "desc" = ""USB3 Type-C Port C1 (DB)""
378 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
379 register "use_custom_pld" = "true"
380 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
381 register "usb_lpm_incapable" = "true"
382 device ref tcss_usb3_port3 on end
384 chip drivers/usb/acpi
385 register "desc" = ""USB3 Type-C Port C2 (MLB)""
386 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
387 register "use_custom_pld" = "true"
388 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
389 device ref tcss_usb3_port2 on end
394 device ref xhci on
395 chip drivers/usb/acpi
396 device ref xhci_root_hub on
397 chip drivers/usb/acpi
398 register "desc" = ""USB2 Type-C Port C1 (DB)""
399 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
400 register "use_custom_pld" = "true"
401 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 1))"
402 device ref usb2_port3 on end
404 chip drivers/usb/acpi
405 register "desc" = ""USB2 Type-C Port C2 (MLB)""
406 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
407 register "use_custom_pld" = "true"
408 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
409 device ref usb2_port2 on end
411 chip drivers/usb/acpi
412 register "desc" = ""USB2 Camera""
413 register "type" = "UPC_TYPE_INTERNAL"
414 device ref usb2_port6 on end
416 chip drivers/usb/acpi
417 register "desc" = ""USB2 Type-A Port A0 (DB)""
418 register "type" = "UPC_TYPE_A"
419 register "use_custom_pld" = "true"
420 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(1, 2))"
421 device ref usb2_port9 on end
423 chip drivers/usb/acpi
424 register "desc" = ""USB2 Bluetooth""
425 register "type" = "UPC_TYPE_INTERNAL"
426 register "reset_gpio" =
427 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
428 device ref usb2_port10 on end
430 chip drivers/usb/acpi
431 register "desc" = ""USB3 Type-A Port A0 (DB)""
432 register "type" = "UPC_TYPE_USB3_A"
433 register "use_custom_pld" = "true"
434 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(1, 2))"
435 device ref usb3_port1 on end