blob: ffae2f0f9e0311cb6cfb32168bf1fa2bcb5ee597 [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
16 end
17 field TABLETMODE 11
Nick Vaccaro2cc06002020-06-18 12:19:08 -070018 option TABLETMODE_DISABLED 0
19 option TABLETMODE_ENABLED 1
Duncan Laurie9db8c252020-05-10 11:16:45 -070020 end
Nick Vaccaro2cc06002020-06-18 12:19:08 -070021 field DB_LTE 12 13
22 option LTE_ABSENT 0
23 option LTE_PRESENT 1
24 end
25 field DB_SD 16 19
26 option SD_ABSENT 0
27 option SD_GL9755S 1
28 option SD_RTS5261 2
Duncan Laurie9db8c252020-05-10 11:16:45 -070029 end
30end
31
Nick Vaccarof9781912020-01-28 18:43:28 -080032chip soc/intel/tigerlake
33
34 device cpu_cluster 0 on
35 device lapic 0 on end
36 end
37
38 # GPE configuration
39 # Note that GPE events called out in ASL code rely on this
40 # route. i.e. If this route changes then the affected GPE
41 # offset bits also need to be changed.
42 register "pmc_gpe0_dw0" = "GPP_C"
43 register "pmc_gpe0_dw1" = "GPP_D"
44 register "pmc_gpe0_dw2" = "GPP_E"
45
Jamie Ryu154625b2020-06-12 02:59:26 -070046 # Enable heci communication
47 register "HeciEnabled" = "1"
48
Nick Vaccarof9781912020-01-28 18:43:28 -080049 # FSP configuration
Shreesh Chhabbi37086872020-06-17 12:40:42 -070050 register "SaGv" = "SaGv_Enabled"
Nick Vaccarof9781912020-01-28 18:43:28 -080051 register "SmbusEnable" = "0"
52
53 register "usb2_ports[0]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A0
54 register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A1
55 register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # M.2 WWAN
56 register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Cl
57 register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # M.2 Camera
58 register "usb2_ports[5]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used
59 register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used
60 register "usb2_ports[7]" = "USB2_PORT_EMPTY" # Type-A / Type-C Not Used
61 register "usb2_ports[8]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Co
62 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # M.2 Bluetooth
63
64 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC1)" # USB3/2 Type A port A0
65 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC2)" # USB3/2 Type A port A1
66 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # M.2 WWAN
67 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" # M.2 Camera
68
Nick Vaccarof9781912020-01-28 18:43:28 -080069 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
70 register "gen1_dec" = "0x00fc0801"
71 register "gen2_dec" = "0x000c0201"
72 # EC memory map range is 0x900-0x9ff
73 register "gen3_dec" = "0x00fc0901"
74
75 # Enable NVMe PCIE 9 using clk 0
76 register "PcieRpEnable[8]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070077 register "PcieRpLtrEnable[8]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -080078 register "PcieClkSrcUsage[0]" = "8"
79 register "PcieClkSrcClkReq[0]" = "0"
80
Venkata Krishna Nimmagaddac34bb382020-01-15 10:13:26 -080081 # Enable Optane PCIE 11 using clk 0
82 register "PcieRpEnable[10]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070083 register "PcieRpLtrEnable[10]" = "1"
Venkata Krishna Nimmagaddac34bb382020-01-15 10:13:26 -080084 register "HybridStorageMode" = "1"
85
Nick Vaccarof9781912020-01-28 18:43:28 -080086 # Enable SD Card PCIE 8 using clk 3
87 register "PcieRpEnable[7]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070088 register "PcieRpLtrEnable[7]" = "1"
nick_xr_chenf446b812020-06-30 09:34:33 +080089 register "PcieRpHotPlug[7]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -080090 register "PcieClkSrcUsage[3]" = "7"
91 register "PcieClkSrcClkReq[3]" = "3"
92
93 # Enable WLAN PCIE 7 using clk 1
94 register "PcieRpEnable[6]" = "1"
Wonkyu Kime3bf8ba2020-04-07 23:34:12 -070095 register "PcieRpLtrEnable[6]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -080096 register "PcieClkSrcUsage[1]" = "6"
97 register "PcieClkSrcClkReq[1]" = "1"
98
Nick Vaccarof9781912020-01-28 18:43:28 -080099 # Mark SRCCLKREQ pins as unused that are routed for a Non-Clkreq functionality
Alex Levina53dbd42020-03-09 16:52:59 -0700100 register "PcieClkSrcUsage[2]" = "0xFF"
Nick Vaccarof9781912020-01-28 18:43:28 -0800101 register "PcieClkSrcUsage[4]" = "0xFF"
102 register "PcieClkSrcUsage[5]" = "0xFF"
103 register "PcieClkSrcUsage[6]" = "0xFF"
104
105 # Enable SATA
106 register "SataEnable" = "1"
107 register "SataMode" = "0"
108 register "SataSalpSupport" = "1"
109 register "SataPortsEnable[0]" = "0"
110 register "SataPortsEnable[1]" = "1"
111 register "SataPortsDevSlp[0]" = "0"
Wonkyu Kimb8bfe142020-04-21 17:07:57 -0700112 register "SataPortsDevSlp[1]" = "1"
Shaunak Saha60e6f6e2020-06-15 23:59:52 -0700113 register "SataPortsEnableDitoConfig[1]" = "1"
Nick Vaccarof9781912020-01-28 18:43:28 -0800114
115 register "SerialIoI2cMode" = "{
116 [PchSerialIoIndexI2C0] = PchSerialIoPci,
117 [PchSerialIoIndexI2C1] = PchSerialIoPci,
118 [PchSerialIoIndexI2C2] = PchSerialIoPci,
119 [PchSerialIoIndexI2C3] = PchSerialIoPci,
120 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
121 [PchSerialIoIndexI2C5] = PchSerialIoPci,
122 }"
123
124 register "SerialIoGSpiMode" = "{
125 [PchSerialIoIndexGSPI0] = PchSerialIoPci,
126 [PchSerialIoIndexGSPI1] = PchSerialIoPci,
127 [PchSerialIoIndexGSPI2] = PchSerialIoDisabled,
128 [PchSerialIoIndexGSPI3] = PchSerialIoDisabled,
129 }"
130
131 register "SerialIoGSpiCsMode" = "{
132 [PchSerialIoIndexGSPI0] = 1,
133 [PchSerialIoIndexGSPI1] = 1,
134 [PchSerialIoIndexGSPI2] = 0,
135 [PchSerialIoIndexGSPI3] = 0,
136 }"
137
138 register "SerialIoGSpiCsState" = "{
139 [PchSerialIoIndexGSPI0] = 0,
140 [PchSerialIoIndexGSPI1] = 0,
141 [PchSerialIoIndexGSPI2] = 0,
142 [PchSerialIoIndexGSPI3] = 0,
143 }"
144
145 register "SerialIoUartMode" = "{
146 [PchSerialIoIndexUART0] = PchSerialIoPci,
147 [PchSerialIoIndexUART1] = PchSerialIoDisabled,
148 [PchSerialIoIndexUART2] = PchSerialIoDisabled,
149 }"
150
Srinidhi N Kaushik22d5b072020-03-06 10:47:17 -0800151 # HD Audio
152 register "PchHdaDspEnable" = "1"
153 register "PchHdaAudioLinkHdaEnable" = "0"
Duncan Laurie4dffa9c2020-05-10 11:20:20 -0700154 register "PchHdaAudioLinkDmicEnable[0]" = "0"
155 register "PchHdaAudioLinkDmicEnable[1]" = "0"
156 register "PchHdaAudioLinkSspEnable[0]" = "0"
157 register "PchHdaAudioLinkSspEnable[1]" = "0"
158 register "PchHdaAudioLinkSndwEnable[0]" = "0"
159 register "PchHdaAudioLinkSndwEnable[1]" = "0"
Srinidhi N Kaushik22d5b072020-03-06 10:47:17 -0800160
Brandon Breitenstein01ec7132020-03-06 10:51:30 -0800161 # TCSS USB3
162 register "TcssXhciEn" = "1"
Brandon Breitenstein1df3b702020-08-10 15:02:41 -0700163 register "TcssAuxOri" = "0"
164 register "IomTypeCPortPadCfg[0]" = "0x09000000"
165 register "IomTypeCPortPadCfg[1]" = "0x09000000"
Brandon Breitensteinc9a34512020-06-10 17:04:29 -0700166 register "IomTypeCPortPadCfg[2]" = "0x09000000"
167 register "IomTypeCPortPadCfg[3]" = "0x09000000"
168 register "IomTypeCPortPadCfg[4]" = "0x09000000"
169 register "IomTypeCPortPadCfg[5]" = "0x09000000"
170 register "IomTypeCPortPadCfg[6]" = "0x09000000"
171 register "IomTypeCPortPadCfg[7]" = "0x09000000"
Brandon Breitensteinb7911c82020-04-06 15:34:19 -0700172
Nick Vaccarof9781912020-01-28 18:43:28 -0800173 # DP port
174 register "DdiPortAConfig" = "1" # eDP
175 register "DdiPortBConfig" = "0"
176
177 register "DdiPortAHpd" = "1"
178 register "DdiPortBHpd" = "1"
179 register "DdiPortCHpd" = "0"
180 register "DdiPort1Hpd" = "1"
181 register "DdiPort2Hpd" = "1"
182 register "DdiPort3Hpd" = "0"
183 register "DdiPort4Hpd" = "0"
184
185 register "DdiPortADdc" = "0"
186 register "DdiPortBDdc" = "1"
187 register "DdiPortCDdc" = "0"
188 register "DdiPort1Ddc" = "0"
189 register "DdiPort2Ddc" = "0"
190 register "DdiPort3Ddc" = "0"
191 register "DdiPort4Ddc" = "0"
192
193 # Disable PM to allow for shorter irq pulses
194 register "gpio_override_pm" = "1"
195 register "gpio_pm[0]" = "0"
196 register "gpio_pm[1]" = "0"
197 register "gpio_pm[2]" = "0"
198 register "gpio_pm[3]" = "0"
199 register "gpio_pm[4]" = "0"
200
201 # Enable "Intel Speed Shift Technology"
202 register "speed_shift_enable" = "1"
203
204 # Enable S0ix
205 register "s0ix_enable" = "1"
206
Sumeet R Pawnikar7d6bc602020-05-08 19:22:07 +0530207 # Enable DPTF
208 register "dptf_enable" = "1"
209
Sumeet R Pawnikar1a621502020-07-20 15:44:59 +0530210 register "power_limits_config[POWER_LIMITS_U_2_CORE]" = "{
211 .tdp_pl1_override = 15,
212 .tdp_pl2_override = 38,
213 .tdp_pl4 = 71,
214 }"
Tim Wawrzynczak2dcca0f2020-06-16 10:50:47 -0600215 register "power_limits_config[POWER_LIMITS_U_4_CORE]" = "{
Sumeet R Pawnikar7d6bc602020-05-08 19:22:07 +0530216 .tdp_pl1_override = 15,
217 .tdp_pl2_override = 60,
Tim Wawrzynczak2dcca0f2020-06-16 10:50:47 -0600218 .tdp_pl4 = 105,
219 }"
Sumeet R Pawnikar1a621502020-07-20 15:44:59 +0530220 register "power_limits_config[POWER_LIMITS_Y_2_CORE]" = "{
221 .tdp_pl1_override = 9,
222 .tdp_pl2_override = 35,
223 .tdp_pl4 = 66,
224 }"
225 register "power_limits_config[POWER_LIMITS_Y_4_CORE]" = "{
226 .tdp_pl1_override = 9,
227 .tdp_pl2_override = 40,
228 .tdp_pl4 = 83,
Sumeet R Pawnikar7d6bc602020-05-08 19:22:07 +0530229 }"
230
231 register "Device4Enable" = "1"
232
Sumeet R Pawnikar9f9b97e2020-06-30 14:18:41 +0530233 register "tcc_offset" = "10" # TCC of 90
234
Nick Vaccarof9781912020-01-28 18:43:28 -0800235 # Intel Common SoC Config
236 #+-------------------+---------------------------+
237 #| Field | Value |
238 #+-------------------+---------------------------+
239 #| chipset_lockdown | CHIPSET_LOCKDOWN_COREBOOT |
240 #| GSPI0 | cr50 TPM. Early init is |
241 #| | required to set up a BAR |
242 #| | for TPM communication |
243 #| | before memory is up |
Alex Levin3bc41cf2020-03-06 10:54:10 -0800244 #| GSPI1 | Fingerprint MCU |
Nick Vaccarof9781912020-01-28 18:43:28 -0800245 #| I2C0 | Audio |
246 #| I2C1 | Touchscreen |
247 #| I2C2 | WLAN, SAR0 |
248 #| I2C3 | Camera, SAR1 |
249 #| I2C5 | Trackpad |
250 #+-------------------+---------------------------+
251 register "common_soc_config" = "{
252 .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT,
253 .gspi[0] = {
254 .speed_mhz = 1,
255 .early_init = 1,
256 },
257 .i2c[0] = {
258 .speed = I2C_SPEED_FAST,
259 },
260 .i2c[1] = {
261 .speed = I2C_SPEED_FAST,
262 },
263 .i2c[2] = {
264 .speed = I2C_SPEED_FAST,
265 },
266 .i2c[3] = {
267 .speed = I2C_SPEED_FAST,
268 },
269 .i2c[5] = {
270 .speed = I2C_SPEED_FAST,
271 },
272 }"
273
Venkata Krishna Nimmagadda7368da32020-06-09 00:11:34 -0700274 register "ext_fivr_settings" = "{
275 .configure_ext_fivr = 1,
276 .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX,
277 .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX,
278 .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
279 FIVR_VOLTAGE_MIN_ACTIVE |
280 FIVR_VOLTAGE_MIN_RETENTION,
281 .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL |
282 FIVR_VOLTAGE_MIN_ACTIVE |
283 FIVR_VOLTAGE_MIN_RETENTION,
284 .v1p05_icc_max_ma = 500,
285 .vnn_sx_voltage_mv = 1250,
286 }"
287
Nick Vaccarof9781912020-01-28 18:43:28 -0800288 device domain 0 on
289 #From EDS(575683)
290 device pci 00.0 on end # Host Bridge 0x9A14:U/0x9A12:Y
291 device pci 02.0 on end # Graphics
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600292 device pci 04.0 on
293 # Default DPTF Policy for all Volteer boards if not overridden
294 chip drivers/intel/dptf
295 ## Active Policy
296 register "policies.active[0]" = "{.target=DPTF_CPU,
297 .thresholds={TEMP_PCT(85, 90),
298 TEMP_PCT(80, 69),
299 TEMP_PCT(75, 56),
300 TEMP_PCT(70, 46),
301 TEMP_PCT(65, 36),}}"
302 register "policies.active[1]" = "{.target=DPTF_TEMP_SENSOR_0,
303 .thresholds={TEMP_PCT(50, 90),
304 TEMP_PCT(47, 69),
305 TEMP_PCT(45, 56),
306 TEMP_PCT(42, 46),
307 TEMP_PCT(39, 36),}}"
308 register "policies.active[2]" = "{.target=DPTF_TEMP_SENSOR_1,
309 .thresholds={TEMP_PCT(50, 90),
310 TEMP_PCT(47, 69),
311 TEMP_PCT(45, 56),
312 TEMP_PCT(42, 46),
313 TEMP_PCT(39, 36),}}"
314 register "policies.active[3]" = "{.target=DPTF_TEMP_SENSOR_2,
315 .thresholds={TEMP_PCT(50, 90),
316 TEMP_PCT(47, 69),
317 TEMP_PCT(45, 56),
318 TEMP_PCT(42, 46),
319 TEMP_PCT(39, 36),}}"
Tim Wawrzynczak6d391e62020-07-15 10:52:42 -0600320 register "policies.active[4]" = "{.target=DPTF_TEMP_SENSOR_3,
321 .thresholds={TEMP_PCT(50, 90),
322 TEMP_PCT(47, 69),
323 TEMP_PCT(45, 56),
324 TEMP_PCT(42, 46),
325 TEMP_PCT(39, 36),}}"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600326
327 ## Passive Policy
328 register "policies.passive[0]" = "DPTF_PASSIVE(CPU, CPU, 95, 5000)"
Tim Wawrzynczak6d391e62020-07-15 10:52:42 -0600329 register "policies.passive[1]" = "DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 65, 6000)"
330 register "policies.passive[2]" = "DPTF_PASSIVE(CHARGER, TEMP_SENSOR_0, 65, 6000)"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600331 register "policies.passive[3]" = "DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 65, 6000)"
Tim Wawrzynczak6d391e62020-07-15 10:52:42 -0600332 register "policies.passive[4]" = "DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 65, 6000)"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600333
334 ## Critical Policy
335 register "policies.critical[0]" = "DPTF_CRITICAL(CPU, 105, SHUTDOWN)"
336 register "policies.critical[1]" = "DPTF_CRITICAL(TEMP_SENSOR_0, 75, SHUTDOWN)"
337 register "policies.critical[2]" = "DPTF_CRITICAL(TEMP_SENSOR_1, 75, SHUTDOWN)"
338 register "policies.critical[3]" = "DPTF_CRITICAL(TEMP_SENSOR_2, 75, SHUTDOWN)"
Tim Wawrzynczak6d391e62020-07-15 10:52:42 -0600339 register "policies.critical[4]" = "DPTF_CRITICAL(TEMP_SENSOR_3, 75, SHUTDOWN)"
Tim Wawrzynczak07ac2ec2020-05-29 15:58:19 -0600340
341 ## Power Limits Control
342 # 10-15W PL1 in 200mW increments, avg over 28-32s interval
343 # PL2 is fixed at 64W, avg over 28-32s interval
344 register "controls.power_limits.pl1" = "{
345 .min_power = 3000,
346 .max_power = 15000,
347 .time_window_min = 28 * MSECS_PER_SEC,
348 .time_window_max = 32 * MSECS_PER_SEC,
349 .granularity = 200,}"
350 register "controls.power_limits.pl2" = "{
351 .min_power = 15000,
352 .max_power = 60000,
353 .time_window_min = 28 * MSECS_PER_SEC,
354 .time_window_max = 32 * MSECS_PER_SEC,
355 .granularity = 1000,}"
356
357 ## Charger Performance Control (Control, mA)
358 register "controls.charger_perf[0]" = "{ 255, 1700 }"
359 register "controls.charger_perf[1]" = "{ 24, 1500 }"
360 register "controls.charger_perf[2]" = "{ 16, 1000 }"
361 register "controls.charger_perf[3]" = "{ 8, 500 }"
362
363 ## Fan Performance Control (Percent, Speed, Noise, Power)
364 register "controls.fan_perf[0]" = "{ 90, 6700, 220, 2200, }"
365 register "controls.fan_perf[1]" = "{ 80, 5800, 180, 1800, }"
366 register "controls.fan_perf[2]" = "{ 70, 5000, 145, 1450, }"
367 register "controls.fan_perf[3]" = "{ 60, 4900, 115, 1150, }"
368 register "controls.fan_perf[4]" = "{ 50, 3838, 90, 900, }"
369 register "controls.fan_perf[5]" = "{ 40, 2904, 55, 550, }"
370 register "controls.fan_perf[6]" = "{ 30, 2337, 30, 300, }"
371 register "controls.fan_perf[7]" = "{ 20, 1608, 15, 150, }"
372 register "controls.fan_perf[8]" = "{ 10, 800, 10, 100, }"
373 register "controls.fan_perf[9]" = "{ 0, 0, 0, 50, }"
374
375 # Fan options
376 register "options.fan.fine_grained_control" = "1"
377 register "options.fan.step_size" = "2"
378
379 device generic 0 on end
380 end
381 end # DPTF 0x9A03
Nick Vaccarof9781912020-01-28 18:43:28 -0800382 device pci 05.0 off end # IPU 0x9A19
383 device pci 06.0 off end # PEG60 0x9A09
Brandon Breitenstein228d0e52020-07-23 14:40:14 -0700384 device pci 07.0 on # TBT_PCIe0 0x9A23
385 probe DB_USB USB4_GEN2
386 probe DB_USB USB4_GEN3
387 end
388 device pci 07.1 on # TBT_PCIe1 0x9A25
389 probe DB_USB USB4_GEN2
390 probe DB_USB USB4_GEN3
391 end
John Zhao5d79a0c2020-05-13 16:44:38 -0700392 device pci 07.2 off end # TBT_PCIe2 0x9A27
393 device pci 07.3 off end # TBT_PCIe3 0x9A29
Nick Vaccarof9781912020-01-28 18:43:28 -0800394 device pci 08.0 on end # GNA 0x9A11
395 device pci 09.0 off end # NPK 0x9A33
396 device pci 0a.0 off end # Crash-log SRAM 0x9A0D
397 device pci 0d.0 on end # USB xHCI 0x9A13
398 device pci 0d.1 off end # USB xDCI (OTG) 0x9A15
Brandon Breitenstein228d0e52020-07-23 14:40:14 -0700399 device pci 0d.2 on # TBT DMA0 0x9A1B
400 probe DB_USB USB4_GEN2
401 probe DB_USB USB4_GEN3
402 end
Nick Vaccarof9781912020-01-28 18:43:28 -0800403 device pci 0d.3 off end # TBT DMA1 0x9A1D
404 device pci 0e.0 off end # VMD 0x9A0B
405
406 # From PCH EDS(576591)
Nick Vaccarof9781912020-01-28 18:43:28 -0800407 device pci 10.2 on end # CNVi: BT 0xA0F5 - A0F7
408 device pci 10.6 off end # THC0 0xA0D0
409 device pci 10.7 off end # THC1 0xA0D1
410
Nick Vaccarof9781912020-01-28 18:43:28 -0800411 device pci 12.0 off end # SensorHUB 0xA0FC
412 device pci 12.6 off end # GSPI2 0x34FB
413
414 device pci 13.0 off end # GSPI3 0xA0FD
Nick Vaccarof9781912020-01-28 18:43:28 -0800415
416 device pci 14.0 on end # USB3.1 xHCI 0xA0ED
417 device pci 14.1 off end # USB3.1 xDCI 0xA0EE
418 device pci 14.2 on end # Shared RAM 0xA0EF
Srinidhi N Kaushikac7d6b42020-03-05 17:19:51 -0800419 chip drivers/intel/wifi
420 register "wake" = "GPE0_PME_B0"
421 device pci 14.3 on end # CNVi: WiFi 0xA0F0 - A0F3
422 end
Nick Vaccarof3d399e2020-06-18 18:30:31 -0700423 device pci 15.0 on end # I2C #0 0xA0E8
424 device pci 15.1 on end # I2C1 0xA0E9
425 device pci 15.2 on end # I2C2 0xA0EA
Nick Vaccarof9781912020-01-28 18:43:28 -0800426 device pci 15.3 on end # I2C3 0xA0EB
427
428 device pci 16.0 on end # HECI1 0xA0E0
429 device pci 16.1 off end # HECI2 0xA0E1
430 device pci 16.2 off end # CSME 0xA0E2
431 device pci 16.3 off end # CSME 0xA0E3
432 device pci 16.4 off end # HECI3 0xA0E4
433 device pci 16.5 off end # HECI4 0xA0E5
434
435 device pci 17.0 on end # SATA 0xA0D3
436
437 device pci 19.0 on end # I2C4 0xA0C5
Nick Vaccarof3d399e2020-06-18 18:30:31 -0700438 device pci 19.1 on end # I2C5 0xA0C6
Nick Vaccarof9781912020-01-28 18:43:28 -0800439 device pci 19.2 off end # UART2 0xA0C7
440
441 device pci 1c.0 on end # RP1 0xA0B8
442 device pci 1c.1 off end # RP2 0xA0B9
443 device pci 1c.2 off end # RP3 0xA0BA
444 device pci 1c.3 off end # RP4 0xA0BB
445 device pci 1c.4 off end # RP5 0xA0BC
Alex Levina53dbd42020-03-09 16:52:59 -0700446 device pci 1c.5 off end # WWAN RP6 0xA0BD
Nick Vaccarof9781912020-01-28 18:43:28 -0800447 device pci 1c.6 on end # RP7 0xA0BE
448 device pci 1c.7 on end # SD Card RP8 0xA0BF
449
450 device pci 1d.0 on end # RP9 0xA0B0
451 device pci 1d.1 off end # RP10 0xA0B1
Venkata Krishna Nimmagaddac34bb382020-01-15 10:13:26 -0800452 device pci 1d.2 on end # RP11 0xA0B2
Nick Vaccarof9781912020-01-28 18:43:28 -0800453 device pci 1d.3 off end # RP12 0xA0B3
Nick Vaccarof9781912020-01-28 18:43:28 -0800454
455 device pci 1e.0 on end # UART0 0xA0A8
456 device pci 1e.1 off end # UART1 0xA0A9
457 device pci 1e.2 on
458 chip drivers/spi/acpi
459 register "hid" = "ACPI_DT_NAMESPACE_HID"
460 register "compat_string" = ""google,cr50""
461 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_C21_IRQ)"
462 device spi 0 on end
463 end
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600464 end # GSPI0 0xA0AA
Alex Levin3bc41cf2020-03-06 10:54:10 -0800465 device pci 1e.3 on
466 chip drivers/spi/acpi
467 register "name" = ""CRFP""
468 register "hid" = "ACPI_DT_NAMESPACE_HID"
469 register "uid" = "1"
470 register "compat_string" = ""google,cros-ec-spi""
471 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPP_C20)"
472 device spi 0 on end
473 end # FPMCU
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600474 end # GSPI1 0xA0AB
Nick Vaccaro9a3486e2020-04-17 10:14:57 -0700475 device pci 1f.0 on
476 chip ec/google/chromeec
477 device pnp 0c09.0 on end
478 end
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600479 end # eSPI 0xA080 - A09F
Nick Vaccarof9781912020-01-28 18:43:28 -0800480 device pci 1f.1 off end # P2SB 0xA0A0
Tim Wawrzynczak6d20d0c2020-05-13 17:00:33 -0600481 device pci 1f.2 hidden end # PMC 0xA0A1
Duncan Laurie4dffa9c2020-05-10 11:20:20 -0700482 device pci 1f.3 on end # Intel HD audio 0xA0C8-A0CF
Nick Vaccarof9781912020-01-28 18:43:28 -0800483 device pci 1f.4 off end # SMBus 0xA0A3
484 device pci 1f.5 on end # SPI 0xA0A4
485 device pci 1f.6 off end # GbE 0x15E1/0x15E2
486 device pci 1f.7 off end # TH 0xA0A6
487 end
488end