blob: da44d22ab44c741fb169243cc0f5c06f9d42ba25 [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 "DspEnable" = "0"
26 register "IoBufferOwnership" = "0"
Johanna Schander431d0082019-07-22 09:24:14 +020027 register "SkipExtGfxScan" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +020028 register "SaGv" = "SaGv_Enabled"
29 register "PmConfigSlpS3MinAssert" = "2" # 50ms
30 register "PmConfigSlpS4MinAssert" = "1" # 1s
31 register "PmConfigSlpSusMinAssert" = "3" # 500ms
32 register "PmConfigSlpAMinAssert" = "3" # 2s
Johanna Schander431d0082019-07-22 09:24:14 +020033
34 register "serirq_mode" = "SERIRQ_CONTINUOUS"
35
Johanna Schander431d0082019-07-22 09:24:14 +020036 # VR Settings Configuration for 4 Domains
37 #+----------------+-----------+-----------+-------------+----------+
38 #| Domain/Setting | SA | IA | GT Unsliced | GT |
39 #+----------------+-----------+-----------+-------------+----------+
40 #| Psi1Threshold | 20A | 20A | 20A | 20A |
41 #| Psi2Threshold | 4A | 5A | 5A | 5A |
42 #| Psi3Threshold | 1A | 1A | 1A | 1A |
43 #| Psi3Enable | 1 | 1 | 1 | 1 |
44 #| Psi4Enable | 1 | 1 | 1 | 1 |
45 #| ImonSlope | 0 | 0 | 0 | 0 |
46 #| ImonOffset | 0 | 0 | 0 | 0 |
47 #| IccMax | 6A | 64A | 31A | 31A |
48 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
49 #+----------------+-----------+-----------+-------------+----------+
50 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
51 .vr_config_enable = 1,
52 .psi1threshold = VR_CFG_AMP(20),
53 .psi2threshold = VR_CFG_AMP(4),
54 .psi3threshold = VR_CFG_AMP(1),
55 .psi3enable = 0,
56 .psi4enable = 0,
57 .imon_slope = 0x0,
58 .imon_offset = 0x0,
59 .icc_max = VR_CFG_AMP(6),
60 .voltage_limit = 1520,
61 .ac_loadline = 1030,
62 .dc_loadline = 1030,
63 }"
64
65 register "domain_vr_config[VR_IA_CORE]" = "{
66 .vr_config_enable = 1,
67 .psi1threshold = VR_CFG_AMP(20),
68 .psi2threshold = VR_CFG_AMP(5),
69 .psi3threshold = VR_CFG_AMP(1),
70 .psi3enable = 0,
71 .psi4enable = 0,
72 .imon_slope = 0x0,
73 .imon_offset = 0x0,
74 .icc_max = VR_CFG_AMP(64),
75 .voltage_limit = 1520,
76 .ac_loadline = 240,
77 .dc_loadline = 240,
78 }"
79
80 register "domain_vr_config[VR_GT_UNSLICED]" = "{
81 .vr_config_enable = 1,
82 .psi1threshold = VR_CFG_AMP(20),
83 .psi2threshold = VR_CFG_AMP(5),
84 .psi3threshold = VR_CFG_AMP(1),
85 .psi3enable = 0,
86 .psi4enable = 0,
87 .imon_slope = 0x0,
88 .imon_offset = 0x0,
89 .icc_max = VR_CFG_AMP(31),
90 .voltage_limit = 1520,
91 .ac_loadline = 310,
92 .dc_loadline = 310,
93 }"
94
95 register "domain_vr_config[VR_GT_SLICED]" = "{
96 .vr_config_enable = 1,
97 .psi1threshold = VR_CFG_AMP(20),
98 .psi2threshold = VR_CFG_AMP(5),
99 .psi3threshold = VR_CFG_AMP(1),
100 .psi3enable = 0,
101 .psi4enable = 0,
102 .imon_slope = 0x0,
103 .imon_offset = 0x0,
104 .icc_max = VR_CFG_AMP(31),
105 .voltage_limit = 1520,
106 .ac_loadline = 310,
107 .dc_loadline = 310,
108 }"
109
110 # Enable Root Ports 3, 5 and 9
111 register "PcieRpEnable[2]" = "1"
112 register "PcieRpEnable[4]" = "1"
113 register "PcieRpEnable[8]" = "1"
114
115 register "PcieRpLtrEnable[2]" = "1"
116 register "PcieRpLtrEnable[4]" = "1"
117 register "PcieRpLtrEnable[8]" = "1"
118
119 register "PcieRpHotPlug[4]" = "1"
120
Johanna Schander431d0082019-07-22 09:24:14 +0200121 # PL1 override 25W
Johanna Schander431d0082019-07-22 09:24:14 +0200122 # PL2 override 44W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530123 register "power_limits_config" = "{
124 .tdp_pl1_override = 25,
125 .tdp_pl2_override = 44,
126 }"
Johanna Schander431d0082019-07-22 09:24:14 +0200127
128 # Send an extra VR mailbox command for the PS4 exit issue
129 register "SendVrMbxCmd" = "2"
130
Felix Singer21b5a9a2023-10-23 07:26:28 +0200131 register "SerialIoDevMode" = "{
132 [PchSerialIoIndexI2C0] = PchSerialIoPci,
133 [PchSerialIoIndexI2C1] = PchSerialIoPci,
134 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
135 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
136 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
137 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
138 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
139 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
140 [PchSerialIoIndexUart0] = PchSerialIoDisabled,
141 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
142 [PchSerialIoIndexUart2] = PchSerialIoDisabled,
Johanna Schander431d0082019-07-22 09:24:14 +0200143 }"
144
Johanna Schander431d0082019-07-22 09:24:14 +0200145 device domain 0 on
Reagan Bohan89799552024-05-15 08:54:15 +0000146 device ref igpu on
147 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
148
149 register "panel_cfg" = "{
150 .up_delay_ms = 200,
151 .down_delay_ms = 50,
152 .cycle_delay_ms = 500,
153 .backlight_on_delay_ms = 1,
154 .backlight_off_delay_ms = 200,
155 .backlight_pwm_hz = 200,
156 }"
157 end
Felix Singer3d987102023-11-16 01:39:05 +0100158 device ref sa_thermal on end
159 device ref south_xhci on end
160 device ref thermal on end
161 device ref i2c0 on end
162 device ref i2c1 on
Johanna Schander431d0082019-07-22 09:24:14 +0200163 chip drivers/i2c/hid
164 register "generic.hid" = ""PNP0C50""
165 register "generic.desc" = ""Synaptics Touchpad""
Karthikeyan Ramasubramaniane49dfb62021-02-09 15:05:17 -0700166 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E7_IRQ)"
Matt DeVillier2cf52d82022-09-01 15:09:24 -0500167 register "generic.detect" = "1"
Johanna Schander431d0082019-07-22 09:24:14 +0200168 register "hid_desc_reg_offset" = "0x20"
169 device i2c 0x2c on end
170 end
Felix Singer3d987102023-11-16 01:39:05 +0100171 end
172 device ref heci1 on end
173 device ref uart2 on end
174 device ref pcie_rp1 on end
175 device ref pcie_rp5 on end
176 device ref pcie_rp9 on end
177 device ref lpc_espi on
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