1535568c0SYang Chen{
2535568c0SYang Chen    "Exposes": [
3535568c0SYang Chen        {
4535568c0SYang Chen            "BridgeGpio": [
5535568c0SYang Chen                {
6535568c0SYang Chen                    "Name": "BAT_DETECT",
7535568c0SYang Chen                    "Polarity": "High",
8535568c0SYang Chen                    "SetupTime": 1
9535568c0SYang Chen                }
10535568c0SYang Chen            ],
11535568c0SYang Chen            "Index": 7,
12535568c0SYang Chen            "Name": "CMM_P3V_BAT_VOLT_V",
13535568c0SYang Chen            "PollRate": 86400,
14535568c0SYang Chen            "ScaleFactor": 0.333333,
15*d42f8848SYang Chen            "Thresholds": [
16*d42f8848SYang Chen                {
17*d42f8848SYang Chen                    "Direction": "greater than",
18*d42f8848SYang Chen                    "Name": "upper critical",
19*d42f8848SYang Chen                    "Severity": 1,
20*d42f8848SYang Chen                    "Value": 3.4
21*d42f8848SYang Chen                },
22*d42f8848SYang Chen                {
23*d42f8848SYang Chen                    "Direction": "less than",
24*d42f8848SYang Chen                    "Name": "lower critical",
25*d42f8848SYang Chen                    "Severity": 1,
26*d42f8848SYang Chen                    "Value": 2.6
27*d42f8848SYang Chen                }
28*d42f8848SYang Chen            ],
29535568c0SYang Chen            "Type": "ADC"
30535568c0SYang Chen        },
31535568c0SYang Chen        {
32535568c0SYang Chen            "Address": "0x40",
33535568c0SYang Chen            "Bus": 0,
34535568c0SYang Chen            "Labels": [
35535568c0SYang Chen                "in1",
36535568c0SYang Chen                "curr1",
37535568c0SYang Chen                "power1"
38535568c0SYang Chen            ],
39535568c0SYang Chen            "Name": "CMM_PMON_P24V",
40*d42f8848SYang Chen            "Thresholds": [
41*d42f8848SYang Chen                {
42*d42f8848SYang Chen                    "Direction": "greater than",
43*d42f8848SYang Chen                    "Label": "curr1",
44*d42f8848SYang Chen                    "Name": "upper critical",
45*d42f8848SYang Chen                    "Severity": 1,
46*d42f8848SYang Chen                    "Value": 8.33
47*d42f8848SYang Chen                },
48*d42f8848SYang Chen                {
49*d42f8848SYang Chen                    "Direction": "less than",
50*d42f8848SYang Chen                    "Label": "curr1",
51*d42f8848SYang Chen                    "Name": "lower critical",
52*d42f8848SYang Chen                    "Severity": 1,
53*d42f8848SYang Chen                    "Value": -0.05
54*d42f8848SYang Chen                },
55*d42f8848SYang Chen                {
56*d42f8848SYang Chen                    "Direction": "greater than",
57*d42f8848SYang Chen                    "Label": "in1",
58*d42f8848SYang Chen                    "Name": "upper critical",
59*d42f8848SYang Chen                    "Severity": 1,
60*d42f8848SYang Chen                    "Value": 25.2
61*d42f8848SYang Chen                },
62*d42f8848SYang Chen                {
63*d42f8848SYang Chen                    "Direction": "less than",
64*d42f8848SYang Chen                    "Label": "in1",
65*d42f8848SYang Chen                    "Name": "lower critical",
66*d42f8848SYang Chen                    "Severity": 1,
67*d42f8848SYang Chen                    "Value": 22.8
68*d42f8848SYang Chen                },
69*d42f8848SYang Chen                {
70*d42f8848SYang Chen                    "Direction": "greater than",
71*d42f8848SYang Chen                    "Label": "power1",
72*d42f8848SYang Chen                    "Name": "upper critical",
73*d42f8848SYang Chen                    "Severity": 1,
74*d42f8848SYang Chen                    "Value": 199.92
75*d42f8848SYang Chen                },
76*d42f8848SYang Chen                {
77*d42f8848SYang Chen                    "Direction": "less than",
78*d42f8848SYang Chen                    "Label": "power1",
79*d42f8848SYang Chen                    "Name": "lower critical",
80*d42f8848SYang Chen                    "Severity": 1,
81*d42f8848SYang Chen                    "Value": 0
82*d42f8848SYang Chen                }
83*d42f8848SYang Chen            ],
84535568c0SYang Chen            "Type": "INA230",
85535568c0SYang Chen            "curr1_Name": "CMM_PMON_P24V_CURR_A",
86535568c0SYang Chen            "in1_Name": "CMM_PMON_P24V_VOLT_V",
87535568c0SYang Chen            "power1_Name": "CMM_PMON_P24V_PWR_W"
88535568c0SYang Chen        },
89535568c0SYang Chen        {
90535568c0SYang Chen            "Address": "0x41",
91535568c0SYang Chen            "Bus": 0,
92535568c0SYang Chen            "Labels": [
93535568c0SYang Chen                "in1",
94535568c0SYang Chen                "curr1",
95535568c0SYang Chen                "power1"
96535568c0SYang Chen            ],
97535568c0SYang Chen            "Name": "CMM_PMON_P12V",
98*d42f8848SYang Chen            "Thresholds": [
99*d42f8848SYang Chen                {
100*d42f8848SYang Chen                    "Direction": "greater than",
101*d42f8848SYang Chen                    "Label": "curr1",
102*d42f8848SYang Chen                    "Name": "upper critical",
103*d42f8848SYang Chen                    "Severity": 1,
104*d42f8848SYang Chen                    "Value": 5.24
105*d42f8848SYang Chen                },
106*d42f8848SYang Chen                {
107*d42f8848SYang Chen                    "Direction": "less than",
108*d42f8848SYang Chen                    "Label": "curr1",
109*d42f8848SYang Chen                    "Name": "lower critical",
110*d42f8848SYang Chen                    "Severity": 1,
111*d42f8848SYang Chen                    "Value": -0.05
112*d42f8848SYang Chen                },
113*d42f8848SYang Chen                {
114*d42f8848SYang Chen                    "Direction": "greater than",
115*d42f8848SYang Chen                    "Label": "in1",
116*d42f8848SYang Chen                    "Name": "upper critical",
117*d42f8848SYang Chen                    "Severity": 1,
118*d42f8848SYang Chen                    "Value": 13
119*d42f8848SYang Chen                },
120*d42f8848SYang Chen                {
121*d42f8848SYang Chen                    "Direction": "less than",
122*d42f8848SYang Chen                    "Label": "in1",
123*d42f8848SYang Chen                    "Name": "lower critical",
124*d42f8848SYang Chen                    "Severity": 1,
125*d42f8848SYang Chen                    "Value": 11
126*d42f8848SYang Chen                },
127*d42f8848SYang Chen                {
128*d42f8848SYang Chen                    "Direction": "greater than",
129*d42f8848SYang Chen                    "Label": "power1",
130*d42f8848SYang Chen                    "Name": "upper critical",
131*d42f8848SYang Chen                    "Severity": 1,
132*d42f8848SYang Chen                    "Value": 62.88
133*d42f8848SYang Chen                },
134*d42f8848SYang Chen                {
135*d42f8848SYang Chen                    "Direction": "less than",
136*d42f8848SYang Chen                    "Label": "power1",
137*d42f8848SYang Chen                    "Name": "lower critical",
138*d42f8848SYang Chen                    "Severity": 1,
139*d42f8848SYang Chen                    "Value": 0
140*d42f8848SYang Chen                }
141*d42f8848SYang Chen            ],
142535568c0SYang Chen            "Type": "INA230",
143535568c0SYang Chen            "curr1_Name": "CMM_PMON_P12V_CURR_A",
144535568c0SYang Chen            "in1_Name": "CMM_PMON_P12V_VOLT_V",
145535568c0SYang Chen            "power1_Name": "CMM_PMON_P12V_PWR_W"
146535568c0SYang Chen        },
147535568c0SYang Chen        {
148535568c0SYang Chen            "Address": "0x44",
149535568c0SYang Chen            "Bus": 0,
150535568c0SYang Chen            "Labels": [
151535568c0SYang Chen                "vin",
152535568c0SYang Chen                "vout1",
153535568c0SYang Chen                "iout1",
154535568c0SYang Chen                "pin"
155535568c0SYang Chen            ],
156535568c0SYang Chen            "Name": "CMM_HSC",
157*d42f8848SYang Chen            "Thresholds": [
158*d42f8848SYang Chen                {
159*d42f8848SYang Chen                    "Direction": "greater than",
160*d42f8848SYang Chen                    "Label": "vin",
161*d42f8848SYang Chen                    "Name": "upper critical",
162*d42f8848SYang Chen                    "Severity": 1,
163*d42f8848SYang Chen                    "Value": 56
164*d42f8848SYang Chen                },
165*d42f8848SYang Chen                {
166*d42f8848SYang Chen                    "Direction": "less than",
167*d42f8848SYang Chen                    "Label": "vin",
168*d42f8848SYang Chen                    "Name": "lower critical",
169*d42f8848SYang Chen                    "Severity": 1,
170*d42f8848SYang Chen                    "Value": 46
171*d42f8848SYang Chen                },
172*d42f8848SYang Chen                {
173*d42f8848SYang Chen                    "Direction": "greater than",
174*d42f8848SYang Chen                    "Label": "vout1",
175*d42f8848SYang Chen                    "Name": "upper critical",
176*d42f8848SYang Chen                    "Severity": 1,
177*d42f8848SYang Chen                    "Value": 56
178*d42f8848SYang Chen                },
179*d42f8848SYang Chen                {
180*d42f8848SYang Chen                    "Direction": "less than",
181*d42f8848SYang Chen                    "Label": "vout1",
182*d42f8848SYang Chen                    "Name": "lower critical",
183*d42f8848SYang Chen                    "Severity": 1,
184*d42f8848SYang Chen                    "Value": 46
185*d42f8848SYang Chen                },
186*d42f8848SYang Chen                {
187*d42f8848SYang Chen                    "Direction": "greater than",
188*d42f8848SYang Chen                    "Label": "iout1",
189*d42f8848SYang Chen                    "Name": "upper critical",
190*d42f8848SYang Chen                    "Severity": 1,
191*d42f8848SYang Chen                    "Value": 6.08
192*d42f8848SYang Chen                },
193*d42f8848SYang Chen                {
194*d42f8848SYang Chen                    "Direction": "less than",
195*d42f8848SYang Chen                    "Label": "iout1",
196*d42f8848SYang Chen                    "Name": "lower critical",
197*d42f8848SYang Chen                    "Severity": 1,
198*d42f8848SYang Chen                    "Value": -0.05
199*d42f8848SYang Chen                },
200*d42f8848SYang Chen                {
201*d42f8848SYang Chen                    "Direction": "greater than",
202*d42f8848SYang Chen                    "Label": "pin",
203*d42f8848SYang Chen                    "Name": "upper critical",
204*d42f8848SYang Chen                    "Severity": 1,
205*d42f8848SYang Chen                    "Value": 334.4
206*d42f8848SYang Chen                },
207*d42f8848SYang Chen                {
208*d42f8848SYang Chen                    "Direction": "less than",
209*d42f8848SYang Chen                    "Label": "pin",
210*d42f8848SYang Chen                    "Name": "lower critical",
211*d42f8848SYang Chen                    "Severity": 1,
212*d42f8848SYang Chen                    "Value": 0
213*d42f8848SYang Chen                }
214*d42f8848SYang Chen            ],
215535568c0SYang Chen            "Type": "LTC4287",
216535568c0SYang Chen            "iout1_Name": "CMM_HSC_CURR_A",
217535568c0SYang Chen            "pin_Name": "CMM_HSC_PWR_W",
218535568c0SYang Chen            "vin_Name": "CMM_HSC_VIN_VOLT_V",
219535568c0SYang Chen            "vout1_Name": "CMM_HSC_VOUT_VOLT_V"
220535568c0SYang Chen        },
221535568c0SYang Chen        {
222535568c0SYang Chen            "Address": "0x48",
223535568c0SYang Chen            "Bus": 1,
224535568c0SYang Chen            "Name": "CMM_OUTLET_TEMP_C",
225535568c0SYang Chen            "Thresholds": [
226535568c0SYang Chen                {
227535568c0SYang Chen                    "Direction": "greater than",
228535568c0SYang Chen                    "Name": "upper critical",
229535568c0SYang Chen                    "Severity": 1,
230535568c0SYang Chen                    "Value": 80
231535568c0SYang Chen                },
232535568c0SYang Chen                {
233535568c0SYang Chen                    "Direction": "greater than",
234535568c0SYang Chen                    "Name": "upper non critical",
235535568c0SYang Chen                    "Severity": 0,
236535568c0SYang Chen                    "Value": 75
237535568c0SYang Chen                },
238535568c0SYang Chen                {
239535568c0SYang Chen                    "Direction": "less than",
240535568c0SYang Chen                    "Name": "lower non critical",
241535568c0SYang Chen                    "Severity": 0,
242535568c0SYang Chen                    "Value": 5
243535568c0SYang Chen                },
244535568c0SYang Chen                {
245535568c0SYang Chen                    "Direction": "less than",
246535568c0SYang Chen                    "Name": "lower critical",
247535568c0SYang Chen                    "Severity": 1,
248535568c0SYang Chen                    "Value": 0
249535568c0SYang Chen                }
250535568c0SYang Chen            ],
251535568c0SYang Chen            "Type": "TMP75"
252535568c0SYang Chen        }
253535568c0SYang Chen    ],
254535568c0SYang Chen    "Name": "Minerva CMM",
255535568c0SYang Chen    "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM.*'})",
256535568c0SYang Chen    "Type": "Board",
257535568c0SYang Chen    "xyz.openbmc_project.Inventory.Decorator.Asset": {
258535568c0SYang Chen        "Manufacturer": "$PRODUCT_MANUFACTURER",
259535568c0SYang Chen        "Model": "$PRODUCT_PRODUCT_NAME",
260535568c0SYang Chen        "PartNumber": "$PRODUCT_PART_NUMBER",
261535568c0SYang Chen        "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
262535568c0SYang Chen    }
263535568c0SYang Chen}
264