blob: b2cb3603158bd19657ecc321a0b83da6c33324c9 [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
Michael Niewöhnerc5f1dc92021-04-10 22:51:15 +020018 register "gen1_dec" = "0x000c0681"
19 register "gen2_dec" = "0x000c1641"
Johanna Schander431d0082019-07-22 09:24:14 +020020
Johanna Schander431d0082019-07-22 09:24:14 +020021 # Disable DPTF
22 register "dptf_enable" = "0"
23
24 # FSP Configuration
Johanna Schander431d0082019-07-22 09:24:14 +020025 register "SataSalpSupport" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020026 register "SataPortsEnable[0]" = "0"
27 register "SataPortsEnable[1]" = "0"
28 register "SataPortsEnable[2]" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020029 register "DspEnable" = "0"
30 register "IoBufferOwnership" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020031 register "SsicPortEnable" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020032 register "ScsEmmcHs400Enabled" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020033 register "SkipExtGfxScan" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +020034 register "SaGv" = "SaGv_Enabled"
35 register "PmConfigSlpS3MinAssert" = "2" # 50ms
36 register "PmConfigSlpS4MinAssert" = "1" # 1s
37 register "PmConfigSlpSusMinAssert" = "3" # 500ms
38 register "PmConfigSlpAMinAssert" = "3" # 2s
Johanna Schander431d0082019-07-22 09:24:14 +020039
40 register "serirq_mode" = "SERIRQ_CONTINUOUS"
41
Johanna Schander431d0082019-07-22 09:24:14 +020042 # VR Settings Configuration for 4 Domains
43 #+----------------+-----------+-----------+-------------+----------+
44 #| Domain/Setting | SA | IA | GT Unsliced | GT |
45 #+----------------+-----------+-----------+-------------+----------+
46 #| Psi1Threshold | 20A | 20A | 20A | 20A |
47 #| Psi2Threshold | 4A | 5A | 5A | 5A |
48 #| Psi3Threshold | 1A | 1A | 1A | 1A |
49 #| Psi3Enable | 1 | 1 | 1 | 1 |
50 #| Psi4Enable | 1 | 1 | 1 | 1 |
51 #| ImonSlope | 0 | 0 | 0 | 0 |
52 #| ImonOffset | 0 | 0 | 0 | 0 |
53 #| IccMax | 6A | 64A | 31A | 31A |
54 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
55 #+----------------+-----------+-----------+-------------+----------+
56 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
57 .vr_config_enable = 1,
58 .psi1threshold = VR_CFG_AMP(20),
59 .psi2threshold = VR_CFG_AMP(4),
60 .psi3threshold = VR_CFG_AMP(1),
61 .psi3enable = 0,
62 .psi4enable = 0,
63 .imon_slope = 0x0,
64 .imon_offset = 0x0,
65 .icc_max = VR_CFG_AMP(6),
66 .voltage_limit = 1520,
67 .ac_loadline = 1030,
68 .dc_loadline = 1030,
69 }"
70
71 register "domain_vr_config[VR_IA_CORE]" = "{
72 .vr_config_enable = 1,
73 .psi1threshold = VR_CFG_AMP(20),
74 .psi2threshold = VR_CFG_AMP(5),
75 .psi3threshold = VR_CFG_AMP(1),
76 .psi3enable = 0,
77 .psi4enable = 0,
78 .imon_slope = 0x0,
79 .imon_offset = 0x0,
80 .icc_max = VR_CFG_AMP(64),
81 .voltage_limit = 1520,
82 .ac_loadline = 240,
83 .dc_loadline = 240,
84 }"
85
86 register "domain_vr_config[VR_GT_UNSLICED]" = "{
87 .vr_config_enable = 1,
88 .psi1threshold = VR_CFG_AMP(20),
89 .psi2threshold = VR_CFG_AMP(5),
90 .psi3threshold = VR_CFG_AMP(1),
91 .psi3enable = 0,
92 .psi4enable = 0,
93 .imon_slope = 0x0,
94 .imon_offset = 0x0,
95 .icc_max = VR_CFG_AMP(31),
96 .voltage_limit = 1520,
97 .ac_loadline = 310,
98 .dc_loadline = 310,
99 }"
100
101 register "domain_vr_config[VR_GT_SLICED]" = "{
102 .vr_config_enable = 1,
103 .psi1threshold = VR_CFG_AMP(20),
104 .psi2threshold = VR_CFG_AMP(5),
105 .psi3threshold = VR_CFG_AMP(1),
106 .psi3enable = 0,
107 .psi4enable = 0,
108 .imon_slope = 0x0,
109 .imon_offset = 0x0,
110 .icc_max = VR_CFG_AMP(31),
111 .voltage_limit = 1520,
112 .ac_loadline = 310,
113 .dc_loadline = 310,
114 }"
115
116 # Enable Root Ports 3, 5 and 9
117 register "PcieRpEnable[2]" = "1"
118 register "PcieRpEnable[4]" = "1"
119 register "PcieRpEnable[8]" = "1"
120
121 register "PcieRpLtrEnable[2]" = "1"
122 register "PcieRpLtrEnable[4]" = "1"
123 register "PcieRpLtrEnable[8]" = "1"
124
125 register "PcieRpHotPlug[4]" = "1"
126
127 # USB
128 register "usb2_ports[0]" = "USB2_PORT_MID(OC1)" # Type-A Port (right)
129 register "usb2_ports[1]" = "USB2_PORT_MID(OC1)" # Type-A Port (left)
130
131 register "usb2_ports[2]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
132 register "usb2_ports[3]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
133 register "usb2_ports[4]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
134 register "usb2_ports[5]" = "USB2_PORT_MID(OC1)" # TODO Unknown. Maybe USBC?
135
136 register "usb2_ports[6]" = "USB2_PORT_FLEX(OC2)" # Camera
137 register "usb2_ports[7]" = "USB2_PORT_FLEX(OC2)" # Keyboard
138 register "usb2_ports[8]" = "USB2_PORT_FLEX(OC2)" # Touchscreen
139
140 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Port (left)
141 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Port (right)
142
143 register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC1)" # TODO Unknown. Maybe USBC?
144
145 # PL1 override 25W
Johanna Schander431d0082019-07-22 09:24:14 +0200146 # PL2 override 44W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530147 register "power_limits_config" = "{
148 .tdp_pl1_override = 25,
149 .tdp_pl2_override = 44,
150 }"
Johanna Schander431d0082019-07-22 09:24:14 +0200151
152 # Send an extra VR mailbox command for the PS4 exit issue
153 register "SendVrMbxCmd" = "2"
154
Johanna Schander431d0082019-07-22 09:24:14 +0200155 register "SerialIoDevMode" = "{ \
156 [PchSerialIoIndexI2C0] = PchSerialIoPci, \
157 [PchSerialIoIndexI2C1] = PchSerialIoPci, \
158 [PchSerialIoIndexI2C2] = PchSerialIoDisabled, \
159 [PchSerialIoIndexI2C3] = PchSerialIoDisabled, \
160 [PchSerialIoIndexI2C4] = PchSerialIoDisabled, \
161 [PchSerialIoIndexI2C5] = PchSerialIoDisabled, \
162 [PchSerialIoIndexSpi0] = PchSerialIoDisabled, \
163 [PchSerialIoIndexSpi1] = PchSerialIoDisabled, \
164 [PchSerialIoIndexUart0] = PchSerialIoDisabled, \
165 [PchSerialIoIndexUart1] = PchSerialIoDisabled, \
166 [PchSerialIoIndexUart2] = PchSerialIoDisabled, \
167 }"
168
169 device cpu_cluster 0 on
170 device lapic 0 on end
171 end
172 device domain 0 on
173 device pci 00.0 on end # Host Bridge
174 device pci 02.0 on end # Integrated Graphics Device
Felix Singer9c1c0092020-07-29 20:48:08 +0200175 device pci 04.0 on end # Thermal Subsystem
Johanna Schander431d0082019-07-22 09:24:14 +0200176 device pci 08.0 off end # Gaussian Mixture Model
177 device pci 14.0 on end # USB xHCI
178 device pci 14.1 off end # USB xDCI (OTG)
179 device pci 14.2 on end # Thermal Subsystem
Felix Singere2186672020-07-29 23:20:52 +0200180 device pci 14.3 off end # Camera
Johanna Schander431d0082019-07-22 09:24:14 +0200181 device pci 15.0 on end # I2C Controller #0
182 device pci 15.1 on
183 chip drivers/i2c/hid
184 register "generic.hid" = ""PNP0C50""
185 register "generic.desc" = ""Synaptics Touchpad""
Karthikeyan Ramasubramaniane49dfb62021-02-09 15:05:17 -0700186 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E7_IRQ)"
Matt DeVillier2cf52d82022-09-01 15:09:24 -0500187 register "generic.detect" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +0200188 register "hid_desc_reg_offset" = "0x20"
189 device i2c 0x2c on end
190 end
191 end # I2C Controller #1
192 device pci 15.2 off end # I2C Controller #2
193 device pci 15.3 off end # I2C Controller #3
194 device pci 16.0 on end # Management Engine Interface 1
195 device pci 16.1 off end # Management Engine Interface 2
196 device pci 16.2 off end # Management Engine IDE-R
197 device pci 16.3 off end # Management Engine KT Redirection
198 device pci 16.4 off end # Management Engine Interface 3
199 device pci 17.0 off end # SATA
200 device pci 19.0 on end # I2C Controller #4
201 device pci 19.1 off end # I2C Controller #5
202 device pci 19.2 off end # UART #2
203 device pci 1c.0 on end # PCI Express Port 1
204 device pci 1c.1 off end # PCI Express Port 2
205 device pci 1c.2 off end # PCI Express Port 3
206 device pci 1c.3 off end # PCI Express Port 4
207 device pci 1c.4 on end # PCI Express Port 5
208 device pci 1c.5 off end # PCI Express Port 6
209 device pci 1c.6 off end # PCI Express Port 7
210 device pci 1c.7 off end # PCI Express Port 8
211 device pci 1d.0 on end # PCI Express Port 9
212 device pci 1d.1 off end # PCI Express Port 10
213 device pci 1d.2 off end # PCI Express Port 11
214 device pci 1d.3 off end # PCI Express Port 12
Angel Ponsab11f462021-08-29 18:27:09 +0200215 device pci 1e.0 off end # Serial IO UART0
Felix Singer52919522020-07-29 21:44:36 +0200216 device pci 1e.6 off end # SDXC
Johanna Schander431d0082019-07-22 09:24:14 +0200217 device pci 1f.0 on # LPC
218 chip drivers/pc80/tpm
219 device pnp 0c31.0 on end
220 end
221 chip superio/ite/it8528e
222 device pnp 6e.1 off end
223 device pnp 6e.2 off end
224 device pnp 6e.3 off end
225 device pnp 6e.4 off end
226 device pnp 6e.5 off end
227 device pnp 6e.6 off end
228 device pnp 6e.a off end
229 device pnp 6e.f off end
230 device pnp 6e.10 off end
231 device pnp 6e.11 off end
232 device pnp 6e.12 off end
233 device pnp 6e.13 off end
234 device pnp 6e.14 off end
235 device pnp 6e.17 off end
236 device pnp 6e.18 off end
237 device pnp 6e.19 off end
238 end #superio/ite/it8528e
239 end # LPC Bridge
240 device pci 1f.1 on end # P2SB
241 device pci 1f.2 on end # Power Management Controller
242 device pci 1f.3 on end # Intel HDA
243 device pci 1f.4 on end # SMBus
244 device pci 1f.5 on end # PCH SPI
245 device pci 1f.6 off end # GbE
246 end
247end