blob: be5ba449d61e4eb7a3d03100ff68c95b18448af7 [file] [log] [blame]
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +08001chip soc/intel/skylake
2
3 # Enable deep Sx states
4 register "deep_s5_enable_ac" = "0"
5 register "deep_s5_enable_dc" = "0"
6 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN"
7
8 # GPE configuration
9 # Note that GPE events called out in ASL code rely on this
10 # route. i.e. If this route changes then the affected GPE
11 # offset bits also need to be changed.
12 register "gpe0_dw0" = "GPP_B"
13 register "gpe0_dw1" = "GPP_D"
14 register "gpe0_dw2" = "GPP_E"
15
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080016 # Enable DPTF
17 register "dptf_enable" = "1"
18
19 # FSP Configuration
Angel Ponse8c82832020-07-26 17:21:57 +020020 register "IoBufferOwnership" = "0"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080021 register "ScsEmmcHs400Enabled" = "1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080022 register "SkipExtGfxScan" = "1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080023 register "SaGv" = "SaGv_Enabled"
Michael Niewöhner62385632019-09-23 14:38:41 +020024 register "PchHdaVcType" = "Vc1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080025
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080026 # Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
27 # SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010028 register "PmConfigSlpS3MinAssert" = "2"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080029
30 # SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010031 register "PmConfigSlpS4MinAssert" = "4"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080032
33 # SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010034 register "PmConfigSlpSusMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080035
36 # SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010037 register "PmConfigSlpAMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080038
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080039
40 # VR Settings Configuration for 4 Domains
41 #+----------------+-------+-------+-------+-------+
42 #| Domain/Setting | SA | IA | GTUS | GTS |
43 #+----------------+-------+-------+-------+-------+
44 #| Psi1Threshold | 20A | 20A | 20A | 20A |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010045 #| Psi2Threshold | 4A | 5A | 5A | 5A |
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080046 #| Psi3Threshold | 1A | 1A | 1A | 1A |
47 #| Psi3Enable | 1 | 1 | 1 | 1 |
48 #| Psi4Enable | 1 | 1 | 1 | 1 |
49 #| ImonSlope | 0 | 0 | 0 | 0 |
50 #| ImonOffset | 0 | 0 | 0 | 0 |
51 #| IccMax | 7A | 34A | 35A | 35A |
52 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
53 #+----------------+-------+-------+-------+-------+
54 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020055 .vr_config_enable = 1,
56 .psi1threshold = VR_CFG_AMP(20),
57 .psi2threshold = VR_CFG_AMP(4),
58 .psi3threshold = VR_CFG_AMP(1),
59 .psi3enable = 1,
60 .psi4enable = 1,
61 .imon_slope = 0,
62 .imon_offset = 0,
63 .icc_max = VR_CFG_AMP(7),
64 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080065 }"
66
67 register "domain_vr_config[VR_IA_CORE]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020068 .vr_config_enable = 1,
69 .psi1threshold = VR_CFG_AMP(20),
70 .psi2threshold = VR_CFG_AMP(5),
71 .psi3threshold = VR_CFG_AMP(1),
72 .psi3enable = 1,
73 .psi4enable = 1,
74 .imon_slope = 0,
75 .imon_offset = 0,
76 .icc_max = VR_CFG_AMP(34),
77 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080078 }"
79
80 register "domain_vr_config[VR_GT_UNSLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020081 .vr_config_enable = 1,
82 .psi1threshold = VR_CFG_AMP(20),
83 .psi2threshold = VR_CFG_AMP(5),
84 .psi3threshold = VR_CFG_AMP(1),
85 .psi3enable = 1,
86 .psi4enable = 1,
87 .imon_slope = 0,
88 .imon_offset = 0,
89 .icc_max = VR_CFG_AMP(35),
90 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080091 }"
92
93 register "domain_vr_config[VR_GT_SLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020094 .vr_config_enable = 1,
95 .psi1threshold = VR_CFG_AMP(20),
96 .psi2threshold = VR_CFG_AMP(5),
97 .psi3threshold = VR_CFG_AMP(1),
98 .psi3enable = 1,
99 .psi4enable = 1,
100 .imon_slope = 0,
101 .imon_offset = 0,
102 .icc_max = VR_CFG_AMP(35),
103 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800104 }"
105
106 # Send an extra VR mailbox command for the PS4 exit issue
107 register "SendVrMbxCmd" = "2"
108
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800109 device domain 0 on
Felix Singer2dff4f02023-11-16 01:17:31 +0100110 device ref igpu on end
111 device ref sa_thermal on end
112 device ref south_xhci on end
113 device ref thermal on end
114 device ref i2c0 on end
115 device ref i2c1 on end
116 device ref i2c2 on end
117 device ref i2c3 on end
118 device ref heci1 on end
119 device ref uart2 on end
120 device ref i2c4 on end
121 device ref pcie_rp1 on end
122 device ref pcie_rp9 on end
123 device ref uart0 on end
124 device ref emmc on end
125 device ref sdxc on end
126 device ref smbus on end
Felix Singerdcddc53f2024-06-23 03:39:24 +0200127 device ref lpc_espi on
128 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
129 register "gen1_dec" = "0x00fc0801"
130 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100131 device ref fast_spi on end
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800132 end
133end