1b5f72127a
- Why I did it The cable thermal sensors will be deprecated from the kernel driver. When cable host management is enabled, NOS will fetch the cable temperature from cable EEPROM, kernel driver will not provide the sysfs anymore. - How I did it Remove the relevant sensor form the conf files - How to verify it Run sonic mgmt sensor test Signed-off-by: Kebo Liu <kebol@nvidia.com>
155 lines
5.1 KiB
Plaintext
155 lines
5.1 KiB
Plaintext
################################################################################
|
|
# Copyright (c) 2019 Mellanox Technologies
|
|
#
|
|
# Platform specific sensors config for SN3700C
|
|
################################################################################
|
|
|
|
# Temperature sensors
|
|
bus "i2c-2" "i2c-1-mux (chan_id 1)"
|
|
chip "mlxsw-i2c-*-48"
|
|
label temp1 "Ambient ASIC Temp"
|
|
ignore temp2
|
|
ignore temp3
|
|
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
|
|
|
|
bus "i2c-7" "i2c-1-mux (chan_id 6)"
|
|
chip "tmp102-i2c-*-49"
|
|
label temp1 "Ambient Fan Side Temp (air intake)"
|
|
chip "tmp102-i2c-*-4a"
|
|
label temp1 "Ambient Port Side Temp (air exhaust)"
|
|
|
|
bus "i2c-15" "i2c-1-mux (chan_id 6)"
|
|
chip "tmp102-i2c-15-49"
|
|
label temp1 "Ambient COMEX Temp"
|
|
|
|
# Power controllers
|
|
bus "i2c-5" "i2c-1-mux (chan_id 4)"
|
|
chip "tps53679-i2c-*-70"
|
|
label in1 "PMIC-1 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-1 PSU 12V Rail (in2)"
|
|
label in3 "PMIC-1 ASIC 0.8V VCORE Rail (out)"
|
|
label in4 "PMIC-1 ASIC 1.2V Rail (out)"
|
|
label temp1 "PMIC-1 Temp 1"
|
|
label temp2 "PMIC-1 Temp 2"
|
|
label power1 "PMIC-1 ASIC 0.8V VCORE Rail Pwr (out)"
|
|
label power2 "PMIC-1 ASIC 1.2V Rail Pwr (out)"
|
|
label curr1 "PMIC-1 ASIC 0.8V VCORE Rail Curr (out)"
|
|
label curr2 "PMIC-1 ASIC 1.2V Rail Curr (out)"
|
|
chip "tps53679-i2c-*-71"
|
|
label in1 "PMIC-2 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-2 PSU 12V Rail (in2)"
|
|
label in3 "PMIC-2 ASIC 3.3V Rail (out)"
|
|
compute in3 (1.5)*@, @/(1.5)
|
|
label in4 "PMIC-2 ASIC 1.8V Rail (out)"
|
|
label temp1 "PMIC-2 Temp 1"
|
|
label temp2 "PMIC-2 Temp 2"
|
|
label power1 "PMIC-2 ASIC 3.3V Rail Pwr (out)"
|
|
label power2 "PMIC-2 ASIC 1.8V Rail Pwr (out)"
|
|
label curr1 "PMIC-2 ASIC 3.3V Rail Curr (out)"
|
|
label curr2 "PMIC-2 ASIC 1.8V Rail Curr (out)"
|
|
|
|
bus "i2c-15" "i2c-1-mux (chan_id 6)"
|
|
chip "tps53679-i2c-*-58"
|
|
label in1 "PMIC-3 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-3 PSU 12V Rail (in2)"
|
|
label in3 "PMIC-3 COMEX 1.8V Rail (out)"
|
|
label in4 "PMIC-3 COMEX 1.05V Rail (out)"
|
|
label temp1 "PMIC-3 Temp 1"
|
|
label temp2 "PMIC-3 Temp 2"
|
|
label power1 "PMIC-3 COMEX 1.8V Rail Pwr (out)"
|
|
label power2 "PMIC-3 COMEX 1.05V Rail Pwr (out)"
|
|
label curr1 "PMIC-3 COMEX 1.8V Rail Curr (out)"
|
|
label curr2 "PMIC-3 COMEX 1.05V Rail Curr (out)"
|
|
chip "tps53679-i2c-*-61"
|
|
label in1 "PMIC-4 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-4 PSU 12V Rail (in2)"
|
|
label in3 "PMIC-4 COMEX 1.2V Rail (out)"
|
|
ignore in4
|
|
label temp1 "PMIC-4 Temp 1"
|
|
label temp2 "PMIC-4 Temp 2"
|
|
label power1 "PMIC-4 COMEX 1.2V Rail Pwr (out)"
|
|
ignore power2
|
|
label curr1 "PMIC-4 COMEX 1.2V Rail Curr (out)"
|
|
ignore curr2
|
|
|
|
# Power supplies
|
|
bus "i2c-4" "i2c-1-mux (chan_id 3)"
|
|
chip "dps460-i2c-*-58"
|
|
label in1 "PSU-2 220V Rail (in)"
|
|
ignore in2
|
|
label in3 "PSU-2 12V Rail (out)"
|
|
label fan1 "PSU-2 Fan 1"
|
|
ignore fan2
|
|
ignore fan3
|
|
label temp1 "PSU-2 Temp 1"
|
|
label temp2 "PSU-2 Temp 2"
|
|
label temp3 "PSU-2 Temp 3"
|
|
label power1 "PSU-2 220V Rail Pwr (in)"
|
|
label power2 "PSU-2 12V Rail Pwr (out)"
|
|
label curr1 "PSU-2 220V Rail Curr (in)"
|
|
label curr2 "PSU-2 12V Rail Curr (out)"
|
|
set in3_lcrit in3_crit * 0.662
|
|
set in3_min in3_crit * 0.745
|
|
set in3_max in3_crit * 0.952
|
|
chip "dps460-i2c-*-59"
|
|
label in1 "PSU-1 220V Rail (in)"
|
|
ignore in2
|
|
label in3 "PSU-1 12V Rail (out)"
|
|
label fan1 "PSU-1 Fan 1"
|
|
ignore fan2
|
|
ignore fan3
|
|
label temp1 "PSU-1 Temp 1"
|
|
label temp2 "PSU-1 Temp 2"
|
|
label temp3 "PSU-1 Temp 3"
|
|
label power1 "PSU-1 220V Rail Pwr (in)"
|
|
label power2 "PSU-1 12V Rail Pwr (out)"
|
|
label curr1 "PSU-1 220V Rail Curr (in)"
|
|
label curr2 "PSU-1 12V Rail Curr (out)"
|
|
set in3_lcrit in3_crit * 0.662
|
|
set in3_min in3_crit * 0.745
|
|
set in3_max in3_crit * 0.952
|
|
|
|
# Chassis fans
|
|
chip "mlxreg_fan-isa-*"
|
|
label fan1 "Chassis Fan Drawer-1 Tach 1"
|
|
label fan2 "Chassis Fan Drawer-1 Tach 2"
|
|
label fan3 "Chassis Fan Drawer-2 Tach 1"
|
|
label fan4 "Chassis Fan Drawer-2 Tach 2"
|
|
label fan5 "Chassis Fan Drawer-3 Tach 1"
|
|
label fan6 "Chassis Fan Drawer-3 Tach 2"
|
|
label fan7 "Chassis Fan Drawer-4 Tach 1"
|
|
label fan8 "Chassis Fan Drawer-4 Tach 2"
|
|
|
|
# Miscellaneous
|
|
chip "*-virtual-*"
|
|
ignore temp1
|