blob: c15686cdab9aa25f8517a70386617315c9282cc7 [file] [log] [blame]
Potin Lai934b28f2022-01-10 22:53:37 +08001{
Potin Laif2ce9502022-07-04 14:01:46 +08002 "version": "R04",
Potin Lai934b28f2022-01-10 22:53:37 +08003 "sensors": [
4 {
5 "name": "FAN0_TACH_IL",
6 "type": "fan",
7 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN0_TACH_IL",
8 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e610000.pwm_tach/1e610000.pwm_tach:pwm/consumer:platform:pwm-fan0/consumer/hwmon/**/pwm1",
9 "min": 0,
10 "max": 255
11 },
12 {
13 "name": "FAN0_TACH_OL",
14 "type": "fan",
15 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN0_TACH_OL",
16 "min": 0,
17 "max": 255
18 },
19 {
20 "name": "FAN1_TACH_IL",
21 "type": "fan",
22 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN1_TACH_IL",
23 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e610000.pwm_tach/1e610000.pwm_tach:pwm/consumer:platform:pwm-fan1/consumer/hwmon/**/pwm1",
24 "min": 0,
25 "max": 255
26 },
27 {
28 "name": "FAN1_TACH_OL",
29 "type": "fan",
30 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN1_TACH_OL",
31 "min": 0,
32 "max": 255
33 },
34 {
35 "name": "FAN2_TACH_IL",
36 "type": "fan",
37 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN2_TACH_IL",
38 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e610000.pwm_tach/1e610000.pwm_tach:pwm/consumer:platform:pwm-fan2/consumer/hwmon/**/pwm1",
39 "min": 0,
40 "max": 255
41 },
42 {
43 "name": "FAN2_TACH_OL",
44 "type": "fan",
45 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN2_TACH_OL",
46 "min": 0,
47 "max": 255
48 },
49 {
50 "name": "FAN3_TACH_IL",
51 "type": "fan",
52 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN3_TACH_IL",
53 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e610000.pwm_tach/1e610000.pwm_tach:pwm/consumer:platform:pwm-fan3/consumer/hwmon/**/pwm1",
54 "min": 0,
55 "max": 255
56 },
57 {
58 "name": "FAN3_TACH_OL",
59 "type": "fan",
60 "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN3_TACH_OL",
61 "min": 0,
62 "max": 255
63 },
64 {
65 "name": "Virtual_Inlet_Temp",
66 "type": "temp",
67 "readPath": "/xyz/openbmc_project/sensors/temperature/Virtual_Inlet_Temp",
68 "writePath": "",
69 "min": 0,
70 "max": 0,
71 "ignoreDbusMinMax": true,
72 "timeout": 0
73 },
74 {
75 "name": "MB_U19_THERM_LOCAL",
76 "type": "temp",
77 "readPath": "/xyz/openbmc_project/sensors/temperature/MB_U19_THERM_LOCAL",
78 "writePath": "",
79 "min": 0,
80 "max": 0,
81 "ignoreDbusMinMax": true,
82 "timeout": 0
83 },
84 {
85 "name": "MB_U402_THERM_LOCAL",
86 "type": "temp",
87 "readPath": "/xyz/openbmc_project/sensors/temperature/MB_U402_THERM_LOCAL",
88 "writePath": "",
89 "min": 0,
90 "max": 0,
91 "ignoreDbusMinMax": true,
92 "timeout": 0
Potin Laif2ce9502022-07-04 14:01:46 +080093 },
94 {
95 "name": "SLED1_THERM_LOCAL",
96 "type": "temp",
97 "readPath": "/xyz/openbmc_project/sensors/temperature/SLED1_THERM_LOCAL",
98 "writePath": "",
99 "min": 0,
100 "max": 0,
101 "ignoreDbusMinMax": true,
102 "timeout": 0
103 },
104 {
105 "name": "SLED2_THERM_LOCAL",
106 "type": "temp",
107 "readPath": "/xyz/openbmc_project/sensors/temperature/SLED2_THERM_LOCAL",
108 "writePath": "",
109 "min": 0,
110 "max": 0,
111 "ignoreDbusMinMax": true,
112 "timeout": 0
113 },
114 {
115 "name": "SLED3_THERM_LOCAL",
116 "type": "temp",
117 "readPath": "/xyz/openbmc_project/sensors/temperature/SLED3_THERM_LOCAL",
118 "writePath": "",
119 "min": 0,
120 "max": 0,
121 "ignoreDbusMinMax": true,
122 "timeout": 0
123 },
124 {
125 "name": "SLED4_THERM_LOCAL",
126 "type": "temp",
127 "readPath": "/xyz/openbmc_project/sensors/temperature/SLED4_THERM_LOCAL",
128 "writePath": "",
129 "min": 0,
130 "max": 0,
131 "ignoreDbusMinMax": true,
132 "timeout": 0
133 },
134 {
135 "name": "SLED5_THERM_LOCAL",
136 "type": "temp",
137 "readPath": "/xyz/openbmc_project/sensors/temperature/SLED5_THERM_LOCAL",
138 "writePath": "",
139 "min": 0,
140 "max": 0,
141 "ignoreDbusMinMax": true,
142 "timeout": 0
143 },
144 {
145 "name": "SLED6_THERM_LOCAL",
146 "type": "temp",
147 "readPath": "/xyz/openbmc_project/sensors/temperature/SLED6_THERM_LOCAL",
148 "writePath": "",
149 "min": 0,
150 "max": 0,
151 "ignoreDbusMinMax": true,
152 "timeout": 0
Potin Lai934b28f2022-01-10 22:53:37 +0800153 }
154 ],
155 "zones": [
156 {
157 "id": 1,
158 "minThermalOutput": 0.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800159 "failsafePercent": 80.0,
Potin Lai934b28f2022-01-10 22:53:37 +0800160 "pids": [
161 {
162 "name": "fan_tachs",
163 "type": "fan",
164 "inputs": [
165 "FAN0_TACH_IL",
166 "FAN0_TACH_OL",
167 "FAN1_TACH_IL",
168 "FAN1_TACH_OL",
169 "FAN2_TACH_IL",
170 "FAN2_TACH_OL",
171 "FAN3_TACH_IL",
172 "FAN3_TACH_OL"
173 ],
174 "setpoint": 0.0,
175 "pid": {
176 "samplePeriod": 1.0,
177 "proportionalCoeff": 0.0,
178 "integralCoeff": 0.0,
179 "feedFwdOffsetCoeff": 0.0,
180 "feedFwdGainCoeff": 1.0,
181 "integralLimit_min": 0.0,
182 "integralLimit_max": 0.0,
183 "outLim_min": 0.0,
184 "outLim_max": 100.0,
185 "slewNeg": 0.0,
186 "slewPos": 0.0
187 }
188 },
189 {
190 "name": "inlet_Temp",
191 "type": "stepwise",
192 "inputs": [
193 "Virtual_Inlet_Temp"
194 ],
195 "setpoint": 10.0,
196 "pid": {
197 "samplePeriod": 1.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800198 "positiveHysteresis": 0.0,
199 "negativeHysteresis": 0.0,
Potin Lai934b28f2022-01-10 22:53:37 +0800200 "isCeiling": false,
201 "reading": {
Potin Laif2ce9502022-07-04 14:01:46 +0800202 "0": 15.0,
203 "1": 20.0,
204 "2": 22.0,
205 "3": 24.0,
206 "4": 26.0,
207 "5": 28.0,
208 "6": 30.0,
209 "7": 31.0,
210 "8": 32.0,
211 "9": 33.0,
212 "10": 34.0,
213 "11": 35.0,
214 "12": 36.0,
215 "13": 37.0,
216 "14": 38.0,
217 "15": 39.0,
218 "16": 40.0
Potin Lai934b28f2022-01-10 22:53:37 +0800219 },
220 "output": {
Potin Laif2ce9502022-07-04 14:01:46 +0800221 "0": 25.0,
222 "1": 25.0,
223 "2": 28.0,
224 "3": 30.0,
225 "4": 31.0,
226 "5": 32.0,
227 "6": 35.0,
228 "7": 37.0,
229 "8": 38.0,
230 "9": 39.0,
231 "10": 40.0,
232 "11": 42.0,
233 "12": 43.0,
234 "13": 45.0,
235 "14": 47.0,
236 "15": 50.0,
237 "16": 80.0
Potin Lai934b28f2022-01-10 22:53:37 +0800238 }
239 }
240 },
241 {
242 "name": "switch_temp",
243 "type": "stepwise",
244 "inputs": [
245 "MB_U402_THERM_LOCAL"
246 ],
247 "setpoint": 45.0,
248 "pid": {
249 "samplePeriod": 1.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800250 "positiveHysteresis": 0.0,
251 "negativeHysteresis": 0.0,
Potin Lai934b28f2022-01-10 22:53:37 +0800252 "isCeiling": false,
253 "reading": {
254 "0": 49.0,
255 "1": 50.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800256 "2": 51.0,
257 "3": 52.0
Potin Lai934b28f2022-01-10 22:53:37 +0800258 },
259 "output": {
260 "0": 15.0,
261 "1": 20.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800262 "2": 25.0,
263 "3": 40.0
Potin Lai934b28f2022-01-10 22:53:37 +0800264 }
265 }
266 },
267 {
268 "name": "retimer_temp",
269 "type": "stepwise",
270 "inputs": [
271 "MB_U19_THERM_LOCAL"
272 ],
273 "setpoint": 45.0,
274 "pid": {
275 "samplePeriod": 1.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800276 "positiveHysteresis": 0.0,
277 "negativeHysteresis": 0.0,
Potin Lai934b28f2022-01-10 22:53:37 +0800278 "isCeiling": false,
279 "reading": {
Potin Laif2ce9502022-07-04 14:01:46 +0800280 "0": 40.0,
281 "1": 43.0,
282 "2": 44.0,
283 "3": 45.0,
284 "4": 46.0,
285 "5": 47.0,
286 "6": 48.0,
287 "7": 49.0
Potin Lai934b28f2022-01-10 22:53:37 +0800288 },
289 "output": {
Potin Laif2ce9502022-07-04 14:01:46 +0800290 "0": 20.0,
291 "1": 40.0,
292 "2": 42.0,
293 "3": 44.0,
294 "4": 46.0,
295 "5": 48.0,
296 "6": 50.0,
297 "7": 80.0
298 }
299 }
300 },
301 {
302 "name": "SLED_THERM_LOCAL",
303 "type": "stepwise",
304 "inputs": [
305 "SLED1_THERM_LOCAL",
306 "SLED2_THERM_LOCAL",
307 "SLED3_THERM_LOCAL",
308 "SLED4_THERM_LOCAL",
309 "SLED5_THERM_LOCAL",
310 "SLED6_THERM_LOCAL"
311 ],
312 "setpoint": 35.0,
313 "pid": {
314 "samplePeriod": 1.0,
315 "positiveHysteresis": 0.0,
316 "negativeHysteresis": 0.0,
317 "isCeiling": false,
318 "reading": {
319 "0": 30.0,
320 "1": 35.0,
321 "2": 47.0,
322 "3": 48.0,
323 "4": 49.0,
324 "5": 50.0
325 },
326 "output": {
327 "0": 20.0,
Potin Lai934b28f2022-01-10 22:53:37 +0800328 "1": 20.0,
Potin Laif2ce9502022-07-04 14:01:46 +0800329 "2": 45.0,
330 "3": 46.0,
331 "4": 47.0,
332 "5": 50.0
Potin Lai934b28f2022-01-10 22:53:37 +0800333 }
334 }
335 }
336 ]
337 }
338 ]
339}