Debian Codegraph @

src/mainboard/protectli/vault_kbl/devicetree.cb

raw
1 chip soc/intel/skylake
2
3 # Enable deep Sx states
4 register "deep_s3_enable_ac" = "false"
5 register "deep_s3_enable_dc" = "false"
6 register "deep_s5_enable_ac" = "true"
7 register "deep_s5_enable_dc" = "true"
8 register "deep_sx_config" = "DSX_EN_WAKE_PIN | DSX_DIS_AC_PRESENT_PD"
9 register "s0ix_enable" = true
10
11 register "gpe0_dw0" = "GPP_B"
12 register "gpe0_dw1" = "GPP_D"
13 register "gpe0_dw2" = "GPP_E"
14
15 register "eist_enable" = "true"
16
17 # Disable DPTF
18 register "dptf_enable" = "false"
19
20 register "tcc_offset" = "5" # TCC of 95C
21
22 # FSP Configuration
23 register "DspEnable" = "false"
24 register "IoBufferOwnership" = "0"
25 register "SkipExtGfxScan" = "1"
26 register "SaGv" = "SaGv_Enabled"
27 register "IslVrCmd" = "2"
28 register "PmConfigSlpS3MinAssert" = "2" # 50ms
29 register "PmConfigSlpS4MinAssert" = "4" # 4s
30 register "PmConfigSlpSusMinAssert" = "1" # 500ms
31 register "PmConfigSlpAMinAssert" = "3" # 2s
32
33 # VR Settings Configuration for 4 Domains
34 #+----------------+-------+-------+-------+-------+
35 #| Domain/Setting | SA | IA | GTUS | GTS |
36 #+----------------+-------+-------+-------+-------+
37 #| Psi1Threshold | 20A | 20A | 20A | 20A |
38 #| Psi2Threshold | 4A | 5A | 5A | 5A |
39 #| Psi3Threshold | 1A | 1A | 1A | 1A |
40 #| Psi3Enable | 1 | 1 | 1 | 1 |
41 #| Psi4Enable | 1 | 1 | 1 | 1 |
42 #| ImonSlope | 0 | 0 | 0 | 0 |
43 #| ImonOffset | 0 | 0 | 0 | 0 |
44 #| IccMax | 7A | 34A | 35A | 35A |
45 #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V |
46 #| AcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
47 #| DcLoadline(ohm)| 10.3m | 2.4m | 3.1m | 3.1m |
48 #+----------------+-------+-------+-------+-------+
49 #Note: IccMax settings are moved to SoC code
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 = 1,
56 .psi4enable = 1,
57 .imon_slope = 0x0,
58 .imon_offset = 0x0,
59 .voltage_limit = 1520,
60 }"
61
62 register "domain_vr_config[VR_IA_CORE]" = "{
63 .vr_config_enable = 1,
64 .psi1threshold = VR_CFG_AMP(20),
65 .psi2threshold = VR_CFG_AMP(5),
66 .psi3threshold = VR_CFG_AMP(1),
67 .psi3enable = 1,
68 .psi4enable = 1,
69 .imon_slope = 0x0,
70 .imon_offset = 0x0,
71 .voltage_limit = 1520,
72 }"
73
74 register "domain_vr_config[VR_GT_UNSLICED]" = "{
75 .vr_config_enable = 1,
76 .psi1threshold = VR_CFG_AMP(20),
77 .psi2threshold = VR_CFG_AMP(5),
78 .psi3threshold = VR_CFG_AMP(1),
79 .psi3enable = 1,
80 .psi4enable = 1,
81 .imon_slope = 0x0,
82 .imon_offset = 0x0,
83 .voltage_limit = 1520,
84 }"
85
86 register "domain_vr_config[VR_GT_SLICED]" = "{
87 .vr_config_enable = 1,
88 .psi1threshold = VR_CFG_AMP(20),
89 .psi2threshold = VR_CFG_AMP(5),
90 .psi3threshold = VR_CFG_AMP(1),
91 .psi3enable = 1,
92 .psi4enable = 1,
93 .imon_slope = 0x0,
94 .imon_offset = 0x0,
95 .voltage_limit = 1520,
96 }"
97
98 # Send an extra VR mailbox command for the PS4 exit issue
99 register "SendVrMbxCmd" = "2"
100
101 register "SerialIoDevMode" = "{
102 [PchSerialIoIndexI2C0] = PchSerialIoDisabled,
103 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
104 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
105 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
106 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
107 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
108 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
109 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
110 [PchSerialIoIndexUart0] = PchSerialIoDisabled,
111 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
112 [PchSerialIoIndexUart2] = PchSerialIoDisabled,
113 }"
114
115 device domain 0 on
116 device ref igpu on end
117 device ref south_xhci on
118 register "usb2_ports" = "{
119 [0] = USB2_PORT_SHORT(OC_SKIP), // TYPE-A Port
120 [1] = USB2_PORT_SHORT(OC_SKIP), // TYPE-A Port
121 [2] = USB2_PORT_SHORT(OC_SKIP), // TYPE-A Port
122 [3] = USB2_PORT_SHORT(OC_SKIP), // TYPE-A Port
123 [4] = USB2_PORT_SHORT(OC_SKIP), // Type-A Port
124 [5] = USB2_PORT_SHORT(OC_SKIP), // TYPE-A Port
125 [6] = USB2_PORT_SHORT(OC_SKIP), // TYPE-A Port
126 [7] = USB2_PORT_SHORT(OC_SKIP), // mPCIe slot
127 }"
128
129 register "usb3_ports" = "{
130 [0] = USB3_PORT_DEFAULT(OC_SKIP), // TYPE-A Port
131 [1] = USB3_PORT_DEFAULT(OC_SKIP), // TYPE-A Port
132 [2] = USB3_PORT_DEFAULT(OC_SKIP), // TYPE-A Port
133 [3] = USB3_PORT_DEFAULT(OC_SKIP), // TYPE-A Port
134 }"
135 end
136 device ref heci1 on end
137 device ref sata on
138 register "SataPortsEnable" = "{
139 [0] = 1,
140 [1] = 1,
141 }"
142 end
143 device ref pcie_rp1 on
144 # LAN
145 register "PcieRpAdvancedErrorReporting[0]" = "1"
146 register "PcieRpLtrEnable[0]" = "true"
147 register "PcieRpClkSrcNumber[0]" = "0"
148 end
149 device ref pcie_rp2 on
150 # LAN
151 register "PcieRpAdvancedErrorReporting[1]" = "1"
152 register "PcieRpLtrEnable[1]" = "true"
153 register "PcieRpClkSrcNumber[1]" = "1"
154 end
155 device ref pcie_rp3 on
156 # LAN
157 register "PcieRpAdvancedErrorReporting[2]" = "1"
158 register "PcieRpLtrEnable[2]" = "true"
159 register "PcieRpClkSrcNumber[2]" = "2"
160 end
161 device ref pcie_rp4 on
162 # LAN
163 register "PcieRpAdvancedErrorReporting[3]" = "1"
164 register "PcieRpLtrEnable[3]" = "true"
165 register "PcieRpClkSrcNumber[3]" = "3"
166 end
167 device ref pcie_rp5 on
168 # LAN
169 register "PcieRpAdvancedErrorReporting[4]" = "1"
170 register "PcieRpLtrEnable[4]" = "true"
171 register "PcieRpClkSrcNumber[4]" = "4"
172 end
173 device ref pcie_rp6 on
174 # LAN
175 register "PcieRpAdvancedErrorReporting[5]" = "1"
176 register "PcieRpLtrEnable[5]" = "true"
177 register "PcieRpClkSrcNumber[5]" = "5"
178 end
179 device ref pcie_rp9 on
180 # mPCIe WIFI
181 register "PcieRpAdvancedErrorReporting[8]" = "1"
182 register "PcieRpLtrEnable[8]" = "true"
183 register "PcieRpClkSrcNumber[8]" = "5"
184 register "PcieRpClkReqSupport[8]" = "true"
185 register "PcieRpClkReqNumber[8]" = "0"
186 smbios_slot_desc
187 "SlotTypePciExpressMini52pinWithoutBSKO"
188 "SlotLengthShort" "WIFI1" "SlotDataBusWidth1X"
189 end
190 device ref lpc_espi on
191 register "serirq_mode" = "SERIRQ_CONTINUOUS"
192
193 register "gen1_dec" = "0x00fc0201"
194 register "gen2_dec" = "0x007c0a01"
195 register "gen3_dec" = "0x000c03e1"
196 register "gen4_dec" = "0x001c02e1"
197 chip superio/ite/it8772f
198 register "TMPIN1.mode" = "THERMAL_RESISTOR"
199 register "TMPIN2.mode" = "THERMAL_RESISTOR"
200 register "TMPIN3.mode" = "THERMAL_PECI"
201 # FAN2 available on fan header but unused
202 device pnp 2e.0 off end # FDC
203 device pnp 2e.1 on # Serial Port 1
204 io 0x60 = 0x3f8
205 irq 0x70 = 4
206 end
207 device pnp 2e.4 on # Environment Controller
208 io 0x60 = 0xa40
209 io 0x62 = 0xa30
210 irq 0x70 = 9
211 end
212 device pnp 2e.5 off end # Keyboard
213 device pnp 2e.6 off end # Mouse
214 device pnp 2e.7 off end # GPIO
215 device pnp 2e.a off end # IR
216 end
217 end
218 device ref smbus on end
219 end
220 chip drivers/crb
221 device mmio 0xfed40000 on end
222 end
223 end