blob: 5516fee9b8ec22fcb60b973f3133ee073ebea58d [file] [log] [blame]
V Sowmya6b78b732018-01-22 20:23:16 +05301chip soc/intel/skylake
2
3 # Enable deep Sx states
4 register "deep_s3_enable_ac" = "0"
5 register "deep_s3_enable_dc" = "0"
V Sowmya6b78b732018-01-22 20:23:16 +05306
7 # FSP Configuration
V Sowmya6b78b732018-01-22 20:23:16 +05308 register "ScsEmmcHs400Enabled" = "0"
Nico Huber44e89af2019-02-23 19:24:51 +01009
10 register "serirq_mode" = "SERIRQ_CONTINUOUS"
V Sowmya6b78b732018-01-22 20:23:16 +053011
12 # VR Settings Configuration for 5 Domains
13 #+----------------+-------+-------+-------------+-------------+-------+
14 #| Domain/Setting | SA | IA | Ring Sliced | GT Unsliced | GT |
15 #+----------------+-------+-------+-------------+-------------+-------+
16 #| Psi1Threshold | 20A | 20A | 20A | 20A | 20A |
17 #| Psi2Threshold | 4A | 5A | 5A | 5A | 5A |
18 #| Psi3Threshold | 1A | 1A | 1A | 1A | 1A |
19 #| Psi3Enable | 1 | 1 | 1 | 1 | 1 |
20 #| Psi4Enable | 1 | 1 | 1 | 1 | 1 |
21 #| ImonSlope | 0 | 0 | 0 | 0 | 0 |
22 #| ImonOffset | 0 | 0 | 0 | 0 | 0 |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010023 #| IccMax | Auto | Auto | Auto | Auto | Auto |
24 #| VrVoltageLimit*| 0 | 0 | 0 | 0 | 0 |
V Sowmya6b78b732018-01-22 20:23:16 +053025 #+----------------+-------+-------+-------------+-------------+-------+
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010026 #* VrVoltageLimit command not sent.
27
V Sowmya6b78b732018-01-22 20:23:16 +053028 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020029 .vr_config_enable = 1,
30 .psi1threshold = VR_CFG_AMP(20),
31 .psi2threshold = VR_CFG_AMP(4),
32 .psi3threshold = VR_CFG_AMP(1),
33 .psi3enable = 1,
34 .psi4enable = 1,
35 .imon_slope = 0,
36 .imon_offset = 0,
37 .icc_max = 0,
38 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053039 }"
40
41 register "domain_vr_config[VR_IA_CORE]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020042 .vr_config_enable = 1,
43 .psi1threshold = VR_CFG_AMP(20),
44 .psi2threshold = VR_CFG_AMP(5),
45 .psi3threshold = VR_CFG_AMP(1),
46 .psi3enable = 1,
47 .psi4enable = 1,
48 .imon_slope = 0,
49 .imon_offset = 0,
50 .icc_max = 0,
51 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053052 }"
53
54 register "domain_vr_config[VR_GT_UNSLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020055 .vr_config_enable = 1,
56 .psi1threshold = VR_CFG_AMP(20),
57 .psi2threshold = VR_CFG_AMP(5),
58 .psi3threshold = VR_CFG_AMP(1),
59 .psi3enable = 1,
60 .psi4enable = 1,
61 .imon_slope = 0,
62 .imon_offset = 0,
63 .icc_max = 0,
64 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053065 }"
66
67 register "domain_vr_config[VR_GT_SLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020068 .vr_config_enable = 1,
69 .psi1threshold = VR_CFG_AMP(20),
70 .psi2threshold = VR_CFG_AMP(5),
71 .psi3threshold = VR_CFG_AMP(1),
72 .psi3enable = 1,
73 .psi4enable = 1,
74 .imon_slope = 0,
75 .imon_offset = 0,
76 .icc_max = 0,
77 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053078 }"
79
V Sowmya6b78b732018-01-22 20:23:16 +053080 # Enable Root port.
81 register "PcieRpEnable[3]" = "1"
82 register "PcieRpEnable[4]" = "1"
83 register "PcieRpEnable[8]" = "1"
84 register "PcieRpEnable[16]" = "1"
85
86 # Enable CLKREQ#
87 register "PcieRpClkReqSupport[3]" = "1"
88 register "PcieRpClkReqSupport[4]" = "1"
89 register "PcieRpClkReqSupport[8]" = "1"
90 register "PcieRpClkReqSupport[16]" = "1"
91
92 # SRCCLKREQ#
93 register "PcieRpClkReqNumber[3]" = "2"
94 register "PcieRpClkReqNumber[4]" = "1"
95 register "PcieRpClkReqNumber[8]" = "6"
96 register "PcieRpClkReqNumber[16]" = "7"
97
V Sowmya6b78b732018-01-22 20:23:16 +053098
99 register "SsicPortEnable" = "1" # Enable SSIC for WWAN
100
V Sowmya6b78b732018-01-22 20:23:16 +0530101 # Must leave UART0 enabled or SD/eMMC will not work as PCI
Felix Singer21b5a9a2023-10-23 07:26:28 +0200102 register "SerialIoDevMode" = "{
103 [PchSerialIoIndexI2C0] = PchSerialIoPci,
104 [PchSerialIoIndexI2C1] = PchSerialIoPci,
105 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
106 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
107 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
108 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
109 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
110 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
111 [PchSerialIoIndexUart0] = PchSerialIoPci,
112 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
113 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
V Sowmya6b78b732018-01-22 20:23:16 +0530114 }"
115
116 # PL2 override 25W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530117 register "power_limits_config" = "{
118 .tdp_pl2_override = 25,
119 }"
V Sowmya6b78b732018-01-22 20:23:16 +0530120
V Sowmya6b78b732018-01-22 20:23:16 +0530121 device domain 0 on
Felix Singer6c83a712024-06-23 00:25:18 +0200122 device ref south_xhci on
123 register "usb2_ports" = "{
124 [0] = USB2_PORT_MAX(OC2), /* Type-C Port */
125 [1] = USB2_PORT_MAX(OC5), /* Front panel */
126 [2] = USB2_PORT_MAX(OC4), /* Back panel */
127 [3] = USB2_PORT_MAX(OC4), /* Back panel */
128 [4] = USB2_PORT_MAX(OC1), /* Back panel-1 */
129 [5] = USB2_PORT_MAX(OC1), /* Back panel */
130 [6] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
131 [7] = USB2_PORT_MAX(OC_SKIP), /* Front panel */
132 [8] = USB2_PORT_MAX(OC_SKIP), /* M.2 BT */
133 [9] = USB2_PORT_MAX(OC2), /* Front panel */
134 [10] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
135 [11] = USB2_PORT_MAX(OC_SKIP), /* Back panel-1 */
136 [12] = USB2_PORT_MAX(OC3), /* Back panel */
137 [13] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
138 }"
139
140 register "usb3_ports" = "{
141 [0] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-C Port */
142 [1] = USB3_PORT_DEFAULT(OC1), /* Back panel */
143 [2] = USB3_PORT_DEFAULT(OC1), /* Back panel */
144 [3] = USB3_PORT_DEFAULT(OC0), /* Back panel-2 */
145 [4] = USB3_PORT_DEFAULT(OC0), /* Front Panel */
146 [5] = USB3_PORT_DEFAULT(OC_SKIP), /* Front Panel */
147 [6] = USB3_PORT_DEFAULT(OC2), /* Front Panel */
148 [7] = USB3_PORT_DEFAULT(OC2), /* Front Panel */
149 [8] = USB3_PORT_DEFAULT(OC3), /* Back panel */
150 [9] = USB3_PORT_DEFAULT(OC_SKIP), /* LAN */
151 }"
152 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100153 device ref i2c2 off end
154 device ref i2c3 off end
Felix Singerdf7de392024-06-23 04:59:03 +0200155 device ref sata on
156 register "SataSalpSupport" = "1"
157 register "SataPortsEnable" = "{
158 [0] = 1,
159 [1] = 1,
160 [2] = 1,
161 [3] = 1,
162 [4] = 1,
163 [5] = 1,
164 [6] = 1,
165 [7] = 1,
166 }"
167 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100168 device ref i2c4 off end
169 device ref pcie_rp1 off end
170 device ref pcie_rp3 on end
171 device ref pcie_rp4 on end
172 device ref pcie_rp5 on end
173 device ref emmc off end
174 device ref sdxc off end
175 device ref lpc_espi on
V Sowmya6b78b732018-01-22 20:23:16 +0530176 #chip drivers/pc80/tpm
177 # device pnp 0c31.0 on end
178 #end
Felix Singer2dff4f02023-11-16 01:17:31 +0100179 end
180 device ref gbe on end
V Sowmya6b78b732018-01-22 20:23:16 +0530181 end
182end