blob: 7d11653ff7d880a0a3702f1f00ad159944471c92 [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
Felix Singer21b5a9a2023-10-23 07:26:28 +020036 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) |
Shelley Chenda6e4f62017-06-29 16:13:33 -070040 USB_PORT_WAKE_ENABLE(6)"
Felix Singer21b5a9a2023-10-23 07:26:28 +020041 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) |
Shelley Chenda6e4f62017-06-29 16:13:33 -070045 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
Tsai, Gaggeryb2a3ac42017-08-22 10:55:13 +080055 # Enable DPTF
56 register "dptf_enable" = "1"
57
Shelley Chen6dd9e592017-12-20 10:43:25 -080058 # Enable S0ix
Felix Singer743242b2023-06-16 01:33:25 +020059 register "s0ix_enable" = true
Shelley Chen6dd9e592017-12-20 10:43:25 -080060
Shelley Chen243dc392017-03-15 15:25:48 -070061 # FSP Configuration
David Wu0f829052017-12-11 14:08:11 +080062 register "SataPortsEnable[0]" = "1"
Shelley Chene8365aa2017-04-24 13:11:43 -070063 register "SataPortsEnable[1]" = "1"
Gaggery Tsaibc37c672017-09-29 13:40:04 +080064 register "SataPortsDevSlp[1]" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -070065 register "DspEnable" = "1"
66 register "IoBufferOwnership" = "3"
Shelley Chen243dc392017-03-15 15:25:48 -070067 register "SkipExtGfxScan" = "1"
Angel Pons6fadde02021-04-04 16:11:53 +020068 register "SaGv" = "SaGv_Enabled"
Shelley Chen243dc392017-03-15 15:25:48 -070069 register "PmConfigSlpS3MinAssert" = "2" # 50ms
70 register "PmConfigSlpS4MinAssert" = "1" # 1s
71 register "PmConfigSlpSusMinAssert" = "1" # 500ms
72 register "PmConfigSlpAMinAssert" = "3" # 2s
Shelley Chen243dc392017-03-15 15:25:48 -070073 register "SendVrMbxCmd" = "1" # IMVP8 workaround
74
Rizwan Qureshibbff1572017-12-07 02:10:06 +053075 # Intersil VR c-state issue workaround
76 # send VR mailbox command for IA/GT/SA rails
77 register "IslVrCmd" = "2"
78
Shelley Chen243dc392017-03-15 15:25:48 -070079 # VR Settings Configuration for 4 Domains
80 #+----------------+-------+-------+-------+-------+
81 #| Domain/Setting | SA | IA | GTUS | GTS |
82 #+----------------+-------+-------+-------+-------+
83 #| Psi1Threshold | 20A | 20A | 20A | 20A |
84 #| Psi2Threshold | 4A | 5A | 5A | 5A |
85 #| Psi3Threshold | 1A | 1A | 1A | 1A |
86 #| Psi3Enable | 1 | 1 | 1 | 1 |
87 #| Psi4Enable | 1 | 1 | 1 | 1 |
88 #| ImonSlope | 0 | 0 | 0 | 0 |
89 #| ImonOffset | 0 | 0 | 0 | 0 |
90 #| IccMax | 7A | 34A | 35A | 35A |
91 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
Gaggery Tsai63278ab2018-01-22 11:17:28 +080092 #| AcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
93 #| DcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
Shelley Chen243dc392017-03-15 15:25:48 -070094 #+----------------+-------+-------+-------+-------+
Gaggery Tsai2ce90902018-01-15 22:48:18 +080095 #Note: IccMax settings are moved to SoC code
Shelley Chen243dc392017-03-15 15:25:48 -070096 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
97 .vr_config_enable = 1,
98 .psi1threshold = VR_CFG_AMP(20),
99 .psi2threshold = VR_CFG_AMP(4),
100 .psi3threshold = VR_CFG_AMP(1),
101 .psi3enable = 1,
102 .psi4enable = 1,
103 .imon_slope = 0x0,
104 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700105 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800106 .ac_loadline = 1030,
107 .dc_loadline = 1030,
Shelley Chen243dc392017-03-15 15:25:48 -0700108 }"
109
110 register "domain_vr_config[VR_IA_CORE]" = "{
111 .vr_config_enable = 1,
112 .psi1threshold = VR_CFG_AMP(20),
113 .psi2threshold = VR_CFG_AMP(5),
114 .psi3threshold = VR_CFG_AMP(1),
115 .psi3enable = 1,
116 .psi4enable = 1,
117 .imon_slope = 0x0,
118 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700119 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800120 .ac_loadline = 240,
121 .dc_loadline = 240,
Shelley Chen243dc392017-03-15 15:25:48 -0700122 }"
123
124 register "domain_vr_config[VR_GT_UNSLICED]" = "{
125 .vr_config_enable = 1,
126 .psi1threshold = VR_CFG_AMP(20),
127 .psi2threshold = VR_CFG_AMP(5),
128 .psi3threshold = VR_CFG_AMP(1),
129 .psi3enable = 1,
130 .psi4enable = 1,
131 .imon_slope = 0x0,
132 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700133 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800134 .ac_loadline = 310,
135 .dc_loadline = 310,
Shelley Chen243dc392017-03-15 15:25:48 -0700136 }"
137
138 register "domain_vr_config[VR_GT_SLICED]" = "{
139 .vr_config_enable = 1,
140 .psi1threshold = VR_CFG_AMP(20),
141 .psi2threshold = VR_CFG_AMP(5),
142 .psi3threshold = VR_CFG_AMP(1),
143 .psi3enable = 1,
144 .psi4enable = 1,
145 .imon_slope = 0x0,
146 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700147 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800148 .ac_loadline = 310,
149 .dc_loadline = 310,
Shelley Chen243dc392017-03-15 15:25:48 -0700150 }"
151
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530152 # Enable Root port 3(x1) for LAN.
153 register "PcieRpEnable[2]" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -0700154 # Enable CLKREQ#
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530155 register "PcieRpClkReqSupport[2]" = "1"
156 # RP 3 uses SRCCLKREQ0#
157 register "PcieRpClkReqNumber[2]" = "0"
Kane Chen6708d3a2017-10-11 12:39:46 +0800158 # RP 3, Enable Advanced Error Reporting
159 register "PcieRpAdvancedErrorReporting[2]" = "1"
160 # RP 3, Enable Latency Tolerance Reporting Mechanism
161 register "PcieRpLtrEnable[2]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400162 # RP 3 uses CLK SRC 0
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530163 register "PcieRpClkSrcNumber[2]" = "0"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530164
165 # Enable Root port 4(x1) for WLAN.
166 register "PcieRpEnable[3]" = "1"
167 # Enable CLKREQ#
168 register "PcieRpClkReqSupport[3]" = "1"
169 # RP 4 uses SRCCLKREQ5#
170 register "PcieRpClkReqNumber[3]" = "5"
Kane Chen6708d3a2017-10-11 12:39:46 +0800171 # RP 4, Enable Advanced Error Reporting
172 register "PcieRpAdvancedErrorReporting[3]" = "1"
173 # RP 4, Enable Latency Tolerance Reporting Mechanism
174 register "PcieRpLtrEnable[3]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400175 # RP 4 uses CLK SRC 5
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530176 register "PcieRpClkSrcNumber[3]" = "5"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530177
178 # Enable Root port 5(x4) for NVMe.
179 register "PcieRpEnable[4]" = "1"
180 # Enable CLKREQ#
181 register "PcieRpClkReqSupport[4]" = "1"
182 # RP 5 uses SRCCLKREQ1#
183 register "PcieRpClkReqNumber[4]" = "1"
Kane Chen6708d3a2017-10-11 12:39:46 +0800184 # RP 5, Enable Advanced Error Reporting
185 register "PcieRpAdvancedErrorReporting[4]" = "1"
186 # RP 5, Enable Latency Tolerance Reporting Mechanism
187 register "PcieRpLtrEnable[4]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530188 # RP 5 uses CLK SRC 1
189 register "PcieRpClkSrcNumber[4]" = "1"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530190
191 # Enable Root port 9 for BtoB.
192 register "PcieRpEnable[8]" = "1"
193 # Enable CLKREQ#
194 register "PcieRpClkReqSupport[8]" = "1"
195 # RP 9 uses SRCCLKREQ2#
196 register "PcieRpClkReqNumber[8]" = "2"
Kane Chen6708d3a2017-10-11 12:39:46 +0800197 # RP 9, Enable Advanced Error Reporting
198 register "PcieRpAdvancedErrorReporting[8]" = "1"
199 # RP 9, Enable Latency Tolerance Reporting Mechanism
200 register "PcieRpLtrEnable[8]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400201 # RP 9 uses CLK SRC 2
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530202 register "PcieRpClkSrcNumber[8]" = "2"
Shelley Chen243dc392017-03-15 15:25:48 -0700203
Zhongze Hu12f656c2018-02-16 00:53:02 -0800204 # Enable Root port 11 for BtoB.
205 register "PcieRpEnable[10]" = "1"
206 # Enable CLKREQ#
207 register "PcieRpClkReqSupport[10]" = "1"
208 # RP 11 uses SRCCLKREQ2#
209 register "PcieRpClkReqNumber[10]" = "2"
210 # RP 11, Enable Advanced Error Reporting
211 register "PcieRpAdvancedErrorReporting[10]" = "1"
212 # RP 11, Enable Latency Tolerance Reporting Mechanism
213 register "PcieRpLtrEnable[10]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400214 # RP 11 uses CLK SRC 2
Zhongze Hu12f656c2018-02-16 00:53:02 -0800215 register "PcieRpClkSrcNumber[10]" = "2"
216
217 # Enable Root port 12 for BtoB.
218 register "PcieRpEnable[11]" = "1"
219 # Enable CLKREQ#
220 register "PcieRpClkReqSupport[11]" = "1"
221 # RP 12 uses SRCCLKREQ2#
222 register "PcieRpClkReqNumber[11]" = "2"
223 # RP 12, Enable Advanced Error Reporting
224 register "PcieRpAdvancedErrorReporting[11]" = "1"
225 # RP 12, Enable Latency Tolerance Reporting Mechanism
226 register "PcieRpLtrEnable[11]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400227 # RP 12 uses CLK SRC 2
Zhongze Hu12f656c2018-02-16 00:53:02 -0800228 register "PcieRpClkSrcNumber[11]" = "2"
229
Shelley Chenc5168832017-03-21 15:04:04 -0700230 register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" # HDMI CEC
231 register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" # TPM
232 register "i2c_voltage[2]" = "I2C_VOLTAGE_3V3" # Debug
Shelley Chen243dc392017-03-15 15:25:48 -0700233 register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" # Audio
234
Subrata Banikc4986eb2018-05-09 14:55:09 +0530235 # Intel Common SoC Config
236 #+-------------------+---------------------------+
237 #| Field | Value |
238 #+-------------------+---------------------------+
Subrata Banikc4986eb2018-05-09 14:55:09 +0530239 #| GSPI0 | cr50 TPM. Early init is |
240 #| | required to set up a BAR |
241 #| | for TPM communication |
242 #| | before memory is up |
243 #| I2C5 | Audio |
244 #+-------------------+---------------------------+
Shelley Chen5aa64b92017-06-09 13:05:29 -0700245
Subrata Banikc4986eb2018-05-09 14:55:09 +0530246 register "common_soc_config" = "{
Subrata Banikc4986eb2018-05-09 14:55:09 +0530247 .gspi[0] = {
248 .speed_mhz = 1,
249 .early_init = 1,
250 },
251 .i2c[5] = {
Shelley Chen8bd8cd32018-01-22 10:26:31 -0800252 .speed = I2C_SPEED_FAST,
Subrata Banikc4986eb2018-05-09 14:55:09 +0530253 .speed_config[0] = {
254 .speed = I2C_SPEED_FAST,
255 .scl_lcnt = 194,
256 .scl_hcnt = 100,
257 .sda_hold = 36,
258 },
Shelley Chen8bd8cd32018-01-22 10:26:31 -0800259 },
260 }"
261
Shelley Chen243dc392017-03-15 15:25:48 -0700262 # Must leave UART0 enabled or SD/eMMC will not work as PCI
263 register "SerialIoDevMode" = "{
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700264 [PchSerialIoIndexI2C0] = PchSerialIoPci,
Shelley Chen5537f022017-11-22 16:55:27 -0800265 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700266 [PchSerialIoIndexI2C2] = PchSerialIoPci,
Shelley Chenc5168832017-03-21 15:04:04 -0700267 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
268 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
Shelley Chen243dc392017-03-15 15:25:48 -0700269 [PchSerialIoIndexI2C5] = PchSerialIoPci,
270 [PchSerialIoIndexSpi0] = PchSerialIoPci,
Shelley Chenc5168832017-03-21 15:04:04 -0700271 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
Duncan Laurie3879ef42018-03-02 14:39:47 -0800272 [PchSerialIoIndexUart0] = PchSerialIoSkipInit,
Shelley Chen243dc392017-03-15 15:25:48 -0700273 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
274 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
275 }"
276
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530277 register "power_limits_config" = "{
278 .tdp_psyspl2 = 90,
279 .psys_pmax = 120,
280 }"
Kevin Chiu09f8a832018-01-08 11:50:59 +0800281 register "tcc_offset" = "6" # TCC of 94C
Shelley Chen243dc392017-03-15 15:25:48 -0700282
Shelley Chen243dc392017-03-15 15:25:48 -0700283 device domain 0 on
Felix Singera6116342023-11-16 01:59:32 +0100284 device ref igpu on end
285 device ref sa_thermal on end
286 device ref south_xhci on
Felix Singer6c83a712024-06-23 00:25:18 +0200287 register "usb2_ports" = "{
288 [0] = USB2_PORT_LONG(OC0), // Type-C
289 [1] = USB2_PORT_MID(OC3), // Type-A Rear
290 [2] = USB2_PORT_MID(OC2), // Type-A Front
291 [3] = USB2_PORT_MID(OC2), // Type-A Front
292 [4] = USB2_PORT_MID(OC1), // Type-A Rear
293 [5] = USB2_PORT_MID(OC1), // Type-A Rear
294 [6] = USB2_PORT_MID(OC_SKIP), // Bluetooth
295 [7] = USB2_PORT_MID(OC_SKIP), // Type-A 2.0 / Debug
296 }"
297
298 register "usb3_ports" = "{
299 [0] = USB3_PORT_DEFAULT(OC0), // Type-C
300 [1] = USB3_PORT_DEFAULT(OC3), // Type-A Rear
301 [2] = USB3_PORT_DEFAULT(OC2), // Type-A Front
302 [3] = USB3_PORT_DEFAULT(OC2), // Type-A Front
303 [4] = USB3_PORT_DEFAULT(OC1), // Type-A Rear
304 [5] = USB3_PORT_DEFAULT(OC1), // Type-A Rear
305 }"
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200306 chip drivers/usb/acpi
307 register "desc" = ""Root Hub""
308 register "type" = "UPC_TYPE_HUB"
309 device usb 0.0 on
310 chip drivers/usb/acpi
311 register "desc" = ""USB2 Type-C Rear""
312 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
313 device usb 2.0 on end
314 end
315 chip drivers/usb/acpi
316 register "desc" = ""USB2 Type-A Rear Left""
317 register "type" = "UPC_TYPE_A"
318 device usb 2.1 on end
319 end
320 chip drivers/usb/acpi
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200321 register "desc" = ""USB2 Type-A Rear Right""
322 register "type" = "UPC_TYPE_A"
323 device usb 2.4 on end
324 end
325 chip drivers/usb/acpi
326 register "desc" = ""USB2 Type-A Rear Middle""
327 register "type" = "UPC_TYPE_A"
328 device usb 2.5 on end
329 end
330 chip drivers/usb/acpi
331 register "desc" = ""USB2 Bluetooth""
332 register "type" = "UPC_TYPE_INTERNAL"
333 device usb 2.6 on end
334 end
335 chip drivers/usb/acpi
336 register "desc" = ""USB3 Type-C Rear""
337 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
338 device usb 3.0 on end
339 end
340 chip drivers/usb/acpi
341 register "desc" = ""USB3 Type-A Rear Left""
342 register "type" = "UPC_TYPE_USB3_A"
343 device usb 3.1 on end
344 end
345 chip drivers/usb/acpi
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200346 register "desc" = ""USB3 Type-A Rear Right""
347 register "type" = "UPC_TYPE_USB3_A"
348 device usb 3.4 on end
349 end
350 chip drivers/usb/acpi
351 register "desc" = ""USB3 Type-A Rear Middle""
352 register "type" = "UPC_TYPE_USB3_A"
353 device usb 3.5 on end
354 end
355 end
356 end
Felix Singera6116342023-11-16 01:59:32 +0100357 end
358 device ref thermal on end
359 device ref i2c0 on end
360 device ref i2c2 on end
361 device ref heci1 on end
362 device ref sata on end
363 device ref uart2 on end
364 device ref i2c5 on end
365 device ref pcie_rp1 on end
366 device ref pcie_rp3 on
367 # LAN, will be swapped to port 1 by FSP
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800368 chip drivers/net
Gaggery Tsaid7de7bc2017-12-20 13:12:57 +0800369 register "customized_leds" = "0x0fa5"
Gaggery Tsai61c817d2017-11-23 13:23:57 +0800370 register "wake" = "GPE0_PCI_EXP"
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800371 device pci 00.0 on end
Edward O'Callaghan0e138062020-03-23 13:06:42 +1100372 register "device_index" = "0"
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800373 end
Felix Singera6116342023-11-16 01:59:32 +0100374 end
375 device ref pcie_rp4 on
376 # WLAN
Furquan Shaikha266d1e2020-10-04 12:52:54 -0700377 chip drivers/wifi/generic
Shelley Chen243dc392017-03-15 15:25:48 -0700378 register "wake" = "GPE0_PCI_EXP"
379 device pci 00.0 on end
380 end
Felix Singera6116342023-11-16 01:59:32 +0100381 end
382 device ref pcie_rp5 on end # NVMe
383 device ref pcie_rp9 on
384 # 2nd LAN
David Wu5f7fa722017-12-11 14:40:36 +0800385 chip drivers/net
Gaggery Tsaid7de7bc2017-12-20 13:12:57 +0800386 register "customized_leds" = "0x0fa5"
Edward O'Callaghan0e138062020-03-23 13:06:42 +1100387 register "device_index" = "1"
David Wu5f7fa722017-12-11 14:40:36 +0800388 device pci 00.0 on end
389 end
Felix Singera6116342023-11-16 01:59:32 +0100390 end
391 device ref pcie_rp11 on end
392 device ref pcie_rp12 on end
393 device ref uart0 on end
394 device ref gspi0 on
Shelley Chen5aa64b92017-06-09 13:05:29 -0700395 chip drivers/spi/acpi
396 register "hid" = "ACPI_DT_NAMESPACE_HID"
397 register "compat_string" = ""google,cr50""
398 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
399 device spi 0 on end
400 end
Felix Singera6116342023-11-16 01:59:32 +0100401 end
402 device ref sdxc on end
403 device ref lpc_espi on
Felix Singerdcddc53f2024-06-23 03:39:24 +0200404 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
405 register "gen1_dec" = "0x00fc0801"
406 register "gen2_dec" = "0x000c0201"
407 # EC memory map range is 0x900-0x9ff
408 register "gen3_dec" = "0x00fc0901"
409
Shelley Chen243dc392017-03-15 15:25:48 -0700410 chip ec/google/chromeec
411 device pnp 0c09.0 on end
412 end
Felix Singera6116342023-11-16 01:59:32 +0100413 end
414 device ref hda on end
415 device ref smbus on end
416 device ref fast_spi on end
Shelley Chen243dc392017-03-15 15:25:48 -0700417 end
418end