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,
15d42f8848SYang Chen            "Thresholds": [
16d42f8848SYang Chen                {
17d42f8848SYang Chen                    "Direction": "greater than",
18d42f8848SYang Chen                    "Name": "upper critical",
19d42f8848SYang Chen                    "Severity": 1,
20d42f8848SYang Chen                    "Value": 3.4
21d42f8848SYang Chen                },
22d42f8848SYang Chen                {
23d42f8848SYang Chen                    "Direction": "less than",
24d42f8848SYang Chen                    "Name": "lower critical",
25d42f8848SYang Chen                    "Severity": 1,
26d42f8848SYang Chen                    "Value": 2.6
27d42f8848SYang Chen                }
28d42f8848SYang 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",
40d42f8848SYang Chen            "Thresholds": [
41d42f8848SYang Chen                {
42d42f8848SYang Chen                    "Direction": "greater than",
43d42f8848SYang Chen                    "Label": "curr1",
44d42f8848SYang Chen                    "Name": "upper critical",
45d42f8848SYang Chen                    "Severity": 1,
46d42f8848SYang Chen                    "Value": 8.33
47d42f8848SYang Chen                },
48d42f8848SYang Chen                {
49d42f8848SYang Chen                    "Direction": "less than",
50d42f8848SYang Chen                    "Label": "curr1",
51d42f8848SYang Chen                    "Name": "lower critical",
52d42f8848SYang Chen                    "Severity": 1,
53d42f8848SYang Chen                    "Value": -0.05
54d42f8848SYang Chen                },
55d42f8848SYang Chen                {
56d42f8848SYang Chen                    "Direction": "greater than",
57d42f8848SYang Chen                    "Label": "in1",
58d42f8848SYang Chen                    "Name": "upper critical",
59d42f8848SYang Chen                    "Severity": 1,
60d42f8848SYang Chen                    "Value": 25.2
61d42f8848SYang Chen                },
62d42f8848SYang Chen                {
63d42f8848SYang Chen                    "Direction": "less than",
64d42f8848SYang Chen                    "Label": "in1",
65d42f8848SYang Chen                    "Name": "lower critical",
66d42f8848SYang Chen                    "Severity": 1,
67d42f8848SYang Chen                    "Value": 22.8
68d42f8848SYang Chen                },
69d42f8848SYang Chen                {
70d42f8848SYang Chen                    "Direction": "greater than",
71d42f8848SYang Chen                    "Label": "power1",
72d42f8848SYang Chen                    "Name": "upper critical",
73d42f8848SYang Chen                    "Severity": 1,
74d42f8848SYang Chen                    "Value": 199.92
75d42f8848SYang Chen                },
76d42f8848SYang Chen                {
77d42f8848SYang Chen                    "Direction": "less than",
78d42f8848SYang Chen                    "Label": "power1",
79d42f8848SYang Chen                    "Name": "lower critical",
80d42f8848SYang Chen                    "Severity": 1,
81d42f8848SYang Chen                    "Value": 0
82d42f8848SYang Chen                }
83d42f8848SYang 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",
98d42f8848SYang Chen            "Thresholds": [
99d42f8848SYang Chen                {
100d42f8848SYang Chen                    "Direction": "greater than",
101d42f8848SYang Chen                    "Label": "curr1",
102d42f8848SYang Chen                    "Name": "upper critical",
103d42f8848SYang Chen                    "Severity": 1,
104d42f8848SYang Chen                    "Value": 5.24
105d42f8848SYang Chen                },
106d42f8848SYang Chen                {
107d42f8848SYang Chen                    "Direction": "less than",
108d42f8848SYang Chen                    "Label": "curr1",
109d42f8848SYang Chen                    "Name": "lower critical",
110d42f8848SYang Chen                    "Severity": 1,
111d42f8848SYang Chen                    "Value": -0.05
112d42f8848SYang Chen                },
113d42f8848SYang Chen                {
114d42f8848SYang Chen                    "Direction": "greater than",
115d42f8848SYang Chen                    "Label": "in1",
116d42f8848SYang Chen                    "Name": "upper critical",
117d42f8848SYang Chen                    "Severity": 1,
118d42f8848SYang Chen                    "Value": 13
119d42f8848SYang Chen                },
120d42f8848SYang Chen                {
121d42f8848SYang Chen                    "Direction": "less than",
122d42f8848SYang Chen                    "Label": "in1",
123d42f8848SYang Chen                    "Name": "lower critical",
124d42f8848SYang Chen                    "Severity": 1,
125d42f8848SYang Chen                    "Value": 11
126d42f8848SYang Chen                },
127d42f8848SYang Chen                {
128d42f8848SYang Chen                    "Direction": "greater than",
129d42f8848SYang Chen                    "Label": "power1",
130d42f8848SYang Chen                    "Name": "upper critical",
131d42f8848SYang Chen                    "Severity": 1,
132d42f8848SYang Chen                    "Value": 62.88
133d42f8848SYang Chen                },
134d42f8848SYang Chen                {
135d42f8848SYang Chen                    "Direction": "less than",
136d42f8848SYang Chen                    "Label": "power1",
137d42f8848SYang Chen                    "Name": "lower critical",
138d42f8848SYang Chen                    "Severity": 1,
139d42f8848SYang Chen                    "Value": 0
140d42f8848SYang Chen                }
141d42f8848SYang 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",
157d42f8848SYang Chen            "Thresholds": [
158d42f8848SYang Chen                {
159d42f8848SYang Chen                    "Direction": "greater than",
160d42f8848SYang Chen                    "Label": "vin",
161d42f8848SYang Chen                    "Name": "upper critical",
162d42f8848SYang Chen                    "Severity": 1,
163d42f8848SYang Chen                    "Value": 56
164d42f8848SYang Chen                },
165d42f8848SYang Chen                {
166d42f8848SYang Chen                    "Direction": "less than",
167d42f8848SYang Chen                    "Label": "vin",
168d42f8848SYang Chen                    "Name": "lower critical",
169d42f8848SYang Chen                    "Severity": 1,
170d42f8848SYang Chen                    "Value": 46
171d42f8848SYang Chen                },
172d42f8848SYang Chen                {
173d42f8848SYang Chen                    "Direction": "greater than",
174d42f8848SYang Chen                    "Label": "vout1",
175d42f8848SYang Chen                    "Name": "upper critical",
176d42f8848SYang Chen                    "Severity": 1,
177d42f8848SYang Chen                    "Value": 56
178d42f8848SYang Chen                },
179d42f8848SYang Chen                {
180d42f8848SYang Chen                    "Direction": "less than",
181d42f8848SYang Chen                    "Label": "vout1",
182d42f8848SYang Chen                    "Name": "lower critical",
183d42f8848SYang Chen                    "Severity": 1,
184d42f8848SYang Chen                    "Value": 46
185d42f8848SYang Chen                },
186d42f8848SYang Chen                {
187d42f8848SYang Chen                    "Direction": "greater than",
188d42f8848SYang Chen                    "Label": "iout1",
189d42f8848SYang Chen                    "Name": "upper critical",
190d42f8848SYang Chen                    "Severity": 1,
191d42f8848SYang Chen                    "Value": 6.08
192d42f8848SYang Chen                },
193d42f8848SYang Chen                {
194d42f8848SYang Chen                    "Direction": "less than",
195d42f8848SYang Chen                    "Label": "iout1",
196d42f8848SYang Chen                    "Name": "lower critical",
197d42f8848SYang Chen                    "Severity": 1,
198d42f8848SYang Chen                    "Value": -0.05
199d42f8848SYang Chen                },
200d42f8848SYang Chen                {
201d42f8848SYang Chen                    "Direction": "greater than",
202d42f8848SYang Chen                    "Label": "pin",
203d42f8848SYang Chen                    "Name": "upper critical",
204d42f8848SYang Chen                    "Severity": 1,
205d42f8848SYang Chen                    "Value": 334.4
206d42f8848SYang Chen                },
207d42f8848SYang Chen                {
208d42f8848SYang Chen                    "Direction": "less than",
209d42f8848SYang Chen                    "Label": "pin",
210d42f8848SYang Chen                    "Name": "lower critical",
211d42f8848SYang Chen                    "Severity": 1,
212d42f8848SYang Chen                    "Value": 0
213d42f8848SYang Chen                }
214d42f8848SYang Chen            ],
215535568c0SYang Chen            "Type": "LTC4287",
216535568c0SYang Chen            "iout1_Name": "CMM_HSC_CURR_A",
2177d73f435SYang Chen            "iout1_Scale": 1010,
218535568c0SYang Chen            "pin_Name": "CMM_HSC_PWR_W",
2197d73f435SYang Chen            "pin_Scale": 1010101,
220535568c0SYang Chen            "vin_Name": "CMM_HSC_VIN_VOLT_V",
221535568c0SYang Chen            "vout1_Name": "CMM_HSC_VOUT_VOLT_V"
222535568c0SYang Chen        },
223535568c0SYang Chen        {
224a5cf976fSYang Chen            "Address": "0x4f",
225535568c0SYang Chen            "Bus": 1,
226535568c0SYang Chen            "Name": "CMM_OUTLET_TEMP_C",
227535568c0SYang Chen            "Thresholds": [
228535568c0SYang Chen                {
229535568c0SYang Chen                    "Direction": "greater than",
230535568c0SYang Chen                    "Name": "upper critical",
231535568c0SYang Chen                    "Severity": 1,
232535568c0SYang Chen                    "Value": 80
233535568c0SYang Chen                },
234535568c0SYang Chen                {
235535568c0SYang Chen                    "Direction": "less than",
236535568c0SYang Chen                    "Name": "lower critical",
237535568c0SYang Chen                    "Severity": 1,
238535568c0SYang Chen                    "Value": 0
239535568c0SYang Chen                }
240535568c0SYang Chen            ],
241535568c0SYang Chen            "Type": "TMP75"
242535568c0SYang Chen        }
243535568c0SYang Chen    ],
244535568c0SYang Chen    "Name": "Minerva CMM",
245a7ff205eSYang Chen    "Probe": [
246a7ff205eSYang Chen        "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM EVT', 'BOARD_PART_NUMBER': '3IF0MMA0000'})",
247a7ff205eSYang Chen        "OR",
248a7ff205eSYang Chen        "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva CMM ', 'BOARD_INFO_AM4': 'hsc-ltc'})"
249a7ff205eSYang Chen    ],
250535568c0SYang Chen    "Type": "Board",
251535568c0SYang Chen    "xyz.openbmc_project.Inventory.Decorator.Asset": {
252cfe37b5eSYi-Shum        "BuildDate": "$BOARD_MANUFACTURE_DATE",
253ba5be2e7SYang Chen        "Manufacturer": "$BOARD_MANUFACTURER",
254ba5be2e7SYang Chen        "Model": "$BOARD_PRODUCT_NAME",
255ba5be2e7SYang Chen        "PartNumber": "$BOARD_PART_NUMBER",
256d8197576SYi-Shum        "SerialNumber": "$BOARD_SERIAL_NUMBER",
257d8197576SYi-Shum        "SparePartNumber": "$BOARD_INFO_AM1"
258de7a1b23SYang Chen    },
259836ab4b8SYang Chen    "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
260836ab4b8SYang Chen        "AssetTag": "$PRODUCT_ASSET_TAG"
261836ab4b8SYang Chen    },
262*c3b90354SYang Chen    "xyz.openbmc_project.Inventory.Item.Board.Motherboard": {
263*c3b90354SYang Chen        "ProductId": 1
264*c3b90354SYang Chen    },
265de7a1b23SYang Chen    "xyz.openbmc_project.Inventory.Item.NetworkInterface": {
266de7a1b23SYang Chen        "MACAddress": "$CHASSIS_INFO_AM2"
267535568c0SYang Chen    }
268535568c0SYang Chen}
269