[Mellanox] Add sensors labels for human readable output for MSN2700 (#5661)

Add sensors labels for human readable output for MSN2700

Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
This commit is contained in:
shlomibitton 2020-10-20 02:02:27 +03:00 committed by Abhishek Dosi
parent 31109194c2
commit fcce160bdc

View File

@ -1,95 +1,81 @@
bus "i2c-7" "i2c-1-mux (chan_id 5)" ################################################################################
chip "lm75-i2c-7-4a" # Copyright (c) 2020 Mellanox Technologies
#
# Platform specific sensors config for SN2700
################################################################################
# Temperature sensors
bus "i2c-2" "i2c-1-mux (chan_id 2)"
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
bus "i2c-7" "i2c-1-mux (chan_id 7)"
chip "lm75-i2c-7-4a"
label temp1 "Ambient Port Temp" label temp1 "Ambient Port Temp"
bus "i2c-5" "i2c-1-mux (chan_id 3)" bus "i2c-17" "i2c-1-mux (chan_id 17)"
chip "ucd9200-i2c-5-27" chip "lm75-i2c-17-49"
label in1 "UCD1 vin" label temp1 "Ambient Fan Temp"
label in2 "ASIC 3.3 vout"
label in3 "ASIC 1.2 vout"
label temp1 "UCD1 Temp"
label temp2 "UCD1 Temp2"
chip "ucd9200-i2c-5-41" chip "acpitz-virtual-0"
label in1 "UCD2 vin" label temp1 "ACPI CPU Temp"
label in2 "ASIC Vcore vout" label temp2 "ACPI Board Temp"
label temp1 "UCD2 Temp1"
label temp2 "UCD2 Temp2"
bus "i2c-17" "i2c-1-mux (chan_id 7)" # Power controllers
chip "lm75-i2c-17-49" bus "i2c-5" "i2c-1-mux (chan_id 5)"
label temp1 "Ambient Board Temp" chip "pmbus-i2c-5-41"
label in1 "PMB-1 PSU 12V Rail (in)"
label in2 "PMB-1 0.9V VCORE Rail (out)"
label temp1 "PMB-1 Temp 1"
label temp2 "PMB-1 Temp 2"
ignore power1
label power2 "PMB-1 0.9V VCORE Rail Pwr (out)"
ignore curr1
label curr2 "PMB-1 0.9V VCORE Rail Curr (out)"
chip "pmbus-i2c-5-27"
label in1 "PMB-2 PSU 12V Rail (in)"
label in2 "PMB-2 3.3V Rail (out)"
label in3 "PMB-2 1.2V Rail (out)"
label temp1 "PMB-2 Temp 1"
label temp2 "PMB-2 Temp 2"
ignore power1
label power2 "PMB-2 3.3V Rail Pwr (out)"
label power3 "PMB-2 1.2V Rail Pwr (out)"
ignore curr1
label curr2 "PMB-2 3.3V Rail Curr (out)"
label curr3 "PMB-2 1.2V Rail Curr (out)"
chip "mlxsw-*" # Power supplies
ignore temp2 bus "i2c-10" "i2c-1-mux (chan_id 10)"
ignore temp3 chip "dps460-i2c-*-58"
ignore temp4 label in1 "PSU-2(R) 220V Rail (in)"
ignore temp5 label in2 "PSU-2(R) 12V Rail (out)"
ignore temp6 label fan1 "PSU-2(R) Fan 1"
ignore temp7 label temp1 "PSU-2(R) Temp 1"
ignore temp8 label temp2 "PSU-2(R) Temp 2"
ignore temp9 label power1 "PSU-2(R) 220V Rail Pwr (in)"
ignore temp10 label power2 "PSU-2(R) 12V Rail Pwr (out)"
ignore temp11 label curr1 "PSU-2(R) 220V Rail Curr (in)"
ignore temp12 label curr2 "PSU-2(R) 12V Rail Curr (out)"
ignore temp13 chip "dps460-i2c-*-59"
ignore temp14 label in1 "PSU-1(L) 220V Rail (in)"
ignore temp15 label in2 "PSU-1(L) 12V Rail (out)"
ignore temp16 label fan1 "PSU-1(L) Fan 1"
ignore temp17 label temp1 "PSU-1(L) Temp 1"
ignore temp18 label temp2 "PSU-1(L) Temp 2"
ignore temp19 label power1 "PSU-1(L) 220V Rail Pwr (in)"
ignore temp20 label power2 "PSU-1(L) 12V Rail Pwr (out)"
ignore temp21 label curr1 "PSU-1(L) 220V Rail Curr (in)"
ignore temp22 label curr2 "PSU-1(L) 12V Rail Curr (out)"
ignore temp23
ignore temp24
ignore temp25
ignore temp26
ignore temp27
ignore temp28
ignore temp29
ignore temp30
ignore temp31
ignore temp32
ignore temp33
ignore temp34
ignore temp35
ignore temp36
ignore temp37
ignore temp38
ignore temp39
ignore temp40
ignore temp41
ignore temp42
ignore temp43
ignore temp44
ignore temp45
ignore temp46
ignore temp47
ignore temp48
ignore temp49
ignore temp50
ignore temp51
ignore temp52
ignore temp53
ignore temp54
ignore temp55
ignore temp56
ignore temp57
ignore temp58
ignore temp59
ignore temp60
ignore temp61
ignore temp62
ignore temp63
ignore temp64
chip "*-virtual-*"
ignore temp1
ignore temp2
chip "dps460-*"
ignore fan2
ignore fan3
# Chassis fans
bus "i2c-2" "i2c-1-mux (chan_id 2)"
chip "mlxsw-i2c-*-48"
label fan1 "Chassis Drawer-1 Fan-1"
label fan2 "Chassis Drawer-1 Fan-2"
label fan3 "Chassis Drawer-2 Fan-1"
label fan4 "Chassis Drawer-2 Fan-2"
label fan5 "Chassis Drawer-3 Fan-1"
label fan6 "Chassis Drawer-3 Fan-2"
label fan7 "Chassis Drawer-4 Fan-1"
label fan8 "Chassis Drawer-4 Fan-2"