blob: 5a78db6eee3968191e76cd90e0bda8024cb68968 [file] [log] [blame]
Tim Lee1689d1e2019-09-18 16:28:08 +08001{
2 "sensors" : [
3 {
4 "name": "fan1",
5 "type": "fan",
6 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan1",
7 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
8 "min": 0,
9 "max": 255
10 },
11 {
12 "name": "Core_0_CPU0",
13 "type": "temp",
14 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_0_CPU0",
15 "writePath": "",
16 "min": 0,
17 "max": 0,
18 "timeout": 0
19 },
20 {
21 "name": "Core_0_CPU1",
22 "type": "temp",
23 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_0_CPU1",
24 "writePath": "",
25 "min": 0,
26 "max": 0,
27 "timeout": 0
28 },
29 {
30 "name": "Core_1_CPU0",
31 "type": "temp",
32 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_1_CPU0",
33 "writePath": "",
34 "min": 0,
35 "max": 0,
36 "timeout": 0
37 },
38 {
39 "name": "Core_1_CPU1",
40 "type": "temp",
41 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_1_CPU1",
42 "writePath": "",
43 "min": 0,
44 "max": 0,
45 "timeout": 0
46 },
47 {
48 "name": "Core_2_CPU0",
49 "type": "temp",
50 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_2_CPU0",
51 "writePath": "",
52 "min": 0,
53 "max": 0,
54 "timeout": 0
55 },
56 {
57 "name": "Core_2_CPU1",
58 "type": "temp",
59 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_2_CPU1",
60 "writePath": "",
61 "min": 0,
62 "max": 0,
63 "timeout": 0
64 },
65 {
66 "name": "Core_3_CPU0",
67 "type": "temp",
68 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_3_CPU0",
69 "writePath": "",
70 "min": 0,
71 "max": 0,
72 "timeout": 0
73 },
74 {
75 "name": "Core_3_CPU1",
76 "type": "temp",
77 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_3_CPU1",
78 "writePath": "",
79 "min": 0,
80 "max": 0,
81 "timeout": 0
82 },
83 {
84 "name": "Core_4_CPU0",
85 "type": "temp",
86 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_4_CPU0",
87 "writePath": "",
88 "min": 0,
89 "max": 0,
90 "timeout": 0
91 },
92 {
93 "name": "Core_4_CPU1",
94 "type": "temp",
95 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_4_CPU1",
96 "writePath": "",
97 "min": 0,
98 "max": 0,
99 "timeout": 0
100 },
101 {
102 "name": "Core_5_CPU0",
103 "type": "temp",
104 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_5_CPU0",
105 "writePath": "",
106 "min": 0,
107 "max": 0,
108 "timeout": 0
109 },
110 {
111 "name": "Core_5_CPU1",
112 "type": "temp",
113 "readPath": "/xyz/openbmc_project/sensors/temperature/Core_5_CPU1",
114 "writePath": "",
115 "min": 0,
116 "max": 0,
117 "timeout": 0
118 }
119 ],
120 "zones" : [
121 {
122 "id": 0,
123 "minThermalOutput": 0.0,
124 "failsafePercent": 100.0,
125 "pids": [
126 {
127 "name": "fan1",
128 "type": "fan",
129 "inputs": ["fan1"],
130 "setpoint": 40.0,
131 "pid": {
132 "samplePeriod": 1.0,
133 "proportionalCoeff": 0.0,
134 "integralCoeff": 0.0,
135 "feedFwdOffsetCoeff": 0.0,
136 "feedFwdGainCoeff": 1.0,
137 "integralLimit_min": 0.0,
138 "integralLimit_max": 0.0,
139 "outLim_min": 3.0,
140 "outLim_max": 100.0,
141 "slewNeg": 0.0,
142 "slewPos": 0.0
143 }
144 },
145 {
146 "name": "Core_0_CPU0",
147 "type": "temp",
148 "inputs": ["Core_0_CPU0"],
149 "setpoint": 30.0,
150 "pid": {
151 "samplePeriod": 1.0,
152 "proportionalCoeff": -20.0,
153 "integralCoeff": -0.1,
154 "feedFwdOffsetCoeff": 0.0,
155 "feedFwdGainCoeff": 0.0,
156 "integralLimit_min": 0.0,
157 "integralLimit_max": 0.0,
158 "outLim_min": 0.0,
159 "outLim_max": 16000.0,
160 "slewNeg": 0.0,
161 "slewPos": 0.0,
162 "positiveHysteresis": 1.0,
163 "negativeHysteresis": 1.0
164 }
165 },
166 {
167 "name": "Core_0_CPU1",
168 "type": "temp",
169 "inputs": ["Core_0_CPU1"],
170 "setpoint": 30.0,
171 "pid": {
172 "samplePeriod": 1.0,
173 "proportionalCoeff": -20.0,
174 "integralCoeff": -0.1,
175 "feedFwdOffsetCoeff": 0.0,
176 "feedFwdGainCoeff": 0.0,
177 "integralLimit_min": 0.0,
178 "integralLimit_max": 0.0,
179 "outLim_min": 0.0,
180 "outLim_max": 16000.0,
181 "slewNeg": 0.0,
182 "slewPos": 0.0,
183 "positiveHysteresis": 1.0,
184 "negativeHysteresis": 1.0
185 }
186 },
187 {
188 "name": "Core_1_CPU0",
189 "type": "temp",
190 "inputs": ["Core_1_CPU0"],
191 "setpoint": 30.0,
192 "pid": {
193 "samplePeriod": 1.0,
194 "proportionalCoeff": -20.0,
195 "integralCoeff": -0.1,
196 "feedFwdOffsetCoeff": 0.0,
197 "feedFwdGainCoeff": 0.0,
198 "integralLimit_min": 0.0,
199 "integralLimit_max": 0.0,
200 "outLim_min": 0.0,
201 "outLim_max": 16000.0,
202 "slewNeg": 0.0,
203 "slewPos": 0.0,
204 "positiveHysteresis": 1.0,
205 "negativeHysteresis": 1.0
206 }
207 },
208 {
209 "name": "Core_1_CPU1",
210 "type": "temp",
211 "inputs": ["Core_1_CPU1"],
212 "setpoint": 30.0,
213 "pid": {
214 "samplePeriod": 1.0,
215 "proportionalCoeff": -20.0,
216 "integralCoeff": -0.1,
217 "feedFwdOffsetCoeff": 0.0,
218 "feedFwdGainCoeff": 0.0,
219 "integralLimit_min": 0.0,
220 "integralLimit_max": 0.0,
221 "outLim_min": 0.0,
222 "outLim_max": 16000.0,
223 "slewNeg": 0.0,
224 "slewPos": 0.0,
225 "positiveHysteresis": 1.0,
226 "negativeHysteresis": 1.0
227 }
228 },
229 {
230 "name": "Core_2_CPU0",
231 "type": "temp",
232 "inputs": ["Core_2_CPU0"],
233 "setpoint": 30.0,
234 "pid": {
235 "samplePeriod": 1.0,
236 "proportionalCoeff": -20.0,
237 "integralCoeff": -0.1,
238 "feedFwdOffsetCoeff": 0.0,
239 "feedFwdGainCoeff": 0.0,
240 "integralLimit_min": 0.0,
241 "integralLimit_max": 0.0,
242 "outLim_min": 0.0,
243 "outLim_max": 16000.0,
244 "slewNeg": 0.0,
245 "slewPos": 0.0,
246 "positiveHysteresis": 1.0,
247 "negativeHysteresis": 1.0
248 }
249 },
250 {
251 "name": "Core_2_CPU1",
252 "type": "temp",
253 "inputs": ["Core_2_CPU1"],
254 "setpoint": 30.0,
255 "pid": {
256 "samplePeriod": 1.0,
257 "proportionalCoeff": -20.0,
258 "integralCoeff": -0.1,
259 "feedFwdOffsetCoeff": 0.0,
260 "feedFwdGainCoeff": 0.0,
261 "integralLimit_min": 0.0,
262 "integralLimit_max": 0.0,
263 "outLim_min": 0.0,
264 "outLim_max": 16000.0,
265 "slewNeg": 0.0,
266 "slewPos": 0.0,
267 "positiveHysteresis": 1.0,
268 "negativeHysteresis": 1.0
269 }
270 },
271 {
272 "name": "Core_3_CPU0",
273 "type": "temp",
274 "inputs": ["Core_3_CPU0"],
275 "setpoint": 30.0,
276 "pid": {
277 "samplePeriod": 1.0,
278 "proportionalCoeff": -20.0,
279 "integralCoeff": -0.1,
280 "feedFwdOffsetCoeff": 0.0,
281 "feedFwdGainCoeff": 0.0,
282 "integralLimit_min": 0.0,
283 "integralLimit_max": 0.0,
284 "outLim_min": 0.0,
285 "outLim_max": 16000.0,
286 "slewNeg": 0.0,
287 "slewPos": 0.0,
288 "positiveHysteresis": 1.0,
289 "negativeHysteresis": 1.0
290 }
291 },
292 {
293 "name": "Core_3_CPU1",
294 "type": "temp",
295 "inputs": ["Core_3_CPU1"],
296 "setpoint": 30.0,
297 "pid": {
298 "samplePeriod": 1.0,
299 "proportionalCoeff": -20.0,
300 "integralCoeff": -0.1,
301 "feedFwdOffsetCoeff": 0.0,
302 "feedFwdGainCoeff": 0.0,
303 "integralLimit_min": 0.0,
304 "integralLimit_max": 0.0,
305 "outLim_min": 0.0,
306 "outLim_max": 16000.0,
307 "slewNeg": 0.0,
308 "slewPos": 0.0,
309 "positiveHysteresis": 1.0,
310 "negativeHysteresis": 1.0
311 }
312 },
313 {
314 "name": "Core_4_CPU0",
315 "type": "temp",
316 "inputs": ["Core_4_CPU0"],
317 "setpoint": 30.0,
318 "pid": {
319 "samplePeriod": 1.0,
320 "proportionalCoeff": -20.0,
321 "integralCoeff": -0.1,
322 "feedFwdOffsetCoeff": 0.0,
323 "feedFwdGainCoeff": 0.0,
324 "integralLimit_min": 0.0,
325 "integralLimit_max": 0.0,
326 "outLim_min": 0.0,
327 "outLim_max": 16000.0,
328 "slewNeg": 0.0,
329 "slewPos": 0.0,
330 "positiveHysteresis": 1.0,
331 "negativeHysteresis": 1.0
332 }
333 },
334 {
335 "name": "Core_4_CPU1",
336 "type": "temp",
337 "inputs": ["Core_4_CPU1"],
338 "setpoint": 30.0,
339 "pid": {
340 "samplePeriod": 1.0,
341 "proportionalCoeff": -20.0,
342 "integralCoeff": -0.1,
343 "feedFwdOffsetCoeff": 0.0,
344 "feedFwdGainCoeff": 0.0,
345 "integralLimit_min": 0.0,
346 "integralLimit_max": 0.0,
347 "outLim_min": 0.0,
348 "outLim_max": 16000.0,
349 "slewNeg": 0.0,
350 "slewPos": 0.0,
351 "positiveHysteresis": 1.0,
352 "negativeHysteresis": 1.0
353 }
354 },
355 {
356 "name": "Core_5_CPU0",
357 "type": "temp",
358 "inputs": ["Core_5_CPU0"],
359 "setpoint": 30.0,
360 "pid": {
361 "samplePeriod": 1.0,
362 "proportionalCoeff": -20.0,
363 "integralCoeff": -0.1,
364 "feedFwdOffsetCoeff": 0.0,
365 "feedFwdGainCoeff": 0.0,
366 "integralLimit_min": 0.0,
367 "integralLimit_max": 0.0,
368 "outLim_min": 0.0,
369 "outLim_max": 16000.0,
370 "slewNeg": 0.0,
371 "slewPos": 0.0,
372 "positiveHysteresis": 1.0,
373 "negativeHysteresis": 1.0
374 }
375 },
376 {
377 "name": "Core_5_CPU1",
378 "type": "temp",
379 "inputs": ["Core_5_CPU1"],
380 "setpoint": 30.0,
381 "pid": {
382 "samplePeriod": 1.0,
383 "proportionalCoeff": -20.0,
384 "integralCoeff": -0.1,
385 "feedFwdOffsetCoeff": 0.0,
386 "feedFwdGainCoeff": 0.0,
387 "integralLimit_min": 0.0,
388 "integralLimit_max": 0.0,
389 "outLim_min": 0.0,
390 "outLim_max": 16000.0,
391 "slewNeg": 0.0,
392 "slewPos": 0.0,
393 "positiveHysteresis": 1.0,
394 "negativeHysteresis": 1.0
395 }
396 }
397 ]
398 }
399 ]
400}