8 chip soc
/intel
/alderlake
9 register
"sagv" = "SaGv_Enabled"
11 # Intel Common SoC Config
12 #
+-------------------+---------------------------+
14 #
+-------------------+---------------------------+
17 #| I2C1 | cr50 TPM. Early init is |
18 #| | required
to set up a BAR |
19 #| |
for TPM communication |
22 #
+-------------------+---------------------------+
23 register
"common_soc_config" = "{
25 .speed = I2C_SPEED_FAST,
28 .data_hold_time_ns = 50,
32 .speed = I2C_SPEED_FAST,
35 .data_hold_time_ns = 50,
39 register
"usb2_ports[0]" = "USB2_PORT_MAX_TYPE_C(OC2)" #
set to Max
for USB2_C0
40 register
"usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable Port
1
41 register
"usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable Port
2
42 register
"usb2_ports[3]" = "USB2_PORT_EMPTY" # Disable Port
3
43 register
"usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable Port
4
45 register
"usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" #
Type-A port A0
46 register
"usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" #
Type-A port A1
(DCI
)
47 register
"usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" #
Type-A port A2
48 register
"usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" #
Type-A port A3
50 register
"tcss_ports[1]" = "TCSS_PORT_DEFAULT(OC1)" # USB
TYPE C
51 register
"tcss_ports[2]" = "TCSS_PORT_EMPTY" # Disable Port2
53 register
"serial_io_gspi_mode" = "{
54 [PchSerialIoIndexGSPI0] = PchSerialIoDisabled,
55 [PchSerialIoIndexGSPI1] = PchSerialIoDisabled,
58 register
"ddi_ports_config" = "{
59 [DDI_PORT_A] = DDI_ENABLE_HPD,
60 [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
61 [DDI_PORT_1] = DDI_ENABLE_HPD,
62 [DDI_PORT_3] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
67 chip drivers
/intel
/dptf
69 register
"options.tsr[0].desc" = ""DRAM
""
70 register
"options.tsr[1].desc" = ""Charger
""
72 # TODO
: below values are initial reference values only
74 register
"policies.active" = "{
86 register
"policies.passive" = "{
87 [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000),
88 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000),
89 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 75, 5000),
93 register
"policies.critical" = "{
94 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
95 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN),
96 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN),
99 register
"controls.power_limits" = "{
103 .time_window_min = 28 * MSECS_PER_SEC,
104 .time_window_max = 32 * MSECS_PER_SEC,
110 .time_window_min = 28 * MSECS_PER_SEC,
111 .time_window_max = 32 * MSECS_PER_SEC,
116 ## Charger Performance
Control (Control, mA
)
117 register
"controls.charger_perf" = "{
124 ## Fan Performance
Control (Percent
, Speed
, Noise
, Power
)
125 register
"controls.fan_perf" = "{
126 [0] = { 90, 6700, 220, 2200, },
127 [1] = { 80, 5800, 180, 1800, },
128 [2] = { 70, 5000, 145, 1450, },
129 [3] = { 60, 4900, 115, 1150, },
130 [4] = { 50, 3838, 90, 900, },
131 [5] = { 40, 2904, 55, 550, },
132 [6] = { 30, 2337, 30, 300, },
133 [7] = { 20, 1608, 15, 150, },
134 [8] = { 10, 800, 10, 100, },
135 [9] = { 0, 0, 0, 50, }
139 register
"options.fan.fine_grained_control" = "true"
140 register
"options.fan.step_size" = "2"
142 device generic
0 alias dptf_policy on
end
145 device ref pcie4_0 on
146 # Enable CPU PCIE RP
1 using CLK
0
147 register
"cpu_pcie_rp[CPU_RP(1)]" = "{
150 .flags = PCIE_RP_LTR | PCIE_RP_AER,
152 probe STORAGE STORAGE_NVME
154 device ref tbt_pcie_rp0 off
end
155 device ref tbt_pcie_rp1 off
end
156 device ref tbt_pcie_rp2 off
end
158 device ref tcss_dma0 off
end
159 device ref tcss_dma1 off
end
160 device ref cnvi_wifi on
161 chip drivers
/wifi
/generic
162 register
"wake" = "GPE0_PME_B0"
163 device generic
0 on
end
167 chip drivers
/i2c
/generic
168 register
"hid" = ""RTL5682
""
169 register
"name" = ""RT58
""
170 register
"desc" = ""Headset Codec
""
171 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
172 #
Set the jd_src
to RT5668_JD1
for jack detection
173 register
"property_count" = "1"
174 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
175 register
"property_list[0].name" = ""realtek
,jd
-src
""
176 register
"property_list[0].integer" = "1"
182 register
"hid" = ""GOOG0005
""
183 register
"irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
187 device ref pcie_rp7 on
189 register
"wake" = "GPE0_DW0_07"
190 register
"customized_leds" = "0x060f"
191 register
"enable_aspm_l1_2" = "1"
192 register
"add_acpi_dma_property" = "true"
193 device pci
00.0 on
end
195 end # RTL8111 Ethernet NIC
196 device ref pcie_rp8 on
197 chip soc
/intel
/common
/block
/pcie
/rtd3
198 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)"
199 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)"
200 register
"srcclk_pin" = "3"
201 device generic
0 on
end
204 device ref pcie_rp12 on
205 # Enable PCIE eMMC bridge
12 using clk
4
206 register
"pch_pcie_rp[PCH_RP(12)]" = "{
209 .flags = PCIE_RP_HOTPLUG | PCIE_RP_AER,
211 probe STORAGE STORAGE_EMMC
213 device ref gspi1 off
end
214 device ref pch_espi on
215 chip ec
/google
/chromeec
216 use conn0
as mux_conn
[0]
217 device pnp
0c09.0 on
end
220 device ref pmc hidden
221 chip drivers
/intel
/pmc_mux
223 chip drivers
/intel
/pmc_mux
/conn
224 use usb2_port1
as usb2_port
225 use tcss_usb3_port1
as usb3_port
226 device generic
0 alias conn0 on
end
231 device ref tcss_xhci on
232 chip drivers
/usb
/acpi
233 device ref tcss_root_hub on
234 chip drivers
/usb
/acpi
235 register
"desc" = ""USB3
Type-C Port C0
(MLB
)""
236 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
237 register
"use_custom_pld" = "true"
238 register
"custom_pld" = "ACPI_PLD_TYPE_C(BACK, RIGHT, ACPI_PLD_GROUP(1, 1))"
239 device ref tcss_usb3_port1 on
end
245 chip drivers
/usb
/acpi
246 device ref xhci_root_hub on
247 chip drivers
/usb
/acpi
248 register
"desc" = ""USB2
Type-C Port C0
(MLB
)""
249 register
"type" = "UPC_TYPE_C_USB2_SS_SWITCH"
250 register
"use_custom_pld" = "true"
251 register
"custom_pld" = "ACPI_PLD_TYPE_C(BACK, RIGHT, ACPI_PLD_GROUP(1, 1))"
252 device ref usb2_port1 on
end
254 chip drivers
/usb
/acpi
255 register
"desc" = ""USB2
Type-A Port A3
(MLB
)""
256 register
"type" = "UPC_TYPE_A"
257 register
"use_custom_pld" = "true"
258 register
"custom_pld" = "ACPI_PLD_TYPE_A(BACK, LEFT, ACPI_PLD_GROUP(5, 1))"
259 device ref usb2_port6 on
end
261 chip drivers
/usb
/acpi
262 register
"desc" = ""USB2
Type-A Port A2
(MLB
)""
263 register
"type" = "UPC_TYPE_A"
264 register
"use_custom_pld" = "true"
265 register
"custom_pld" = "ACPI_PLD_TYPE_A(BACK, CENTER, ACPI_PLD_GROUP(6, 1))"
266 device ref usb2_port7 on
end
268 chip drivers
/usb
/acpi
269 register
"desc" = ""USB2
Type-A Port A1
(MLB
)""
270 register
"type" = "UPC_TYPE_A"
271 register
"use_custom_pld" = "true"
272 register
"custom_pld" = "ACPI_PLD_TYPE_A(FRONT, LEFT, ACPI_PLD_GROUP(4, 1))"
273 device ref usb2_port8 on
end
275 chip drivers
/usb
/acpi
276 register
"desc" = ""USB2
Type-A Port A0
(MLB
)""
277 register
"type" = "UPC_TYPE_A"
278 register
"use_custom_pld" = "true"
279 register
"custom_pld" = "ACPI_PLD_TYPE_A(FRONT, RIGHT, ACPI_PLD_GROUP(1, 2))"
280 device ref usb2_port9 on
end
282 chip drivers
/usb
/acpi
283 register
"desc" = ""USB2 Bluetooth
""
284 register
"type" = "UPC_TYPE_INTERNAL"
285 register
"reset_gpio" =
286 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)"
287 device ref usb2_port10 on
end
289 chip drivers
/usb
/acpi
290 register
"desc" = ""USB3
Type-A Port A0
(MLB
)""
291 register
"type" = "UPC_TYPE_USB3_A"
292 register
"use_custom_pld" = "true"
293 register
"custom_pld" = "ACPI_PLD_TYPE_A(FRONT, RIGHT, ACPI_PLD_GROUP(1, 2))"
294 device ref usb3_port1 on
end
296 chip drivers
/usb
/acpi
297 register
"desc" = ""USB3
Type-A Port A1
(MLB
)""
298 register
"type" = "UPC_TYPE_USB3_A"
299 register
"use_custom_pld" = "true"
300 register
"custom_pld" = "ACPI_PLD_TYPE_A(FRONT, LEFT, ACPI_PLD_GROUP(4, 1))"
301 device ref usb3_port2 on
end
303 chip drivers
/usb
/acpi
304 register
"desc" = ""USB3
Type-A Port A2
(MLB
)""
305 register
"type" = "UPC_TYPE_USB3_A"
306 register
"use_custom_pld" = "true"
307 register
"custom_pld" = "ACPI_PLD_TYPE_A(BACK, CENTER, ACPI_PLD_GROUP(6, 1))"
308 device ref usb3_port3 on
end
310 chip drivers
/usb
/acpi
311 register
"desc" = ""USB3
Type-A Port A3
(MLB
)""
312 register
"type" = "UPC_TYPE_USB3_A"
313 register
"use_custom_pld" = "true"
314 register
"custom_pld" = "ACPI_PLD_TYPE_A(BACK, LEFT, ACPI_PLD_GROUP(5, 1))"
315 device ref usb3_port4 on
end