diff --git a/fboss/platform/configs/minipack3bam/platform_manager.json b/fboss/platform/configs/minipack3bam/platform_manager.json index 36241524ae4b4..21a69f41dd01c 100644 --- a/fboss/platform/configs/minipack3bam/platform_manager.json +++ b/fboss/platform/configs/minipack3bam/platform_manager.json @@ -170,6 +170,56 @@ ] }, "productSubVersion": 1 + }, + { + "pmUnitConfig": { + "pluggedInSlotType": "COMESE_SLOT", + "i2cDeviceConfigs": [ + { + "busName": "INCOMING@0", + "address": "0x20", + "kernelDeviceName": "raa228228", + "pmUnitScopedName": "COME_VOLTAGE_MONITOR1" + }, + { + "busName": "INCOMING@0", + "address": "0x21", + "kernelDeviceName": "raa228228", + "pmUnitScopedName": "COME_VOLTAGE_MONITOR2" + }, + { + "busName": "INCOMING@1", + "address": "0x40", + "kernelDeviceName": "ina230", + "pmUnitScopedName": "COME_VOLTAGE_MONITOR3" + }, + { + "busName": "INCOMING@1", + "address": "0x4c", + "kernelDeviceName": "tmp75", + "pmUnitScopedName": "COME_TSENSOR1" + }, + { + "busName": "INCOMING@1", + "address": "0x4a", + "kernelDeviceName": "tmp75", + "pmUnitScopedName": "COME_TSENSOR2" + }, + { + "busName": "INCOMING@1", + "address": "0x50", + "kernelDeviceName": "spd5118", + "pmUnitScopedName": "COME_DIMM1_TSENSOR" + }, + { + "busName": "INCOMING@1", + "address": "0x51", + "kernelDeviceName": "spd5118", + "pmUnitScopedName": "COME_DIMM2_TSENSOR" + } + ] + }, + "productSubVersion": 3 } ], "3V3_L": [ diff --git a/fboss/platform/configs/minipack3bam/sensor_service.json b/fboss/platform/configs/minipack3bam/sensor_service.json index 4ad019ac359a1..40599d5430e70 100644 --- a/fboss/platform/configs/minipack3bam/sensor_service.json +++ b/fboss/platform/configs/minipack3bam/sensor_service.json @@ -691,16 +691,6 @@ "slotPath": "/SCM_SLOT@0/COMESE_SLOT@0", "pmUnitName": "NETLAKE", "sensors": [ - { - "name": "COME_PU1_PVDDCR_VOUT", - "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.82, - "maxAlarmVal": 1.75 - }, - "compute": "@/1000" - }, { "name": "COME_PU1_PVDDCR_TEMP", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/temp1_input", @@ -711,16 +701,6 @@ }, "compute": "@/1000" }, - { - "name": "COME_PU1_PVDDCR_SOC_VOUT", - "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.46, - "maxAlarmVal": 1.36 - }, - "compute": "@/1000" - }, { "name": "COME_PU1_PVDDCR_SOC_TEMP", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/temp2_input", @@ -731,16 +711,6 @@ }, "compute": "@/1000" }, - { - "name": "COME_PU37_PVDD_MISC_VOUT", - "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", - "type": 1, - "thresholds": { - "upperCriticalVal": 1.42, - "maxAlarmVal": 1.29 - }, - "compute": "@/1000" - }, { "name": "COME_PU37_PVDD_MISC_TEMP", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/temp1_input", @@ -808,9 +778,7 @@ "sysfsPath": "/run/devmap/sensors/COME_DIMM1_TSENSOR/temp1_input", "type": 3, "thresholds": { - "upperCriticalVal": 80, - "maxAlarmVal": 79, - "minAlarmVal": 10 + "upperCriticalVal": 85 }, "compute": "@/1000" }, @@ -819,9 +787,7 @@ "sysfsPath": "/run/devmap/sensors/COME_DIMM2_TSENSOR/temp1_input", "type": 3, "thresholds": { - "upperCriticalVal": 80, - "maxAlarmVal": 79, - "minAlarmVal": 10 + "upperCriticalVal": 85 }, "compute": "@/1000" } @@ -839,6 +805,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr2_input", @@ -859,6 +835,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_SOC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", @@ -879,6 +865,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, { "name": "COME_PU37_PVDD_MISC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr2_input", @@ -906,6 +902,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", @@ -926,6 +932,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_SOC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr4_input", @@ -946,6 +962,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, { "name": "COME_PU37_PVDD_MISC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr3_input", @@ -973,6 +999,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr2_input", @@ -993,6 +1029,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_SOC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", @@ -1013,6 +1059,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, { "name": "COME_PU37_PVDD_MISC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr2_input", @@ -1040,6 +1096,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", @@ -1060,6 +1126,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, { "name": "COME_PU1_PVDDCR_SOC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr4_input", @@ -1080,6 +1156,16 @@ }, "compute": "@/1000000" }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, { "name": "COME_PU37_PVDD_MISC_IOUT", "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr3_input", @@ -1094,6 +1180,297 @@ "productionState": 1, "productionSubState": 3, "respinVariantIndicator": 2 + }, + { + "sensors": [ + { + "name": "COME_PU1_PVDDCR_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/power2_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 131.84, + "maxAlarmVal": 118.66 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr2_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 164.8, + "maxAlarmVal": 148.32 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/power3_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 30.9, + "maxAlarmVal": 27.81 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 38.625, + "maxAlarmVal": 34.76 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU37_PVDD_MISC_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/power2_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 24.72, + "maxAlarmVal": 22.25 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU37_PVDD_MISC_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr2_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 30.9, + "maxAlarmVal": 27.81 + }, + "compute": "@/1000" + } + ], + "productionState": 3, + "productionSubState": 1, + "respinVariantIndicator": 1 + }, + { + "sensors": [ + { + "name": "COME_PU1_PVDDCR_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/power3_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 131.84, + "maxAlarmVal": 118.66 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 164.8, + "maxAlarmVal": 148.32 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/power4_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 30.9, + "maxAlarmVal": 27.81 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr4_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 38.625, + "maxAlarmVal": 34.76 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU37_PVDD_MISC_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/power3_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 24.72, + "maxAlarmVal": 22.25 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in2_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU37_PVDD_MISC_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr3_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 30.9, + "maxAlarmVal": 27.81 + }, + "compute": "@/1000" + } + ], + "productionState": 3, + "productionSubState": 1, + "respinVariantIndicator": 2 + }, + { + "sensors": [ + { + "name": "COME_PU1_PVDDCR_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/power3_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 131.84, + "maxAlarmVal": 118.66 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU1_PVDDCR_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.82, + "maxAlarmVal": 1.75 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr3_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 164.8, + "maxAlarmVal": 148.32 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/power4_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 30.9, + "maxAlarmVal": 27.81 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/in4_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.46, + "maxAlarmVal": 1.36 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU1_PVDDCR_SOC_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR1/curr4_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 38.625, + "maxAlarmVal": 34.76 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU37_PVDD_MISC_POUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/power3_input", + "type": 0, + "thresholds": { + "upperCriticalVal": 24.72, + "maxAlarmVal": 22.25 + }, + "compute": "@/1000000" + }, + { + "name": "COME_PU37_PVDD_MISC_VOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/in3_input", + "type": 1, + "thresholds": { + "upperCriticalVal": 1.42, + "maxAlarmVal": 1.29 + }, + "compute": "@/1000" + }, + { + "name": "COME_PU37_PVDD_MISC_IOUT", + "sysfsPath": "/run/devmap/sensors/COME_VOLTAGE_MONITOR2/curr3_input", + "type": 2, + "thresholds": { + "upperCriticalVal": 30.9, + "maxAlarmVal": 27.81 + }, + "compute": "@/1000" + } + ], + "productionState": 3, + "productionSubState": 1, + "respinVariantIndicator": 3 } ] },