blob: e9d5a3544ad3951a5b5d63c028fd45074bcc7cee [file] [log] [blame]
Shelley Chen243dc392017-03-15 15:25:48 -07001chip soc/intel/skylake
2
Michael Niewöhner97e21d32020-12-28 00:49:33 +01003 register "panel_cfg" = "{
4 .up_delay_ms = 200,
5 .down_delay_ms = 50,
6 .cycle_delay_ms = 500,
7 .backlight_on_delay_ms = 1,
8 .backlight_off_delay_ms = 200,
9 .backlight_pwm_hz = 200,
10 }"
Nico Huber55c57772018-12-16 03:39:35 +010011
Shelley Chen243dc392017-03-15 15:25:48 -070012 # Deep Sx states
Duncan Laurie1fe32d62017-04-10 21:02:13 -070013 register "deep_s3_enable_ac" = "0"
14 register "deep_s3_enable_dc" = "0"
15 register "deep_s5_enable_ac" = "1"
16 register "deep_s5_enable_dc" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -070017 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN"
18
Matt DeVillier89393d62019-01-05 02:16:39 -060019 register "eist_enable" = "1"
20
Shelley Chenda6e4f62017-06-29 16:13:33 -070021 # Mapping of USB port # to device
22 #+----------------+-------+-----------------------------------+
23 #| Device | Port# | Rev |
24 #+----------------+-------+-----------------------------------+
25 #| USB C | 1 | 2/3 |
26 #| USB A Rear | 2 | 2/3 |
27 #| USB A Front | 3 | 2/3 |
28 #| USB A Front | 4 | 2/3 |
29 #| USB A Rear | 5 | 2 on base celeron, 2/3 all others |
30 #| USB A Rear | 6 | 2 on base celeron, 2/3 all others |
31 #| Bluetooth | 7 | |
32 #| Daughter Board | 8 | |
33 #+----------------+-------+-----------------------------------+
34
35 # Bitmap for Wake Enable on USB attach/detach
36 register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(2) | \
37 USB_PORT_WAKE_ENABLE(3) | \
38 USB_PORT_WAKE_ENABLE(4) | \
39 USB_PORT_WAKE_ENABLE(5) | \
40 USB_PORT_WAKE_ENABLE(6)"
41 register "usb3_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(2) | \
42 USB_PORT_WAKE_ENABLE(3) | \
43 USB_PORT_WAKE_ENABLE(4) | \
44 USB_PORT_WAKE_ENABLE(5) | \
45 USB_PORT_WAKE_ENABLE(6)"
46
Shelley Chen243dc392017-03-15 15:25:48 -070047 # 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 "gpe0_dw0" = "GPP_B"
52 register "gpe0_dw1" = "GPP_D"
53 register "gpe0_dw2" = "GPP_E"
54
55 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
56 register "gen1_dec" = "0x00fc0801"
57 register "gen2_dec" = "0x000c0201"
58 # EC memory map range is 0x900-0x9ff
59 register "gen3_dec" = "0x00fc0901"
60
Tsai, Gaggeryb2a3ac42017-08-22 10:55:13 +080061 # Enable DPTF
62 register "dptf_enable" = "1"
63
Shelley Chen6dd9e592017-12-20 10:43:25 -080064 # Enable S0ix
65 register "s0ix_enable" = "1"
66
Shelley Chen243dc392017-03-15 15:25:48 -070067 # FSP Configuration
Kevin Chiua63f4c42018-01-08 09:54:08 +080068 register "SataSalpSupport" = "0"
Kane Chen91ea9f02017-12-13 11:35:54 +080069 register "SataMode" = "0"
David Wu0f829052017-12-11 14:08:11 +080070 register "SataPortsEnable[0]" = "1"
Shelley Chene8365aa2017-04-24 13:11:43 -070071 register "SataPortsEnable[1]" = "1"
Gaggery Tsaibc37c672017-09-29 13:40:04 +080072 register "SataPortsDevSlp[1]" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -070073 register "DspEnable" = "1"
74 register "IoBufferOwnership" = "3"
Shelley Chen243dc392017-03-15 15:25:48 -070075 register "SsicPortEnable" = "0"
Shelley Chenc5168832017-03-21 15:04:04 -070076 register "ScsEmmcHs400Enabled" = "0"
Shelley Chen243dc392017-03-15 15:25:48 -070077 register "SkipExtGfxScan" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -070078 register "HeciEnabled" = "0"
Shelley Chen243dc392017-03-15 15:25:48 -070079 register "SaGv" = "3"
Shelley Chen243dc392017-03-15 15:25:48 -070080 register "PmConfigSlpS3MinAssert" = "2" # 50ms
81 register "PmConfigSlpS4MinAssert" = "1" # 1s
82 register "PmConfigSlpSusMinAssert" = "1" # 500ms
83 register "PmConfigSlpAMinAssert" = "3" # 2s
Shelley Chen243dc392017-03-15 15:25:48 -070084 register "SendVrMbxCmd" = "1" # IMVP8 workaround
85
Rizwan Qureshibbff1572017-12-07 02:10:06 +053086 # Intersil VR c-state issue workaround
87 # send VR mailbox command for IA/GT/SA rails
88 register "IslVrCmd" = "2"
89
Shelley Chen243dc392017-03-15 15:25:48 -070090 # VR Settings Configuration for 4 Domains
91 #+----------------+-------+-------+-------+-------+
92 #| Domain/Setting | SA | IA | GTUS | GTS |
93 #+----------------+-------+-------+-------+-------+
94 #| Psi1Threshold | 20A | 20A | 20A | 20A |
95 #| Psi2Threshold | 4A | 5A | 5A | 5A |
96 #| Psi3Threshold | 1A | 1A | 1A | 1A |
97 #| Psi3Enable | 1 | 1 | 1 | 1 |
98 #| Psi4Enable | 1 | 1 | 1 | 1 |
99 #| ImonSlope | 0 | 0 | 0 | 0 |
100 #| ImonOffset | 0 | 0 | 0 | 0 |
101 #| IccMax | 7A | 34A | 35A | 35A |
102 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800103 #| AcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
104 #| DcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
Shelley Chen243dc392017-03-15 15:25:48 -0700105 #+----------------+-------+-------+-------+-------+
Gaggery Tsai2ce90902018-01-15 22:48:18 +0800106 #Note: IccMax settings are moved to SoC code
Shelley Chen243dc392017-03-15 15:25:48 -0700107 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
108 .vr_config_enable = 1,
109 .psi1threshold = VR_CFG_AMP(20),
110 .psi2threshold = VR_CFG_AMP(4),
111 .psi3threshold = VR_CFG_AMP(1),
112 .psi3enable = 1,
113 .psi4enable = 1,
114 .imon_slope = 0x0,
115 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700116 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800117 .ac_loadline = 1030,
118 .dc_loadline = 1030,
Shelley Chen243dc392017-03-15 15:25:48 -0700119 }"
120
121 register "domain_vr_config[VR_IA_CORE]" = "{
122 .vr_config_enable = 1,
123 .psi1threshold = VR_CFG_AMP(20),
124 .psi2threshold = VR_CFG_AMP(5),
125 .psi3threshold = VR_CFG_AMP(1),
126 .psi3enable = 1,
127 .psi4enable = 1,
128 .imon_slope = 0x0,
129 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700130 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800131 .ac_loadline = 240,
132 .dc_loadline = 240,
Shelley Chen243dc392017-03-15 15:25:48 -0700133 }"
134
135 register "domain_vr_config[VR_GT_UNSLICED]" = "{
136 .vr_config_enable = 1,
137 .psi1threshold = VR_CFG_AMP(20),
138 .psi2threshold = VR_CFG_AMP(5),
139 .psi3threshold = VR_CFG_AMP(1),
140 .psi3enable = 1,
141 .psi4enable = 1,
142 .imon_slope = 0x0,
143 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700144 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800145 .ac_loadline = 310,
146 .dc_loadline = 310,
Shelley Chen243dc392017-03-15 15:25:48 -0700147 }"
148
149 register "domain_vr_config[VR_GT_SLICED]" = "{
150 .vr_config_enable = 1,
151 .psi1threshold = VR_CFG_AMP(20),
152 .psi2threshold = VR_CFG_AMP(5),
153 .psi3threshold = VR_CFG_AMP(1),
154 .psi3enable = 1,
155 .psi4enable = 1,
156 .imon_slope = 0x0,
157 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700158 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800159 .ac_loadline = 310,
160 .dc_loadline = 310,
Shelley Chen243dc392017-03-15 15:25:48 -0700161 }"
162
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530163 # Enable Root port 3(x1) for LAN.
164 register "PcieRpEnable[2]" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -0700165 # Enable CLKREQ#
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530166 register "PcieRpClkReqSupport[2]" = "1"
167 # RP 3 uses SRCCLKREQ0#
168 register "PcieRpClkReqNumber[2]" = "0"
Kane Chen6708d3a2017-10-11 12:39:46 +0800169 # RP 3, Enable Advanced Error Reporting
170 register "PcieRpAdvancedErrorReporting[2]" = "1"
171 # RP 3, Enable Latency Tolerance Reporting Mechanism
172 register "PcieRpLtrEnable[2]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530173 # RP 3 uses uses CLK SRC 0
174 register "PcieRpClkSrcNumber[2]" = "0"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530175
176 # Enable Root port 4(x1) for WLAN.
177 register "PcieRpEnable[3]" = "1"
178 # Enable CLKREQ#
179 register "PcieRpClkReqSupport[3]" = "1"
180 # RP 4 uses SRCCLKREQ5#
181 register "PcieRpClkReqNumber[3]" = "5"
Kane Chen6708d3a2017-10-11 12:39:46 +0800182 # RP 4, Enable Advanced Error Reporting
183 register "PcieRpAdvancedErrorReporting[3]" = "1"
184 # RP 4, Enable Latency Tolerance Reporting Mechanism
185 register "PcieRpLtrEnable[3]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530186 # RP 4 uses uses CLK SRC 5
187 register "PcieRpClkSrcNumber[3]" = "5"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530188
189 # Enable Root port 5(x4) for NVMe.
190 register "PcieRpEnable[4]" = "1"
191 # Enable CLKREQ#
192 register "PcieRpClkReqSupport[4]" = "1"
193 # RP 5 uses SRCCLKREQ1#
194 register "PcieRpClkReqNumber[4]" = "1"
Kane Chen6708d3a2017-10-11 12:39:46 +0800195 # RP 5, Enable Advanced Error Reporting
196 register "PcieRpAdvancedErrorReporting[4]" = "1"
197 # RP 5, Enable Latency Tolerance Reporting Mechanism
198 register "PcieRpLtrEnable[4]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530199 # RP 5 uses CLK SRC 1
200 register "PcieRpClkSrcNumber[4]" = "1"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530201
202 # Enable Root port 9 for BtoB.
203 register "PcieRpEnable[8]" = "1"
204 # Enable CLKREQ#
205 register "PcieRpClkReqSupport[8]" = "1"
206 # RP 9 uses SRCCLKREQ2#
207 register "PcieRpClkReqNumber[8]" = "2"
Kane Chen6708d3a2017-10-11 12:39:46 +0800208 # RP 9, Enable Advanced Error Reporting
209 register "PcieRpAdvancedErrorReporting[8]" = "1"
210 # RP 9, Enable Latency Tolerance Reporting Mechanism
211 register "PcieRpLtrEnable[8]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530212 # RP 9 uses uses CLK SRC 2
213 register "PcieRpClkSrcNumber[8]" = "2"
Shelley Chen243dc392017-03-15 15:25:48 -0700214
Zhongze Hu12f656c2018-02-16 00:53:02 -0800215 # Enable Root port 11 for BtoB.
216 register "PcieRpEnable[10]" = "1"
217 # Enable CLKREQ#
218 register "PcieRpClkReqSupport[10]" = "1"
219 # RP 11 uses SRCCLKREQ2#
220 register "PcieRpClkReqNumber[10]" = "2"
221 # RP 11, Enable Advanced Error Reporting
222 register "PcieRpAdvancedErrorReporting[10]" = "1"
223 # RP 11, Enable Latency Tolerance Reporting Mechanism
224 register "PcieRpLtrEnable[10]" = "1"
225 # RP 11 uses uses CLK SRC 2
226 register "PcieRpClkSrcNumber[10]" = "2"
227
228 # Enable Root port 12 for BtoB.
229 register "PcieRpEnable[11]" = "1"
230 # Enable CLKREQ#
231 register "PcieRpClkReqSupport[11]" = "1"
232 # RP 12 uses SRCCLKREQ2#
233 register "PcieRpClkReqNumber[11]" = "2"
234 # RP 12, Enable Advanced Error Reporting
235 register "PcieRpAdvancedErrorReporting[11]" = "1"
236 # RP 12, Enable Latency Tolerance Reporting Mechanism
237 register "PcieRpLtrEnable[11]" = "1"
238 # RP 12 uses uses CLK SRC 2
239 register "PcieRpClkSrcNumber[11]" = "2"
240
Shelley Chenc5168832017-03-21 15:04:04 -0700241 register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C
242 register "usb2_ports[1]" = "USB2_PORT_MID(OC3)" # Type-A Rear
243 register "usb2_ports[2]" = "USB2_PORT_MID(OC2)" # Type-A Front
244 register "usb2_ports[3]" = "USB2_PORT_MID(OC2)" # Type-A Front
245 register "usb2_ports[4]" = "USB2_PORT_MID(OC1)" # Type-A Rear
246 register "usb2_ports[5]" = "USB2_PORT_MID(OC1)" # Type-A Rear
247 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth
248 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A 2.0 / Debug
Shelley Chen243dc392017-03-15 15:25:48 -0700249
Shelley Chenc5168832017-03-21 15:04:04 -0700250 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C
251 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC3)" # Type-A Rear
252 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Front
253 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Front
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530254 register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Rear
255 register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Rear
Shelley Chen243dc392017-03-15 15:25:48 -0700256
Shelley Chenc5168832017-03-21 15:04:04 -0700257 register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" # HDMI CEC
258 register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" # TPM
259 register "i2c_voltage[2]" = "I2C_VOLTAGE_3V3" # Debug
Shelley Chen243dc392017-03-15 15:25:48 -0700260 register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" # Audio
261
Subrata Banikc4986eb2018-05-09 14:55:09 +0530262 # Intel Common SoC Config
263 #+-------------------+---------------------------+
264 #| Field | Value |
265 #+-------------------+---------------------------+
266 #| chipset_lockdown | CHIPSET_LOCKDOWN_COREBOOT |
267 #| GSPI0 | cr50 TPM. Early init is |
268 #| | required to set up a BAR |
269 #| | for TPM communication |
270 #| | before memory is up |
271 #| I2C5 | Audio |
272 #+-------------------+---------------------------+
Shelley Chen5aa64b92017-06-09 13:05:29 -0700273
Subrata Banikc4986eb2018-05-09 14:55:09 +0530274 register "common_soc_config" = "{
275 .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT,
276 .gspi[0] = {
277 .speed_mhz = 1,
278 .early_init = 1,
279 },
280 .i2c[5] = {
Shelley Chen8bd8cd32018-01-22 10:26:31 -0800281 .speed = I2C_SPEED_FAST,
Subrata Banikc4986eb2018-05-09 14:55:09 +0530282 .speed_config[0] = {
283 .speed = I2C_SPEED_FAST,
284 .scl_lcnt = 194,
285 .scl_hcnt = 100,
286 .sda_hold = 36,
287 },
Shelley Chen8bd8cd32018-01-22 10:26:31 -0800288 },
289 }"
290
Shelley Chen243dc392017-03-15 15:25:48 -0700291 # Must leave UART0 enabled or SD/eMMC will not work as PCI
292 register "SerialIoDevMode" = "{
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700293 [PchSerialIoIndexI2C0] = PchSerialIoPci,
Shelley Chen5537f022017-11-22 16:55:27 -0800294 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700295 [PchSerialIoIndexI2C2] = PchSerialIoPci,
Shelley Chenc5168832017-03-21 15:04:04 -0700296 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
297 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
Shelley Chen243dc392017-03-15 15:25:48 -0700298 [PchSerialIoIndexI2C5] = PchSerialIoPci,
299 [PchSerialIoIndexSpi0] = PchSerialIoPci,
Shelley Chenc5168832017-03-21 15:04:04 -0700300 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
Duncan Laurie3879ef42018-03-02 14:39:47 -0800301 [PchSerialIoIndexUart0] = PchSerialIoSkipInit,
Shelley Chen243dc392017-03-15 15:25:48 -0700302 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
303 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
304 }"
305
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530306 register "power_limits_config" = "{
307 .tdp_psyspl2 = 90,
308 .psys_pmax = 120,
309 }"
Kevin Chiu09f8a832018-01-08 11:50:59 +0800310 register "tcc_offset" = "6" # TCC of 94C
Shelley Chen243dc392017-03-15 15:25:48 -0700311
Shelley Chen243dc392017-03-15 15:25:48 -0700312 device cpu_cluster 0 on
313 device lapic 0 on end
314 end
315 device domain 0 on
316 device pci 00.0 on end # Host Bridge
317 device pci 02.0 on end # Integrated Graphics Device
Felix Singer9c1c0092020-07-29 20:48:08 +0200318 device pci 04.0 on end # SA thermal subsystem
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200319 device pci 14.0 on
320 chip drivers/usb/acpi
321 register "desc" = ""Root Hub""
322 register "type" = "UPC_TYPE_HUB"
323 device usb 0.0 on
324 chip drivers/usb/acpi
325 register "desc" = ""USB2 Type-C Rear""
326 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
327 device usb 2.0 on end
328 end
329 chip drivers/usb/acpi
330 register "desc" = ""USB2 Type-A Rear Left""
331 register "type" = "UPC_TYPE_A"
332 device usb 2.1 on end
333 end
334 chip drivers/usb/acpi
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200335 register "desc" = ""USB2 Type-A Rear Right""
336 register "type" = "UPC_TYPE_A"
337 device usb 2.4 on end
338 end
339 chip drivers/usb/acpi
340 register "desc" = ""USB2 Type-A Rear Middle""
341 register "type" = "UPC_TYPE_A"
342 device usb 2.5 on end
343 end
344 chip drivers/usb/acpi
345 register "desc" = ""USB2 Bluetooth""
346 register "type" = "UPC_TYPE_INTERNAL"
347 device usb 2.6 on end
348 end
349 chip drivers/usb/acpi
350 register "desc" = ""USB3 Type-C Rear""
351 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
352 device usb 3.0 on end
353 end
354 chip drivers/usb/acpi
355 register "desc" = ""USB3 Type-A Rear Left""
356 register "type" = "UPC_TYPE_USB3_A"
357 device usb 3.1 on end
358 end
359 chip drivers/usb/acpi
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200360 register "desc" = ""USB3 Type-A Rear Right""
361 register "type" = "UPC_TYPE_USB3_A"
362 device usb 3.4 on end
363 end
364 chip drivers/usb/acpi
365 register "desc" = ""USB3 Type-A Rear Middle""
366 register "type" = "UPC_TYPE_USB3_A"
367 device usb 3.5 on end
368 end
369 end
370 end
371 end # USB xHCI
Shelley Chen243dc392017-03-15 15:25:48 -0700372 device pci 14.1 off end # USB xDCI (OTG)
373 device pci 14.2 on end # Thermal Subsystem
Felix Singere2186672020-07-29 23:20:52 +0200374 device pci 14.3 off end # Camera
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700375 device pci 15.0 on end # I2C #0
Shelley Chen5537f022017-11-22 16:55:27 -0800376 device pci 15.1 off end # I2C #1
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700377 device pci 15.2 on end # I2C #2
Shelley Chen5537f022017-11-22 16:55:27 -0800378 device pci 15.3 off end # I2C #3
Shelley Chen243dc392017-03-15 15:25:48 -0700379 device pci 16.0 on end # Management Engine Interface 1
380 device pci 16.1 off end # Management Engine Interface 2
381 device pci 16.2 off end # Management Engine IDE-R
382 device pci 16.3 off end # Management Engine KT Redirection
383 device pci 16.4 off end # Management Engine Interface 3
Shelley Chenc5168832017-03-21 15:04:04 -0700384 device pci 17.0 on end # SATA
Shelley Chen243dc392017-03-15 15:25:48 -0700385 device pci 19.0 on end # UART #2
Furquan Shaikhb87ad062018-10-23 08:03:06 -0700386 device pci 19.1 on end # I2C #5
Shelley Chenc5168832017-03-21 15:04:04 -0700387 device pci 19.2 off end # I2C #4
Matt DeVillierf061a732018-06-11 01:19:45 -0500388 device pci 1c.0 on end # PCI Express Port 1
389 device pci 1c.1 off end # PCI Express Port 2
390 # PCI Express Port 3 for LAN, will be swapped to port 1 by FSP
391 device pci 1c.2 on
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800392 chip drivers/net
Gaggery Tsaid7de7bc2017-12-20 13:12:57 +0800393 register "customized_leds" = "0x0fa5"
Gaggery Tsai61c817d2017-11-23 13:23:57 +0800394 register "wake" = "GPE0_PCI_EXP"
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800395 device pci 00.0 on end
Edward O'Callaghan0e138062020-03-23 13:06:42 +1100396 register "device_index" = "0"
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800397 end
Matt DeVillierf061a732018-06-11 01:19:45 -0500398 end # PCI Express Port 3
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530399 device pci 1c.3 on
Furquan Shaikha266d1e2020-10-04 12:52:54 -0700400 chip drivers/wifi/generic
Shelley Chen243dc392017-03-15 15:25:48 -0700401 register "wake" = "GPE0_PCI_EXP"
402 device pci 00.0 on end
403 end
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530404 end # PCI Express Port 4 for WLAN
405 device pci 1c.4 on end # PCI Express Port 5 for NVMe
Shelley Chen243dc392017-03-15 15:25:48 -0700406 device pci 1c.5 off end # PCI Express Port 6
407 device pci 1c.6 off end # PCI Express Port 7
408 device pci 1c.7 off end # PCI Express Port 8
David Wu5f7fa722017-12-11 14:40:36 +0800409 device pci 1d.0 on # PCI Express Port 9 for 2nd LAN
410 chip drivers/net
Gaggery Tsaid7de7bc2017-12-20 13:12:57 +0800411 register "customized_leds" = "0x0fa5"
Edward O'Callaghan0e138062020-03-23 13:06:42 +1100412 register "device_index" = "1"
David Wu5f7fa722017-12-11 14:40:36 +0800413 device pci 00.0 on end
414 end
415 end # PCI Express Port 9 for BtoB
Shelley Chen243dc392017-03-15 15:25:48 -0700416 device pci 1d.1 off end # PCI Express Port 10
Zhongze Hu12f656c2018-02-16 00:53:02 -0800417 device pci 1d.2 on end # PCI Express Port 11
418 device pci 1d.3 on end # PCI Express Port 12
Shelley Chen243dc392017-03-15 15:25:48 -0700419 device pci 1e.0 on end # UART #0
420 device pci 1e.1 off end # UART #1
Shelley Chen5aa64b92017-06-09 13:05:29 -0700421 device pci 1e.2 on
422 chip drivers/spi/acpi
423 register "hid" = "ACPI_DT_NAMESPACE_HID"
424 register "compat_string" = ""google,cr50""
425 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
426 device spi 0 on end
427 end
428 end # GSPI #0
Shelley Chenc5168832017-03-21 15:04:04 -0700429 device pci 1e.3 off end # GSPI #1
430 device pci 1e.4 off end # eMMC
Shelley Chen243dc392017-03-15 15:25:48 -0700431 device pci 1e.5 off end # SDIO
432 device pci 1e.6 on end # SDCard
433 device pci 1f.0 on
434 chip ec/google/chromeec
435 device pnp 0c09.0 on end
436 end
437 end # LPC Interface
438 device pci 1f.1 on end # P2SB
439 device pci 1f.2 on end # Power Management Controller
440 device pci 1f.3 on end # Intel HDA
441 device pci 1f.4 on end # SMBus
442 device pci 1f.5 on end # PCH SPI
443 device pci 1f.6 off end # GbE
444 end
445end