4 register
"gfx" = "GMA_STATIC_DISPLAYS(0)"
6 register
"panel_cfg" = "{
10 .backlight_on_delay_ms = 1,
11 .backlight_off_delay_ms = 200,
12 .backlight_pwm_hz = 1000,
15 # Enable deep Sx states
16 register
"deep_s3_enable_ac" = "0"
17 register
"deep_s3_enable_dc" = "1"
18 register
"deep_s5_enable_ac" = "1"
19 register
"deep_s5_enable_dc" = "1"
20 register
"deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN"
22 register
"eist_enable" = "true"
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"
33 register
"DspEnable" = "1"
34 register
"IoBufferOwnership" = "3"
35 register
"ScsEmmcHs400Enabled" = "1"
36 register
"SkipExtGfxScan" = "1"
37 register
"SaGv" = "SaGv_Enabled"
38 register
"PmConfigSlpS3MinAssert" = "2" #
50ms
39 register
"PmConfigSlpS4MinAssert" = "1" #
1s
40 register
"PmConfigSlpSusMinAssert" = "1" #
500ms
41 register
"PmConfigSlpAMinAssert" = "3" #
2s
43 # VR Settings Configuration
for 4 Domains
44 #
+----------------+-------+-------+-------+-------+
45 #| Domain
/Setting | SA | IA | GTUS | GTS |
46 #
+----------------+-------+-------+-------+-------+
47 #| Psi1Threshold |
20A |
20A |
20A |
20A |
48 #| Psi2Threshold |
2A |
2A |
2A |
2A |
49 #| Psi3Threshold |
1A |
1A |
1A |
1A |
50 #| Psi3Enable |
1 |
1 |
1 |
1 |
51 #| Psi4Enable |
1 |
1 |
1 |
1 |
52 #| ImonSlope |
0 |
0 |
0 |
0 |
53 #| ImonOffset |
0 |
0 |
0 |
0 |
54 #| IccMax |
4A |
24A |
24A |
24A |
55 #| VrVoltageLimit |
1.52V |
1.52V |
1.52V |
1.52V |
56 #| AcLoadline |
14.9 |
5 |
5.7 |
4.57 |
57 #| DcLoadline |
14.2 |
4.86 |
4.2 |
4.3 |
58 #
+----------------+-------+-------+-------+-------+
59 register
"domain_vr_config[VR_SYSTEM_AGENT]" = "{
60 .vr_config_enable = 1,
61 .psi1threshold = VR_CFG_AMP(20),
62 .psi2threshold = VR_CFG_AMP(2),
63 .psi3threshold = VR_CFG_AMP(1),
68 .icc_max = VR_CFG_AMP(4),
69 .voltage_limit = 1520,
74 register
"domain_vr_config[VR_IA_CORE]" = "{
75 .vr_config_enable = 1,
76 .psi1threshold = VR_CFG_AMP(20),
77 .psi2threshold = VR_CFG_AMP(2),
78 .psi3threshold = VR_CFG_AMP(1),
83 .icc_max = VR_CFG_AMP(24),
84 .voltage_limit = 1520,
89 register
"domain_vr_config[VR_GT_UNSLICED]" = "{
90 .vr_config_enable = 1,
91 .psi1threshold = VR_CFG_AMP(20),
92 .psi2threshold = VR_CFG_AMP(2),
93 .psi3threshold = VR_CFG_AMP(1),
98 .icc_max = VR_CFG_AMP(24),
99 .voltage_limit = 1520,
104 register
"domain_vr_config[VR_GT_SLICED]" = "{
105 .vr_config_enable = 1,
106 .psi1threshold = VR_CFG_AMP(20),
107 .psi2threshold = VR_CFG_AMP(2),
108 .psi3threshold = VR_CFG_AMP(1),
113 .icc_max = VR_CFG_AMP(24),
114 .voltage_limit = 1520,
119 # Intel Common SoC Config
120 #
+-------------------+---------------------------+
122 #
+-------------------+---------------------------+
123 #| I2C0 | Touchscreen |
124 #| I2C1 | Early TPM access |
127 #
+-------------------+---------------------------+
128 register
"common_soc_config" = "{
130 .speed = I2C_SPEED_FAST_PLUS,
136 .speed = I2C_SPEED_FAST,
141 .speed = I2C_SPEED_FAST,
143 .speed = I2C_SPEED_FAST,
150 .speed = I2C_SPEED_FAST,
152 .speed = I2C_SPEED_FAST,
161 register
"i2c_voltage[0]" = "I2C_VOLTAGE_3V3"
163 # Enable I2C1 bus early
for TPM access
164 register
"i2c_voltage[1]" = "I2C_VOLTAGE_3V3"
167 register
"i2c_voltage[2]" = "I2C_VOLTAGE_1V8"
170 register
"i2c_voltage[4]" = "I2C_VOLTAGE_1V8"
172 # Must leave UART0 enabled
or SD
/eMMC will
not work
as PCI
173 register
"SerialIoDevMode" = "{
174 [PchSerialIoIndexI2C0] = PchSerialIoPci,
175 [PchSerialIoIndexI2C1] = PchSerialIoPci,
176 [PchSerialIoIndexI2C2] = PchSerialIoPci,
177 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
178 [PchSerialIoIndexI2C4] = PchSerialIoPci,
179 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
180 [PchSerialIoIndexSpi0] = PchSerialIoPci,
181 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
182 [PchSerialIoIndexUart0] = PchSerialIoSkipInit,
183 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
184 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
187 register
"dptf_enable" = "1"
188 register
"power_limits_config" = "{
189 .tdp_pl1_override = 7,
190 .tdp_pl2_override = 15,
192 register
"tcc_offset" = "10"
195 device ref igpu on
end
196 device ref sa_thermal on
end
197 device ref south_xhci on
198 register
"usb2_ports" = "{
199 [0] = USB2_PORT_LONG(OC0), // Type-C Port 1
200 [1] = USB2_PORT_FLEX(OC_SKIP), // Camera
201 [2] = USB2_PORT_MID(OC_SKIP), // Bluetooth
202 [4] = USB2_PORT_LONG(OC1), // Type-C Port 2
203 [6] = USB2_PORT_MID(OC_SKIP), // H1
206 register
"usb3_ports" = "{
207 [0] = USB3_PORT_DEFAULT(OC0), // Type-C Port 1
208 [1] = USB3_PORT_DEFAULT(OC1), // Type-C Port 2
210 chip drivers
/usb
/acpi
211 register
"desc" = ""Root Hub
""
212 register
"type" = "UPC_TYPE_HUB"
214 chip drivers
/usb
/acpi
215 register
"desc" = ""USB2
Type-C Left
""
216 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
217 register
"group" = "ACPI_PLD_GROUP(1, 1)"
218 device usb
2.0 on
end
220 chip drivers
/usb
/acpi
221 register
"desc" = ""USB2 Camera
""
222 register
"type" = "UPC_TYPE_INTERNAL"
223 device usb
2.1 on
end
225 chip drivers
/usb
/acpi
226 register
"desc" = ""USB2 Bluetooth
""
227 register
"type" = "UPC_TYPE_INTERNAL"
228 device usb
2.2 on
end
230 chip drivers
/usb
/acpi
231 register
"desc" = ""USB2
Type-C Right
""
232 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
233 register
"group" = "ACPI_PLD_GROUP(2, 1)"
234 device usb
2.4 on
end
236 chip drivers
/usb
/acpi
237 register
"desc" = ""USB2 H1 TPM
""
238 register
"type" = "UPC_TYPE_INTERNAL"
239 device usb
2.6 on
end
241 chip drivers
/usb
/acpi
242 register
"desc" = ""USB3
Type-C Left
""
243 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
244 register
"group" = "ACPI_PLD_GROUP(1, 1)"
245 device usb
3.0 on
end
247 chip drivers
/usb
/acpi
248 register
"desc" = ""USB3
Type-C Right
""
249 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
250 register
"group" = "ACPI_PLD_GROUP(2, 1)"
251 device usb
3.1 on
end
256 device ref thermal on
end
259 register
"generic.hid" = ""WCOM50C1
""
260 register
"generic.desc" = ""WCOM Digitizer
""
261 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)"
262 register
"generic.speed" = "I2C_SPEED_FAST_PLUS"
263 register
"hid_desc_reg_offset" = "0x1"
269 register
"hid" = ""GOOG0005
""
270 register
"irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
276 register
"generic.hid" = ""ACPI0C50
""
277 register
"generic.sub" = ""1AE0006B
""
278 register
"generic.desc" = ""Touchpad
""
279 register
"generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
280 register
"hid_desc_reg_offset" = "0x1"
283 chip drivers
/i2c
/generic
284 register
"hid" = ""GOOG0008
""
285 register
"desc" = ""Touchpad EC Interface
""
289 device ref heci1 on
end
290 device ref uart2 on
end
292 chip drivers
/i2c
/max98927
293 register
"interleave_mode" = "1"
294 register
"vmon_slot_no" = "4"
295 register
"imon_slot_no" = "5"
297 register
"desc" = ""Right Speaker Amp
""
298 register
"name" = ""MAXR
""
301 chip drivers
/i2c
/max98927
302 register
"interleave_mode" = "1"
303 register
"vmon_slot_no" = "6"
304 register
"imon_slot_no" = "7"
306 register
"desc" = ""Left Speaker Amp
""
307 register
"name" = ""MAXL
""
310 chip drivers
/i2c
/rt5663
311 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH_WAKE(GPP_D9)"
312 register
"dc_offset_l_manual" = "0xffd160"
313 register
"dc_offset_r_manual" = "0xffd1c0"
314 register
"dc_offset_l_manual_mic" = "0xff8a10"
315 register
"dc_offset_r_manual_mic" = "0xff8ab0"
318 chip drivers
/i2c
/generic
319 register
"hid" = ""10EC5514
""
320 register
"name" = ""RT54
""
321 register
"desc" = ""Realtek RT5514
""
322 register
"property_count" = "3"
323 #
Set the DMIC initial delay
to 16ms
to avoid pop noise
324 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
325 register
"property_list[0].name" = ""realtek
,dmic
-init
-delay
""
326 register
"property_list[0].integer" = "16"
327 #
Set clock name
for RT5514
to calibrate DSP clock.
328 register
"property_list[1].type" = "ACPI_DP_TYPE_STRING"
329 register
"property_list[1].name" = ""realtek
,dsp
-calib
-clk
-name
""
330 register
"property_list[1].string" = ""ssp1_mclk
""
331 #
Set clock rate
for RT5514
to calibrate DSP clock.
332 register
"property_list[2].type" = "ACPI_DP_TYPE_INTEGER"
333 register
"property_list[2].name" = ""realtek
,dsp
-calib
-clk
-rate
""
334 register
"property_list[2].integer" = "24000000"
338 device ref pcie_rp1 on
339 register
"PcieRpEnable[0]" = "1"
340 register
"PcieRpClkReqSupport[0]" = "1"
341 register
"PcieRpClkReqNumber[0]" = "1"
342 register
"PcieRpAdvancedErrorReporting[0]" = "1"
343 register
"PcieRpLtrEnable[0]" = "1"
344 register
"PcieRpHotPlug[0]" = "1"
345 register
"PcieRpClkSrcNumber[0]" = "1"
346 chip drivers
/wifi
/generic
347 register
"wake" = "GPE0_PCI_EXP"
348 device pci
00.0 on
end
351 device ref pcie_rp5 on
352 register
"PcieRpEnable[4]" = "1"
353 register
"PcieRpClkReqSupport[4]" = "1"
354 register
"PcieRpClkReqNumber[4]" = "4"
355 register
"PcieRpAdvancedErrorReporting[4]" = "1"
356 register
"PcieRpLtrEnable[4]" = "1"
357 register
"PcieRpClkSrcNumber[4]" = "4"
359 device ref uart0 on
end
361 chip drivers
/spi
/acpi
362 register
"hid" = "ACPI_DT_NAMESPACE_HID"
363 register
"compat_string" = ""realtek
,rt5514
""
364 register
"irq" = "ACPI_IRQ_EDGE_HIGH(GPP_F10_IRQ)"
365 register
"speed" = "12 * MHz"
369 device ref emmc on
end
370 device ref lpc_espi on
371 # EC host command ranges are in
0x800-0x8ff & 0x200-0x20f
372 register
"gen1_dec" = "0x00fc0801"
373 register
"gen2_dec" = "0x000c0201"
374 # EC memory map range is
0x900-0x9ff
375 register
"gen3_dec" = "0x00fc0901"
377 chip ec
/google
/chromeec
378 device pnp
0c09.0 on
end
381 device ref hda on
end
382 device ref smbus on
end
383 device ref fast_spi on
end