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