blob: b14fe31db66ecb380cd829a9fcd82224a6f5bf96 [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
19 # Enable "Intel Speed Shift Technology"
20 register "speed_shift_enable" = "1"
21
22 # Enable DPTF
23 register "dptf_enable" = "1"
24
25 # FSP Configuration
26 register "SmbusEnable" = "1"
27 register "ScsEmmcEnabled" = "1"
28 register "ScsEmmcHs400Enabled" = "1"
29 register "ScsSdCardEnabled" = "2"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080030 register "SkipExtGfxScan" = "1"
31 register "Device4Enable" = "1"
32 register "SaGv" = "SaGv_Enabled"
Michael Niewöhner62385632019-09-23 14:38:41 +020033 register "PchHdaVcType" = "Vc1"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080034
35 register "pirqa_routing" = "PCH_IRQ11"
36 register "pirqb_routing" = "PCH_IRQ10"
37 register "pirqc_routing" = "PCH_IRQ11"
38 register "pirqd_routing" = "PCH_IRQ11"
39 register "pirqe_routing" = "PCH_IRQ11"
40 register "pirqf_routing" = "PCH_IRQ11"
41 register "pirqg_routing" = "PCH_IRQ11"
42 register "pirqh_routing" = "PCH_IRQ11"
43
44 # Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
45 # SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010046 register "PmConfigSlpS3MinAssert" = "2"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080047
48 # SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010049 register "PmConfigSlpS4MinAssert" = "4"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080050
51 # SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010052 register "PmConfigSlpSusMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080053
54 # SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010055 register "PmConfigSlpAMinAssert" = "3"
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080056
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080057
58 # VR Settings Configuration for 4 Domains
59 #+----------------+-------+-------+-------+-------+
60 #| Domain/Setting | SA | IA | GTUS | GTS |
61 #+----------------+-------+-------+-------+-------+
62 #| Psi1Threshold | 20A | 20A | 20A | 20A |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010063 #| Psi2Threshold | 4A | 5A | 5A | 5A |
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080064 #| Psi3Threshold | 1A | 1A | 1A | 1A |
65 #| Psi3Enable | 1 | 1 | 1 | 1 |
66 #| Psi4Enable | 1 | 1 | 1 | 1 |
67 #| ImonSlope | 0 | 0 | 0 | 0 |
68 #| ImonOffset | 0 | 0 | 0 | 0 |
69 #| IccMax | 7A | 34A | 35A | 35A |
70 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
71 #+----------------+-------+-------+-------+-------+
72 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
73 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010074 .psi1threshold = VR_CFG_AMP(20), \
75 .psi2threshold = VR_CFG_AMP(4), \
76 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080077 .psi3enable = 1, \
78 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010079 .imon_slope = 0, \
80 .imon_offset = 0, \
81 .icc_max = VR_CFG_AMP(7), \
82 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080083 }"
84
85 register "domain_vr_config[VR_IA_CORE]" = "{
86 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010087 .psi1threshold = VR_CFG_AMP(20), \
88 .psi2threshold = VR_CFG_AMP(5), \
89 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080090 .psi3enable = 1, \
91 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010092 .imon_slope = 0, \
93 .imon_offset = 0, \
94 .icc_max = VR_CFG_AMP(34), \
95 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +080096 }"
97
98 register "domain_vr_config[VR_GT_UNSLICED]" = "{
99 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +0100100 .psi1threshold = VR_CFG_AMP(20), \
101 .psi2threshold = VR_CFG_AMP(5), \
102 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800103 .psi3enable = 1, \
104 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +0100105 .imon_slope = 0, \
106 .imon_offset = 0, \
107 .icc_max = VR_CFG_AMP(35),\
108 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800109 }"
110
111 register "domain_vr_config[VR_GT_SLICED]" = "{
112 .vr_config_enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +0100113 .psi1threshold = VR_CFG_AMP(20), \
114 .psi2threshold = VR_CFG_AMP(5), \
115 .psi3threshold = VR_CFG_AMP(1), \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800116 .psi3enable = 1, \
117 .psi4enable = 1, \
Wim Vervoorn57aa8e32019-12-06 11:30:33 +0100118 .imon_slope = 0, \
119 .imon_offset = 0, \
120 .icc_max = VR_CFG_AMP(35), \
121 .voltage_limit = 1520 \
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800122 }"
123
124 # Send an extra VR mailbox command for the PS4 exit issue
125 register "SendVrMbxCmd" = "2"
126
Praveen hodagatta pranesh7e48b472019-01-04 01:10:25 +0800127 device cpu_cluster 0 on
128 device lapic 0 on end
129 end
130 device domain 0 on
131 device pci 00.0 on end # Host Bridge
132 device pci 02.0 on end # Integrated Graphics Device
133 device pci 14.0 on end # USB xHCI
134 device pci 14.1 off end # USB xDCI (OTG)
135 device pci 14.2 on end # Thermal Subsystem
136 device pci 15.0 on end # I2C #0
137 device pci 15.1 on end # I2C #1
138 device pci 15.2 on end # I2C #2
139 device pci 15.3 on end # I2C #3
140 device pci 16.0 on end # Management Engine Interface 1
141 device pci 16.1 off end # Management Engine Interface 2
142 device pci 16.2 off end # Management Engine IDE-R
143 device pci 16.3 off end # Management Engine KT Redirection
144 device pci 16.4 off end # Management Engine Interface 3
145 device pci 17.0 off end # SATA
146 device pci 19.0 on end # UART #2
147 device pci 19.1 off end # I2C #5
148 device pci 19.2 on end # I2C #4
149 device pci 1c.0 on end # PCI Express Port 1
150 device pci 1c.1 off end # PCI Express Port 2
151 device pci 1c.2 off end # PCI Express Port 3
152 device pci 1c.3 off end # PCI Express Port 4
153 device pci 1c.4 off end # PCI Express Port 5
154 device pci 1c.5 off end # PCI Express Port 6
155 device pci 1c.6 off end # PCI Express Port 7
156 device pci 1c.7 off end # PCI Express Port 8
157 device pci 1d.0 on end # PCI Express Port 9
158 device pci 1d.1 off end # PCI Express Port 10
159 device pci 1d.2 off end # PCI Express Port 11
160 device pci 1d.3 off end # PCI Express Port 12
161 device pci 1e.0 on end # UART #0
162 device pci 1e.1 off end # UART #1
163 device pci 1e.2 off end # GSPI #0
164 device pci 1e.3 off end # GSPI #1
165 device pci 1e.4 on end # eMMC
166 device pci 1e.5 off end # SDIO
167 device pci 1e.6 on end # SDCard
168 device pci 1f.0 on end # LPC Interface
169 device pci 1f.1 on end # P2SB
170 device pci 1f.2 on end # Power Management Controller
171 device pci 1f.3 on end # Intel HDA
172 device pci 1f.4 on end # SMBus
173 device pci 1f.5 on end # PCH SPI
174 device pci 1f.6 off end # GbE
175 end
176end