blob: 010312c4d4fcc8e90e3064cec3a67a5eee7326fc [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
V Sowmya6b78b732018-01-22 20:23:16 +053010 # VR Settings Configuration for 5 Domains
11 #+----------------+-------+-------+-------------+-------------+-------+
12 #| Domain/Setting | SA | IA | Ring Sliced | GT Unsliced | GT |
13 #+----------------+-------+-------+-------------+-------------+-------+
14 #| Psi1Threshold | 20A | 20A | 20A | 20A | 20A |
15 #| Psi2Threshold | 4A | 5A | 5A | 5A | 5A |
16 #| Psi3Threshold | 1A | 1A | 1A | 1A | 1A |
17 #| Psi3Enable | 1 | 1 | 1 | 1 | 1 |
18 #| Psi4Enable | 1 | 1 | 1 | 1 | 1 |
19 #| ImonSlope | 0 | 0 | 0 | 0 | 0 |
20 #| ImonOffset | 0 | 0 | 0 | 0 | 0 |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010021 #| IccMax | Auto | Auto | Auto | Auto | Auto |
22 #| VrVoltageLimit*| 0 | 0 | 0 | 0 | 0 |
V Sowmya6b78b732018-01-22 20:23:16 +053023 #+----------------+-------+-------+-------------+-------------+-------+
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010024 #* VrVoltageLimit command not sent.
25
V Sowmya6b78b732018-01-22 20:23:16 +053026 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020027 .vr_config_enable = 1,
28 .psi1threshold = VR_CFG_AMP(20),
29 .psi2threshold = VR_CFG_AMP(4),
30 .psi3threshold = VR_CFG_AMP(1),
31 .psi3enable = 1,
32 .psi4enable = 1,
33 .imon_slope = 0,
34 .imon_offset = 0,
35 .icc_max = 0,
36 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053037 }"
38
39 register "domain_vr_config[VR_IA_CORE]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020040 .vr_config_enable = 1,
41 .psi1threshold = VR_CFG_AMP(20),
42 .psi2threshold = VR_CFG_AMP(5),
43 .psi3threshold = VR_CFG_AMP(1),
44 .psi3enable = 1,
45 .psi4enable = 1,
46 .imon_slope = 0,
47 .imon_offset = 0,
48 .icc_max = 0,
49 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053050 }"
51
52 register "domain_vr_config[VR_GT_UNSLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020053 .vr_config_enable = 1,
54 .psi1threshold = VR_CFG_AMP(20),
55 .psi2threshold = VR_CFG_AMP(5),
56 .psi3threshold = VR_CFG_AMP(1),
57 .psi3enable = 1,
58 .psi4enable = 1,
59 .imon_slope = 0,
60 .imon_offset = 0,
61 .icc_max = 0,
62 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053063 }"
64
65 register "domain_vr_config[VR_GT_SLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020066 .vr_config_enable = 1,
67 .psi1threshold = VR_CFG_AMP(20),
68 .psi2threshold = VR_CFG_AMP(5),
69 .psi3threshold = VR_CFG_AMP(1),
70 .psi3enable = 1,
71 .psi4enable = 1,
72 .imon_slope = 0,
73 .imon_offset = 0,
74 .icc_max = 0,
75 .voltage_limit = 0
V Sowmya6b78b732018-01-22 20:23:16 +053076 }"
77
V Sowmya6b78b732018-01-22 20:23:16 +053078 # Enable Root port.
79 register "PcieRpEnable[3]" = "1"
80 register "PcieRpEnable[4]" = "1"
81 register "PcieRpEnable[8]" = "1"
82 register "PcieRpEnable[16]" = "1"
83
84 # Enable CLKREQ#
85 register "PcieRpClkReqSupport[3]" = "1"
86 register "PcieRpClkReqSupport[4]" = "1"
87 register "PcieRpClkReqSupport[8]" = "1"
88 register "PcieRpClkReqSupport[16]" = "1"
89
90 # SRCCLKREQ#
91 register "PcieRpClkReqNumber[3]" = "2"
92 register "PcieRpClkReqNumber[4]" = "1"
93 register "PcieRpClkReqNumber[8]" = "6"
94 register "PcieRpClkReqNumber[16]" = "7"
95
V Sowmya6b78b732018-01-22 20:23:16 +053096
97 register "SsicPortEnable" = "1" # Enable SSIC for WWAN
98
V Sowmya6b78b732018-01-22 20:23:16 +053099 # Must leave UART0 enabled or SD/eMMC will not work as PCI
Felix Singer21b5a9a2023-10-23 07:26:28 +0200100 register "SerialIoDevMode" = "{
101 [PchSerialIoIndexI2C0] = PchSerialIoPci,
102 [PchSerialIoIndexI2C1] = PchSerialIoPci,
103 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
104 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
105 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
106 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
107 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
108 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
109 [PchSerialIoIndexUart0] = PchSerialIoPci,
110 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
111 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
V Sowmya6b78b732018-01-22 20:23:16 +0530112 }"
113
114 # PL2 override 25W
Sumeet R Pawnikar97c54642020-05-10 01:24:11 +0530115 register "power_limits_config" = "{
116 .tdp_pl2_override = 25,
117 }"
V Sowmya6b78b732018-01-22 20:23:16 +0530118
V Sowmya6b78b732018-01-22 20:23:16 +0530119 device domain 0 on
Felix Singer6c83a712024-06-23 00:25:18 +0200120 device ref south_xhci on
121 register "usb2_ports" = "{
122 [0] = USB2_PORT_MAX(OC2), /* Type-C Port */
123 [1] = USB2_PORT_MAX(OC5), /* Front panel */
124 [2] = USB2_PORT_MAX(OC4), /* Back panel */
125 [3] = USB2_PORT_MAX(OC4), /* Back panel */
126 [4] = USB2_PORT_MAX(OC1), /* Back panel-1 */
127 [5] = USB2_PORT_MAX(OC1), /* Back panel */
128 [6] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
129 [7] = USB2_PORT_MAX(OC_SKIP), /* Front panel */
130 [8] = USB2_PORT_MAX(OC_SKIP), /* M.2 BT */
131 [9] = USB2_PORT_MAX(OC2), /* Front panel */
132 [10] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
133 [11] = USB2_PORT_MAX(OC_SKIP), /* Back panel-1 */
134 [12] = USB2_PORT_MAX(OC3), /* Back panel */
135 [13] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
136 }"
137
138 register "usb3_ports" = "{
139 [0] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-C Port */
140 [1] = USB3_PORT_DEFAULT(OC1), /* Back panel */
141 [2] = USB3_PORT_DEFAULT(OC1), /* Back panel */
142 [3] = USB3_PORT_DEFAULT(OC0), /* Back panel-2 */
143 [4] = USB3_PORT_DEFAULT(OC0), /* Front Panel */
144 [5] = USB3_PORT_DEFAULT(OC_SKIP), /* Front Panel */
145 [6] = USB3_PORT_DEFAULT(OC2), /* Front Panel */
146 [7] = USB3_PORT_DEFAULT(OC2), /* Front Panel */
147 [8] = USB3_PORT_DEFAULT(OC3), /* Back panel */
148 [9] = USB3_PORT_DEFAULT(OC_SKIP), /* LAN */
149 }"
150 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100151 device ref i2c2 off end
152 device ref i2c3 off end
Felix Singerdf7de392024-06-23 04:59:03 +0200153 device ref sata on
154 register "SataSalpSupport" = "1"
155 register "SataPortsEnable" = "{
156 [0] = 1,
157 [1] = 1,
158 [2] = 1,
159 [3] = 1,
160 [4] = 1,
161 [5] = 1,
162 [6] = 1,
163 [7] = 1,
164 }"
165 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100166 device ref i2c4 off end
167 device ref pcie_rp1 off end
168 device ref pcie_rp3 on end
169 device ref pcie_rp4 on end
170 device ref pcie_rp5 on end
171 device ref emmc off end
172 device ref sdxc off end
173 device ref lpc_espi on
Felix Singer4b722032024-06-23 20:32:15 +0200174 register "serirq_mode" = "SERIRQ_CONTINUOUS"
175
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