blob: 03d48faaa1582123b4c53c852d7053a841678194 [file] [log] [blame]
Youness Alaoui047475c2017-05-08 16:50:23 -04001chip soc/intel/skylake
2
Benjamin Doronac08c812020-04-04 05:58:54 +00003 # IGD Displays
4 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
5
Michael Niewöhner97e21d32020-12-28 00:49:33 +01006 register "panel_cfg" = "{
7 .up_delay_ms = 200,
8 .down_delay_ms = 50,
9 .cycle_delay_ms = 500,
10 .backlight_on_delay_ms = 1,
11 .backlight_off_delay_ms = 200,
12 .backlight_pwm_hz = 200,
13 }"
14
Youness Alaoui047475c2017-05-08 16:50:23 -040015 register "deep_s3_enable_ac" = "0"
16 register "deep_s3_enable_dc" = "0"
Youness Alaouic5b96582017-06-19 20:47:27 -040017 register "deep_s5_enable_ac" = "0"
18 register "deep_s5_enable_dc" = "0"
Youness Alaoui047475c2017-05-08 16:50:23 -040019 register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN"
20
Youness Alaoui0601f1e2018-02-09 18:44:45 -050021 register "eist_enable" = "1"
Youness Alaoui0601f1e2018-02-09 18:44:45 -050022
Youness Alaouicb8f04d2018-03-02 16:12:04 -050023 # Set the Thermal Control Circuit (TCC) activaction value to 95C
24 # even though FSP integration guide says to set it to 100C for SKL-U
25 # (offset at 0), because when the TCC activates at 100C, the CPU
26 # will have already shut itself down from overheating protection.
27 register "tcc_offset" = "5" # TCC of 95C
28
Youness Alaoui047475c2017-05-08 16:50:23 -040029 # GPE configuration
30 # Note that GPE events called out in ASL code rely on this
31 # route. i.e. If this route changes then the affected GPE
32 # offset bits also need to be changed.
Youness Alaoui34a30a62017-05-25 13:25:41 -050033 register "gpe0_dw0" = "GPP_C"
Youness Alaoui047475c2017-05-08 16:50:23 -040034 register "gpe0_dw1" = "GPP_D"
35 register "gpe0_dw2" = "GPP_E"
36
Youness Alaoui6aa28d92018-03-13 16:53:30 -040037 # EC host command ranges are in 0x380-0x383 & 0x80-0x8f
38 register "gen1_dec" = "0x00000381"
Youness Alaoui047475c2017-05-08 16:50:23 -040039
Youness Alaoui3f42a26b2018-03-20 18:32:23 -040040 # Disable DPTF
41 register "dptf_enable" = "0"
Youness Alaoui047475c2017-05-08 16:50:23 -040042
43 # FSP Configuration
Youness Alaoui9d8cd502017-05-25 15:30:35 -050044 register "SataPortsEnable[0]" = "1"
45 register "SataPortsEnable[2]" = "1"
Youness Alaouieacac202017-05-17 17:16:09 -040046 register "DspEnable" = "0"
47 register "IoBufferOwnership" = "0"
Youness Alaoui047475c2017-05-08 16:50:23 -040048 register "SkipExtGfxScan" = "1"
Angel Pons6fadde02021-04-04 16:11:53 +020049 register "SaGv" = "SaGv_Enabled"
Elyes HAOUASb0f19882018-06-09 11:59:00 +020050 register "PmConfigSlpS3MinAssert" = "2" # 50ms
51 register "PmConfigSlpS4MinAssert" = "1" # 1s
52 register "PmConfigSlpSusMinAssert" = "3" # 500ms
53 register "PmConfigSlpAMinAssert" = "3" # 2s
Youness Alaoui047475c2017-05-08 16:50:23 -040054
Nico Huber44e89af2019-02-23 19:24:51 +010055 # EC/KBC requires continuous mode
56 register "serirq_mode" = "SERIRQ_CONTINUOUS"
57
Matt DeVillierfb1cd092017-06-22 15:54:07 -040058 # VR Settings Configuration for 4 Domains
Youness Alaoui3f42a26b2018-03-20 18:32:23 -040059 #+----------------+-----------+-----------+-------------+----------+
60 #| Domain/Setting | SA | IA | GT Unsliced | GT |
61 #+----------------+-----------+-----------+-------------+----------+
62 #| Psi1Threshold | 20A | 20A | 20A | 20A |
63 #| Psi2Threshold | 4A | 5A | 5A | 5A |
64 #| 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 #| AC LoadLine | 15 mOhm | 5.7 mOhm | 5.2 mOhm | 5.2 mOhm |
72 #| DC LoadLine | 14.3 mOhm | 4.83 mOhm | 4.2 mOhm | 4.2 mOhm |
73 #+----------------+-----------+-----------+-------------+----------+
Youness Alaoui047475c2017-05-08 16:50:23 -040074 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
75 .vr_config_enable = 1,
76 .psi1threshold = VR_CFG_AMP(20),
77 .psi2threshold = VR_CFG_AMP(4),
78 .psi3threshold = VR_CFG_AMP(1),
79 .psi3enable = 1,
80 .psi4enable = 1,
81 .imon_slope = 0x0,
82 .imon_offset = 0x0,
83 .icc_max = VR_CFG_AMP(7),
84 .voltage_limit = 1520,
Youness Alaoui3f42a26b2018-03-20 18:32:23 -040085 .ac_loadline = 1500,
86 .dc_loadline = 1430,
Youness Alaoui047475c2017-05-08 16:50:23 -040087 }"
88
89 register "domain_vr_config[VR_IA_CORE]" = "{
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 = 1,
95 .psi4enable = 1,
96 .imon_slope = 0x0,
97 .imon_offset = 0x0,
98 .icc_max = VR_CFG_AMP(34),
99 .voltage_limit = 1520,
Youness Alaoui3f42a26b2018-03-20 18:32:23 -0400100 .ac_loadline = 570,
101 .dc_loadline = 483,
Youness Alaoui047475c2017-05-08 16:50:23 -0400102 }"
103
Youness Alaoui047475c2017-05-08 16:50:23 -0400104 register "domain_vr_config[VR_GT_UNSLICED]" = "{
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 = 1,
110 .psi4enable = 1,
111 .imon_slope = 0x0,
112 .imon_offset = 0x0,
113 .icc_max = VR_CFG_AMP(35),
114 .voltage_limit = 1520,
Youness Alaoui3f42a26b2018-03-20 18:32:23 -0400115 .ac_loadline = 520,
116 .dc_loadline = 420,
Youness Alaoui047475c2017-05-08 16:50:23 -0400117 }"
118
119 register "domain_vr_config[VR_GT_SLICED]" = "{
120 .vr_config_enable = 1,
121 .psi1threshold = VR_CFG_AMP(20),
122 .psi2threshold = VR_CFG_AMP(5),
123 .psi3threshold = VR_CFG_AMP(1),
124 .psi3enable = 1,
125 .psi4enable = 1,
126 .imon_slope = 0x0,
127 .imon_offset = 0x0,
128 .icc_max = VR_CFG_AMP(35),
129 .voltage_limit = 1520,
Youness Alaoui3f42a26b2018-03-20 18:32:23 -0400130 .ac_loadline = 520,
131 .dc_loadline = 420,
Youness Alaoui047475c2017-05-08 16:50:23 -0400132 }"
133
Youness Alaouidebb7852017-05-25 15:40:13 -0500134 # Enable Root Ports 5 and 9
135 register "PcieRpEnable[4]" = "1"
136 register "PcieRpEnable[8]" = "1"
Youness Alaoui047475c2017-05-08 16:50:23 -0400137
Matt DeVillier2ae27422017-05-25 15:53:29 -0500138 # PL2 override 25W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530139 register "power_limits_config" = "{
140 .tdp_pl2_override = 25,
141 }"
Youness Alaoui047475c2017-05-08 16:50:23 -0400142
Matt DeVillier2ae27422017-05-25 15:53:29 -0500143 # Send an extra VR mailbox command for the PS4 exit issue
144 register "SendVrMbxCmd" = "2"
Youness Alaoui047475c2017-05-08 16:50:23 -0400145
Youness Alaoui047475c2017-05-08 16:50:23 -0400146 device domain 0 on
Felix Singer13ee2e62023-11-12 18:29:57 +0000147 device ref igpu on end
148 device ref sa_thermal on end
149 device ref south_xhci on end
150 device ref south_xdci on end
151 device ref thermal on end
152 device ref sata on end
Jonathon Hall5fe0f902024-01-18 13:49:58 -0500153 device ref pcie_rp5 on end
Felix Singer13ee2e62023-11-12 18:29:57 +0000154 device ref pcie_rp9 on end
155 device ref lpc_espi on
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200156 chip drivers/pc80/tpm
157 device pnp 0c31.0 on end
158 end
Felix Singer13ee2e62023-11-12 18:29:57 +0000159 end
160 device ref hda on end
161 device ref smbus on end
162 device ref fast_spi on end
Youness Alaoui047475c2017-05-08 16:50:23 -0400163 end
164end