Debian Codegraph @

src/mainboard/intel/kblrvp/variants/rvp8/overridetree.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
7 # FSP Configuration
8 register "ScsEmmcHs400Enabled" = "0"
9
10 # 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 |
21 #| IccMax | Auto | Auto | Auto | Auto | Auto |
22 #| VrVoltageLimit*| 0 | 0 | 0 | 0 | 0 |
23 #+----------------+-------+-------+-------------+-------------+-------+
24 #* VrVoltageLimit command not sent.
25
26 register "domain_vr_config[VR_SYSTEM_AGENT]" = "{
27 .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
37 }"
38
39 register "domain_vr_config[VR_IA_CORE]" = "{
40 .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
50 }"
51
52 register "domain_vr_config[VR_GT_UNSLICED]" = "{
53 .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
63 }"
64
65 register "domain_vr_config[VR_GT_SLICED]" = "{
66 .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
76 }"
77
78 # Must leave UART0 enabled or SD/eMMC will not work as PCI
79 register "SerialIoDevMode" = "{
80 [PchSerialIoIndexI2C0] = PchSerialIoPci,
81 [PchSerialIoIndexI2C1] = PchSerialIoPci,
82 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
83 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
84 [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
85 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
86 [PchSerialIoIndexSpi0] = PchSerialIoDisabled,
87 [PchSerialIoIndexSpi1] = PchSerialIoDisabled,
88 [PchSerialIoIndexUart0] = PchSerialIoPci,
89 [PchSerialIoIndexUart1] = PchSerialIoDisabled,
90 [PchSerialIoIndexUart2] = PchSerialIoSkipInit,
91 }"
92
93 # PL2 override 25W
94 register "power_limits_config" = "{
95 .tdp_pl2_override = 25,
96 }"
97
98 device domain 0 on
99 device ref south_xhci on
100 register "SsicPortEnable" = "1" # Enable SSIC for WWAN
101
102 register "usb2_ports" = "{
103 [0] = USB2_PORT_MAX(OC2), /* Type-C Port */
104 [1] = USB2_PORT_MAX(OC5), /* Front panel */
105 [2] = USB2_PORT_MAX(OC4), /* Back panel */
106 [3] = USB2_PORT_MAX(OC4), /* Back panel */
107 [4] = USB2_PORT_MAX(OC1), /* Back panel-1 */
108 [5] = USB2_PORT_MAX(OC1), /* Back panel */
109 [6] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
110 [7] = USB2_PORT_MAX(OC_SKIP), /* Front panel */
111 [8] = USB2_PORT_MAX(OC_SKIP), /* M.2 BT */
112 [9] = USB2_PORT_MAX(OC2), /* Front panel */
113 [10] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
114 [11] = USB2_PORT_MAX(OC_SKIP), /* Back panel-1 */
115 [12] = USB2_PORT_MAX(OC3), /* Back panel */
116 [13] = USB2_PORT_MAX(OC_SKIP), /* Back panel */
117 }"
118
119 register "usb3_ports" = "{
120 [0] = USB3_PORT_DEFAULT(OC_SKIP), /* Type-C Port */
121 [1] = USB3_PORT_DEFAULT(OC1), /* Back panel */
122 [2] = USB3_PORT_DEFAULT(OC1), /* Back panel */
123 [3] = USB3_PORT_DEFAULT(OC0), /* Back panel-2 */
124 [4] = USB3_PORT_DEFAULT(OC0), /* Front Panel */
125 [5] = USB3_PORT_DEFAULT(OC_SKIP), /* Front Panel */
126 [6] = USB3_PORT_DEFAULT(OC2), /* Front Panel */
127 [7] = USB3_PORT_DEFAULT(OC2), /* Front Panel */
128 [8] = USB3_PORT_DEFAULT(OC3), /* Back panel */
129 [9] = USB3_PORT_DEFAULT(OC_SKIP), /* LAN */
130 }"
131 end
132 device ref i2c2 off end
133 device ref i2c3 off end
134 device ref sata on
135 register "SataSalpSupport" = "1"
136 register "SataPortsEnable" = "{
137 [0] = 1,
138 [1] = 1,
139 [2] = 1,
140 [3] = 1,
141 [4] = 1,
142 [5] = 1,
143 [6] = 1,
144 [7] = 1,
145 }"
146 end
147 device ref i2c4 off end
148 device ref pcie_rp1 off end
149 device ref pcie_rp3 on end
150 device ref pcie_rp4 on
151 register "PcieRpClkReqSupport[3]" = "true"
152 register "PcieRpClkReqNumber[3]" = "2"
153 end
154 device ref pcie_rp5 on
155 register "PcieRpClkReqSupport[4]" = "true"
156 register "PcieRpClkReqNumber[4]" = "1"
157 end
158 device ref pcie_rp9 on
159 register "PcieRpClkReqSupport[8]" = "true"
160 register "PcieRpClkReqNumber[8]" = "6"
161 end
162 device ref pcie_rp17 on
163 register "PcieRpClkReqSupport[16]" = "true"
164 register "PcieRpClkReqNumber[16]" = "7"
165 end
166 device ref emmc off end
167 device ref sdxc off end
168 device ref lpc_espi on
169 register "serirq_mode" = "SERIRQ_CONTINUOUS"
170
171 #chip drivers/pc80/tpm
172 # device pnp 0c31.0 on end
173 #end
174 end
175 device ref gbe on end
176 end
177 end