blob: b57deffd8571e541bb843aec91b2fe001abe96ce [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
16 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
17 register "gen1_dec" = "0x00fc0801"
18
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080019 # Enable DPTF
20 register "dptf_enable" = "1"
21
22 # FSP Configuration
Angel Ponse8c82832020-07-26 17:21:57 +020023 register "IoBufferOwnership" = "0"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080024 register "ScsEmmcHs400Enabled" = "1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080025 register "SkipExtGfxScan" = "1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080026 register "SaGv" = "SaGv_Enabled"
Michael Niewöhner62385632019-09-23 14:38:41 +020027 register "PchHdaVcType" = "Vc1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080028
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080029 # Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
30 # SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010031 register "PmConfigSlpS3MinAssert" = "2"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080032
33 # SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010034 register "PmConfigSlpS4MinAssert" = "4"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080035
36 # SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010037 register "PmConfigSlpSusMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080038
39 # SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010040 register "PmConfigSlpAMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080041
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080042
43 # VR Settings Configuration for 4 Domains
44 #+----------------+-------+-------+-------+-------+
45 #| Domain/Setting | SA | IA | GTUS | GTS |
46 #+----------------+-------+-------+-------+-------+
47 #| Psi1Threshold | 20A | 20A | 20A | 20A |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010048 #| Psi2Threshold | 4A | 5A | 5A | 5A |
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080049 #| Psi3Threshold | 1A | 1A | 1A | 1A |
50 #| Psi3Enable | 1 | 1 | 1 | 1 |
51 #| Psi4Enable | 1 | 1 | 1 | 1 |
52 #| ImonSlope | 0 | 0 | 0 | 0 |
53 #| ImonOffset | 0 | 0 | 0 | 0 |
54 #| IccMax | 7A | 34A | 35A | 35A |
55 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
56 #+----------------+-------+-------+-------+-------+
57 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020058 .vr_config_enable = 1,
59 .psi1threshold = VR_CFG_AMP(20),
60 .psi2threshold = VR_CFG_AMP(4),
61 .psi3threshold = VR_CFG_AMP(1),
62 .psi3enable = 1,
63 .psi4enable = 1,
64 .imon_slope = 0,
65 .imon_offset = 0,
66 .icc_max = VR_CFG_AMP(7),
67 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080068 }"
69
70 register "domain_vr_config[VR_IA_CORE]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020071 .vr_config_enable = 1,
72 .psi1threshold = VR_CFG_AMP(20),
73 .psi2threshold = VR_CFG_AMP(5),
74 .psi3threshold = VR_CFG_AMP(1),
75 .psi3enable = 1,
76 .psi4enable = 1,
77 .imon_slope = 0,
78 .imon_offset = 0,
79 .icc_max = VR_CFG_AMP(34),
80 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080081 }"
82
83 register "domain_vr_config[VR_GT_UNSLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020084 .vr_config_enable = 1,
85 .psi1threshold = VR_CFG_AMP(20),
86 .psi2threshold = VR_CFG_AMP(5),
87 .psi3threshold = VR_CFG_AMP(1),
88 .psi3enable = 1,
89 .psi4enable = 1,
90 .imon_slope = 0,
91 .imon_offset = 0,
92 .icc_max = VR_CFG_AMP(35),
93 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080094 }"
95
96 register "domain_vr_config[VR_GT_SLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020097 .vr_config_enable = 1,
98 .psi1threshold = VR_CFG_AMP(20),
99 .psi2threshold = VR_CFG_AMP(5),
100 .psi3threshold = VR_CFG_AMP(1),
101 .psi3enable = 1,
102 .psi4enable = 1,
103 .imon_slope = 0,
104 .imon_offset = 0,
105 .icc_max = VR_CFG_AMP(35),
106 .voltage_limit = 1520
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800107 }"
108
109 # Send an extra VR mailbox command for the PS4 exit issue
110 register "SendVrMbxCmd" = "2"
111
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800112 device domain 0 on
Felix Singer2dff4f02023-11-16 01:17:31 +0100113 device ref igpu on end
114 device ref sa_thermal on end
115 device ref south_xhci on end
116 device ref thermal on end
117 device ref i2c0 on end
118 device ref i2c1 on end
119 device ref i2c2 on end
120 device ref i2c3 on end
121 device ref heci1 on end
122 device ref uart2 on end
123 device ref i2c4 on end
124 device ref pcie_rp1 on end
125 device ref pcie_rp9 on end
126 device ref uart0 on end
127 device ref emmc on end
128 device ref sdxc on end
129 device ref smbus on end
130 device ref fast_spi on end
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800131 end
132end