blob: 438d323b50a445db31c8c9927ae96644e8d0e38d [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
Johanna Schander431d0082019-07-22 09:24:14 +020018 # Disable DPTF
19 register "dptf_enable" = "0"
20
21 # FSP Configuration
Johanna Schander431d0082019-07-22 09:24:14 +020022 register "DspEnable" = "0"
23 register "IoBufferOwnership" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020024 register "SkipExtGfxScan" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +020025 register "SaGv" = "SaGv_Enabled"
26 register "PmConfigSlpS3MinAssert" = "2" # 50ms
27 register "PmConfigSlpS4MinAssert" = "1" # 1s
28 register "PmConfigSlpSusMinAssert" = "3" # 500ms
29 register "PmConfigSlpAMinAssert" = "3" # 2s
Johanna Schander431d0082019-07-22 09:24:14 +020030
31 register "serirq_mode" = "SERIRQ_CONTINUOUS"
32
Johanna Schander431d0082019-07-22 09:24:14 +020033 # VR Settings Configuration for 4 Domains
34 #+----------------+-----------+-----------+-------------+----------+
35 #| Domain/Setting | SA | IA | GT Unsliced | GT |
36 #+----------------+-----------+-----------+-------------+----------+
37 #| Psi1Threshold | 20A | 20A | 20A | 20A |
38 #| Psi2Threshold | 4A | 5A | 5A | 5A |
39 #| Psi3Threshold | 1A | 1A | 1A | 1A |
40 #| Psi3Enable | 1 | 1 | 1 | 1 |
41 #| Psi4Enable | 1 | 1 | 1 | 1 |
42 #| ImonSlope | 0 | 0 | 0 | 0 |
43 #| ImonOffset | 0 | 0 | 0 | 0 |
44 #| IccMax | 6A | 64A | 31A | 31A |
45 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
46 #+----------------+-----------+-----------+-------------+----------+
47 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
48 .vr_config_enable = 1,
49 .psi1threshold = VR_CFG_AMP(20),
50 .psi2threshold = VR_CFG_AMP(4),
51 .psi3threshold = VR_CFG_AMP(1),
52 .psi3enable = 0,
53 .psi4enable = 0,
54 .imon_slope = 0x0,
55 .imon_offset = 0x0,
56 .icc_max = VR_CFG_AMP(6),
57 .voltage_limit = 1520,
58 .ac_loadline = 1030,
59 .dc_loadline = 1030,
60 }"
61
62 register "domain_vr_config[VR_IA_CORE]" = "{
63 .vr_config_enable = 1,
64 .psi1threshold = VR_CFG_AMP(20),
65 .psi2threshold = VR_CFG_AMP(5),
66 .psi3threshold = VR_CFG_AMP(1),
67 .psi3enable = 0,
68 .psi4enable = 0,
69 .imon_slope = 0x0,
70 .imon_offset = 0x0,
71 .icc_max = VR_CFG_AMP(64),
72 .voltage_limit = 1520,
73 .ac_loadline = 240,
74 .dc_loadline = 240,
75 }"
76
77 register "domain_vr_config[VR_GT_UNSLICED]" = "{
78 .vr_config_enable = 1,
79 .psi1threshold = VR_CFG_AMP(20),
80 .psi2threshold = VR_CFG_AMP(5),
81 .psi3threshold = VR_CFG_AMP(1),
82 .psi3enable = 0,
83 .psi4enable = 0,
84 .imon_slope = 0x0,
85 .imon_offset = 0x0,
86 .icc_max = VR_CFG_AMP(31),
87 .voltage_limit = 1520,
88 .ac_loadline = 310,
89 .dc_loadline = 310,
90 }"
91
92 register "domain_vr_config[VR_GT_SLICED]" = "{
93 .vr_config_enable = 1,
94 .psi1threshold = VR_CFG_AMP(20),
95 .psi2threshold = VR_CFG_AMP(5),
96 .psi3threshold = VR_CFG_AMP(1),
97 .psi3enable = 0,
98 .psi4enable = 0,
99 .imon_slope = 0x0,
100 .imon_offset = 0x0,
101 .icc_max = VR_CFG_AMP(31),
102 .voltage_limit = 1520,
103 .ac_loadline = 310,
104 .dc_loadline = 310,
105 }"
106
107 # Enable Root Ports 3, 5 and 9
108 register "PcieRpEnable[2]" = "1"
109 register "PcieRpEnable[4]" = "1"
110 register "PcieRpEnable[8]" = "1"
111
112 register "PcieRpLtrEnable[2]" = "1"
113 register "PcieRpLtrEnable[4]" = "1"
114 register "PcieRpLtrEnable[8]" = "1"
115
116 register "PcieRpHotPlug[4]" = "1"
117
Johanna Schander431d0082019-07-22 09:24:14 +0200118 # PL1 override 25W
Johanna Schander431d0082019-07-22 09:24:14 +0200119 # PL2 override 44W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530120 register "power_limits_config" = "{
121 .tdp_pl1_override = 25,
122 .tdp_pl2_override = 44,
123 }"
Johanna Schander431d0082019-07-22 09:24:14 +0200124
125 # Send an extra VR mailbox command for the PS4 exit issue
126 register "SendVrMbxCmd" = "2"
127
Felix Singer21b5a9a2023-10-23 07:26:28 +0200128 register "SerialIoDevMode" = "{
129 [PchSerialIoIndexI2C0] = PchSerialIoPci,
130 [PchSerialIoIndexI2C1] = PchSerialIoPci,
131 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
132 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
133 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
134 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
135 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
136 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
137 [PchSerialIoIndexUart0] = PchSerialIoDisabled,
138 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
139 [PchSerialIoIndexUart2] = PchSerialIoDisabled,
Johanna Schander431d0082019-07-22 09:24:14 +0200140 }"
141
Johanna Schander431d0082019-07-22 09:24:14 +0200142 device domain 0 on
Reagan Bohan89799552024-05-15 08:54:15 +0000143 device ref igpu on
144 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
145
146 register "panel_cfg" = "{
147 .up_delay_ms = 200,
148 .down_delay_ms = 50,
149 .cycle_delay_ms = 500,
150 .backlight_on_delay_ms = 1,
151 .backlight_off_delay_ms = 200,
152 .backlight_pwm_hz = 200,
153 }"
154 end
Felix Singer3d987102023-11-16 01:39:05 +0100155 device ref sa_thermal on end
156 device ref south_xhci on end
157 device ref thermal on end
158 device ref i2c0 on end
159 device ref i2c1 on
Johanna Schander431d0082019-07-22 09:24:14 +0200160 chip drivers/i2c/hid
161 register "generic.hid" = ""PNP0C50""
162 register "generic.desc" = ""Synaptics Touchpad""
Karthikeyan Ramasubramaniane49dfb62021-02-09 15:05:17 -0700163 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E7_IRQ)"
Matt DeVillier2cf52d82022-09-01 15:09:24 -0500164 register "generic.detect" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +0200165 register "hid_desc_reg_offset" = "0x20"
166 device i2c 0x2c on end
167 end
Felix Singer3d987102023-11-16 01:39:05 +0100168 end
169 device ref heci1 on end
170 device ref uart2 on end
171 device ref pcie_rp1 on end
172 device ref pcie_rp5 on end
173 device ref pcie_rp9 on end
174 device ref lpc_espi on
Felix Singerdcddc53f2024-06-23 03:39:24 +0200175 register "gen1_dec" = "0x000c0681"
176 register "gen2_dec" = "0x000c1641"
177
Johanna Schander431d0082019-07-22 09:24:14 +0200178 chip superio/ite/it8528e
179 device pnp 6e.1 off end
180 device pnp 6e.2 off end
181 device pnp 6e.3 off end
182 device pnp 6e.4 off end
183 device pnp 6e.5 off end
184 device pnp 6e.6 off end
185 device pnp 6e.a off end
186 device pnp 6e.f off end
187 device pnp 6e.10 off end
188 device pnp 6e.11 off end
189 device pnp 6e.12 off end
190 device pnp 6e.13 off end
191 device pnp 6e.14 off end
192 device pnp 6e.17 off end
193 device pnp 6e.18 off end
194 device pnp 6e.19 off end
195 end #superio/ite/it8528e
Felix Singer3d987102023-11-16 01:39:05 +0100196 end
197 device ref hda on end
198 device ref smbus on end
199 device ref fast_spi on end
Johanna Schander431d0082019-07-22 09:24:14 +0200200 end
201end