1{
2    "Exposes": [
3        {
4            "Address": "0x1f",
5            "Bus": "$bus",
6            "Labels": [
7                "in0",
8                "in1",
9                "in2",
10                "in3",
11                "in4",
12                "in5",
13                "in6",
14                "in7"
15            ],
16            "Name": "FANBOARD$bus % 30 ADC",
17            "Thresholds": [
18                {
19                    "Direction": "greater than",
20                    "Label": "in0",
21                    "Name": "upper non recoverable",
22                    "Severity": 4,
23                    "Value": 6
24                },
25                {
26                    "Direction": "greater than",
27                    "Label": "in0",
28                    "Name": "upper critical",
29                    "Severity": 1,
30                    "Value": 2.156
31                },
32                {
33                    "Direction": "greater than",
34                    "Label": "in0",
35                    "Name": "upper non critical",
36                    "Severity": 0,
37                    "Value": 2.058
38                },
39                {
40                    "Direction": "greater than",
41                    "Label": "in1",
42                    "Name": "upper non recoverable",
43                    "Severity": 4,
44                    "Value": 6
45                },
46                {
47                    "Direction": "greater than",
48                    "Label": "in1",
49                    "Name": "upper critical",
50                    "Severity": 1,
51                    "Value": 2.156
52                },
53                {
54                    "Direction": "greater than",
55                    "Label": "in1",
56                    "Name": "upper non critical",
57                    "Severity": 0,
58                    "Value": 2.058
59                },
60                {
61                    "Direction": "greater than",
62                    "Label": "in2",
63                    "Name": "upper non recoverable",
64                    "Severity": 4,
65                    "Value": 6
66                },
67                {
68                    "Direction": "greater than",
69                    "Label": "in2",
70                    "Name": "upper critical",
71                    "Severity": 1,
72                    "Value": 2.156
73                },
74                {
75                    "Direction": "greater than",
76                    "Label": "in2",
77                    "Name": "upper non critical",
78                    "Severity": 0,
79                    "Value": 2.058
80                },
81                {
82                    "Direction": "greater than",
83                    "Label": "in3",
84                    "Name": "upper non recoverable",
85                    "Severity": 4,
86                    "Value": 6
87                },
88                {
89                    "Direction": "greater than",
90                    "Label": "in3",
91                    "Name": "upper critical",
92                    "Severity": 1,
93                    "Value": 2.156
94                },
95                {
96                    "Direction": "greater than",
97                    "Label": "in3",
98                    "Name": "upper non critical",
99                    "Severity": 0,
100                    "Value": 2.058
101                },
102                {
103                    "Direction": "greater than",
104                    "Label": "in4",
105                    "Name": "upper non recoverable",
106                    "Severity": 4,
107                    "Value": 6
108                },
109                {
110                    "Direction": "greater than",
111                    "Label": "in4",
112                    "Name": "upper critical",
113                    "Severity": 1,
114                    "Value": 2.156
115                },
116                {
117                    "Direction": "greater than",
118                    "Label": "in4",
119                    "Name": "upper non critical",
120                    "Severity": 0,
121                    "Value": 2.058
122                },
123                {
124                    "Direction": "greater than",
125                    "Label": "in5",
126                    "Name": "upper non recoverable",
127                    "Severity": 4,
128                    "Value": 6
129                },
130                {
131                    "Direction": "greater than",
132                    "Label": "in5",
133                    "Name": "upper critical",
134                    "Severity": 1,
135                    "Value": 2.156
136                },
137                {
138                    "Direction": "greater than",
139                    "Label": "in5",
140                    "Name": "upper non critical",
141                    "Severity": 0,
142                    "Value": 2.058
143                },
144                {
145                    "Direction": "greater than",
146                    "Label": "in6",
147                    "Name": "upper non recoverable",
148                    "Severity": 4,
149                    "Value": 60
150                },
151                {
152                    "Direction": "greater than",
153                    "Label": "in6",
154                    "Name": "upper critical",
155                    "Severity": 1,
156                    "Value": 53.28
157                },
158                {
159                    "Direction": "greater than",
160                    "Label": "in6",
161                    "Name": "upper non critical",
162                    "Severity": 0,
163                    "Value": 52.8
164                },
165                {
166                    "Direction": "less than",
167                    "Label": "in6",
168                    "Name": "lower non critical",
169                    "Severity": 0,
170                    "Value": 43.2
171                },
172                {
173                    "Direction": "less than",
174                    "Label": "in6",
175                    "Name": "lower critical",
176                    "Severity": 1,
177                    "Value": 42.72
178                },
179                {
180                    "Direction": "less than",
181                    "Label": "in6",
182                    "Name": "lower non recoverable",
183                    "Severity": 4,
184                    "Value": 40
185                },
186                {
187                    "Direction": "greater than",
188                    "Label": "in7",
189                    "Name": "upper non recoverable",
190                    "Severity": 4,
191                    "Value": 3.83
192                },
193                {
194                    "Direction": "greater than",
195                    "Label": "in7",
196                    "Name": "upper critical",
197                    "Severity": 1,
198                    "Value": 3.432
199                },
200                {
201                    "Direction": "greater than",
202                    "Label": "in7",
203                    "Name": "upper non critical",
204                    "Severity": 0,
205                    "Value": 3.399
206                },
207                {
208                    "Direction": "less than",
209                    "Label": "in7",
210                    "Name": "lower non critical",
211                    "Severity": 0,
212                    "Value": 3.201
213                },
214                {
215                    "Direction": "less than",
216                    "Label": "in7",
217                    "Name": "lower critical",
218                    "Severity": 1,
219                    "Value": 3.168
220                },
221                {
222                    "Direction": "less than",
223                    "Label": "in7",
224                    "Name": "lower non recoverable",
225                    "Severity": 4,
226                    "Value": 2.64
227                }
228            ],
229            "Type": "ADC128D818",
230            "in0_Max": 2.5,
231            "in0_Name": "FANBOARD$bus % 30 ADC_FAN$bus % 30 * 2 + 8 48V_CURR_A",
232            "in0_Scale": 300,
233            "in1_Max": 2.5,
234            "in1_Name": "FANBOARD$bus % 30 ADC_FAN$bus % 30 * 2 + 4 48V_CURR_A",
235            "in1_Scale": 300,
236            "in2_Max": 2.5,
237            "in2_Name": "FANBOARD$bus % 30 ADC_FAN$bus % 30 * 2 + 0 48V_CURR_A",
238            "in2_Scale": 300,
239            "in3_Max": 2.5,
240            "in3_Name": "FANBOARD$bus % 30 ADC_FAN$bus % 30 * 2 + 9 48V_CURR_A",
241            "in3_Scale": 300,
242            "in4_Max": 2.5,
243            "in4_Name": "FANBOARD$bus % 30 ADC_FAN$bus % 30 * 2 + 5 48V_CURR_A",
244            "in4_Scale": 300,
245            "in5_Max": 2.5,
246            "in5_Name": "FANBOARD$bus % 30 ADC_FAN$bus % 30 * 2 + 1 48V_CURR_A",
247            "in5_Scale": 300,
248            "in6_Name": "FANBOARD$bus % 30 ADC_48V_AUX_VOLT_V",
249            "in6_Scale": 31.9458,
250            "in7_Name": "FANBOARD$bus % 30 ADC_3V3_STBY_VOLT_V",
251            "in7_Scale": 500
252        },
253        {
254            "Address": "$address",
255            "Bus": "$bus",
256            "Name": "Fan Board $bus % 30 FRU",
257            "Type": "EEPROM"
258        },
259        {
260            "Address": "0x20",
261            "Bus": "$bus",
262            "Connector": {
263                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 0 TACH_INLET_SPEED_RPM",
264                "Pwm": 2,
265                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 0 PWM_PCT",
266                "Tachs": [
267                    3
268                ]
269            },
270            "Index": 3,
271            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 0 TACH_INLET_SPEED_RPM",
272            "PowerState": "Always",
273            "Thresholds": [
274                {
275                    "Direction": "greater than",
276                    "Name": "upper critical",
277                    "Severity": 1,
278                    "Value": 17380
279                },
280                {
281                    "Direction": "greater than",
282                    "Name": "upper non critical",
283                    "Severity": 0,
284                    "Value": 13970
285                },
286                {
287                    "Direction": "less than",
288                    "Name": "lower critical",
289                    "Severity": 1,
290                    "Value": 1000
291                }
292            ],
293            "Type": "I2CFan"
294        },
295        {
296            "Address": "0x20",
297            "Bus": "$bus",
298            "Connector": {
299                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 0 TACH_OUTLET_SPEED_RPM",
300                "Pwm": 2,
301                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 0 PWM_PCT",
302                "Tachs": [
303                    10
304                ]
305            },
306            "Index": 10,
307            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 0 TACH_OUTLET_SPEED_RPM",
308            "PowerState": "Always",
309            "Thresholds": [
310                {
311                    "Direction": "greater than",
312                    "Name": "upper critical",
313                    "Severity": 1,
314                    "Value": 17600
315                },
316                {
317                    "Direction": "greater than",
318                    "Name": "upper non critical",
319                    "Severity": 0,
320                    "Value": 14080
321                },
322                {
323                    "Direction": "less than",
324                    "Name": "lower critical",
325                    "Severity": 1,
326                    "Value": 1000
327                }
328            ],
329            "Type": "I2CFan"
330        },
331        {
332            "Address": "0x2f",
333            "Bus": "$bus",
334            "Connector": {
335                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 1 TACH_INLET_SPEED_RPM",
336                "Pwm": 2,
337                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 1 PWM_PCT",
338                "Tachs": [
339                    3
340                ]
341            },
342            "Index": 3,
343            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 1 TACH_INLET_SPEED_RPM",
344            "PowerState": "Always",
345            "Thresholds": [
346                {
347                    "Direction": "greater than",
348                    "Name": "upper critical",
349                    "Severity": 1,
350                    "Value": 17380
351                },
352                {
353                    "Direction": "greater than",
354                    "Name": "upper non critical",
355                    "Severity": 0,
356                    "Value": 13140
357                },
358                {
359                    "Direction": "less than",
360                    "Name": "lower critical",
361                    "Severity": 1,
362                    "Value": 1000
363                }
364            ],
365            "Type": "I2CFan"
366        },
367        {
368            "Address": "0x2f",
369            "Bus": "$bus",
370            "Connector": {
371                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 1 TACH_OUTLET_SPEED_RPM",
372                "Pwm": 2,
373                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 1 PWM_PCT",
374                "Tachs": [
375                    10
376                ]
377            },
378            "Index": 10,
379            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 1 TACH_OUTLET_SPEED_RPM",
380            "PowerState": "Always",
381            "Thresholds": [
382                {
383                    "Direction": "greater than",
384                    "Name": "upper critical",
385                    "Severity": 1,
386                    "Value": 17600
387                },
388                {
389                    "Direction": "greater than",
390                    "Name": "upper non critical",
391                    "Severity": 0,
392                    "Value": 14080
393                },
394                {
395                    "Direction": "less than",
396                    "Name": "lower critical",
397                    "Severity": 1,
398                    "Value": 1000
399                }
400            ],
401            "Type": "I2CFan"
402        },
403        {
404            "Address": "0x20",
405            "Bus": "$bus",
406            "Connector": {
407                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 4 TACH_INLET_SPEED_RPM",
408                "Pwm": 1,
409                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 4 PWM_PCT",
410                "Tachs": [
411                    2
412                ]
413            },
414            "Index": 2,
415            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 4 TACH_INLET_SPEED_RPM",
416            "PowerState": "Always",
417            "Thresholds": [
418                {
419                    "Direction": "greater than",
420                    "Name": "upper critical",
421                    "Severity": 1,
422                    "Value": 17380
423                },
424                {
425                    "Direction": "greater than",
426                    "Name": "upper non critical",
427                    "Severity": 0,
428                    "Value": 13140
429                },
430                {
431                    "Direction": "less than",
432                    "Name": "lower critical",
433                    "Severity": 1,
434                    "Value": 1000
435                }
436            ],
437            "Type": "I2CFan"
438        },
439        {
440            "Address": "0x20",
441            "Bus": "$bus",
442            "Connector": {
443                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 4 TACH_OUTLET_SPEED_RPM",
444                "Pwm": 1,
445                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 4 PWM_PCT",
446                "Tachs": [
447                    9
448                ]
449            },
450            "Index": 9,
451            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 4 TACH_OUTLET_SPEED_RPM",
452            "PowerState": "Always",
453            "Thresholds": [
454                {
455                    "Direction": "greater than",
456                    "Name": "upper critical",
457                    "Severity": 1,
458                    "Value": 17600
459                },
460                {
461                    "Direction": "greater than",
462                    "Name": "upper non critical",
463                    "Severity": 0,
464                    "Value": 14080
465                },
466                {
467                    "Direction": "less than",
468                    "Name": "lower critical",
469                    "Severity": 1,
470                    "Value": 1000
471                }
472            ],
473            "Type": "I2CFan"
474        },
475        {
476            "Address": "0x2f",
477            "Bus": "$bus",
478            "Connector": {
479                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 5 TACH_INLET_SPEED_RPM",
480                "Pwm": 1,
481                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 5 PWM_PCT",
482                "Tachs": [
483                    2
484                ]
485            },
486            "Index": 2,
487            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 5 TACH_INLET_SPEED_RPM",
488            "PowerState": "Always",
489            "Thresholds": [
490                {
491                    "Direction": "greater than",
492                    "Name": "upper critical",
493                    "Severity": 1,
494                    "Value": 17380
495                },
496                {
497                    "Direction": "greater than",
498                    "Name": "upper non critical",
499                    "Severity": 0,
500                    "Value": 13140
501                },
502                {
503                    "Direction": "less than",
504                    "Name": "lower critical",
505                    "Severity": 1,
506                    "Value": 1000
507                }
508            ],
509            "Type": "I2CFan"
510        },
511        {
512            "Address": "0x2f",
513            "Bus": "$bus",
514            "Connector": {
515                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 5 TACH_OUTLET_SPEED_RPM",
516                "Pwm": 1,
517                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 5 PWM_PCT",
518                "Tachs": [
519                    9
520                ]
521            },
522            "Index": 9,
523            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 5 TACH_OUTLET_SPEED_RPM",
524            "PowerState": "Always",
525            "Thresholds": [
526                {
527                    "Direction": "greater than",
528                    "Name": "upper critical",
529                    "Severity": 1,
530                    "Value": 17600
531                },
532                {
533                    "Direction": "greater than",
534                    "Name": "upper non critical",
535                    "Severity": 0,
536                    "Value": 14080
537                },
538                {
539                    "Direction": "less than",
540                    "Name": "lower critical",
541                    "Severity": 1,
542                    "Value": 1000
543                }
544            ],
545            "Type": "I2CFan"
546        },
547        {
548            "Address": "0x20",
549            "Bus": "$bus",
550            "Connector": {
551                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 8 TACH_INLET_SPEED_RPM",
552                "Pwm": 0,
553                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 8 PWM_PCT",
554                "Tachs": [
555                    0
556                ]
557            },
558            "Index": 0,
559            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 8 TACH_INLET_SPEED_RPM",
560            "PowerState": "Always",
561            "Thresholds": [
562                {
563                    "Direction": "greater than",
564                    "Name": "upper critical",
565                    "Severity": 1,
566                    "Value": 17380
567                },
568                {
569                    "Direction": "greater than",
570                    "Name": "upper non critical",
571                    "Severity": 0,
572                    "Value": 13140
573                },
574                {
575                    "Direction": "less than",
576                    "Name": "lower critical",
577                    "Severity": 1,
578                    "Value": 1000
579                }
580            ],
581            "Type": "I2CFan"
582        },
583        {
584            "Address": "0x20",
585            "Bus": "$bus",
586            "Connector": {
587                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 8 TACH_OUTLET_SPEED_RPM",
588                "Pwm": 0,
589                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 8 PWM_PCT",
590                "Tachs": [
591                    1
592                ]
593            },
594            "Index": 1,
595            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 8 TACH_OUTLET_SPEED_RPM",
596            "PowerState": "Always",
597            "Thresholds": [
598                {
599                    "Direction": "greater than",
600                    "Name": "upper critical",
601                    "Severity": 1,
602                    "Value": 17600
603                },
604                {
605                    "Direction": "greater than",
606                    "Name": "upper non critical",
607                    "Severity": 0,
608                    "Value": 14080
609                },
610                {
611                    "Direction": "less than",
612                    "Name": "lower critical",
613                    "Severity": 1,
614                    "Value": 1000
615                }
616            ],
617            "Type": "I2CFan"
618        },
619        {
620            "Address": "0x2f",
621            "Bus": "$bus",
622            "Connector": {
623                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 9 TACH_INLET_SPEED_RPM",
624                "Pwm": 0,
625                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 9 PWM_PCT",
626                "Tachs": [
627                    0
628                ]
629            },
630            "Index": 0,
631            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 9 TACH_INLET_SPEED_RPM",
632            "PowerState": "Always",
633            "Thresholds": [
634                {
635                    "Direction": "greater than",
636                    "Name": "upper critical",
637                    "Severity": 1,
638                    "Value": 17380
639                },
640                {
641                    "Direction": "greater than",
642                    "Name": "upper non critical",
643                    "Severity": 0,
644                    "Value": 13140
645                },
646                {
647                    "Direction": "less than",
648                    "Name": "lower critical",
649                    "Severity": 1,
650                    "Value": 1000
651                }
652            ],
653            "Type": "I2CFan"
654        },
655        {
656            "Address": "0x2f",
657            "Bus": "$bus",
658            "Connector": {
659                "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 9 TACH_OUTLET_SPEED_RPM",
660                "Pwm": 0,
661                "PwmName": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 9 PWM_PCT",
662                "Tachs": [
663                    1
664                ]
665            },
666            "Index": 1,
667            "Name": "FANBOARD$bus % 30 FAN$bus % 30 * 2 + 9 TACH_OUTLET_SPEED_RPM",
668            "PowerState": "Always",
669            "Thresholds": [
670                {
671                    "Direction": "greater than",
672                    "Name": "upper critical",
673                    "Severity": 1,
674                    "Value": 17600
675                },
676                {
677                    "Direction": "greater than",
678                    "Name": "upper non critical",
679                    "Severity": 0,
680                    "Value": 14080
681                },
682                {
683                    "Direction": "less than",
684                    "Name": "lower critical",
685                    "Severity": 1,
686                    "Value": 1000
687                }
688            ],
689            "Type": "I2CFan"
690        }
691    ],
692    "Name": "Yosemite 4 Fan Board $bus % 30",
693    "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Fan Board FSC-MAX ADC-TI LED-NXP EFUSE-MPS', 'PRODUCT_PRODUCT_NAME': 'Yosemite V4'})",
694    "Type": "Board",
695    "xyz.openbmc_project.Inventory.Decorator.Asset": {
696        "BuildDate": "$BOARD_MANUFACTURE_DATE",
697        "Manufacturer": "$BOARD_MANUFACTURER",
698        "Model": "$BOARD_PRODUCT_NAME",
699        "PartNumber": "$BOARD_PART_NUMBER",
700        "SerialNumber": "$BOARD_SERIAL_NUMBER",
701        "SparePartNumber": "$BOARD_INFO_AM1"
702    },
703    "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
704        "AssetTag": "$PRODUCT_ASSET_TAG"
705    },
706    "xyz.openbmc_project.Inventory.Decorator.Revision": {
707        "Version": "$PRODUCT_VERSION"
708    },
709    "xyz.openbmc_project.Inventory.Decorator.Slot": {
710        "SlotNumber": "$bus % 30"
711    }
712}
713