[Mellanox] Add sensors labels for human readable output for MSN2410 (#5660)

Add sensors labels for human readable output for MSN2410
This commit is contained in:
shlomibitton 2020-10-19 19:51:52 +03:00 committed by GitHub
parent 9f73b8aeb0
commit b5043a2e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +0,0 @@
../x86_64-mlnx_msn2700-r0/sensors.conf

View File

@ -0,0 +1,81 @@
################################################################################
# Copyright (c) 2020 Mellanox Technologies
#
# Platform specific sensors config for SN2410
################################################################################
# Temperature sensors
bus "i2c-2" "i2c-1-mux (chan_id 1)"
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"
bus "i2c-17" "i2c-1-mux (chan_id 17)"
chip "lm75-i2c-17-49"
label temp1 "Ambient Fan Temp"
chip "acpitz-virtual-0"
label temp1 "ACPI CPU Temp"
label temp2 "ACPI Board Temp"
# Power controllers
bus "i2c-5" "i2c-1-mux (chan_id 5)"
chip "pmbus-i2c-*-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-*-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)"
# Power supplies
bus "i2c-10" "i2c-1-mux (chan_id 10)"
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 1)"
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"