cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / brya / variants / gimble / overridetree.cb
blob0de70e5e195063efed5e85e2675ffdf2bdb77c4d
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 # As per Intel Advisory doc#723158, the change is required to prevent possible
35 # display flickering issue.
36 register "usb2_phy_sus_pg_disable" = "1"
38 register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}"
39 register "usb2_ports[1]" = "USB2_PORT_MAX_TYPE_C(OC1)" # set MAX to USB2_C1 for eye diagram
40 register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable USB2_C2
41 register "usb2_ports[3]" = "USB2_PORT_EMPTY" # M.2 WWAN
42 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A MLB Port
43 register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Type-A DB Port
44 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type A MLB port
45 register "tcss_ports[1]" = "TCSS_PORT_EMPTY"
46 # Intel Common SoC Config
47 #+-------------------+---------------------------+
48 #| Field | Value |
49 #+-------------------+---------------------------+
50 #| GSPI1 | Fingerprint MCU |
51 #| I2C0 | Audio and WFC |
52 #| I2C1 | cr50 TPM. Early init is |
53 #| | required to set up a BAR |
54 #| | for TPM communication |
55 #| I2C2 | SAR0 |
56 #| I2C3 | Touchscreen |
57 #| | |
58 #| | |
59 #| I2C5 | Trackpad |
60 #+-------------------+---------------------------+
61 register "common_soc_config" = "{
62 .i2c[1] = {
63 .early_init = 1,
64 .speed = I2C_SPEED_FAST,
65 .rise_time_ns = 600,
66 .fall_time_ns = 400,
67 .data_hold_time_ns = 50,
69 .i2c[3] = {
70 .speed = I2C_SPEED_FAST,
71 .rise_time_ns = 650,
72 .fall_time_ns = 400,
73 .data_hold_time_ns = 50,
76 device domain 0 on
77 device ref igpu on
78 chip drivers/gfx/generic
79 register "device_count" = "6"
80 # DDIA for eDP
81 register "device[0].name" = ""LCD""
82 # Internal panel on the first port of the graphics chip
83 register "device[0].addr" = "0x80010400"
84 # DDIB for HDMI
85 register "device[1].name" = ""DD01""
86 # TCP0 (DP-1) for port C0
87 register "device[2].name" = ""DD02""
88 register "device[2].use_pld" = "true"
89 register "device[2].pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
90 # TCP1 (DP-2) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP1
91 register "device[3].name" = ""DD03""
92 # TCP2 (DP-3) for port C1
93 register "device[4].name" = ""DD04""
94 register "device[4].use_pld" = "true"
95 register "device[4].pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
96 # TCP3 (DP-4) is unused for any ports but still enumerated in the kernel, so GFX device is added for TCP3
97 register "device[5].name" = ""DD05""
98 device generic 0 on end
99 end
100 end # Integrated Graphics Device
101 device ref dtt on
102 chip drivers/intel/dptf
103 ## sensor information
104 register "options.tsr[0].desc" = ""DRAM""
105 register "options.tsr[1].desc" = ""Fan""
106 register "options.tsr[2].desc" = ""Charger""
107 # TODO: below values are initial reference values only
109 ## Passive Policy
110 register "policies.passive" = "{
111 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
112 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
113 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000),
115 ## Critical Policy
116 register "policies.critical" = "{
117 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
118 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
119 [2] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN),
121 register "controls.power_limits" = "{
122 .pl1 = {
123 .min_power = 12000,
124 .max_power = 15000,
125 .time_window_min = 28 * MSECS_PER_SEC,
126 .time_window_max = 32 * MSECS_PER_SEC,
127 .granularity = 200,
129 .pl2 = {
130 .min_power = 55000,
131 .max_power = 55000,
132 .time_window_min = 28 * MSECS_PER_SEC,
133 .time_window_max = 32 * MSECS_PER_SEC,
134 .granularity = 1000,
137 ## Charger Performance Control (Control, mA)
138 register "controls.charger_perf" = "{
139 [0] = { 255, 1700 },
140 [1] = { 24, 1500 },
141 [2] = { 16, 1000 },
142 [3] = { 8, 500 }
144 device generic 0 alias dptf_policy on end
147 device ref cnvi_wifi on
148 chip drivers/wifi/generic
149 register "wake" = "GPE0_PME_B0"
150 device generic 0 on end
153 device ref pcie_rp6 off end
154 device ref pcie_rp8 on
155 chip soc/intel/common/block/pcie/rtd3
156 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)"
157 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)"
158 register "srcclk_pin" = "3"
159 device generic 0 on end
161 end #PCIE8 SD card
162 device ref i2c0 on
163 chip drivers/i2c/generic
164 register "hid" = ""10EC5682""
165 register "name" = ""RT58""
166 register "desc" = ""Headset Codec""
167 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
168 # Set the jd_src to RT5668_JD1 for jack detection
169 register "property_count" = "1"
170 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
171 register "property_list[0].name" = ""realtek,jd-src""
172 register "property_list[0].integer" = "1"
173 device i2c 1a on
174 probe AUDIO MAX98390_ALC5682I_I2S
177 chip drivers/i2c/generic
178 register "hid" = ""RTL5682""
179 register "name" = ""RT58""
180 register "desc" = ""Headset Codec""
181 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
182 # Set the jd_src to RT5668_JD1 for jack detection
183 register "property_count" = "1"
184 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
185 register "property_list[0].name" = ""realtek,jd-src""
186 register "property_list[0].integer" = "1"
187 device i2c 1a on
188 probe AUDIO MAX98390_ALC5682I_I2S_SSP1
191 chip drivers/i2c/max98390
192 register "desc" = ""MAX98390 Speaker Amp 0""
193 register "uid" = "0"
194 register "name" = ""MXW0""
195 register "r0_calib_key" = ""dsm_calib_r0_0""
196 register "temperature_calib_key" = ""dsm_calib_temp_0""
197 register "dsm_param_file_name" = ""dsm_param_R""
198 register "vmon_slot_no" = "0"
199 register "imon_slot_no" = "1"
200 device i2c 0x38 on
203 chip drivers/i2c/max98390
204 register "desc" = ""MAX98390 Speaker Amp 1""
205 register "uid" = "1"
206 register "name" = ""MXW1""
207 register "r0_calib_key" = ""dsm_calib_r0_1""
208 register "temperature_calib_key" = ""dsm_calib_temp_1""
209 register "dsm_param_file_name" = ""dsm_param_L""
210 register "vmon_slot_no" = "1"
211 register "imon_slot_no" = "0"
212 device i2c 0x3c on
215 end #I2C0
216 device ref i2c1 on
217 chip drivers/i2c/tpm
218 register "hid" = ""GOOG0005""
219 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
220 device i2c 50 on end
223 device ref i2c3 on
224 chip drivers/i2c/hid
225 register "generic.hid" = ""ELAN9050""
226 register "generic.desc" = ""ELAN Touchscreen""
227 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
228 register "generic.detect" = "1"
229 register "generic.reset_gpio" =
230 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
231 register "generic.reset_delay_ms" = "200"
232 register "generic.reset_off_delay_ms" = "1"
233 register "generic.enable_gpio" =
234 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
235 register "generic.enable_delay_ms" = "6"
236 register "generic.stop_gpio" =
237 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
238 register "generic.stop_off_delay_ms" = "1"
239 register "generic.has_power_resource" = "1"
240 register "hid_desc_reg_offset" = "0x01"
241 device i2c 0x15 on end
244 device ref i2c5 on
245 chip drivers/i2c/generic
246 register "hid" = ""ELAN0000""
247 register "desc" = ""ELAN Touchpad""
248 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
249 register "wake" = "GPE0_DW2_14"
250 register "detect" = "1"
251 device i2c 0x15 on end
254 device ref gspi1 on
255 chip drivers/spi/acpi
256 register "name" = ""CRFP""
257 register "hid" = "ACPI_DT_NAMESPACE_HID"
258 register "uid" = "1"
259 register "compat_string" = ""google,cros-ec-spi""
260 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
261 register "wake" = "GPE0_DW2_15"
262 register "has_power_resource" = "1"
263 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)"
264 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)"
265 register "enable_delay_ms" = "3"
266 device spi 0 hidden end
267 end # FPMCU
269 device ref pch_espi on
270 chip ec/google/chromeec
271 use conn0 as mux_conn[0]
272 use conn1 as mux_conn[1]
273 device pnp 0c09.0 on end
276 device ref pmc hidden
277 chip drivers/intel/pmc_mux
278 device generic 0 on
279 chip drivers/intel/pmc_mux/conn
280 use usb2_port1 as usb2_port
281 use tcss_usb3_port1 as usb3_port
282 device generic 0 alias conn0 on end
284 chip drivers/intel/pmc_mux/conn
285 use usb2_port2 as usb2_port
286 use tcss_usb3_port3 as usb3_port
287 device generic 1 alias conn1 on end
292 device ref tcss_xhci on
293 chip drivers/usb/acpi
294 device ref tcss_root_hub on
295 chip drivers/usb/acpi
296 register "desc" = ""USB3 Type-C Port C0 (MLB)""
297 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
298 register "use_custom_pld" = "true"
299 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
300 device ref tcss_usb3_port1 on end
302 chip drivers/usb/acpi
303 register "desc" = ""USB3 Type-C Port C1 (DB)""
304 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
305 register "use_custom_pld" = "true"
306 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
307 register "usb_lpm_incapable" = "true"
308 device ref tcss_usb3_port3 on end
313 device ref xhci on
314 chip drivers/usb/acpi
315 device ref xhci_root_hub on
316 chip drivers/usb/acpi
317 register "desc" = ""USB2 Type-C Port C0 (MLB)""
318 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
319 register "use_custom_pld" = "true"
320 register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))"
321 device ref usb2_port1 on end
323 chip drivers/usb/acpi
324 register "desc" = ""USB2 Type-C Port C1 (DB)""
325 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
326 register "use_custom_pld" = "true"
327 register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(2, 1))"
328 device ref usb2_port2 on end
330 chip drivers/usb/acpi
331 register "desc" = ""USB2 Camera""
332 register "type" = "UPC_TYPE_INTERNAL"
333 register "privacy_gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_D13)"
334 device ref usb2_port6 on end
336 chip drivers/usb/acpi
337 register "desc" = ""USB2 Type-A Port (MLB)""
338 register "type" = "UPC_TYPE_A"
339 register "use_custom_pld" = "true"
340 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
341 device ref usb2_port8 on end
343 chip drivers/usb/acpi
344 register "desc" = ""USB2 Bluetooth""
345 register "type" = "UPC_TYPE_INTERNAL"
346 register "reset_gpio" =
347 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
348 device ref usb2_port10 on end
350 chip drivers/usb/acpi
351 register "desc" = ""USB3 Type-A Port (MLB)""
352 register "type" = "UPC_TYPE_USB3_A"
353 register "use_custom_pld" = "true"
354 register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
355 device ref usb3_port2 on end