mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / src / mainboard / google / brya / variants / gimble4es / overridetree.cb
blobeada864b73ae72ab1c957dcd17c7a70f65666df1
1 fw_config
2 field DB_USB 0 3
3 option USB_ABSENT 0
4 option USB3_PS8815 1
5 end
6 field DB_SD 4 5
7 option SD_ABSENT 0
8 option SD_GL9750H 1
9 end
10 field KB_BL 7 7
11 option KB_BL_ABSENT 0
12 option KB_BL_PRESENT 1
13 end
14 field AUDIO 8 10
15 option AUDIO_UNKNOWN 0
16 option MAX98390_ALC5682I_I2S 1
17 option MAX98390_ALC5682I_I2S_SSP1 2
18 end
19 field DB_LTE 11 12
20 option LTE_ABSENT 0
21 end
22 end
23 chip soc/intel/alderlake
24 register "sagv" = "SaGv_Enabled"
25 register "platform_pmax" = "143"
26 register "tcss_aux_ori" = "1"
27 # Acoustic settings
28 register "acoustic_noise_mitigation" = "1"
29 register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_8"
30 register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_8"
31 register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1"
32 register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1"
34 register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
35 register "usb2_ports[1]" = "USB2_PORT_MAX_TYPE_C(OC1)" # set MAX to USB2_C1 for eye diagram
36 register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable USB2_C2
37 register "usb2_ports[3]" = "USB2_PORT_EMPTY" # M.2 WWAN
38 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A MLB Port
39 register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Type-A DB Port
40 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type A MLB port
41 device domain 0 on
42 device ref igpu on
43 chip drivers/gfx/generic
44 register "device_count" = "6"
45 # DDIA for eDP
46 register "device[0].name" = ""LCD0""
47 # Internal panel on the first port of the graphics chip
48 register "device[0].type" = "panel"
49 # DDIB for HDMI
50 register "device[1].name" = ""DD01""
51 # TCP0 (DP-1) for port C0
52 register "device[2].name" = ""DD02""
53 register "device[2].use_pld" = "true"
54 register "device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
55 # TCP1 (DP-2) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP1
56 register "device[3].name" = ""DD03""
57 # TCP2 (DP-3) for port C1
58 register "device[4].name" = ""DD04""
59 register "device[4].use_pld" = "true"
60 register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
61 # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3
62 register "device[5].name" = ""DD05""
63 device generic 0 on end
64 end
65 end # Integrated Graphics Device
66 device ref dtt on
67 chip drivers/intel/dptf
68 ## sensor information
69 register "options.tsr[0].desc" = ""DRAM""
70 register "options.tsr[1].desc" = ""Fan""
71 register "options.tsr[2].desc" = ""Charger""
72 # TODO: below values are initial reference values only
74 ## Passive Policy
75 register "policies.passive" = "{
76 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
77 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
78 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
80 ## Critical Policy
81 register "policies.critical" = "{
82 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
83 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
84 [2] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
86 register "controls.power_limits" = "{
87 .pl1 = {
88 .min_power = 12000,
89 .max_power = 15000,
90 .time_window_min = 28 * MSECS_PER_SEC,
91 .time_window_max = 32 * MSECS_PER_SEC,
92 .granularity = 200,
94 .pl2 = {
95 .min_power = 55000,
96 .max_power = 55000,
97 .time_window_min = 28 * MSECS_PER_SEC,
98 .time_window_max = 32 * MSECS_PER_SEC,
99 .granularity = 1000,
102 ## Charger Performance Control (Control, mA)
103 register "controls.charger_perf" = "{
104 [0] = { 255, 1700 },
105 [1] = { 24, 1500 },
106 [2] = { 16, 1000 },
107 [3] = { 8, 500 }
109 device generic 0 alias dptf_policy on end
112 device ref cnvi_wifi on
113 chip drivers/wifi/generic
114 register "wake" = "GPE0_PME_B0"
115 device generic 0 on end
118 device ref pcie_rp8 on
119 chip soc/intel/common/block/pcie/rtd3
120 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)"
121 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)"
122 register "srcclk_pin" = "3"
123 device generic 0 on end
125 end #PCIE8 SD card
126 device ref i2c0 on
127 chip drivers/i2c/generic
128 register "hid" = ""10EC5682""
129 register "name" = ""RT58""
130 register "desc" = ""Headset Codec""
131 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
132 # Set the jd_src to RT5668_JD1 for jack detection
133 register "property_count" = "1"
134 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
135 register "property_list[0].name" = ""realtek,jd-src""
136 register "property_list[0].integer" = "1"
137 device i2c 1a on
138 probe AUDIO MAX98390_ALC5682I_I2S
141 chip drivers/i2c/generic
142 register "hid" = ""RTL5682""
143 register "name" = ""RT58""
144 register "desc" = ""Headset Codec""
145 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
146 # Set the jd_src to RT5668_JD1 for jack detection
147 register "property_count" = "1"
148 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
149 register "property_list[0].name" = ""realtek,jd-src""
150 register "property_list[0].integer" = "1"
151 device i2c 1a on
152 probe AUDIO MAX98390_ALC5682I_I2S_SSP1
155 chip drivers/i2c/max98390
156 register "desc" = ""MAX98390 Speaker Amp 0""
157 register "uid" = "0"
158 register "name" = ""MXW0""
159 register "r0_calib_key" = ""dsm_calib_r0_0""
160 register "temperature_calib_key" = ""dsm_calib_temp_0""
161 register "dsm_param_file_name" = ""dsm_param_R""
162 register "vmon_slot_no" = "0"
163 register "imon_slot_no" = "1"
164 device i2c 0x38 on
167 chip drivers/i2c/max98390
168 register "desc" = ""MAX98390 Speaker Amp 1""
169 register "uid" = "1"
170 register "name" = ""MXW1""
171 register "r0_calib_key" = ""dsm_calib_r0_1""
172 register "temperature_calib_key" = ""dsm_calib_temp_1""
173 register "dsm_param_file_name" = ""dsm_param_L""
174 register "vmon_slot_no" = "1"
175 register "imon_slot_no" = "0"
176 device i2c 0x3c on
179 end #I2C0
180 device ref i2c1 on
181 chip drivers/i2c/hid
182 register "generic.hid" = ""ELAN9050""
183 register "generic.desc" = ""ELAN Touchscreen""
184 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
185 register "generic.detect" = "1"
186 register "generic.reset_gpio" =
187 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
188 register "generic.reset_delay_ms" = "200"
189 register "generic.reset_off_delay_ms" = "1"
190 register "generic.enable_gpio" =
191 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
192 register "generic.enable_delay_ms" = "6"
193 register "generic.stop_gpio" =
194 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
195 register "generic.stop_off_delay_ms" = "1"
196 register "generic.has_power_resource" = "1"
197 register "hid_desc_reg_offset" = "0x01"
198 device i2c 0x15 on end
201 device ref i2c3 on
202 chip drivers/i2c/tpm
203 register "hid" = ""GOOG0005""
204 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
205 device i2c 50 on end
208 device ref i2c5 on
209 chip drivers/i2c/generic
210 register "hid" = ""ELAN0000""
211 register "desc" = ""ELAN Touchpad""
212 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
213 register "wake" = "GPE0_DW2_14"
214 register "detect" = "1"
215 device i2c 0x15 on end
218 device ref gspi1 on
219 chip drivers/spi/acpi
220 register "name" = ""CRFP""
221 register "hid" = "ACPI_DT_NAMESPACE_HID"
222 register "uid" = "1"
223 register "compat_string" = ""google,cros-ec-spi""
224 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
225 register "wake" = "GPE0_DW2_15"
226 register "has_power_resource" = "1"
227 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)"
228 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)"
229 register "enable_delay_ms" = "3"
230 device spi 0 hidden end
231 end # FPMCU
233 device ref pch_espi on
234 chip ec/google/chromeec
235 use conn0 as mux_conn[0]
236 use conn1 as mux_conn[1]
237 device pnp 0c09.0 on end
240 device ref pmc hidden
241 chip drivers/intel/pmc_mux
242 device generic 0 on
243 chip drivers/intel/pmc_mux/conn
244 use usb2_port1 as usb2_port
245 use tcss_usb3_port1 as usb3_port
246 device generic 0 alias conn0 on end
248 chip drivers/intel/pmc_mux/conn
249 use usb2_port2 as usb2_port
250 use tcss_usb3_port3 as usb3_port
251 device generic 1 alias conn1 on end
256 device ref tcss_xhci on
257 chip drivers/usb/acpi
258 device ref tcss_root_hub on
259 chip drivers/usb/acpi
260 register "desc" = ""USB3 Type-C Port C0 (MLB)""
261 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
262 register "use_custom_pld" = "true"
263 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
264 device ref tcss_usb3_port1 on end
266 chip drivers/usb/acpi
267 register "desc" = ""USB3 Type-C Port C1 (DB)""
268 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
269 register "use_custom_pld" = "true"
270 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
271 register "usb_lpm_incapable" = "true"
272 device ref tcss_usb3_port3 on end
277 device ref xhci on
278 chip drivers/usb/acpi
279 device ref xhci_root_hub on
280 chip drivers/usb/acpi
281 register "desc" = ""USB2 Type-C Port C0 (MLB)""
282 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
283 register "use_custom_pld" = "true"
284 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
285 device ref usb2_port1 on end
287 chip drivers/usb/acpi
288 register "desc" = ""USB2 Type-C Port C1 (DB)""
289 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
290 register "use_custom_pld" = "true"
291 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
292 device ref usb2_port2 on end
294 chip drivers/usb/acpi
295 register "desc" = ""USB2 Camera""
296 register "type" = "UPC_TYPE_INTERNAL"
297 register "privacy_gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_D13)"
298 device ref usb2_port6 on end
300 chip drivers/usb/acpi
301 register "desc" = ""USB2 Type-A Port (MLB)""
302 register "type" = "UPC_TYPE_A"
303 register "use_custom_pld" = "true"
304 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
305 device ref usb2_port8 on end
307 chip drivers/usb/acpi
308 register "desc" = ""USB2 Bluetooth""
309 register "type" = "UPC_TYPE_INTERNAL"
310 register "reset_gpio" =
311 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
312 device ref usb2_port10 on end
314 chip drivers/usb/acpi
315 register "desc" = ""USB3 Type-A Port (MLB)""
316 register "type" = "UPC_TYPE_USB3_A"
317 register "use_custom_pld" = "true"
318 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
319 device ref usb3_port2 on end