blob: 7790230b3940211bec3bae1a6b38a0621c54ebb5 [file] [log] [blame]
Duncan Laurie9db8c252020-05-10 11:16:45 -07001fw_config
Nick Vaccaro2cc06002020-06-18 12:19:08 -07002 field DB_USB 0 3
3 option USB_ABSENT 0
4 option USB4_GEN2 1
5 option USB3_ACTIVE 2
6 option USB4_GEN3 3
7 option USB3_PASSIVE 4
8 option USB3_NO_A 5
Duncan Laurie9db8c252020-05-10 11:16:45 -07009 end
10 field THERMAL 4 7 end
11 field AUDIO 8 10
12 option NONE 0
13 option MAX98357_ALC5682I_I2S 1
14 option MAX98373_ALC5682I_I2S 2
15 option MAX98373_ALC5682_SNDW 3
Frank Wu362bcee2020-08-19 09:56:43 +080016 option MAX98373_ALC5682I_I2S_UP4 4
Duncan Laurie9db8c252020-05-10 11:16:45 -070017 end
18 field TABLETMODE 11
Nick Vaccaro2cc06002020-06-18 12:19:08 -070019 option TABLETMODE_DISABLED 0
20 option TABLETMODE_ENABLED 1
Duncan Laurie9db8c252020-05-10 11:16:45 -070021 end
Nick Vaccaro2cc06002020-06-18 12:19:08 -070022 field DB_LTE 12 13
23 option LTE_ABSENT 0
24 option LTE_PRESENT 1
25 end
Duncan Laurie14efbb42020-09-08 20:35:06 +000026 field KB_BL 14
27 option KB_BL_ABSENT 0
28 option KB_BL_PRESENT 1
29 end
30 field NUMPAD 15
31 option NUMPAD_ABSENT 0
32 option NUMPAD_PRESENT 1
33 end
Nick Vaccaro2cc06002020-06-18 12:19:08 -070034 field DB_SD 16 19
35 option SD_ABSENT 0
36 option SD_GL9755S 1
37 option SD_RTS5261 2
Duncan Laurie9db8c252020-05-10 11:16:45 -070038 end
39end
40
Nick Vaccarof9781912020-01-28 18:43:28 -080041chip soc/intel/tigerlake
42
43 device cpu_cluster 0 on
44 device lapic 0 on end
45 end
46
47 # GPE configuration
48 # Note that GPE events called out in ASL code rely on this
49 # route. i.e. If this route changes then the affected GPE
50 # offset bits also need to be changed.
51 register "pmc_gpe0_dw0" = "GPP_C"
52 register "pmc_gpe0_dw1" = "GPP_D"
53 register "pmc_gpe0_dw2" = "GPP_E"
54
Jamie Ryu154625b2020-06-12 02:59:26 -070055 # Enable heci communication
56 register "HeciEnabled" = "1"
57
Nick Vaccarof9781912020-01-28 18:43:28 -080058 # FSP configuration
Shreesh Chhabbi37086872020-06-17 12:40:42 -070059 register "SaGv" = "SaGv_Enabled"
Nick Vaccarof9781912020-01-28 18:43:28 -080060 register "SmbusEnable" = "0"
61
62 register "usb2_ports[0]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A0
63 register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A1
64 register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # M.2 WWAN
65 register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Cl
66 register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # M.2 Camera
Nick Vaccarof9781912020-01-28 18:43:28 -080067 register "usb2_ports[8]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Co
68 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # M.2 Bluetooth
69
70 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC1)" # USB3/2 Type A port A0
71 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC2)" # USB3/2 Type A port A1
72 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # M.2 WWAN
73 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" # M.2 Camera
74
Nick Vaccarof9781912020-01-28 18:43:28 -080075 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
76 register "gen1_dec" = "0x00fc0801"
77 register "gen2_dec" = "0x000c0201"
78 # EC memory map range is 0x900-0x9ff
79 register "gen3_dec" = "0x00fc0901"
80
81 # Enable NVMe PCIE 9 using clk 0
82 register "PcieRpEnable[8]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070083 register "PcieRpLtrEnable[8]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -080084 register "PcieClkSrcUsage[0]" = "8"
85 register "PcieClkSrcClkReq[0]" = "0"
86
Venkata Krishna Nimmagaddac34bb382020-01-15 10:13:26 -080087 # Enable Optane PCIE 11 using clk 0
88 register "PcieRpEnable[10]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070089 register "PcieRpLtrEnable[10]" = "1"
Venkata Krishna Nimmagaddac34bb382020-01-15 10:13:26 -080090 register "HybridStorageMode" = "1"
91
Nick Vaccarof9781912020-01-28 18:43:28 -080092 # Enable SD Card PCIE 8 using clk 3
93 register "PcieRpEnable[7]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070094 register "PcieRpLtrEnable[7]" = "1"
nick_xr_chenf446b812020-06-30 09:34:33 +080095 register "PcieRpHotPlug[7]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -080096 register "PcieClkSrcUsage[3]" = "7"
97 register "PcieClkSrcClkReq[3]" = "3"
98
99 # Enable WLAN PCIE 7 using clk 1
100 register "PcieRpEnable[6]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -0700101 register "PcieRpLtrEnable[6]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -0800102 register "PcieClkSrcUsage[1]" = "6"
103 register "PcieClkSrcClkReq[1]" = "1"
104
Nick Vaccarof9781912020-01-28 18:43:28 -0800105 # Mark SRCCLKREQ pins as unused that are routed for a Non-Clkreq functionality
Alex Levina53dbd42020-03-09 16:52:59 -0700106 register "PcieClkSrcUsage[2]" = "0xFF"
Nick Vaccarof9781912020-01-28 18:43:28 -0800107 register "PcieClkSrcUsage[4]" = "0xFF"
108 register "PcieClkSrcUsage[5]" = "0xFF"
109 register "PcieClkSrcUsage[6]" = "0xFF"
110
111 # Enable SATA
112 register "SataEnable" = "1"
113 register "SataMode" = "0"
114 register "SataSalpSupport" = "1"
115 register "SataPortsEnable[0]" = "0"
116 register "SataPortsEnable[1]" = "1"
117 register "SataPortsDevSlp[0]" = "0"
Wonkyu Kimb8bfe142020-04-21 17:07:57 -0700118 register "SataPortsDevSlp[1]" = "1"
Shaunak Saha60e6f6e2020-06-15 23:59:52 -0700119 register "SataPortsEnableDitoConfig[1]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -0800120
121 register "SerialIoI2cMode" = "{
122 [PchSerialIoIndexI2C0] = PchSerialIoPci,
123 [PchSerialIoIndexI2C1] = PchSerialIoPci,
124 [PchSerialIoIndexI2C2] = PchSerialIoPci,
125 [PchSerialIoIndexI2C3] = PchSerialIoPci,
126 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
127 [PchSerialIoIndexI2C5] = PchSerialIoPci,
128 }"
129
130 register "SerialIoGSpiMode" = "{
131 [PchSerialIoIndexGSPI0] = PchSerialIoPci,
132 [PchSerialIoIndexGSPI1] = PchSerialIoPci,
133 [PchSerialIoIndexGSPI2] = PchSerialIoDisabled,
134 [PchSerialIoIndexGSPI3] = PchSerialIoDisabled,
135 }"
136
137 register "SerialIoGSpiCsMode" = "{
138 [PchSerialIoIndexGSPI0] = 1,
139 [PchSerialIoIndexGSPI1] = 1,
140 [PchSerialIoIndexGSPI2] = 0,
141 [PchSerialIoIndexGSPI3] = 0,
142 }"
143
144 register "SerialIoGSpiCsState" = "{
Caveh Jalali85e4c432020-09-12 03:05:48 -0700145 [PchSerialIoIndexGSPI0] = 1,
146 [PchSerialIoIndexGSPI1] = 1,
Nick Vaccarof9781912020-01-28 18:43:28 -0800147 [PchSerialIoIndexGSPI2] = 0,
148 [PchSerialIoIndexGSPI3] = 0,
149 }"
150
151 register "SerialIoUartMode" = "{
152 [PchSerialIoIndexUART0] = PchSerialIoPci,
153 [PchSerialIoIndexUART1] = PchSerialIoDisabled,
154 [PchSerialIoIndexUART2] = PchSerialIoDisabled,
155 }"
156
Jamie Ryu80535952020-08-18 19:10:43 -0700157 # Set the minimum assertion width
158 # PchPmSlpS3MinAssert:
159 # - 1: 60us
160 # - 2: 1ms
161 # - 3: 50ms
162 # - 4: 2s
163 register "PchPmSlpS3MinAssert" = "3" # 50ms
164 # PchPmSlpS4MinAssert:
165 # - 1 = 1s
166 # - 2 = 2s
167 # - 3 = 3s
168 # - 4 = 4s
169 register "PchPmSlpS4MinAssert" = "1" # 1s
170 # PchPmSlpSusMinAssert:
171 # - 1 = 0ms
172 # - 2 = 500ms
173 # - 3 = 1s
174 # - 4 = 4s
175 register "PchPmSlpSusMinAssert" = "3" # 1s
176 # PchPmSlpAMinAssert
177 # - 1 = 0ms
178 # - 2 = 4s
179 # - 3 = 98ms
180 # - 4 = 2s
181 register "PchPmSlpAMinAssert" = "3" # 98ms
182
183 # NOTE: Duration programmed in the below register should never be smaller than the
184 # stretch duration programmed in the following registers -
185 # - GEN_PMCON_A.SLP_S3_MIN_ASST_WDTH (PchPmSlpS3MinAssert)
186 # - GEN_PMCON_A.S4MAW (PchPmSlpS4MinAssert)
187 # - PM_CFG.SLP_A_MIN_ASST_WDTH (PchPmSlpAMinAssert)
188 # - PM_CFG.SLP_LAN_MIN_ASST_WDTH
189 register "PchPmPwrCycDur" = "1" # 1s
190
Srinidhi N Kaushik22d5b072020-03-06 10:47:17 -0800191 # HD Audio
192 register "PchHdaDspEnable" = "1"
193 register "PchHdaAudioLinkHdaEnable" = "0"
Duncan Laurie4dffa9c2020-05-10 11:20:20 -0700194 register "PchHdaAudioLinkDmicEnable[0]" = "0"
195 register "PchHdaAudioLinkDmicEnable[1]" = "0"
196 register "PchHdaAudioLinkSspEnable[0]" = "0"
197 register "PchHdaAudioLinkSspEnable[1]" = "0"
198 register "PchHdaAudioLinkSndwEnable[0]" = "0"
199 register "PchHdaAudioLinkSndwEnable[1]" = "0"
Srinidhi N Kaushik22d5b072020-03-06 10:47:17 -0800200
Brandon Breitenstein01ec7132020-03-06 10:51:30 -0800201 # TCSS USB3
202 register "TcssXhciEn" = "1"
Brandon Breitenstein1df3b702020-08-10 15:02:41 -0700203 register "TcssAuxOri" = "0"
204 register "IomTypeCPortPadCfg[0]" = "0x09000000"
205 register "IomTypeCPortPadCfg[1]" = "0x09000000"
Brandon Breitensteinc9a34512020-06-10 17:04:29 -0700206 register "IomTypeCPortPadCfg[2]" = "0x09000000"
207 register "IomTypeCPortPadCfg[3]" = "0x09000000"
208 register "IomTypeCPortPadCfg[4]" = "0x09000000"
209 register "IomTypeCPortPadCfg[5]" = "0x09000000"
210 register "IomTypeCPortPadCfg[6]" = "0x09000000"
211 register "IomTypeCPortPadCfg[7]" = "0x09000000"
Brandon Breitensteinb7911c82020-04-06 15:34:19 -0700212
Nick Vaccarof9781912020-01-28 18:43:28 -0800213 # DP port
214 register "DdiPortAConfig" = "1" # eDP
215 register "DdiPortBConfig" = "0"
216
217 register "DdiPortAHpd" = "1"
218 register "DdiPortBHpd" = "1"
219 register "DdiPortCHpd" = "0"
220 register "DdiPort1Hpd" = "1"
221 register "DdiPort2Hpd" = "1"
222 register "DdiPort3Hpd" = "0"
223 register "DdiPort4Hpd" = "0"
224
225 register "DdiPortADdc" = "0"
226 register "DdiPortBDdc" = "1"
227 register "DdiPortCDdc" = "0"
228 register "DdiPort1Ddc" = "0"
229 register "DdiPort2Ddc" = "0"
230 register "DdiPort3Ddc" = "0"
231 register "DdiPort4Ddc" = "0"
232
Nick Vaccarof9781912020-01-28 18:43:28 -0800233 # Enable "Intel Speed Shift Technology"
234 register "speed_shift_enable" = "1"
235
236 # Enable S0ix
237 register "s0ix_enable" = "1"
238
Sumeet R Pawnikar7d6bc602020-05-08 19:22:07 +0530239 # Enable DPTF
240 register "dptf_enable" = "1"
241
Sumeet R Pawnikar1a621502020-07-20 15:44:59 +0530242 register "power_limits_config[POWER_LIMITS_U_2_CORE]" = "{
243 .tdp_pl1_override = 15,
244 .tdp_pl2_override = 38,
245 .tdp_pl4 = 71,
246 }"
Tim Wawrzynczak2dcca0f2020-06-16 10:50:47 -0600247 register "power_limits_config[POWER_LIMITS_U_4_CORE]" = "{
Sumeet R Pawnikar7d6bc602020-05-08 19:22:07 +0530248 .tdp_pl1_override = 15,
249 .tdp_pl2_override = 60,
Tim Wawrzynczak2dcca0f2020-06-16 10:50:47 -0600250 .tdp_pl4 = 105,
251 }"
Sumeet R Pawnikar1a621502020-07-20 15:44:59 +0530252 register "power_limits_config[POWER_LIMITS_Y_2_CORE]" = "{
253 .tdp_pl1_override = 9,
254 .tdp_pl2_override = 35,
255 .tdp_pl4 = 66,
256 }"
257 register "power_limits_config[POWER_LIMITS_Y_4_CORE]" = "{
258 .tdp_pl1_override = 9,
259 .tdp_pl2_override = 40,
260 .tdp_pl4 = 83,
Sumeet R Pawnikar7d6bc602020-05-08 19:22:07 +0530261 }"
262
263 register "Device4Enable" = "1"
264
Sumeet R Pawnikar9f9b97e2020-06-30 14:18:41 +0530265 register "tcc_offset" = "10" # TCC of 90
266
John Zhaoc8e30972020-09-21 13:20:57 -0700267 register "CnviBtAudioOffload" = "FORCE_ENABLE"
268
Nick Vaccarof9781912020-01-28 18:43:28 -0800269 # Intel Common SoC Config
270 #+-------------------+---------------------------+
271 #| Field | Value |
272 #+-------------------+---------------------------+
273 #| chipset_lockdown | CHIPSET_LOCKDOWN_COREBOOT |
274 #| GSPI0 | cr50 TPM. Early init is |
275 #| | required to set up a BAR |
276 #| | for TPM communication |
277 #| | before memory is up |
Alex Levin3bc41cf2020-03-06 10:54:10 -0800278 #| GSPI1 | Fingerprint MCU |
Nick Vaccarof9781912020-01-28 18:43:28 -0800279 #| I2C0 | Audio |
280 #| I2C1 | Touchscreen |
281 #| I2C2 | WLAN, SAR0 |
282 #| I2C3 | Camera, SAR1 |
283 #| I2C5 | Trackpad |
284 #+-------------------+---------------------------+
285 register "common_soc_config" = "{
286 .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT,
287 .gspi[0] = {
288 .speed_mhz = 1,
289 .early_init = 1,
290 },
291 .i2c[0] = {
292 .speed = I2C_SPEED_FAST,
293 },
294 .i2c[1] = {
295 .speed = I2C_SPEED_FAST,
296 },
297 .i2c[2] = {
298 .speed = I2C_SPEED_FAST,
299 },
300 .i2c[3] = {
301 .speed = I2C_SPEED_FAST,
302 },
303 .i2c[5] = {
304 .speed = I2C_SPEED_FAST,
305 },
306 }"
307
Venkata Krishna Nimmagadda7368da32020-06-09 00:11:34 -0700308 register "ext_fivr_settings" = "{
309 .configure_ext_fivr = 1,
310 .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX,
311 .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX,
312 .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
313 FIVR_VOLTAGE_MIN_ACTIVE |
314 FIVR_VOLTAGE_MIN_RETENTION,
315 .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
316 FIVR_VOLTAGE_MIN_ACTIVE |
317 FIVR_VOLTAGE_MIN_RETENTION,
318 .v1p05_icc_max_ma = 500,
319 .vnn_sx_voltage_mv = 1250,
320 }"
321
Nick Vaccarof9781912020-01-28 18:43:28 -0800322 device domain 0 on
323 #From EDS(575683)
324 device pci 00.0 on end # Host Bridge 0x9A14:U/0x9A12:Y
325 device pci 02.0 on end # Graphics
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600326 device pci 04.0 on
327 # Default DPTF Policy for all Volteer boards if not overridden
328 chip drivers/intel/dptf
329 ## Active Policy
Tim Wawrzynczaka5cb5642020-09-08 13:14:09 -0600330 register "policies.active" = "{
331 [0] = {.target = DPTF_CPU,
332 .thresholds = {TEMP_PCT(85, 90),
333 TEMP_PCT(80, 69),
334 TEMP_PCT(75, 56),
335 TEMP_PCT(70, 46),
336 TEMP_PCT(65, 36),}},
337 [1] = {.target = DPTF_TEMP_SENSOR_0,
338 .thresholds = {TEMP_PCT(50, 90),
339 TEMP_PCT(47, 69),
340 TEMP_PCT(45, 56),
341 TEMP_PCT(42, 46),
342 TEMP_PCT(39, 36),}},
343 [2] = {.target = DPTF_TEMP_SENSOR_1,
344 .thresholds = {TEMP_PCT(50, 90),
345 TEMP_PCT(47, 69),
346 TEMP_PCT(45, 56),
347 TEMP_PCT(42, 46),
348 TEMP_PCT(39, 36),}},
349 [3] = {.target = DPTF_TEMP_SENSOR_2,
350 .thresholds = {TEMP_PCT(50, 90),
351 TEMP_PCT(47, 69),
352 TEMP_PCT(45, 56),
353 TEMP_PCT(42, 46),
354 TEMP_PCT(39, 36),}},
355 [4] = {.target = DPTF_TEMP_SENSOR_3,
356 .thresholds = {TEMP_PCT(50, 90),
357 TEMP_PCT(47, 69),
358 TEMP_PCT(45, 56),
359 TEMP_PCT(42, 46),
360 TEMP_PCT(39, 36),}}}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600361
362 ## Passive Policy
Tim Wawrzynczaka5cb5642020-09-08 13:14:09 -0600363 register "policies.passive" = "{
364 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
365 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 65, 6000),
366 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_0, 65, 6000),
367 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 65, 6000),
368 [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 65, 6000)}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600369
370 ## Critical Policy
Tim Wawrzynczaka5cb5642020-09-08 13:14:09 -0600371 register "policies.critical" = "{
372 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
373 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 75, SHUTDOWN),
374 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 75, SHUTDOWN),
375 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 75, SHUTDOWN),
376 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 75, SHUTDOWN)}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600377
378 ## Power Limits Control
379 # 10-15W PL1 in 200mW increments, avg over 28-32s interval
380 # PL2 is fixed at 64W, avg over 28-32s interval
Tim Wawrzynczaka5cb5642020-09-08 13:14:09 -0600381 register "controls.power_limits" = "{
382 .pl1 = {.min_power = 3000,
383 .max_power = 15000,
384 .time_window_min = 28 * MSECS_PER_SEC,
385 .time_window_max = 32 * MSECS_PER_SEC,
386 .granularity = 200,},
387 .pl2 = {.min_power = 15000,
388 .max_power = 60000,
389 .time_window_min = 28 * MSECS_PER_SEC,
390 .time_window_max = 32 * MSECS_PER_SEC,
391 .granularity = 1000,}}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600392
393 ## Charger Performance Control (Control, mA)
Tim Wawrzynczaka5cb5642020-09-08 13:14:09 -0600394 register "controls.charger_perf" = "{
395 [0] = { 255, 1700 },
396 [1] = { 24, 1500 },
397 [2] = { 16, 1000 },
398 [3] = { 8, 500 }}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600399
400 ## Fan Performance Control (Percent, Speed, Noise, Power)
Tim Wawrzynczaka5cb5642020-09-08 13:14:09 -0600401 register "controls.fan_perf" = "{
402 [0] = { 90, 6700, 220, 2200, },
403 [1] = { 80, 5800, 180, 1800, },
404 [2] = { 70, 5000, 145, 1450, },
405 [3] = { 60, 4900, 115, 1150, },
406 [4] = { 50, 3838, 90, 900, },
407 [5] = { 40, 2904, 55, 550, },
408 [6] = { 30, 2337, 30, 300, },
409 [7] = { 20, 1608, 15, 150, },
410 [8] = { 10, 800, 10, 100, },
411 [9] = { 0, 0, 0, 50, }}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600412
413 # Fan options
414 register "options.fan.fine_grained_control" = "1"
415 register "options.fan.step_size" = "2"
416
417 device generic 0 on end
418 end
419 end # DPTF 0x9A03
Nick Vaccarof9781912020-01-28 18:43:28 -0800420 device pci 05.0 off end # IPU 0x9A19
421 device pci 06.0 off end # PEG60 0x9A09
Brandon Breitenstein228d0e52020-07-23 14:40:14 -0700422 device pci 07.0 on # TBT_PCIe0 0x9A23
423 probe DB_USB USB4_GEN2
424 probe DB_USB USB4_GEN3
425 end
426 device pci 07.1 on # TBT_PCIe1 0x9A25
427 probe DB_USB USB4_GEN2
428 probe DB_USB USB4_GEN3
429 end
John Zhao5d79a0c2020-05-13 16:44:38 -0700430 device pci 07.2 off end # TBT_PCIe2 0x9A27
431 device pci 07.3 off end # TBT_PCIe3 0x9A29
Nick Vaccarof9781912020-01-28 18:43:28 -0800432 device pci 08.0 on end # GNA 0x9A11
433 device pci 09.0 off end # NPK 0x9A33
434 device pci 0a.0 off end # Crash-log SRAM 0x9A0D
435 device pci 0d.0 on end # USB xHCI 0x9A13
436 device pci 0d.1 off end # USB xDCI (OTG) 0x9A15
Brandon Breitenstein228d0e52020-07-23 14:40:14 -0700437 device pci 0d.2 on # TBT DMA0 0x9A1B
438 probe DB_USB USB4_GEN2
439 probe DB_USB USB4_GEN3
440 end
Nick Vaccarof9781912020-01-28 18:43:28 -0800441 device pci 0d.3 off end # TBT DMA1 0x9A1D
442 device pci 0e.0 off end # VMD 0x9A0B
443
444 # From PCH EDS(576591)
Nick Vaccarof9781912020-01-28 18:43:28 -0800445 device pci 10.2 on end # CNVi: BT 0xA0F5 - A0F7
446 device pci 10.6 off end # THC0 0xA0D0
447 device pci 10.7 off end # THC1 0xA0D1
448
Nick Vaccarof9781912020-01-28 18:43:28 -0800449 device pci 12.0 off end # SensorHUB 0xA0FC
450 device pci 12.6 off end # GSPI2 0x34FB
451
452 device pci 13.0 off end # GSPI3 0xA0FD
Nick Vaccarof9781912020-01-28 18:43:28 -0800453
454 device pci 14.0 on end # USB3.1 xHCI 0xA0ED
455 device pci 14.1 off end # USB3.1 xDCI 0xA0EE
456 device pci 14.2 on end # Shared RAM 0xA0EF
Srinidhi N Kaushikac7d6b42020-03-05 17:19:51 -0800457 chip drivers/intel/wifi
458 register "wake" = "GPE0_PME_B0"
459 device pci 14.3 on end # CNVi: WiFi 0xA0F0 - A0F3
460 end
Nick Vaccarof3d399e2020-06-18 18:30:31 -0700461 device pci 15.0 on end # I2C #0 0xA0E8
462 device pci 15.1 on end # I2C1 0xA0E9
463 device pci 15.2 on end # I2C2 0xA0EA
Nick Vaccarof9781912020-01-28 18:43:28 -0800464 device pci 15.3 on end # I2C3 0xA0EB
465
466 device pci 16.0 on end # HECI1 0xA0E0
467 device pci 16.1 off end # HECI2 0xA0E1
468 device pci 16.2 off end # CSME 0xA0E2
469 device pci 16.3 off end # CSME 0xA0E3
470 device pci 16.4 off end # HECI3 0xA0E4
471 device pci 16.5 off end # HECI4 0xA0E5
472
473 device pci 17.0 on end # SATA 0xA0D3
474
475 device pci 19.0 on end # I2C4 0xA0C5
Nick Vaccarof3d399e2020-06-18 18:30:31 -0700476 device pci 19.1 on end # I2C5 0xA0C6
Nick Vaccarof9781912020-01-28 18:43:28 -0800477 device pci 19.2 off end # UART2 0xA0C7
478
479 device pci 1c.0 on end # RP1 0xA0B8
480 device pci 1c.1 off end # RP2 0xA0B9
481 device pci 1c.2 off end # RP3 0xA0BA
482 device pci 1c.3 off end # RP4 0xA0BB
483 device pci 1c.4 off end # RP5 0xA0BC
Alex Levina53dbd42020-03-09 16:52:59 -0700484 device pci 1c.5 off end # WWAN RP6 0xA0BD
Nick Vaccarof9781912020-01-28 18:43:28 -0800485 device pci 1c.6 on end # RP7 0xA0BE
486 device pci 1c.7 on end # SD Card RP8 0xA0BF
487
488 device pci 1d.0 on end # RP9 0xA0B0
489 device pci 1d.1 off end # RP10 0xA0B1
Venkata Krishna Nimmagaddac34bb382020-01-15 10:13:26 -0800490 device pci 1d.2 on end # RP11 0xA0B2
Nick Vaccarof9781912020-01-28 18:43:28 -0800491 device pci 1d.3 off end # RP12 0xA0B3
Nick Vaccarof9781912020-01-28 18:43:28 -0800492
493 device pci 1e.0 on end # UART0 0xA0A8
494 device pci 1e.1 off end # UART1 0xA0A9
495 device pci 1e.2 on
496 chip drivers/spi/acpi
497 register "hid" = "ACPI_DT_NAMESPACE_HID"
498 register "compat_string" = ""google,cr50""
499 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_C21_IRQ)"
500 device spi 0 on end
501 end
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600502 end # GSPI0 0xA0AA
Alex Levin3bc41cf2020-03-06 10:54:10 -0800503 device pci 1e.3 on
504 chip drivers/spi/acpi
505 register "name" = ""CRFP""
506 register "hid" = "ACPI_DT_NAMESPACE_HID"
507 register "uid" = "1"
508 register "compat_string" = ""google,cros-ec-spi""
509 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPP_C20)"
510 device spi 0 on end
511 end # FPMCU
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600512 end # GSPI1 0xA0AB
Nick Vaccaro9a3486e2020-04-17 10:14:57 -0700513 device pci 1f.0 on
514 chip ec/google/chromeec
515 device pnp 0c09.0 on end
516 end
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600517 end # eSPI 0xA080 - A09F
Nick Vaccarof9781912020-01-28 18:43:28 -0800518 device pci 1f.1 off end # P2SB 0xA0A0
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600519 device pci 1f.2 hidden end # PMC 0xA0A1
Duncan Laurie4dffa9c2020-05-10 11:20:20 -0700520 device pci 1f.3 on end # Intel HD audio 0xA0C8-A0CF
Nick Vaccarof9781912020-01-28 18:43:28 -0800521 device pci 1f.4 off end # SMBus 0xA0A3
522 device pci 1f.5 on end # SPI 0xA0A4
523 device pci 1f.6 off end # GbE 0x15E1/0x15E2
524 device pci 1f.7 off end # TH 0xA0A6
525 end
526end