blob: d25d582be4fd83d40dc31a23db2afa0a903abe9c [file] [log] [blame]
Duncan Laurie81485d22016-10-28 09:13:52 -07001chip soc/intel/skylake
2
Matt DeVillier205df702018-04-20 14:24:21 -07003 # IGD Displays
4 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
5
Michael Niewöhner97e21d32020-12-28 00:49:33 +01006 register "panel_cfg" = "{
7 .up_delay_ms = 100,
8 .down_delay_ms = 500,
9 .cycle_delay_ms = 500,
10 .backlight_on_delay_ms = 1,
11 .backlight_off_delay_ms = 200,
12 .backlight_pwm_hz = 1000,
13 }"
Nico Huber55c57772018-12-16 03:39:35 +010014
Duncan Laurie81485d22016-10-28 09:13:52 -070015 # Enable deep Sx states
Duncan Laurie73ff0fb2017-04-10 21:07:06 -070016 register "deep_s3_enable_ac" = "0"
Duncan Laurie1fe32d62017-04-10 21:02:13 -070017 register "deep_s3_enable_dc" = "1"
18 register "deep_s5_enable_ac" = "1"
19 register "deep_s5_enable_dc" = "1"
Duncan Laurie81485d22016-10-28 09:13:52 -070020 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN"
21
Matt Delco1950ed92018-08-15 11:51:43 -070022 register "eist_enable" = "1"
23
Duncan Laurie81485d22016-10-28 09:13:52 -070024 # GPE configuration
25 # Note that GPE events called out in ASL code rely on this
26 # route. i.e. If this route changes then the affected GPE
27 # offset bits also need to be changed.
28 register "gpe0_dw0" = "GPP_B"
29 register "gpe0_dw1" = "GPP_D"
30 register "gpe0_dw2" = "GPP_E"
31
32 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
33 register "gen1_dec" = "0x00fc0801"
34 register "gen2_dec" = "0x000c0201"
35 # EC memory map range is 0x900-0x9ff
36 register "gen3_dec" = "0x00fc0901"
37
38 # FSP Configuration
Duncan Laurie81485d22016-10-28 09:13:52 -070039 register "SataSalpSupport" = "0"
Duncan Laurie81485d22016-10-28 09:13:52 -070040 register "SataPortsEnable[0]" = "0"
Duncan Laurie81485d22016-10-28 09:13:52 -070041 register "DspEnable" = "1"
42 register "IoBufferOwnership" = "3"
Duncan Laurie81485d22016-10-28 09:13:52 -070043 register "SsicPortEnable" = "0"
Duncan Laurie81485d22016-10-28 09:13:52 -070044 register "ScsEmmcHs400Enabled" = "1"
Duncan Laurie81485d22016-10-28 09:13:52 -070045 register "SkipExtGfxScan" = "1"
Angel Pons6fadde02021-04-04 16:11:53 +020046 register "SaGv" = "SaGv_Enabled"
Duncan Laurie81485d22016-10-28 09:13:52 -070047 register "PmConfigSlpS3MinAssert" = "2" # 50ms
48 register "PmConfigSlpS4MinAssert" = "1" # 1s
49 register "PmConfigSlpSusMinAssert" = "1" # 500ms
50 register "PmConfigSlpAMinAssert" = "3" # 2s
Duncan Laurie81485d22016-10-28 09:13:52 -070051
Duncan Laurie4fa8a6f2017-03-14 16:37:55 -070052 # VR Settings Configuration for 4 Domains
53 #+----------------+-------+-------+-------+-------+
54 #| Domain/Setting | SA | IA | GTUS | GTS |
55 #+----------------+-------+-------+-------+-------+
56 #| Psi1Threshold | 20A | 20A | 20A | 20A |
V Sowmya41f93732017-05-23 14:17:01 +053057 #| Psi2Threshold | 2A | 2A | 2A | 2A |
Duncan Laurie4fa8a6f2017-03-14 16:37:55 -070058 #| Psi3Threshold | 1A | 1A | 1A | 1A |
59 #| Psi3Enable | 1 | 1 | 1 | 1 |
60 #| Psi4Enable | 1 | 1 | 1 | 1 |
61 #| ImonSlope | 0 | 0 | 0 | 0 |
62 #| ImonOffset | 0 | 0 | 0 | 0 |
63 #| IccMax | 4A | 24A | 24A | 24A |
64 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
V Sowmya41f93732017-05-23 14:17:01 +053065 #| AcLoadline | 14.9 | 5 | 5.7 | 4.57 |
66 #| DcLoadline | 14.2 | 4.86 | 4.2 | 4.3 |
Duncan Laurie4fa8a6f2017-03-14 16:37:55 -070067 #+----------------+-------+-------+-------+-------+
Duncan Laurie81485d22016-10-28 09:13:52 -070068 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
69 .vr_config_enable = 1,
70 .psi1threshold = VR_CFG_AMP(20),
V Sowmya41f93732017-05-23 14:17:01 +053071 .psi2threshold = VR_CFG_AMP(2),
Duncan Laurie81485d22016-10-28 09:13:52 -070072 .psi3threshold = VR_CFG_AMP(1),
73 .psi3enable = 1,
74 .psi4enable = 1,
75 .imon_slope = 0x0,
76 .imon_offset = 0x0,
Duncan Laurie949e34c2017-01-21 19:11:37 -080077 .icc_max = VR_CFG_AMP(4),
Duncan Laurie81485d22016-10-28 09:13:52 -070078 .voltage_limit = 1520,
V Sowmya41f93732017-05-23 14:17:01 +053079 .ac_loadline = 1490,
80 .dc_loadline = 1420,
Duncan Laurie81485d22016-10-28 09:13:52 -070081 }"
82
83 register "domain_vr_config[VR_IA_CORE]" = "{
84 .vr_config_enable = 1,
85 .psi1threshold = VR_CFG_AMP(20),
V Sowmya41f93732017-05-23 14:17:01 +053086 .psi2threshold = VR_CFG_AMP(2),
Duncan Laurie81485d22016-10-28 09:13:52 -070087 .psi3threshold = VR_CFG_AMP(1),
88 .psi3enable = 1,
89 .psi4enable = 1,
90 .imon_slope = 0x0,
91 .imon_offset = 0x0,
Duncan Laurie949e34c2017-01-21 19:11:37 -080092 .icc_max = VR_CFG_AMP(24),
Duncan Laurie81485d22016-10-28 09:13:52 -070093 .voltage_limit = 1520,
V Sowmya41f93732017-05-23 14:17:01 +053094 .ac_loadline = 500,
95 .dc_loadline = 486,
Duncan Laurie81485d22016-10-28 09:13:52 -070096 }"
97
Duncan Laurie81485d22016-10-28 09:13:52 -070098 register "domain_vr_config[VR_GT_UNSLICED]" = "{
99 .vr_config_enable = 1,
100 .psi1threshold = VR_CFG_AMP(20),
V Sowmya41f93732017-05-23 14:17:01 +0530101 .psi2threshold = VR_CFG_AMP(2),
Duncan Laurie81485d22016-10-28 09:13:52 -0700102 .psi3threshold = VR_CFG_AMP(1),
103 .psi3enable = 1,
104 .psi4enable = 1,
105 .imon_slope = 0x0,
106 .imon_offset = 0x0,
Duncan Laurie949e34c2017-01-21 19:11:37 -0800107 .icc_max = VR_CFG_AMP(24),
Duncan Laurie81485d22016-10-28 09:13:52 -0700108 .voltage_limit = 1520,
Duncan Laurie57e9e3b2017-03-14 16:42:33 -0700109 .ac_loadline = 570,
110 .dc_loadline = 420,
Duncan Laurie81485d22016-10-28 09:13:52 -0700111 }"
112
113 register "domain_vr_config[VR_GT_SLICED]" = "{
114 .vr_config_enable = 1,
115 .psi1threshold = VR_CFG_AMP(20),
V Sowmya41f93732017-05-23 14:17:01 +0530116 .psi2threshold = VR_CFG_AMP(2),
Duncan Laurie81485d22016-10-28 09:13:52 -0700117 .psi3threshold = VR_CFG_AMP(1),
118 .psi3enable = 1,
119 .psi4enable = 1,
120 .imon_slope = 0x0,
121 .imon_offset = 0x0,
Duncan Laurie949e34c2017-01-21 19:11:37 -0800122 .icc_max = VR_CFG_AMP(24),
Duncan Laurie81485d22016-10-28 09:13:52 -0700123 .voltage_limit = 1520,
V Sowmya41f93732017-05-23 14:17:01 +0530124 .ac_loadline = 457,
125 .dc_loadline = 430,
Duncan Laurie81485d22016-10-28 09:13:52 -0700126 }"
127
Duncan Laurie949e34c2017-01-21 19:11:37 -0800128 # Enable Root port 1 with SRCCLKREQ1#
Duncan Laurie81485d22016-10-28 09:13:52 -0700129 register "PcieRpEnable[0]" = "1"
Duncan Laurie81485d22016-10-28 09:13:52 -0700130 register "PcieRpClkReqSupport[0]" = "1"
Duncan Laurie81485d22016-10-28 09:13:52 -0700131 register "PcieRpClkReqNumber[0]" = "1"
Furquan Shaikhebd67c22017-09-18 14:21:48 -0700132 register "PcieRpAdvancedErrorReporting[0]" = "1"
133 register "PcieRpLtrEnable[0]" = "1"
Duncan Laurie25874b82018-01-29 12:02:41 -0800134 register "PcieRpHotPlug[0]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530135 #RP 1 uses CLK SRC 1
136 register "PcieRpClkSrcNumber[0]" = "1"
Duncan Laurie81485d22016-10-28 09:13:52 -0700137
Duncan Laurie949e34c2017-01-21 19:11:37 -0800138 # Enable Root port 5 with SRCCLKREQ4#
139 register "PcieRpEnable[4]" = "1"
140 register "PcieRpClkReqSupport[4]" = "1"
141 register "PcieRpClkReqNumber[4]" = "4"
Furquan Shaikhebd67c22017-09-18 14:21:48 -0700142 register "PcieRpAdvancedErrorReporting[4]" = "1"
143 register "PcieRpLtrEnable[4]" = "1"
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530144 #RP 5 uses CLK SRC 4
145 register "PcieRpClkSrcNumber[4]" = "4"
Duncan Laurie949e34c2017-01-21 19:11:37 -0800146
Subrata Banik2c3054c2016-11-22 20:21:49 +0530147 register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1
148 register "usb2_ports[1]" = "USB2_PORT_FLEX(OC_SKIP)" # Camera
149 register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth
150 register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2
Duncan Laurie949e34c2017-01-21 19:11:37 -0800151 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # H1
Duncan Laurie81485d22016-10-28 09:13:52 -0700152
Subrata Banik2c3054c2016-11-22 20:21:49 +0530153 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1
154 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2
Duncan Laurie81485d22016-10-28 09:13:52 -0700155
Subrata Banikc4986eb2018-05-09 14:55:09 +0530156 # Intel Common SoC Config
157 #+-------------------+---------------------------+
158 #| Field | Value |
159 #+-------------------+---------------------------+
Subrata Banikc4986eb2018-05-09 14:55:09 +0530160 #| I2C0 | Touchscreen |
161 #| I2C1 | Early TPM access |
162 #| I2C2 | Touchpad |
163 #| I2C4 | Audio |
164 #+-------------------+---------------------------+
165 register "common_soc_config" = "{
Subrata Banikc4986eb2018-05-09 14:55:09 +0530166 .i2c[0] = {
167 .speed = I2C_SPEED_FAST_PLUS,
168 .rise_time_ns = 98,
169 .fall_time_ns = 38,
170 },
171 .i2c[1] = {
172 .early_init = 1,
173 .speed = I2C_SPEED_FAST,
174 .rise_time_ns = 112,
175 .fall_time_ns = 34,
176 },
177 .i2c[2] = {
178 .speed = I2C_SPEED_FAST,
179 .speed_config[0] = {
180 .speed = I2C_SPEED_FAST,
181 .scl_lcnt = 186,
182 .scl_hcnt = 93,
183 .sda_hold = 36,
184 }
185 },
186 .i2c[4] = {
187 .speed = I2C_SPEED_FAST,
188 .speed_config[0] = {
189 .speed = I2C_SPEED_FAST,
190 .scl_lcnt = 176,
191 .scl_hcnt = 95,
192 .sda_hold = 36,
193 }
194 },
195 }"
196
Duncan Lauried4d6ba12017-02-24 12:28:12 -0800197 # Touchscreen
198 register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3"
Duncan Laurie81485d22016-10-28 09:13:52 -0700199
200 # Enable I2C1 bus early for TPM access
Duncan Lauried4d6ba12017-02-24 12:28:12 -0800201 register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3"
Duncan Laurie81485d22016-10-28 09:13:52 -0700202
Duncan Lauried4d6ba12017-02-24 12:28:12 -0800203 # Touchpad
204 register "i2c_voltage[2]" = "I2C_VOLTAGE_1V8"
Duncan Lauried4d6ba12017-02-24 12:28:12 -0800205
206 # Audio
207 register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8"
Duncan Lauried4d6ba12017-02-24 12:28:12 -0800208
Duncan Laurie81485d22016-10-28 09:13:52 -0700209 # Must leave UART0 enabled or SD/eMMC will not work as PCI
210 register "SerialIoDevMode" = "{
211 [PchSerialIoIndexI2C0] = PchSerialIoPci,
212 [PchSerialIoIndexI2C1] = PchSerialIoPci,
213 [PchSerialIoIndexI2C2] = PchSerialIoPci,
Duncan Laurie93eb8c42016-12-12 10:43:45 -0800214 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
Duncan Laurie81485d22016-10-28 09:13:52 -0700215 [PchSerialIoIndexI2C4] = PchSerialIoPci,
216 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
217 [PchSerialIoIndexSpi0] = PchSerialIoPci,
Duncan Lauriec5eab982017-05-16 19:06:04 -0700218 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
Duncan Lauriee49b8662017-04-13 01:40:53 -0700219 [PchSerialIoIndexUart0] = PchSerialIoSkipInit,
Duncan Laurie81485d22016-10-28 09:13:52 -0700220 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
221 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
222 }"
223
Duncan Laurie81485d22016-10-28 09:13:52 -0700224 register "dptf_enable" = "1"
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530225 register "power_limits_config" = "{
226 .tdp_pl1_override = 7,
227 .tdp_pl2_override = 15,
228 }"
Duncan Laurie690831d2016-12-16 08:01:09 -0800229 register "tcc_offset" = "10"
Duncan Laurie81485d22016-10-28 09:13:52 -0700230
Arthur Heymans69cd7292022-11-07 13:52:11 +0100231 device cpu_cluster 0 on end
Duncan Laurie81485d22016-10-28 09:13:52 -0700232 device domain 0 on
233 device pci 00.0 on end # Host Bridge
234 device pci 02.0 on end # Integrated Graphics Device
Felix Singer9c1c0092020-07-29 20:48:08 +0200235 device pci 04.0 on end # SA thermal subsystem
Duncan Laurie283b01d2018-05-07 15:39:37 -0700236 device pci 14.0 on
237 chip drivers/usb/acpi
238 register "desc" = ""Root Hub""
239 register "type" = "UPC_TYPE_HUB"
240 device usb 0.0 on
241 chip drivers/usb/acpi
242 register "desc" = ""USB2 Type-C Left""
243 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
Duncan Laurieb0a0c6c2018-12-01 17:15:29 -0800244 register "group" = "ACPI_PLD_GROUP(1, 1)"
Duncan Laurie283b01d2018-05-07 15:39:37 -0700245 device usb 2.0 on end
246 end
247 chip drivers/usb/acpi
248 register "desc" = ""USB2 Camera""
249 register "type" = "UPC_TYPE_INTERNAL"
250 device usb 2.1 on end
251 end
252 chip drivers/usb/acpi
253 register "desc" = ""USB2 Bluetooth""
254 register "type" = "UPC_TYPE_INTERNAL"
255 device usb 2.2 on end
256 end
257 chip drivers/usb/acpi
258 register "desc" = ""USB2 Type-C Right""
259 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
Duncan Laurieb0a0c6c2018-12-01 17:15:29 -0800260 register "group" = "ACPI_PLD_GROUP(2, 1)"
Duncan Laurie283b01d2018-05-07 15:39:37 -0700261 device usb 2.4 on end
262 end
263 chip drivers/usb/acpi
264 register "desc" = ""USB2 H1 TPM""
265 register "type" = "UPC_TYPE_INTERNAL"
266 device usb 2.6 on end
267 end
268 chip drivers/usb/acpi
269 register "desc" = ""USB3 Type-C Left""
270 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
Duncan Laurieb0a0c6c2018-12-01 17:15:29 -0800271 register "group" = "ACPI_PLD_GROUP(1, 1)"
Duncan Laurie283b01d2018-05-07 15:39:37 -0700272 device usb 3.0 on end
273 end
274 chip drivers/usb/acpi
275 register "desc" = ""USB3 Type-C Right""
276 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
Duncan Laurieb0a0c6c2018-12-01 17:15:29 -0800277 register "group" = "ACPI_PLD_GROUP(2, 1)"
Duncan Laurie283b01d2018-05-07 15:39:37 -0700278 device usb 3.1 on end
279 end
280 end
281 end
282 end # USB xHCI
Duncan Laurie81485d22016-10-28 09:13:52 -0700283 device pci 14.1 off end # USB xDCI (OTG)
284 device pci 14.2 on end # Thermal Subsystem
Felix Singere2186672020-07-29 23:20:52 +0200285 device pci 14.3 off end # Camera
Duncan Laurie81485d22016-10-28 09:13:52 -0700286 device pci 15.0 on
Furquan Shaikh5360c7e2017-02-19 01:18:09 -0800287 chip drivers/i2c/hid
288 register "generic.hid" = ""WCOM50C1""
289 register "generic.desc" = ""WCOM Digitizer""
Furquan Shaikh5b9b5932017-02-21 13:16:30 -0800290 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)"
Duncan Laurie658a6dc2017-02-17 17:27:51 -0800291 register "generic.speed" = "I2C_SPEED_FAST_PLUS"
Duncan Laurie2d140212016-12-15 18:51:29 -0800292 register "hid_desc_reg_offset" = "0x1"
293 device i2c 0a on end
Duncan Laurie81485d22016-10-28 09:13:52 -0700294 end
295 end # I2C #0
296 device pci 15.1 on
297 chip drivers/i2c/tpm
298 register "hid" = ""GOOG0005""
Furquan Shaikh5b9b5932017-02-21 13:16:30 -0800299 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
Duncan Laurie81485d22016-10-28 09:13:52 -0700300 device i2c 50 on end
301 end
302 end # I2C #1
303 device pci 15.2 on
Wei-Ning Huang267e4a52017-04-24 18:53:22 +0800304 chip drivers/i2c/hid
305 register "generic.hid" = ""ACPI0C50""
Matt DeVillier7779a082023-01-18 18:16:37 -0600306 register "generic.sub" = ""1AE0006B""
Wei-Ning Huang267e4a52017-04-24 18:53:22 +0800307 register "generic.desc" = ""Touchpad""
308 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
309 register "hid_desc_reg_offset" = "0x1"
Duncan Laurie2d140212016-12-15 18:51:29 -0800310 device i2c 49 on end
Duncan Laurie81485d22016-10-28 09:13:52 -0700311 end
Wei-Ning Huang267e4a52017-04-24 18:53:22 +0800312 chip drivers/i2c/generic
313 register "hid" = ""GOOG0008""
314 register "desc" = ""Touchpad EC Interface""
315 device i2c 1e on end
316 end
Duncan Laurie81485d22016-10-28 09:13:52 -0700317 end # I2C #2
Duncan Laurie93eb8c42016-12-12 10:43:45 -0800318 device pci 15.3 off end # I2C #3
Duncan Laurie81485d22016-10-28 09:13:52 -0700319 device pci 16.0 on end # Management Engine Interface 1
320 device pci 16.1 off end # Management Engine Interface 2
321 device pci 16.2 off end # Management Engine IDE-R
322 device pci 16.3 off end # Management Engine KT Redirection
323 device pci 16.4 off end # Management Engine Interface 3
324 device pci 17.0 off end # SATA
325 device pci 19.0 on end # UART #2
Duncan Laurie949e34c2017-01-21 19:11:37 -0800326 device pci 19.1 off end # I2C #5
Duncan Laurie5492bfb52017-02-17 17:40:10 -0800327 device pci 19.2 on
328 chip drivers/i2c/max98927
329 register "interleave_mode" = "1"
Harsha Priya130b4a22017-08-24 14:40:04 -0700330 register "vmon_slot_no" = "4"
331 register "imon_slot_no" = "5"
Duncan Laurie5492bfb52017-02-17 17:40:10 -0800332 register "uid" = "0"
333 register "desc" = ""Right Speaker Amp""
334 register "name" = ""MAXR""
335 device i2c 39 on end
336 end
337 chip drivers/i2c/max98927
338 register "interleave_mode" = "1"
Harsha Priya130b4a22017-08-24 14:40:04 -0700339 register "vmon_slot_no" = "6"
340 register "imon_slot_no" = "7"
Duncan Laurie5492bfb52017-02-17 17:40:10 -0800341 register "uid" = "1"
342 register "desc" = ""Left Speaker Amp""
343 register "name" = ""MAXL""
344 device i2c 3a on end
345 end
Duncan Laurief8e4eb82017-08-10 18:42:08 -0700346 chip drivers/i2c/rt5663
Harsha Priyaad126102018-05-02 14:39:29 -0700347 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH_WAKE(GPP_D9)"
Duncan Laurief8e4eb82017-08-10 18:42:08 -0700348 register "dc_offset_l_manual" = "0xffd160"
349 register "dc_offset_r_manual" = "0xffd1c0"
350 register "dc_offset_l_manual_mic" = "0xff8a10"
351 register "dc_offset_r_manual_mic" = "0xff8ab0"
Duncan Laurie5492bfb52017-02-17 17:40:10 -0800352 device i2c 13 on end
353 end
Duncan Laurie2661a9f2017-03-02 10:15:23 -0800354 chip drivers/i2c/generic
355 register "hid" = ""10EC5514""
356 register "name" = ""RT54""
357 register "desc" = ""Realtek RT5514""
Cheng-Yi Chiang09ab1572017-11-01 15:01:34 +0800358 register "property_count" = "3"
Duncan Laurief10c8f92017-08-29 08:36:55 -0700359 # Set the DMIC initial delay to 16ms to avoid pop noise
360 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
361 register "property_list[0].name" = ""realtek,dmic-init-delay""
362 register "property_list[0].integer" = "16"
Cheng-Yi Chiang09ab1572017-11-01 15:01:34 +0800363 # Set clock name for RT5514 to calibrate DSP clock.
364 register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
365 register "property_list[1].name" = ""realtek,dsp-calib-clk-name""
366 register "property_list[1].string" = ""ssp1_mclk""
367 # Set clock rate for RT5514 to calibrate DSP clock.
368 register "property_list[2].type" = "ACPI_DP_TYPE_INTEGER"
369 register "property_list[2].name" = ""realtek,dsp-calib-clk-rate""
370 register "property_list[2].integer" = "24000000"
Duncan Laurie2661a9f2017-03-02 10:15:23 -0800371 device i2c 57 on end
372 end
Duncan Laurie5492bfb52017-02-17 17:40:10 -0800373 end # I2C #4
Duncan Laurie81485d22016-10-28 09:13:52 -0700374 device pci 1c.0 on
Furquan Shaikha266d1e2020-10-04 12:52:54 -0700375 chip drivers/wifi/generic
Duncan Laurie81485d22016-10-28 09:13:52 -0700376 register "wake" = "GPE0_PCI_EXP"
377 device pci 00.0 on end
378 end
379 end # PCI Express Port 1
380 device pci 1c.1 off end # PCI Express Port 2
381 device pci 1c.2 off end # PCI Express Port 3
382 device pci 1c.3 off end # PCI Express Port 4
Duncan Laurie949e34c2017-01-21 19:11:37 -0800383 device pci 1c.4 on end # PCI Express Port 5
Duncan Laurie81485d22016-10-28 09:13:52 -0700384 device pci 1c.5 off end # PCI Express Port 6
385 device pci 1c.6 off end # PCI Express Port 7
386 device pci 1c.7 off end # PCI Express Port 8
387 device pci 1d.0 off end # PCI Express Port 9
388 device pci 1d.1 off end # PCI Express Port 10
389 device pci 1d.2 off end # PCI Express Port 11
390 device pci 1d.3 off end # PCI Express Port 12
391 device pci 1e.0 on end # UART #0
392 device pci 1e.1 off end # UART #1
Duncan Laurie2661a9f2017-03-02 10:15:23 -0800393 device pci 1e.2 on
394 chip drivers/spi/acpi
395 register "hid" = "ACPI_DT_NAMESPACE_HID"
396 register "compat_string" = ""realtek,rt5514""
Duncan Laurie9692f312017-06-30 02:01:02 -0700397 register "irq" = "ACPI_IRQ_EDGE_HIGH(GPP_F10_IRQ)"
Duncan Laurie37da8842017-09-27 03:45:53 -0700398 register "speed" = "12 * MHz"
Duncan Laurie2661a9f2017-03-02 10:15:23 -0800399 device spi 0 on end
400 end
401 end # GSPI #0
Duncan Lauriec5eab982017-05-16 19:06:04 -0700402 device pci 1e.3 off end # GSPI #1
Duncan Laurie81485d22016-10-28 09:13:52 -0700403 device pci 1e.4 on end # eMMC
404 device pci 1e.5 off end # SDIO
405 device pci 1e.6 off end # SDCard
406 device pci 1f.0 on
407 chip ec/google/chromeec
408 device pnp 0c09.0 on end
409 end
410 end # LPC Interface
411 device pci 1f.1 on end # P2SB
412 device pci 1f.2 on end # Power Management Controller
413 device pci 1f.3 on end # Intel HDA
414 device pci 1f.4 on end # SMBus
415 device pci 1f.5 on end # PCH SPI
416 device pci 1f.6 off end # GbE
417 end
418end