blob: 44fc014a9b950e893be69127c76a15a0a9a63cd6 [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
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
Felix Singer743242b2023-06-16 01:33:25 +020065 register "s0ix_enable" = true
Shelley Chen6dd9e592017-12-20 10:43:25 -080066
Shelley Chen243dc392017-03-15 15:25:48 -070067 # FSP Configuration
Kevin Chiua63f4c42018-01-08 09:54:08 +080068 register "SataSalpSupport" = "0"
David Wu0f829052017-12-11 14:08:11 +080069 register "SataPortsEnable[0]" = "1"
Shelley Chene8365aa2017-04-24 13:11:43 -070070 register "SataPortsEnable[1]" = "1"
Gaggery Tsaibc37c672017-09-29 13:40:04 +080071 register "SataPortsDevSlp[1]" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -070072 register "DspEnable" = "1"
73 register "IoBufferOwnership" = "3"
Shelley Chen243dc392017-03-15 15:25:48 -070074 register "SsicPortEnable" = "0"
Shelley Chenc5168832017-03-21 15:04:04 -070075 register "ScsEmmcHs400Enabled" = "0"
Shelley Chen243dc392017-03-15 15:25:48 -070076 register "SkipExtGfxScan" = "1"
Angel Pons6fadde02021-04-04 16:11:53 +020077 register "SaGv" = "SaGv_Enabled"
Shelley Chen243dc392017-03-15 15:25:48 -070078 register "PmConfigSlpS3MinAssert" = "2" # 50ms
79 register "PmConfigSlpS4MinAssert" = "1" # 1s
80 register "PmConfigSlpSusMinAssert" = "1" # 500ms
81 register "PmConfigSlpAMinAssert" = "3" # 2s
Shelley Chen243dc392017-03-15 15:25:48 -070082 register "SendVrMbxCmd" = "1" # IMVP8 workaround
83
Rizwan Qureshibbff1572017-12-07 02:10:06 +053084 # Intersil VR c-state issue workaround
85 # send VR mailbox command for IA/GT/SA rails
86 register "IslVrCmd" = "2"
87
Shelley Chen243dc392017-03-15 15:25:48 -070088 # VR Settings Configuration for 4 Domains
89 #+----------------+-------+-------+-------+-------+
90 #| Domain/Setting | SA | IA | GTUS | GTS |
91 #+----------------+-------+-------+-------+-------+
92 #| Psi1Threshold | 20A | 20A | 20A | 20A |
93 #| Psi2Threshold | 4A | 5A | 5A | 5A |
94 #| Psi3Threshold | 1A | 1A | 1A | 1A |
95 #| Psi3Enable | 1 | 1 | 1 | 1 |
96 #| Psi4Enable | 1 | 1 | 1 | 1 |
97 #| ImonSlope | 0 | 0 | 0 | 0 |
98 #| ImonOffset | 0 | 0 | 0 | 0 |
99 #| IccMax | 7A | 34A | 35A | 35A |
100 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800101 #| AcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
102 #| DcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
Shelley Chen243dc392017-03-15 15:25:48 -0700103 #+----------------+-------+-------+-------+-------+
Gaggery Tsai2ce90902018-01-15 22:48:18 +0800104 #Note: IccMax settings are moved to SoC code
Shelley Chen243dc392017-03-15 15:25:48 -0700105 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
106 .vr_config_enable = 1,
107 .psi1threshold = VR_CFG_AMP(20),
108 .psi2threshold = VR_CFG_AMP(4),
109 .psi3threshold = VR_CFG_AMP(1),
110 .psi3enable = 1,
111 .psi4enable = 1,
112 .imon_slope = 0x0,
113 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700114 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800115 .ac_loadline = 1030,
116 .dc_loadline = 1030,
Shelley Chen243dc392017-03-15 15:25:48 -0700117 }"
118
119 register "domain_vr_config[VR_IA_CORE]" = "{
120 .vr_config_enable = 1,
121 .psi1threshold = VR_CFG_AMP(20),
122 .psi2threshold = VR_CFG_AMP(5),
123 .psi3threshold = VR_CFG_AMP(1),
124 .psi3enable = 1,
125 .psi4enable = 1,
126 .imon_slope = 0x0,
127 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700128 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800129 .ac_loadline = 240,
130 .dc_loadline = 240,
Shelley Chen243dc392017-03-15 15:25:48 -0700131 }"
132
133 register "domain_vr_config[VR_GT_UNSLICED]" = "{
134 .vr_config_enable = 1,
135 .psi1threshold = VR_CFG_AMP(20),
136 .psi2threshold = VR_CFG_AMP(5),
137 .psi3threshold = VR_CFG_AMP(1),
138 .psi3enable = 1,
139 .psi4enable = 1,
140 .imon_slope = 0x0,
141 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700142 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800143 .ac_loadline = 310,
144 .dc_loadline = 310,
Shelley Chen243dc392017-03-15 15:25:48 -0700145 }"
146
147 register "domain_vr_config[VR_GT_SLICED]" = "{
148 .vr_config_enable = 1,
149 .psi1threshold = VR_CFG_AMP(20),
150 .psi2threshold = VR_CFG_AMP(5),
151 .psi3threshold = VR_CFG_AMP(1),
152 .psi3enable = 1,
153 .psi4enable = 1,
154 .imon_slope = 0x0,
155 .imon_offset = 0x0,
Shelley Chen243dc392017-03-15 15:25:48 -0700156 .voltage_limit = 1520,
Gaggery Tsai63278ab2018-01-22 11:17:28 +0800157 .ac_loadline = 310,
158 .dc_loadline = 310,
Shelley Chen243dc392017-03-15 15:25:48 -0700159 }"
160
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530161 # Enable Root port 3(x1) for LAN.
162 register "PcieRpEnable[2]" = "1"
Shelley Chen243dc392017-03-15 15:25:48 -0700163 # Enable CLKREQ#
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530164 register "PcieRpClkReqSupport[2]" = "1"
165 # RP 3 uses SRCCLKREQ0#
166 register "PcieRpClkReqNumber[2]" = "0"
Kane Chen6708d3a2017-10-11 12:39:46 +0800167 # RP 3, Enable Advanced Error Reporting
168 register "PcieRpAdvancedErrorReporting[2]" = "1"
169 # RP 3, Enable Latency Tolerance Reporting Mechanism
170 register "PcieRpLtrEnable[2]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400171 # RP 3 uses CLK SRC 0
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530172 register "PcieRpClkSrcNumber[2]" = "0"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530173
174 # Enable Root port 4(x1) for WLAN.
175 register "PcieRpEnable[3]" = "1"
176 # Enable CLKREQ#
177 register "PcieRpClkReqSupport[3]" = "1"
178 # RP 4 uses SRCCLKREQ5#
179 register "PcieRpClkReqNumber[3]" = "5"
Kane Chen6708d3a2017-10-11 12:39:46 +0800180 # RP 4, Enable Advanced Error Reporting
181 register "PcieRpAdvancedErrorReporting[3]" = "1"
182 # RP 4, Enable Latency Tolerance Reporting Mechanism
183 register "PcieRpLtrEnable[3]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400184 # RP 4 uses CLK SRC 5
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530185 register "PcieRpClkSrcNumber[3]" = "5"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530186
187 # Enable Root port 5(x4) for NVMe.
188 register "PcieRpEnable[4]" = "1"
189 # Enable CLKREQ#
190 register "PcieRpClkReqSupport[4]" = "1"
191 # RP 5 uses SRCCLKREQ1#
192 register "PcieRpClkReqNumber[4]" = "1"
Kane Chen6708d3a2017-10-11 12:39:46 +0800193 # RP 5, Enable Advanced Error Reporting
194 register "PcieRpAdvancedErrorReporting[4]" = "1"
195 # RP 5, Enable Latency Tolerance Reporting Mechanism
196 register "PcieRpLtrEnable[4]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530197 # RP 5 uses CLK SRC 1
198 register "PcieRpClkSrcNumber[4]" = "1"
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530199
200 # Enable Root port 9 for BtoB.
201 register "PcieRpEnable[8]" = "1"
202 # Enable CLKREQ#
203 register "PcieRpClkReqSupport[8]" = "1"
204 # RP 9 uses SRCCLKREQ2#
205 register "PcieRpClkReqNumber[8]" = "2"
Kane Chen6708d3a2017-10-11 12:39:46 +0800206 # RP 9, Enable Advanced Error Reporting
207 register "PcieRpAdvancedErrorReporting[8]" = "1"
208 # RP 9, Enable Latency Tolerance Reporting Mechanism
209 register "PcieRpLtrEnable[8]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400210 # RP 9 uses CLK SRC 2
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530211 register "PcieRpClkSrcNumber[8]" = "2"
Shelley Chen243dc392017-03-15 15:25:48 -0700212
Zhongze Hu12f656c2018-02-16 00:53:02 -0800213 # Enable Root port 11 for BtoB.
214 register "PcieRpEnable[10]" = "1"
215 # Enable CLKREQ#
216 register "PcieRpClkReqSupport[10]" = "1"
217 # RP 11 uses SRCCLKREQ2#
218 register "PcieRpClkReqNumber[10]" = "2"
219 # RP 11, Enable Advanced Error Reporting
220 register "PcieRpAdvancedErrorReporting[10]" = "1"
221 # RP 11, Enable Latency Tolerance Reporting Mechanism
222 register "PcieRpLtrEnable[10]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400223 # RP 11 uses CLK SRC 2
Zhongze Hu12f656c2018-02-16 00:53:02 -0800224 register "PcieRpClkSrcNumber[10]" = "2"
225
226 # Enable Root port 12 for BtoB.
227 register "PcieRpEnable[11]" = "1"
228 # Enable CLKREQ#
229 register "PcieRpClkReqSupport[11]" = "1"
230 # RP 12 uses SRCCLKREQ2#
231 register "PcieRpClkReqNumber[11]" = "2"
232 # RP 12, Enable Advanced Error Reporting
233 register "PcieRpAdvancedErrorReporting[11]" = "1"
234 # RP 12, Enable Latency Tolerance Reporting Mechanism
235 register "PcieRpLtrEnable[11]" = "1"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400236 # RP 12 uses CLK SRC 2
Zhongze Hu12f656c2018-02-16 00:53:02 -0800237 register "PcieRpClkSrcNumber[11]" = "2"
238
Shelley Chenc5168832017-03-21 15:04:04 -0700239 register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C
240 register "usb2_ports[1]" = "USB2_PORT_MID(OC3)" # Type-A Rear
241 register "usb2_ports[2]" = "USB2_PORT_MID(OC2)" # Type-A Front
242 register "usb2_ports[3]" = "USB2_PORT_MID(OC2)" # Type-A Front
243 register "usb2_ports[4]" = "USB2_PORT_MID(OC1)" # Type-A Rear
244 register "usb2_ports[5]" = "USB2_PORT_MID(OC1)" # Type-A Rear
245 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth
246 register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A 2.0 / Debug
Shelley Chen243dc392017-03-15 15:25:48 -0700247
Shelley Chenc5168832017-03-21 15:04:04 -0700248 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C
249 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC3)" # Type-A Rear
250 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Front
251 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Front
Naresh G Solanki561f7fc2017-04-20 16:45:01 +0530252 register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Rear
253 register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Rear
Shelley Chen243dc392017-03-15 15:25:48 -0700254
Shelley Chenc5168832017-03-21 15:04:04 -0700255 register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" # HDMI CEC
256 register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" # TPM
257 register "i2c_voltage[2]" = "I2C_VOLTAGE_3V3" # Debug
Shelley Chen243dc392017-03-15 15:25:48 -0700258 register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" # Audio
259
Subrata Banikc4986eb2018-05-09 14:55:09 +0530260 # Intel Common SoC Config
261 #+-------------------+---------------------------+
262 #| Field | Value |
263 #+-------------------+---------------------------+
Subrata Banikc4986eb2018-05-09 14:55:09 +0530264 #| GSPI0 | cr50 TPM. Early init is |
265 #| | required to set up a BAR |
266 #| | for TPM communication |
267 #| | before memory is up |
268 #| I2C5 | Audio |
269 #+-------------------+---------------------------+
Shelley Chen5aa64b92017-06-09 13:05:29 -0700270
Subrata Banikc4986eb2018-05-09 14:55:09 +0530271 register "common_soc_config" = "{
Subrata Banikc4986eb2018-05-09 14:55:09 +0530272 .gspi[0] = {
273 .speed_mhz = 1,
274 .early_init = 1,
275 },
276 .i2c[5] = {
Shelley Chen8bd8cd32018-01-22 10:26:31 -0800277 .speed = I2C_SPEED_FAST,
Subrata Banikc4986eb2018-05-09 14:55:09 +0530278 .speed_config[0] = {
279 .speed = I2C_SPEED_FAST,
280 .scl_lcnt = 194,
281 .scl_hcnt = 100,
282 .sda_hold = 36,
283 },
Shelley Chen8bd8cd32018-01-22 10:26:31 -0800284 },
285 }"
286
Shelley Chen243dc392017-03-15 15:25:48 -0700287 # Must leave UART0 enabled or SD/eMMC will not work as PCI
288 register "SerialIoDevMode" = "{
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700289 [PchSerialIoIndexI2C0] = PchSerialIoPci,
Shelley Chen5537f022017-11-22 16:55:27 -0800290 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
Zhongze Hu1fa724b2018-03-16 17:11:07 -0700291 [PchSerialIoIndexI2C2] = PchSerialIoPci,
Shelley Chenc5168832017-03-21 15:04:04 -0700292 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
293 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
Shelley Chen243dc392017-03-15 15:25:48 -0700294 [PchSerialIoIndexI2C5] = PchSerialIoPci,
295 [PchSerialIoIndexSpi0] = PchSerialIoPci,
Shelley Chenc5168832017-03-21 15:04:04 -0700296 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
Duncan Laurie3879ef42018-03-02 14:39:47 -0800297 [PchSerialIoIndexUart0] = PchSerialIoSkipInit,
Shelley Chen243dc392017-03-15 15:25:48 -0700298 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
299 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
300 }"
301
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530302 register "power_limits_config" = "{
303 .tdp_psyspl2 = 90,
304 .psys_pmax = 120,
305 }"
Kevin Chiu09f8a832018-01-08 11:50:59 +0800306 register "tcc_offset" = "6" # TCC of 94C
Shelley Chen243dc392017-03-15 15:25:48 -0700307
Arthur Heymans69cd7292022-11-07 13:52:11 +0100308 device cpu_cluster 0 on end
Shelley Chen243dc392017-03-15 15:25:48 -0700309 device domain 0 on
Felix Singera6116342023-11-16 01:59:32 +0100310 device ref igpu on end
311 device ref sa_thermal on end
312 device ref south_xhci on
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200313 chip drivers/usb/acpi
314 register "desc" = ""Root Hub""
315 register "type" = "UPC_TYPE_HUB"
316 device usb 0.0 on
317 chip drivers/usb/acpi
318 register "desc" = ""USB2 Type-C Rear""
319 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
320 device usb 2.0 on end
321 end
322 chip drivers/usb/acpi
323 register "desc" = ""USB2 Type-A Rear Left""
324 register "type" = "UPC_TYPE_A"
325 device usb 2.1 on end
326 end
327 chip drivers/usb/acpi
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200328 register "desc" = ""USB2 Type-A Rear Right""
329 register "type" = "UPC_TYPE_A"
330 device usb 2.4 on end
331 end
332 chip drivers/usb/acpi
333 register "desc" = ""USB2 Type-A Rear Middle""
334 register "type" = "UPC_TYPE_A"
335 device usb 2.5 on end
336 end
337 chip drivers/usb/acpi
338 register "desc" = ""USB2 Bluetooth""
339 register "type" = "UPC_TYPE_INTERNAL"
340 device usb 2.6 on end
341 end
342 chip drivers/usb/acpi
343 register "desc" = ""USB3 Type-C Rear""
344 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
345 device usb 3.0 on end
346 end
347 chip drivers/usb/acpi
348 register "desc" = ""USB3 Type-A Rear Left""
349 register "type" = "UPC_TYPE_USB3_A"
350 device usb 3.1 on end
351 end
352 chip drivers/usb/acpi
Emil Lundmark2ad7ea02018-05-22 19:32:35 +0200353 register "desc" = ""USB3 Type-A Rear Right""
354 register "type" = "UPC_TYPE_USB3_A"
355 device usb 3.4 on end
356 end
357 chip drivers/usb/acpi
358 register "desc" = ""USB3 Type-A Rear Middle""
359 register "type" = "UPC_TYPE_USB3_A"
360 device usb 3.5 on end
361 end
362 end
363 end
Felix Singera6116342023-11-16 01:59:32 +0100364 end
365 device ref thermal on end
366 device ref i2c0 on end
367 device ref i2c2 on end
368 device ref heci1 on end
369 device ref sata on end
370 device ref uart2 on end
371 device ref i2c5 on end
372 device ref pcie_rp1 on end
373 device ref pcie_rp3 on
374 # LAN, will be swapped to port 1 by FSP
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800375 chip drivers/net
Gaggery Tsaid7de7bc2017-12-20 13:12:57 +0800376 register "customized_leds" = "0x0fa5"
Gaggery Tsai61c817d2017-11-23 13:23:57 +0800377 register "wake" = "GPE0_PCI_EXP"
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800378 device pci 00.0 on end
Edward O'Callaghan0e138062020-03-23 13:06:42 +1100379 register "device_index" = "0"
Gaggery Tsai2ecf3f82017-11-02 09:58:06 +0800380 end
Felix Singera6116342023-11-16 01:59:32 +0100381 end
382 device ref pcie_rp4 on
383 # WLAN
Furquan Shaikha266d1e2020-10-04 12:52:54 -0700384 chip drivers/wifi/generic
Shelley Chen243dc392017-03-15 15:25:48 -0700385 register "wake" = "GPE0_PCI_EXP"
386 device pci 00.0 on end
387 end
Felix Singera6116342023-11-16 01:59:32 +0100388 end
389 device ref pcie_rp5 on end # NVMe
390 device ref pcie_rp9 on
391 # 2nd LAN
David Wu5f7fa722017-12-11 14:40:36 +0800392 chip drivers/net
Gaggery Tsaid7de7bc2017-12-20 13:12:57 +0800393 register "customized_leds" = "0x0fa5"
Edward O'Callaghan0e138062020-03-23 13:06:42 +1100394 register "device_index" = "1"
David Wu5f7fa722017-12-11 14:40:36 +0800395 device pci 00.0 on end
396 end
Felix Singera6116342023-11-16 01:59:32 +0100397 end
398 device ref pcie_rp11 on end
399 device ref pcie_rp12 on end
400 device ref uart0 on end
401 device ref gspi0 on
Shelley Chen5aa64b92017-06-09 13:05:29 -0700402 chip drivers/spi/acpi
403 register "hid" = "ACPI_DT_NAMESPACE_HID"
404 register "compat_string" = ""google,cr50""
405 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
406 device spi 0 on end
407 end
Felix Singera6116342023-11-16 01:59:32 +0100408 end
409 device ref sdxc on end
410 device ref lpc_espi on
Shelley Chen243dc392017-03-15 15:25:48 -0700411 chip ec/google/chromeec
412 device pnp 0c09.0 on end
413 end
Felix Singera6116342023-11-16 01:59:32 +0100414 end
415 device ref hda on end
416 device ref smbus on end
417 device ref fast_spi on end
Shelley Chen243dc392017-03-15 15:25:48 -0700418 end
419end