[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 GitHub
parent 73f38f6ce9
commit de1f7421ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
label temp1 "Ambient Port Temp" #
# Platform specific sensors config for SN2700
################################################################################
bus "i2c-5" "i2c-1-mux (chan_id 3)" # Temperature sensors
chip "ucd9200-i2c-5-27" bus "i2c-2" "i2c-1-mux (chan_id 2)"
label in1 "UCD1 vin" chip "mlxsw-i2c-*-48"
label in2 "ASIC 3.3 vout" label temp1 "Ambient ASIC Temp"
label in3 "ASIC 1.2 vout"
label temp1 "UCD1 Temp"
label temp2 "UCD1 Temp2"
chip "ucd9200-i2c-5-41" bus "i2c-7" "i2c-1-mux (chan_id 7)"
label in1 "UCD2 vin" chip "lm75-i2c-7-4a"
label in2 "ASIC Vcore vout" label temp1 "Ambient Port Temp"
label temp1 "UCD2 Temp1"
label temp2 "UCD2 Temp2"
bus "i2c-17" "i2c-1-mux (chan_id 7)" bus "i2c-17" "i2c-1-mux (chan_id 17)"
chip "lm75-i2c-17-49" chip "lm75-i2c-17-49"
label temp1 "Ambient Board Temp" label temp1 "Ambient Fan Temp"
chip "mlxsw-*" chip "acpitz-virtual-0"
ignore temp2 label temp1 "ACPI CPU Temp"
ignore temp3 label temp2 "ACPI Board Temp"
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
ignore temp9
ignore temp10
ignore temp11
ignore temp12
ignore temp13
ignore temp14
ignore temp15
ignore temp16
ignore temp17
ignore temp18
ignore temp19
ignore temp20
ignore temp21
ignore temp22
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-*" # Power controllers
ignore temp1 bus "i2c-5" "i2c-1-mux (chan_id 5)"
ignore temp2 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 "dps460-*" # Power supplies
ignore fan2 bus "i2c-10" "i2c-1-mux (chan_id 10)"
ignore fan3 chip "dps460-i2c-*-58"
label in1 "PSU-2(R) 220V Rail (in)"
label in2 "PSU-2(R) 12V Rail (out)"
label fan1 "PSU-2(R) Fan 1"
label temp1 "PSU-2(R) Temp 1"
label temp2 "PSU-2(R) Temp 2"
label power1 "PSU-2(R) 220V Rail Pwr (in)"
label power2 "PSU-2(R) 12V Rail Pwr (out)"
label curr1 "PSU-2(R) 220V Rail Curr (in)"
label curr2 "PSU-2(R) 12V Rail Curr (out)"
chip "dps460-i2c-*-59"
label in1 "PSU-1(L) 220V Rail (in)"
label in2 "PSU-1(L) 12V Rail (out)"
label fan1 "PSU-1(L) Fan 1"
label temp1 "PSU-1(L) Temp 1"
label temp2 "PSU-1(L) Temp 2"
label power1 "PSU-1(L) 220V Rail Pwr (in)"
label power2 "PSU-1(L) 12V Rail Pwr (out)"
label curr1 "PSU-1(L) 220V Rail Curr (in)"
label curr2 "PSU-1(L) 12V Rail Curr (out)"
# 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"