Skip to content

Commit 57e876a

Browse files
committed
[Mellanox] Update sensors.conf of SN5610N, SN5640 platforms
1 parent a693520 commit 57e876a

File tree

2 files changed

+60
-26
lines changed

2 files changed

+60
-26
lines changed

device/mellanox/x86_64-nvidia_sn5610n-r0/sensors.conf

+41-22
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
##################################################################################
2-
# Copyright (c) 2019-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# Copyright (c) 2019-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
#
44
# Platform specific sensors config for SN5640
55
##################################################################################
66

7+
# Hardware revision default
8+
9+
# ASIC temperature sensor
10+
chip "mlxsw-i2c-*-48"
11+
label temp1 "Ambient ASIC Temp"
12+
713
# Fan and port ambient temperature sensors
814
chip "tmp102-i2c-*-49"
915
label temp1 "Ambient Fan Side Temp (air exhaust)"
@@ -382,64 +388,77 @@ chip "xdpe1a2g7-i2c-*-6e"
382388
chip "dps460-i2c-*-59"
383389
label in1 "PSU-1(L) 220V Rail (in)"
384390
ignore in2
385-
label in3 "PSU-1(L) 54V Rail (out)"
391+
label in3 "PSU-1(L) 12V Rail (out)"
386392
ignore fan2
387393
ignore fan3
388394
label fan1 "PSU-1(L) Fan 1"
389395
label temp1 "PSU-1(L) Temp 1"
390396
label temp2 "PSU-1(L) Temp 2"
391397
label temp3 "PSU-1(L) Temp 3"
392398
label power1 "PSU-1(L) 220V Rail Pwr (in)"
393-
label power2 "PSU-1(L) 54V Rail Pwr (out)"
399+
label power2 "PSU-1(L) 12V Rail Pwr (out)"
394400
label curr1 "PSU-1(L) 220V Rail Curr (in)"
395-
label curr2 "PSU-1(L) 54V Rail Curr (out)"
401+
label curr2 "PSU-1(L) 12V Rail Curr (out)"
396402
set power2_cap 0
397403
chip "dps460-i2c-*-58"
398-
label in1 "PSU-2(R) 220V Rail (in)"
404+
label in1 "PSU-2(L) 220V Rail (in)"
399405
ignore in2
400-
label in3 "PSU-2(R) 54V Rail (out)"
406+
label in3 "PSU-2(L) 12V Rail (out)"
401407
ignore fan2
402408
ignore fan3
403-
label fan1 "PSU-2(R) Fan 1"
404-
label temp1 "PSU-2(R) Temp 1"
405-
label temp2 "PSU-2(R) Temp 2"
406-
label temp3 "PSU-2(R) Temp 3"
407-
label power1 "PSU-2(R) 220V Rail Pwr (in)"
408-
label power2 "PSU-2(R) 54V Rail Pwr (out)"
409-
label curr1 "PSU-2(R) 220V Rail Curr (in)"
410-
label curr2 "PSU-2(R) 54V Rail Curr (out)"
409+
label fan1 "PSU-2(L) Fan 1"
410+
label temp1 "PSU-2(L) Temp 1"
411+
label temp2 "PSU-2(L) Temp 2"
412+
label temp3 "PSU-2(L) Temp 3"
413+
label power1 "PSU-2(L) 220V Rail Pwr (in)"
414+
label power2 "PSU-2(L) 12V Rail Pwr (out)"
415+
label curr1 "PSU-2(L) 220V Rail Curr (in)"
416+
label curr2 "PSU-2(L) 12V Rail Curr (out)"
411417
set power2_cap 0
412418
chip "dps460-i2c-*-5b"
413419
label in1 "PSU-3(R) 220V Rail (in)"
414420
ignore in2
415-
label in3 "PSU-3(R) 54V Rail (out)"
421+
label in3 "PSU-3(R) 12V Rail (out)"
416422
ignore fan2
417423
ignore fan3
418424
label fan1 "PSU-3(R) Fan 1"
419425
label temp1 "PSU-3(R) Temp 1"
420426
label temp2 "PSU-3(R) Temp 2"
421427
label temp3 "PSU-3(R) Temp 3"
422428
label power1 "PSU-3(R) 220V Rail Pwr (in)"
423-
label power2 "PSU-3(R) 54V Rail Pwr (out)"
429+
label power2 "PSU-3(R) 12V Rail Pwr (out)"
424430
label curr1 "PSU-3(R) 220V Rail Curr (in)"
425-
label curr2 "PSU-3(R) 54V Rail Curr (out)"
431+
label curr2 "PSU-3(R) 12V Rail Curr (out)"
426432
set power2_cap 0
427433
chip "dps460-i2c-*-5a"
428434
label in1 "PSU-4(R) 220V Rail (in)"
429435
ignore in2
430-
label in3 "PSU-4(R) 54V Rail (out)"
436+
label in3 "PSU-4(R) 12V Rail (out)"
431437
ignore fan2
432438
ignore fan3
433439
label fan1 "PSU-4(R) Fan 1"
434440
label temp1 "PSU-4(R) Temp 1"
435441
label temp2 "PSU-4(R) Temp 2"
436442
label temp3 "PSU-4(R) Temp 3"
437443
label power1 "PSU-4(R) 220V Rail Pwr (in)"
438-
label power2 "PSU-4(R) 54V Rail Pwr (out)"
444+
label power2 "PSU-4(R) 12V Rail Pwr (out)"
439445
label curr1 "PSU-4(R) 220V Rail Curr (in)"
440-
label curr2 "PSU-4(R) 54V Rail Curr (out)"
446+
label curr2 "PSU-4(R) 12V Rail Curr (out)"
441447
set power2_cap 0
442448

449+
# Chassis fans
450+
chip "mlxreg_fan-isa-*"
451+
label fan1 "Chassis Fan Drawer-1 Tach 1"
452+
label fan2 "Chassis Fan Drawer-1 Tach 2"
453+
label fan3 "Chassis Fan Drawer-2 Tach 1"
454+
label fan4 "Chassis Fan Drawer-2 Tach 2"
455+
label fan5 "Chassis Fan Drawer-3 Tach 1"
456+
label fan6 "Chassis Fan Drawer-3 Tach 2"
457+
label fan7 "Chassis Fan Drawer-4 Tach 1"
458+
label fan8 "Chassis Fan Drawer-4 Tach 2"
459+
label fan9 "Chassis Fan Drawer-5 Tach 1"
460+
label fan10 "Chassis Fan Drawer-5 Tach 2"
461+
443462
# AMD Comex Power controllers
444463
chip "mp2855-i2c-*-69"
445464
label in1 "PMIC-12 COMEX (in) VDDCR INPUT VOLT"
@@ -486,5 +505,5 @@ chip "nvme-pci-*"
486505
ignore temp3
487506

488507
# Ethernet PHY temperature sensor
489-
chip "00000500400-mdio-5"
490-
label temp1 "PHY TEMP"
508+
chip "*-mdio-*"
509+
ignore temp1

device/mellanox/x86_64-nvidia_sn5640-r0/sensors.conf

+19-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
##################################################################################
2-
# Copyright (c) 2019-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# Copyright (c) 2019-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
#
44
# Platform specific sensors config for SN5640
55
##################################################################################
66

7+
# Hardware revision default
8+
79
# ASIC temperature sensor
810
chip "mlxsw-i2c-*-48"
911
label temp1 "Ambient ASIC Temp"
@@ -406,7 +408,7 @@ chip "dps460-i2c-*-58"
406408
ignore fan3
407409
label fan1 "PSU-2(L) Fan 1"
408410
label temp1 "PSU-2(L) Temp 1"
409-
label temp2 "PSU-2(R) Temp 2"
411+
label temp2 "PSU-2(L) Temp 2"
410412
label temp3 "PSU-2(L) Temp 3"
411413
label power1 "PSU-2(L) 220V Rail Pwr (in)"
412414
label power2 "PSU-2(L) 12V Rail Pwr (out)"
@@ -444,6 +446,19 @@ chip "dps460-i2c-*-5a"
444446
label curr2 "PSU-4(R) 12V Rail Curr (out)"
445447
set power2_cap 0
446448

449+
# Chassis fans
450+
chip "mlxreg_fan-isa-*"
451+
label fan1 "Chassis Fan Drawer-1 Tach 1"
452+
label fan2 "Chassis Fan Drawer-1 Tach 2"
453+
label fan3 "Chassis Fan Drawer-2 Tach 1"
454+
label fan4 "Chassis Fan Drawer-2 Tach 2"
455+
label fan5 "Chassis Fan Drawer-3 Tach 1"
456+
label fan6 "Chassis Fan Drawer-3 Tach 2"
457+
label fan7 "Chassis Fan Drawer-4 Tach 1"
458+
label fan8 "Chassis Fan Drawer-4 Tach 2"
459+
label fan9 "Chassis Fan Drawer-5 Tach 1"
460+
label fan10 "Chassis Fan Drawer-5 Tach 2"
461+
447462
# AMD Comex Power controllers
448463
chip "mp2855-i2c-*-69"
449464
label in1 "PMIC-12 COMEX (in) VDDCR INPUT VOLT"
@@ -490,5 +505,5 @@ chip "nvme-pci-*"
490505
ignore temp3
491506

492507
# Ethernet PHY temperature sensor
493-
chip "00000400400-mdio-4"
494-
label temp1 "Eth Phy Temp"
508+
chip "*-mdio-*"
509+
ignore temp1

0 commit comments

Comments
 (0)