Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 1 | { |
| 2 | "Exposes": [ |
| 3 | { |
| 4 | "Address": "0x1d", |
| 5 | "Bus": 26, |
| 6 | "Labels": [ |
| 7 | "in0", |
| 8 | "in1", |
| 9 | "in2", |
| 10 | "in3", |
| 11 | "in4", |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 12 | "in6" |
| 13 | ], |
| 14 | "Name": "PTTV_ADC", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 15 | "Thresholds": [ |
| 16 | { |
| 17 | "Direction": "less than", |
| 18 | "Label": "in0", |
| 19 | "Name": "lower critical", |
| 20 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 21 | "Value": 18.42 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 22 | }, |
| 23 | { |
| 24 | "Direction": "greater than", |
| 25 | "Label": "in0", |
| 26 | "Name": "upper critical", |
| 27 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 28 | "Value": 42.56 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 29 | }, |
| 30 | { |
| 31 | "Direction": "less than", |
| 32 | "Label": "in1", |
| 33 | "Name": "lower critical", |
| 34 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 35 | "Value": 18.42 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 36 | }, |
| 37 | { |
| 38 | "Direction": "greater than", |
| 39 | "Label": "in1", |
| 40 | "Name": "upper critical", |
| 41 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 42 | "Value": 42.56 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 43 | }, |
| 44 | { |
| 45 | "Direction": "less than", |
| 46 | "Label": "in2", |
| 47 | "Name": "lower critical", |
| 48 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 49 | "Value": 14.86 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 50 | }, |
| 51 | { |
| 52 | "Direction": "greater than", |
| 53 | "Label": "in2", |
| 54 | "Name": "upper critical", |
| 55 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 56 | "Value": 36.23 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 57 | }, |
| 58 | { |
| 59 | "Direction": "less than", |
| 60 | "Label": "in3", |
| 61 | "Name": "lower critical", |
| 62 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 63 | "Value": 14.27 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 64 | }, |
| 65 | { |
| 66 | "Direction": "greater than", |
| 67 | "Label": "in3", |
| 68 | "Name": "upper critical", |
| 69 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 70 | "Value": 29.33 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 71 | }, |
| 72 | { |
| 73 | "Direction": "less than", |
| 74 | "Label": "in4", |
| 75 | "Name": "lower critical", |
| 76 | "Severity": 1, |
| 77 | "Value": 46.0 |
| 78 | }, |
| 79 | { |
| 80 | "Direction": "greater than", |
| 81 | "Label": "in4", |
| 82 | "Name": "upper critical", |
| 83 | "Severity": 1, |
| 84 | "Value": 55.0 |
| 85 | }, |
| 86 | { |
| 87 | "Direction": "less than", |
| 88 | "Label": "in6", |
| 89 | "Name": "lower critical", |
| 90 | "Severity": 1, |
| 91 | "Value": 3.135 |
| 92 | }, |
| 93 | { |
| 94 | "Direction": "greater than", |
| 95 | "Label": "in6", |
| 96 | "Name": "upper critical", |
| 97 | "Severity": 1, |
| 98 | "Value": 3.465 |
| 99 | } |
| 100 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 101 | "Type": "ADC128D818", |
| 102 | "in0_Name": "PTTV_ADC_P46V_0_VOLT_V", |
| 103 | "in0_Scale": 43.233563571, |
| 104 | "in1_Name": "PTTV_ADC_P46V_1_VOLT_V", |
| 105 | "in1_Scale": 43.233563571, |
| 106 | "in2_Name": "PTTV_ADC_P46V_2_VOLT_V", |
| 107 | "in2_Scale": 43.233563571, |
| 108 | "in3_Name": "PTTV_ADC_P46V_3_VOLT_V", |
| 109 | "in3_Scale": 43.233563571, |
| 110 | "in4_Name": "PTTV_ADC_P48V_VOLT_V", |
| 111 | "in4_Scale": 41.32231405, |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 112 | "in6_Name": "PTTV_ADC_P3V3_AUX_VOLT_V", |
| 113 | "in6_Scale": 500 |
| 114 | }, |
| 115 | { |
| 116 | "Address": "0x44", |
| 117 | "Bus": 26, |
| 118 | "Labels": [ |
| 119 | "in1", |
| 120 | "curr1", |
| 121 | "power1" |
| 122 | ], |
Potin Lai | 618c151 | 2024-02-05 16:43:44 +0800 | [diff] [blame] | 123 | "Name": "PTTV_P48V_VR", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 124 | "Thresholds": [ |
| 125 | { |
| 126 | "Direction": "less than", |
Daniel Hsu | cc5b2af | 2024-06-11 15:15:35 +0800 | [diff] [blame] | 127 | "Label": "in1", |
| 128 | "Name": "lower critical", |
| 129 | "Severity": 1, |
| 130 | "Value": 46.0 |
| 131 | }, |
| 132 | { |
| 133 | "Direction": "greater than", |
| 134 | "Label": "in1", |
| 135 | "Name": "upper critical", |
| 136 | "Severity": 1, |
| 137 | "Value": 55.0 |
| 138 | }, |
| 139 | { |
| 140 | "Direction": "less than", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 141 | "Label": "curr1", |
| 142 | "Name": "lower critical", |
| 143 | "Severity": 1, |
| 144 | "Value": 0.0 |
| 145 | }, |
| 146 | { |
| 147 | "Direction": "greater than", |
| 148 | "Label": "curr1", |
| 149 | "Name": "upper critical", |
| 150 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 151 | "Value": 2.0 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 152 | }, |
| 153 | { |
| 154 | "Direction": "less than", |
| 155 | "Label": "power1", |
| 156 | "Name": "lower critical", |
| 157 | "Severity": 1, |
| 158 | "Value": 0.0 |
| 159 | }, |
| 160 | { |
| 161 | "Direction": "greater than", |
| 162 | "Label": "power1", |
| 163 | "Name": "upper critical", |
| 164 | "Severity": 1, |
Daniel Hsu | 3bc59e0 | 2024-07-09 16:47:11 +0800 | [diff] [blame] | 165 | "Value": 90.0 |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 166 | } |
| 167 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 168 | "Type": "INA238", |
Potin Lai | 618c151 | 2024-02-05 16:43:44 +0800 | [diff] [blame] | 169 | "curr1_Name": "PTTV_P48V_VR_CURR_A", |
| 170 | "in1_Name": "PTTV_P48V_VR_VOLT_V", |
| 171 | "power1_Name": "PTTV_P48V_VR_PWR_W" |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 172 | }, |
| 173 | { |
| 174 | "Address": "0x45", |
| 175 | "Bus": 26, |
| 176 | "Labels": [ |
| 177 | "in1", |
| 178 | "curr1", |
| 179 | "power1" |
| 180 | ], |
Potin Lai | 618c151 | 2024-02-05 16:43:44 +0800 | [diff] [blame] | 181 | "Name": "PTTV_P48V", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 182 | "Thresholds": [ |
| 183 | { |
| 184 | "Direction": "less than", |
Daniel Hsu | cc5b2af | 2024-06-11 15:15:35 +0800 | [diff] [blame] | 185 | "Label": "in1", |
| 186 | "Name": "lower critical", |
| 187 | "Severity": 1, |
| 188 | "Value": 46.0 |
| 189 | }, |
| 190 | { |
| 191 | "Direction": "greater than", |
| 192 | "Label": "in1", |
| 193 | "Name": "upper critical", |
| 194 | "Severity": 1, |
| 195 | "Value": 55.0 |
| 196 | }, |
| 197 | { |
| 198 | "Direction": "less than", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 199 | "Label": "curr1", |
| 200 | "Name": "lower critical", |
| 201 | "Severity": 1, |
| 202 | "Value": 0.0 |
| 203 | }, |
| 204 | { |
| 205 | "Direction": "greater than", |
| 206 | "Label": "curr1", |
| 207 | "Name": "upper critical", |
| 208 | "Severity": 1, |
| 209 | "Value": 28.3 |
| 210 | }, |
| 211 | { |
| 212 | "Direction": "less than", |
| 213 | "Label": "power1", |
| 214 | "Name": "lower critical", |
| 215 | "Severity": 1, |
| 216 | "Value": 0.0 |
| 217 | }, |
| 218 | { |
| 219 | "Direction": "greater than", |
| 220 | "Label": "power1", |
| 221 | "Name": "upper critical", |
| 222 | "Severity": 1, |
| 223 | "Value": 1302.0 |
| 224 | } |
| 225 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 226 | "Type": "INA238", |
Potin Lai | 618c151 | 2024-02-05 16:43:44 +0800 | [diff] [blame] | 227 | "curr1_Name": "PTTV_P48V_CURR_A", |
| 228 | "in1_Name": "PTTV_P48V_VOLT_V", |
| 229 | "power1_Name": "PTTV_P48V_PWR_W" |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 230 | }, |
| 231 | { |
| 232 | "Address": "0x60", |
| 233 | "Bus": 24, |
| 234 | "Name": "PTTV_THRMCUP_REF_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 235 | "Thresholds": [ |
| 236 | { |
| 237 | "Direction": "greater than", |
| 238 | "Name": "upper critical", |
| 239 | "Severity": 1, |
| 240 | "Value": 60.0 |
| 241 | } |
| 242 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 243 | "Type": "MCP9600" |
| 244 | }, |
| 245 | { |
| 246 | "Address": "0x62", |
| 247 | "Bus": 24, |
| 248 | "Name": "PTTV_THRMCUP_IOA_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 249 | "Thresholds": [ |
| 250 | { |
| 251 | "Direction": "greater than", |
| 252 | "Name": "upper critical", |
| 253 | "Severity": 1, |
| 254 | "Value": 100.0 |
| 255 | } |
| 256 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 257 | "Type": "MCP9600" |
| 258 | }, |
| 259 | { |
| 260 | "Address": "0x63", |
| 261 | "Bus": 24, |
| 262 | "Name": "PTTV_THRMCUP_IOB_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 263 | "Thresholds": [ |
| 264 | { |
| 265 | "Direction": "greater than", |
| 266 | "Name": "upper critical", |
| 267 | "Severity": 1, |
| 268 | "Value": 100.0 |
| 269 | } |
| 270 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 271 | "Type": "MCP9600" |
| 272 | }, |
| 273 | { |
| 274 | "Address": "0x64", |
| 275 | "Bus": 24, |
| 276 | "Name": "PTTV_THRMCUP_HBM4_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 277 | "Thresholds": [ |
| 278 | { |
| 279 | "Direction": "greater than", |
| 280 | "Name": "upper critical", |
| 281 | "Severity": 1, |
| 282 | "Value": 100.0 |
| 283 | } |
| 284 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 285 | "Type": "MCP9600" |
| 286 | }, |
| 287 | { |
| 288 | "Address": "0x65", |
| 289 | "Bus": 24, |
| 290 | "Name": "PTTV_THRMCUP_HBM5_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 291 | "Thresholds": [ |
| 292 | { |
| 293 | "Direction": "greater than", |
| 294 | "Name": "upper critical", |
| 295 | "Severity": 1, |
| 296 | "Value": 100.0 |
| 297 | } |
| 298 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 299 | "Type": "MCP9600" |
| 300 | }, |
| 301 | { |
| 302 | "Address": "0x66", |
| 303 | "Bus": 24, |
| 304 | "Name": "PTTV_THRMCUP_HBM6_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 305 | "Thresholds": [ |
| 306 | { |
| 307 | "Direction": "greater than", |
| 308 | "Name": "upper critical", |
| 309 | "Severity": 1, |
| 310 | "Value": 100.0 |
| 311 | } |
| 312 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 313 | "Type": "MCP9600" |
| 314 | }, |
| 315 | { |
| 316 | "Address": "0x67", |
| 317 | "Bus": 24, |
| 318 | "Name": "PTTV_THRMCUP_CORE_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 319 | "Thresholds": [ |
| 320 | { |
| 321 | "Direction": "greater than", |
| 322 | "Name": "upper critical", |
| 323 | "Severity": 1, |
| 324 | "Value": 100.0 |
| 325 | } |
| 326 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 327 | "Type": "MCP9600" |
| 328 | }, |
| 329 | { |
| 330 | "Address": "0x64", |
| 331 | "Bus": 25, |
| 332 | "Name": "PTTV_THRMCUP_HBM1_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 333 | "Thresholds": [ |
| 334 | { |
| 335 | "Direction": "greater than", |
| 336 | "Name": "upper critical", |
| 337 | "Severity": 1, |
| 338 | "Value": 100.0 |
| 339 | } |
| 340 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 341 | "Type": "MCP9600" |
| 342 | }, |
| 343 | { |
| 344 | "Address": "0x65", |
| 345 | "Bus": 25, |
| 346 | "Name": "PTTV_THRMCUP_HBM2_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 347 | "Thresholds": [ |
| 348 | { |
| 349 | "Direction": "greater than", |
| 350 | "Name": "upper critical", |
| 351 | "Severity": 1, |
| 352 | "Value": 100.0 |
| 353 | } |
| 354 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 355 | "Type": "MCP9600" |
| 356 | }, |
| 357 | { |
| 358 | "Address": "0x66", |
| 359 | "Bus": 25, |
| 360 | "Name": "PTTV_THRMCUP_HBM3_TEMP_C", |
Daniel Hsu | 78a0772 | 2024-03-18 13:38:01 +0800 | [diff] [blame] | 361 | "Thresholds": [ |
| 362 | { |
| 363 | "Direction": "greater than", |
| 364 | "Name": "upper critical", |
| 365 | "Severity": 1, |
| 366 | "Value": 100.0 |
| 367 | } |
| 368 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 369 | "Type": "MCP9600" |
| 370 | }, |
| 371 | { |
| 372 | "Address": "0x49", |
| 373 | "Bus": 26, |
| 374 | "Name": "PTTV_TMP75_92_TEMP_C", |
| 375 | "Type": "TMP75" |
| 376 | }, |
| 377 | { |
| 378 | "Address": "0x4A", |
| 379 | "Bus": 26, |
| 380 | "Name": "PTTV_TMP75_94_TEMP_C", |
| 381 | "Type": "TMP75" |
| 382 | }, |
| 383 | { |
| 384 | "Address": "0x4B", |
| 385 | "Bus": 26, |
| 386 | "Name": "PTTV_TMP75_96_TEMP_C", |
| 387 | "Type": "TMP75" |
| 388 | }, |
| 389 | { |
| 390 | "Address": "0x4C", |
| 391 | "Bus": 26, |
| 392 | "Name": "PTTV_TMP75_98_TEMP_C", |
| 393 | "Type": "TMP75" |
| 394 | } |
| 395 | ], |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 396 | "Name": "Minerva PTTV", |
| 397 | "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Minerva PTTV '})", |
| 398 | "Type": "Board", |
| 399 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
Peter Yin | 5501ee3 | 2024-05-15 16:17:12 +0800 | [diff] [blame] | 400 | "BuildDate": "$BOARD_MANUFACTURE_DATE", |
Peter Yin | 91c9290 | 2024-05-15 16:17:12 +0800 | [diff] [blame] | 401 | "Manufacturer": "$BOARD_MANUFACTURER", |
| 402 | "Model": "$BOARD_PRODUCT_NAME", |
| 403 | "PartNumber": "$BOARD_PART_NUMBER", |
Peter Yin | 05cdf04 | 2024-06-05 00:54:29 +0800 | [diff] [blame] | 404 | "SerialNumber": "$BOARD_SERIAL_NUMBER", |
| 405 | "SparePartNumber": "$BOARD_INFO_AM1" |
Peter Yin | 141718c | 2024-07-15 23:27:01 +0800 | [diff] [blame^] | 406 | }, |
| 407 | "xyz.openbmc_project.Inventory.Decorator.AssetTag": { |
| 408 | "AssetTag": "$PRODUCT_ASSET_TAG" |
Potin Lai | 16152b5 | 2023-10-31 18:48:02 +0800 | [diff] [blame] | 409 | } |
| 410 | } |