1# SPDX-License-Identifier: GPL-2.0-or-later 2 3chip soc/amd/picasso 4 5 # Start : OPN Performance Configuration 6 # See devhub #55593 Chapter 3.2 for documentation 7 # For the below fields, 0 indicates use SOC default 8 9 # System config index 10 register "system_config" = "2" 11 12 # Set STAPM confiuration. All of these fields must be set >0 to take affect 13 register "slow_ppt_limit_mW" = "25000" 14 register "fast_ppt_limit_mW" = "30000" 15 register "slow_ppt_time_constant_s" = "5" 16 register "stapm_time_constant_s" = "200" 17 register "sustained_power_limit_mW" = "15000" 18 19 register "telemetry_vddcr_vdd_slope_mA" = "71222" 20 register "telemetry_vddcr_vdd_offset" = "0" 21 register "telemetry_vddcr_soc_slope_mA" = "28977" 22 register "telemetry_vddcr_soc_offset" = "0" 23 24 # End : OPN Performance Configuration 25 26 # Enable I2C2 for trackpad, touchscreen, pen at 400kHz 27 register "i2c[2]" = "{ 28 .speed = I2C_SPEED_FAST, 29 }" 30 31 # Enable I2C3 for H1 400kHz 32 register "i2c[3]" = "{ 33 .speed = I2C_SPEED_FAST, 34 .early_init = true, 35 }" 36 37 # See AMD 55570-B1 Table 13: PCI Device ID Assignments. 38 device domain 0 on 39 subsystemid 0x1022 0x1510 inherit 40 device ref gpp_bridge_6 on end # NVME 41 end # domain 42 43 device mmio 0xfedc4000 on end 44 45end # chip soc/amd/picasso 46