blob: 87bf0d874397b65c5f78535df76b77f5dc67ca54 [file] [log] [blame]
Barnali Sarkar2ed14f62016-11-29 16:51:08 +05301chip soc/intel/skylake
2
Felix Singercc93db92023-10-23 16:26:20 +02003 register "SataPortsEnable" = "{
4 [0] = 1,
5 [1] = 1,
6 [2] = 1,
7 }"
Barnali Sarkar2ed14f62016-11-29 16:51:08 +05308
9 # Enable deep Sx states
Duncan Laurie1fe32d62017-04-10 21:02:13 -070010 register "deep_s5_enable_ac" = "1"
11 register "deep_s5_enable_dc" = "1"
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053012
Duncan Laurie4fa8a6f2017-03-14 16:37:55 -070013 # VR Settings Configuration for 4 Domains
14 #+----------------+-------+-------+-------+-------+
15 #| Domain/Setting | SA | IA | GTUS | GTS |
16 #+----------------+-------+-------+-------+-------+
17 #| Psi1Threshold | 20A | 20A | 20A | 20A |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010018 #| Psi2Threshold | 5A | 5A | 5A | 5A |
Duncan Laurie4fa8a6f2017-03-14 16:37:55 -070019 #| Psi3Threshold | 1A | 1A | 1A | 1A |
20 #| Psi3Enable | 1 | 1 | 1 | 1 |
21 #| Psi4Enable | 1 | 1 | 1 | 1 |
22 #| ImonSlope | 0 | 0 | 0 | 0 |
23 #| ImonOffset | 0 | 0 | 0 | 0 |
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010024 #| IccMax | Auto | Auto | Auto | Auto |
25 #| VrVoltageLimit*| 0 | 0 | 0 | 0 |
Duncan Laurie4fa8a6f2017-03-14 16:37:55 -070026 #+----------------+-------+-------+-------+-------+
Wim Vervoorn57aa8e32019-12-06 11:30:33 +010027 #* VrVoltageLimit command not sent.
28
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053029 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020030 .vr_config_enable = 1,
31 .psi1threshold = VR_CFG_AMP(20),
32 .psi2threshold = VR_CFG_AMP(5),
33 .psi3threshold = VR_CFG_AMP(1),
34 .psi3enable = 1,
35 .psi4enable = 1,
36 .imon_slope = 0,
37 .imon_offset = 0,
38 .icc_max = 0,
39 .voltage_limit = 0
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053040 }"
41
42 register "domain_vr_config[VR_IA_CORE]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020043 .vr_config_enable = 1,
44 .psi1threshold = VR_CFG_AMP(20),
45 .psi2threshold = VR_CFG_AMP(5),
46 .psi3threshold = VR_CFG_AMP(1),
47 .psi3enable = 1,
48 .psi4enable = 1,
49 .imon_slope = 0,
50 .imon_offset = 0,
51 .icc_max = 0,
52 .voltage_limit = 0
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053053 }"
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053054
55 register "domain_vr_config[VR_GT_UNSLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020056 .vr_config_enable = 1,
57 .psi1threshold = VR_CFG_AMP(20),
58 .psi2threshold = VR_CFG_AMP(5),
59 .psi3threshold = VR_CFG_AMP(1),
60 .psi3enable = 1,
61 .psi4enable = 1,
62 .imon_slope = 0,
63 .imon_offset = 0,
64 .icc_max = 0,
65 .voltage_limit = 0
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053066 }"
67
68 register "domain_vr_config[VR_GT_SLICED]" = "{
Felix Singer21b5a9a2023-10-23 07:26:28 +020069 .vr_config_enable = 1,
70 .psi1threshold = VR_CFG_AMP(20),
71 .psi2threshold = VR_CFG_AMP(5),
72 .psi3threshold = VR_CFG_AMP(1),
73 .psi3enable = 1,
74 .psi4enable = 1,
75 .imon_slope = 0,
76 .imon_offset = 0,
77 .icc_max = 0,
78 .voltage_limit = 0
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053079 }"
80
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053081 # Enable Root ports.
82 register "PcieRpEnable[2]" = "1"
83 register "PcieRpEnable[3]" = "1"
84 register "PcieRpEnable[4]" = "1"
85 register "PcieRpEnable[5]" = "1"
86 register "PcieRpEnable[8]" = "1"
87
88 # Enable CLKREQ#
89 register "PcieRpClkReqSupport[2]" = "1"
90 register "PcieRpClkReqSupport[3]" = "1"
91 register "PcieRpClkReqSupport[4]" = "1"
92 register "PcieRpClkReqSupport[5]" = "1"
93 register "PcieRpClkReqSupport[8]" = "1"
94
Divya Chellape7fb7ce2017-12-19 20:16:50 +053095 # RP 3 uses SRCCLKREQ5#
Barnali Sarkar2ed14f62016-11-29 16:51:08 +053096 register "PcieRpClkReqNumber[2]" = "5"
97 register "PcieRpClkReqNumber[3]" = "2"
98 register "PcieRpClkReqNumber[4]" = "3"
99 register "PcieRpClkReqNumber[5]" = "4"
100 register "PcieRpClkReqNumber[8]" = "1"
101
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400102 # RP 3 uses CLK SRC 5#
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530103 register "PcieRpClkSrcNumber[2]" = "5"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400104 # RP 4 uses CLK SRC 2#
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530105 register "PcieRpClkSrcNumber[3]" = "2"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400106 # RP 5 uses CLK SRC 3#
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530107 register "PcieRpClkSrcNumber[4]" = "3"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400108 # RP 6 uses CLK SRC 4#
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530109 register "PcieRpClkSrcNumber[5]" = "4"
Alexander Goncharov893c3ae82023-02-04 15:20:37 +0400110 # RP 9 uses CLK SRC 1#
Divya Chellape7fb7ce2017-12-19 20:16:50 +0530111 register "PcieRpClkSrcNumber[8]" = "1"
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530112
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530113
Felix Singer21b5a9a2023-10-23 07:26:28 +0200114 register "SerialIoDevMode" = "{
115 [PchSerialIoIndexI2C0] = PchSerialIoPci,
116 [PchSerialIoIndexI2C1] = PchSerialIoPci,
117 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
118 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
119 [PchSerialIoIndexI2C4] = PchSerialIoPci,
120 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
121 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
122 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
123 [PchSerialIoIndexUart0] = PchSerialIoPci,
124 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
125 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530126 }"
127
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530128 # Use default SD card detect GPIO configuration
Angel Pons6bd99f92021-02-20 00:16:47 +0100129 register "sdcard_cd_gpio" = "GPP_G5"
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530130
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530131 device domain 0 on
Felix Singer6c83a712024-06-23 00:25:18 +0200132 device ref south_xhci on
133 register "usb2_ports" = "{
134 [0] = USB2_PORT_MAX(OC0), /* TYPE-A Port */
135 [1] = USB2_PORT_MAX(OC2), /* TYPE-A Port */
136 [2] = USB2_PORT_MAX(OC_SKIP), /* Bluetooth */
137 [4] = USB2_PORT_MAX(OC1), /* Type-A Port */
138 [5] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
139 [6] = USB2_PORT_MAX(OC2), /* TYPE-A Port */
140 [7] = USB2_PORT_MAX(OC2), /* TYPE-A Port */
141 [8] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
142 [9] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
143 [10] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
144 [11] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */
145 }"
146
147 register "usb3_ports" = "{
148 [0] = USB3_PORT_DEFAULT(OC0), /* TYPE-A Port */
149 [1] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */
150 [2] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */
151 [3] = USB3_PORT_DEFAULT(OC1), /* TYPE-A Port */
152 [4] = USB3_PORT_DEFAULT(OC2), /* TYPE-A Port */
153 [5] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */
154 }"
155 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100156 device ref i2c2 off end
157 device ref i2c3 off end
158 device ref sata on end
159 device ref pcie_rp3 on end
160 device ref pcie_rp4 on end
161 device ref pcie_rp5 on end
162 device ref pcie_rp6 on end
163 device ref lpc_espi on
Felix Singerdcddc53f2024-06-23 03:39:24 +0200164 # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f
165 register "gen2_dec" = "0x000c0201"
166
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530167 chip drivers/pc80/tpm
168 device pnp 0c31.0 on end
169 end
Felix Singer2dff4f02023-11-16 01:17:31 +0100170 end
Barnali Sarkar2ed14f62016-11-29 16:51:08 +0530171 end
172end