1 # SPDX
-License
-Identifier
: GPL
-2.0-or-later
16 option WWAN_DIASABLED
0
24 option KB_MAP_PRIVACY
0
25 option KB_MAP_NO_PRIVACY
1
31 register
"usb_phy_custom" = "true"
32 register
"usb_phy" = "{
33 /* Left USB C0 Port */
39 .txpreemppulsetune = 0,
45 /* Left USB A0 Port or WWAN */
51 .txpreemppulsetune = 0,
57 /* User facing camera */
63 .txpreemppulsetune = 0,
69 /* World facing camera */
75 .txpreemppulsetune = 0,
81 /* Right USB C1 Port */
87 .txpreemppulsetune = 0,
93 /* Right USB A1 Port */
99 .txpreemppulsetune = 0,
105 /* WiFi / Bluetooth */
110 .txpreempamptune = 2,
111 .txpreemppulsetune = 0,
122 .txpreempamptune = 2,
123 .txpreemppulsetune = 0,
129 /* Left USB C0 Port */
136 /* Left USB A0 Port or WWAN */
143 /* Right USB C1 Port */
150 /* Right USB A1 Port */
157 .ComboPhyStaticConfig[0] = USB_COMBO_PHY_MODE_USB_C,
158 .ComboPhyStaticConfig[1] = USB_COMBO_PHY_MODE_USB_C,
159 .BatteryChargerEnable = 0,
160 .PhyP3CpmP4Support = 0,
164 device ref gpp_bridge_2 on
165 # Required so the NVMe gets placed into D3 when entering S0i3.
166 chip drivers
/pcie
/rtd3
/device
167 register
"name" = ""NVME
""
168 device pci
00.0 on
end
170 probe STORAGE STORAGE_EMMC
172 device ref gpp_bridge_3 on
173 # Required so the NVMe gets placed into D3 when entering S0i3.
174 chip drivers
/pcie
/rtd3
/device
175 register
"name" = ""NVME
""
176 device pci
00.0 on
end
178 probe STORAGE STORAGE_SSD
180 device ref gpp_bridge_a on # Internal GPP Bridge
0 to Bus A
182 chip drivers
/gfx
/generic
183 register
"device_count" = "1"
184 register
"device[0].name" = ""LCD
""
185 # Use ChromeOS privacy
screen _HID
186 register
"device[0].hid" = ""GOOG0010
""
187 # Internal panel on the first port of the graphics chip
188 register
"device[0].type" = "panel"
189 register
"device[0].privacy.enabled" = "1"
190 register
"device[0].privacy.gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_18)"
191 device generic
0.0 on
192 probe KB_MAP KB_MAP_PRIVACY
197 chip drivers
/amd
/i2s_machine_dev
198 register
"hid" = ""10029836""
199 device generic
0.0 hidden
end
202 device ref xhci_1 on # USB
3.1 (USB1
)
203 chip drivers
/usb
/acpi
204 device ref xhci_1_root_hub on
205 chip drivers
/usb
/acpi # Bluetooth
206 register
"enable_off_delay_ms" = "10"
207 device ref usb2_port6 on
end
215 register
"slow_ppt_limit_mW" = "25000"
216 register
"fast_ppt_limit_mW" = "30000"
217 register
"slow_ppt_time_constant_s" = "5"
218 register
"stapm_time_constant_s" = "275"
219 register
"sustained_power_limit_mW" = "12000"
220 register
"thermctl_limit_degreeC" = "100"
222 register
"telemetry_vddcrvddfull_scale_current_mA" = "94623" #mA
223 register
"telemetry_vddcrvddoffset" = "1847"
224 register
"telemetry_vddcrsocfull_scale_current_mA" = "29904" #mA
225 register
"telemetry_vddcrsocoffset" = "756"
228 register
"stt_control" = "1"
229 register
"stt_pcb_sensor_count" = "2"
230 register
"stt_min_limit" = "12000"
231 register
"stt_m1" = "0x04DE"
232 register
"stt_m2" = "0x13"
233 register
"stt_m3" = "0"
234 register
"stt_m4" = "0"
235 register
"stt_m5" = "0"
236 register
"stt_m6" = "0"
237 register
"stt_c_apu" = "0xDA43"
238 register
"stt_c_gpu" = "0"
239 register
"stt_c_hs2" = "0"
240 register
"stt_alpha_apu" = "0x199A"
241 register
"stt_alpha_gpu" = "0"
242 register
"stt_alpha_hs2" = "0"
243 register
"stt_skin_temp_apu" = "0x2E00"
244 register
"stt_skin_temp_gpu" = "0"
245 register
"stt_skin_temp_hs2" = "0"
246 register
"stt_error_coeff" = "0x21"
247 register
"stt_error_rate_coefficient" = "0x2666"
250 #
+-------------------+---------------------------+
252 #
+-------------------+---------------------------+
254 #| I2C1 | Touchscreen |
255 #| I2C2 | Speaker
, Codec
, P
-SAR |
257 #
+-------------------+---------------------------+
258 register
"i2c[0]" = "{
259 .speed = I2C_SPEED_FAST,
262 register
"i2c[1]" = "{
263 .speed = I2C_SPEED_FAST,
266 register
"i2c[2]" = "{
267 .speed = I2C_SPEED_FAST,
270 register
"i2c[3]" = "{
271 .speed = I2C_SPEED_FAST,
275 register
"edp_phy_override" = "1"
277 # bit vector of phy
, bit0
=1: DP0
, bit1
=1: DP1
, bit2
=1: DP2
, bit3
=1: DP3
278 register
"edp_physel" = "0x1"
280 register
"edp_tuningset" = "{
281 .dp_vs_pemph_level = 0x00,
285 .tx_vboost_lvl = 0x5,
289 chip drivers
/i2c
/generic
290 register
"hid" = ""ELAN0000
""
291 register
"desc" = ""ELAN Touchpad
""
292 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)"
293 register
"wake" = "GEVENT_22"
294 register
"detect" = "1"
300 chip drivers
/i2c
/generic
301 register
"hid" = ""ELAN0001
""
302 register
"desc" = ""ELAN Touchscreen
""
303 register
"detect" = "1"
304 register
"irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_89)"
305 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_68)"
306 register
"enable_delay_ms" = "1"
307 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_121)"
308 register
"reset_delay_ms" = "20"
309 register
"has_power_resource" = "true"
313 register
"generic.hid" = ""GTCH7503
""
314 register
"generic.desc" = ""G2TOUCH Touchscreen
""
315 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_89)"
316 register
"generic.detect" = "1"
317 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_68)"
318 register
"generic.enable_delay_ms" = "1"
319 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_121)"
320 register
"generic.reset_delay_ms" = "50"
321 register
"generic.has_power_resource" = "1"
322 register
"hid_desc_reg_offset" = "0x01"
328 chip drivers
/i2c
/generic
329 register
"hid" = ""RTL5682
""
330 register
"name" = ""RT58
""
331 register
"desc" = ""Realtek RT5682
""
332 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPIO_90)"
333 register
"property_count" = "1"
334 register
"property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
335 register
"property_list[0].name" = ""realtek
,jd
-src
""
336 register
"property_list[0].integer" = "1"
342 chip drivers
/uart
/acpi
343 register
"name" = ""CRFP
""
344 register
"desc" = ""Fingerprint Reader
""
345 register
"hid" = "ACPI_DT_NAMESPACE_HID"
346 register
"compat_string" = ""google
,cros
-ec
-uart
""
347 register
"irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_21)"
348 register
"wake" = "GEVENT_5"
349 register
"uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
350 register
"has_power_resource" = "true"
351 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_11)"
352 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_3)"
353 register
"enable_delay_ms" = "3"
354 device generic
0 alias fpmcu on
360 chip drivers
/generic
/max98357a
361 register
"hid" = ""MX98360A
""
362 register
"sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_70)"
363 register
"sdmode_delay" = "5"
364 device generic
0.1 on
end
367 end # chip soc
/amd
/cezanne