blob: a358fb837462afeba01ff2d3368233f0587d25f8 [file] [log] [blame]
Johanna Schander431d0082019-07-22 09:24:14 +02001chip soc/intel/skylake
Johanna Schander431d0082019-07-22 09:24:14 +02002 register "deep_s3_enable_ac" = "0"
3 register "deep_s3_enable_dc" = "0"
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 register "eist_enable" = "1"
9
10 # GPE configuration
11 # Note that GPE events called out in ASL code rely on this
12 # route. i.e. If this route changes then the affected GPE
13 # offset bits also need to be changed.
14 register "gpe0_dw0" = "GPP_C"
15 register "gpe0_dw1" = "GPP_D"
16 register "gpe0_dw2" = "GPP_E"
17
18 register "gen1_dec" = "0x000c0081"
19 register "gen2_dec" = "0x000c0681"
20 register "gen3_dec" = "0x000c1641"
21
Johanna Schander431d0082019-07-22 09:24:14 +020022 # Disable DPTF
23 register "dptf_enable" = "0"
24
25 # FSP Configuration
Johanna Schander431d0082019-07-22 09:24:14 +020026 register "SataSalpSupport" = "0"
27 register "SataMode" = "0"
28 register "SataPortsEnable[0]" = "0"
29 register "SataPortsEnable[1]" = "0"
30 register "SataPortsEnable[2]" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020031 register "DspEnable" = "0"
32 register "IoBufferOwnership" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020033 register "SsicPortEnable" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020034 register "ScsEmmcHs400Enabled" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020035 register "SkipExtGfxScan" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +020036 register "HeciEnabled" = "1"
37 register "SaGv" = "SaGv_Enabled"
38 register "PmConfigSlpS3MinAssert" = "2" # 50ms
39 register "PmConfigSlpS4MinAssert" = "1" # 1s
40 register "PmConfigSlpSusMinAssert" = "3" # 500ms
41 register "PmConfigSlpAMinAssert" = "3" # 2s
Johanna Schander431d0082019-07-22 09:24:14 +020042
43 register "serirq_mode" = "SERIRQ_CONTINUOUS"
44
Johanna Schander431d0082019-07-22 09:24:14 +020045 # VR Settings Configuration for 4 Domains
46 #+----------------+-----------+-----------+-------------+----------+
47 #| Domain/Setting | SA | IA | GT Unsliced | GT |
48 #+----------------+-----------+-----------+-------------+----------+
49 #| Psi1Threshold | 20A | 20A | 20A | 20A |
50 #| Psi2Threshold | 4A | 5A | 5A | 5A |
51 #| Psi3Threshold | 1A | 1A | 1A | 1A |
52 #| Psi3Enable | 1 | 1 | 1 | 1 |
53 #| Psi4Enable | 1 | 1 | 1 | 1 |
54 #| ImonSlope | 0 | 0 | 0 | 0 |
55 #| ImonOffset | 0 | 0 | 0 | 0 |
56 #| IccMax | 6A | 64A | 31A | 31A |
57 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
58 #+----------------+-----------+-----------+-------------+----------+
59 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
60 .vr_config_enable = 1,
61 .psi1threshold = VR_CFG_AMP(20),
62 .psi2threshold = VR_CFG_AMP(4),
63 .psi3threshold = VR_CFG_AMP(1),
64 .psi3enable = 0,
65 .psi4enable = 0,
66 .imon_slope = 0x0,
67 .imon_offset = 0x0,
68 .icc_max = VR_CFG_AMP(6),
69 .voltage_limit = 1520,
70 .ac_loadline = 1030,
71 .dc_loadline = 1030,
72 }"
73
74 register "domain_vr_config[VR_IA_CORE]" = "{
75 .vr_config_enable = 1,
76 .psi1threshold = VR_CFG_AMP(20),
77 .psi2threshold = VR_CFG_AMP(5),
78 .psi3threshold = VR_CFG_AMP(1),
79 .psi3enable = 0,
80 .psi4enable = 0,
81 .imon_slope = 0x0,
82 .imon_offset = 0x0,
83 .icc_max = VR_CFG_AMP(64),
84 .voltage_limit = 1520,
85 .ac_loadline = 240,
86 .dc_loadline = 240,
87 }"
88
89 register "domain_vr_config[VR_GT_UNSLICED]" = "{
90 .vr_config_enable = 1,
91 .psi1threshold = VR_CFG_AMP(20),
92 .psi2threshold = VR_CFG_AMP(5),
93 .psi3threshold = VR_CFG_AMP(1),
94 .psi3enable = 0,
95 .psi4enable = 0,
96 .imon_slope = 0x0,
97 .imon_offset = 0x0,
98 .icc_max = VR_CFG_AMP(31),
99 .voltage_limit = 1520,
100 .ac_loadline = 310,
101 .dc_loadline = 310,
102 }"
103
104 register "domain_vr_config[VR_GT_SLICED]" = "{
105 .vr_config_enable = 1,
106 .psi1threshold = VR_CFG_AMP(20),
107 .psi2threshold = VR_CFG_AMP(5),
108 .psi3threshold = VR_CFG_AMP(1),
109 .psi3enable = 0,
110 .psi4enable = 0,
111 .imon_slope = 0x0,
112 .imon_offset = 0x0,
113 .icc_max = VR_CFG_AMP(31),
114 .voltage_limit = 1520,
115 .ac_loadline = 310,
116 .dc_loadline = 310,
117 }"
118
119 # Enable Root Ports 3, 5 and 9
120 register "PcieRpEnable[2]" = "1"
121 register "PcieRpEnable[4]" = "1"
122 register "PcieRpEnable[8]" = "1"
123
124 register "PcieRpLtrEnable[2]" = "1"
125 register "PcieRpLtrEnable[4]" = "1"
126 register "PcieRpLtrEnable[8]" = "1"
127
128 register "PcieRpHotPlug[4]" = "1"
129
130 # USB
131 register "usb2_ports[0]" = "USB2_PORT_MID(OC1)" # Type-A Port (right)
132 register "usb2_ports[1]" = "USB2_PORT_MID(OC1)" # Type-A Port (left)
133
134 register "usb2_ports[2]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
135 register "usb2_ports[3]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
136 register "usb2_ports[4]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
137 register "usb2_ports[5]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
138
139 register "usb2_ports[6]" = "USB2_PORT_FLEX(OC2)" # Camera
140 register "usb2_ports[7]" = "USB2_PORT_FLEX(OC2)" # Keyboard
141 register "usb2_ports[8]" = "USB2_PORT_FLEX(OC2)" # Touchscreen
142
143 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Port (left)
144 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Port (right)
145
146 register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC1)" # TODO Unknown. Maybe USBC?
147
148 # PL1 override 25W
Johanna Schander431d0082019-07-22 09:24:14 +0200149 # PL2 override 44W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530150 register "power_limits_config" = "{
151 .tdp_pl1_override = 25,
152 .tdp_pl2_override = 44,
153 }"
Johanna Schander431d0082019-07-22 09:24:14 +0200154
155 # Send an extra VR mailbox command for the PS4 exit issue
156 register "SendVrMbxCmd" = "2"
157
158 # Lock Down
159 register "common_soc_config" = "{
160 .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT,
161 }"
162
163 register "SerialIoDevMode" = "{ \
164 [PchSerialIoIndexI2C0] = PchSerialIoPci, \
165 [PchSerialIoIndexI2C1] = PchSerialIoPci, \
166 [PchSerialIoIndexI2C2] = PchSerialIoDisabled, \
167 [PchSerialIoIndexI2C3] = PchSerialIoDisabled, \
168 [PchSerialIoIndexI2C4] = PchSerialIoDisabled, \
169 [PchSerialIoIndexI2C5] = PchSerialIoDisabled, \
170 [PchSerialIoIndexSpi0] = PchSerialIoDisabled, \
171 [PchSerialIoIndexSpi1] = PchSerialIoDisabled, \
172 [PchSerialIoIndexUart0] = PchSerialIoDisabled, \
173 [PchSerialIoIndexUart1] = PchSerialIoDisabled, \
174 [PchSerialIoIndexUart2] = PchSerialIoDisabled, \
175 }"
176
177 device cpu_cluster 0 on
178 device lapic 0 on end
179 end
180 device domain 0 on
181 device pci 00.0 on end # Host Bridge
182 device pci 02.0 on end # Integrated Graphics Device
Felix Singer9c1c0092020-07-29 20:48:08 +0200183 device pci 04.0 on end # Thermal Subsystem
Johanna Schander431d0082019-07-22 09:24:14 +0200184 device pci 08.0 off end # Gaussian Mixture Model
185 device pci 14.0 on end # USB xHCI
186 device pci 14.1 off end # USB xDCI (OTG)
187 device pci 14.2 on end # Thermal Subsystem
Felix Singere2186672020-07-29 23:20:52 +0200188 device pci 14.3 off end # Camera
Johanna Schander431d0082019-07-22 09:24:14 +0200189 device pci 15.0 on end # I2C Controller #0
190 device pci 15.1 on
191 chip drivers/i2c/hid
192 register "generic.hid" = ""PNP0C50""
193 register "generic.desc" = ""Synaptics Touchpad""
Karthikeyan Ramasubramaniane49dfb62021-02-09 15:05:17 -0700194 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E7_IRQ)"
Johanna Schander431d0082019-07-22 09:24:14 +0200195 register "generic.probed" = "1"
196 register "hid_desc_reg_offset" = "0x20"
197 device i2c 0x2c on end
198 end
199 end # I2C Controller #1
200 device pci 15.2 off end # I2C Controller #2
201 device pci 15.3 off end # I2C Controller #3
202 device pci 16.0 on end # Management Engine Interface 1
203 device pci 16.1 off end # Management Engine Interface 2
204 device pci 16.2 off end # Management Engine IDE-R
205 device pci 16.3 off end # Management Engine KT Redirection
206 device pci 16.4 off end # Management Engine Interface 3
207 device pci 17.0 off end # SATA
208 device pci 19.0 on end # I2C Controller #4
209 device pci 19.1 off end # I2C Controller #5
210 device pci 19.2 off end # UART #2
211 device pci 1c.0 on end # PCI Express Port 1
212 device pci 1c.1 off end # PCI Express Port 2
213 device pci 1c.2 off end # PCI Express Port 3
214 device pci 1c.3 off end # PCI Express Port 4
215 device pci 1c.4 on end # PCI Express Port 5
216 device pci 1c.5 off end # PCI Express Port 6
217 device pci 1c.6 off end # PCI Express Port 7
218 device pci 1c.7 off end # PCI Express Port 8
219 device pci 1d.0 on end # PCI Express Port 9
220 device pci 1d.1 off end # PCI Express Port 10
221 device pci 1d.2 off end # PCI Express Port 11
222 device pci 1d.3 off end # PCI Express Port 12
223 device pci 1e.0 on end # Serial IO UART0
Felix Singer52919522020-07-29 21:44:36 +0200224 device pci 1e.6 off end # SDXC
Johanna Schander431d0082019-07-22 09:24:14 +0200225 device pci 1f.0 on # LPC
226 chip drivers/pc80/tpm
227 device pnp 0c31.0 on end
228 end
229 chip superio/ite/it8528e
230 device pnp 6e.1 off end
231 device pnp 6e.2 off end
232 device pnp 6e.3 off end
233 device pnp 6e.4 off end
234 device pnp 6e.5 off end
235 device pnp 6e.6 off end
236 device pnp 6e.a off end
237 device pnp 6e.f off end
238 device pnp 6e.10 off end
239 device pnp 6e.11 off end
240 device pnp 6e.12 off end
241 device pnp 6e.13 off end
242 device pnp 6e.14 off end
243 device pnp 6e.17 off end
244 device pnp 6e.18 off end
245 device pnp 6e.19 off end
246 end #superio/ite/it8528e
247 end # LPC Bridge
248 device pci 1f.1 on end # P2SB
249 device pci 1f.2 on end # Power Management Controller
250 device pci 1f.3 on end # Intel HDA
251 device pci 1f.4 on end # SMBus
252 device pci 1f.5 on end # PCH SPI
253 device pci 1f.6 off end # GbE
254 end
255end