• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-or-later
2
3chip soc/amd/picasso
4
5	# Start : OPN Performance Configuration
6	# See devhub #56670 Chapter 5 for documentation
7	# For the below fields, 0 indicates use SOC default
8
9	# System config index
10	register "system_config" = "1"
11
12	# Set STAPM confiuration. All of these fields must be set >0 to take affect
13	register "slow_ppt_limit_mW" = "6000"
14	register "fast_ppt_limit_mW" = "9000"
15	register "slow_ppt_time_constant_s" = "5"
16	register "stapm_time_constant_s" = "2500"
17	register "sustained_power_limit_mW" = "4800"
18
19	# End : OPN Performance Configuration
20
21	# I2C2 for touchscreen and trackpad
22
23	register "i2c[2]" = "{
24		.speed = I2C_SPEED_FAST,
25	}"
26
27	# I2C3 for H1
28
29	register "i2c[3]" = "{
30		.speed = I2C_SPEED_FAST,
31		.early_init = true,
32	}"
33
34	# See AMD 55570-B1 Table 13: PCI Device ID Assignments.
35	device domain 0 on
36		subsystemid 0x1022 0x1510 inherit
37	end # domain
38
39	device mmio 0xfedc4000 on # APU_I2C2_BASE
40	end # device
41
42end	# chip soc/amd/picasso
43