Skip to content

Commit

Permalink
hw-mgmt: scripts: Add initial support for next generation XDR systems
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Radensky <[email protected]>
Reviewed-by: Vadim Pasternak <[email protected]>
  • Loading branch information
felixradensky committed Sep 21, 2023
1 parent bf00ee8 commit 85e0c01
Show file tree
Hide file tree
Showing 5 changed files with 798 additions and 3 deletions.
324 changes: 324 additions & 0 deletions usr/etc/hw-management-sensors/qm3000_sensors.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,324 @@
##################################################################################
# Copyright (c) 2019-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Platform specific sensors config for QM3000
##################################################################################

# Bus names
bus "i2c-71" "i2c-1-mux (chan_id 6)"

# Temperature sensors
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"

chip "tmp102-i2c-*-49"
label temp1 "Ambient Fan Side Temp (air intake)"
chip "adt75-i2c-*-49"
label temp1 "Ambient Fan Side Temp (air intake)"
chip "stts751-i2c-*-49"
label temp1 "Ambient Fan Side Temp (air intake)"
chip "tmp102-i2c-*-4a"
label temp1 "Ambient Port Side Temp (air exhaust)"
chip "adt75-i2c-*-4a"
label temp1 "Ambient Port Side Temp (air exhaust)"
chip "stts751-i2c-*-4a"
label temp1 "Ambient Port Side Temp (air exhaust)"

# ASIC power controllers
chip "mp2891-i2c-5-66"
label vin "PMIC-1 ASIC1 12V VDD Volt (in)"
label vout1 "PMIC-1 ASIC1 VDD Volt (out1)"
ignore vout2
label temp1 "PMIC-1 Temp 1"
label pin "PMIC-1 ASIC1 12V VDD Pwr (in)"
label pout1 "PMIC-1 ASIC1 VDD Pwr (out1)"
ignore pout2
label iin "PMIC-1 ASIC1 12V VDD Curr (in)"
label iout1 "PMIC-1 ASIC1 VDD Curr (out1)"
ignore iout2
chip "mp2891-i2c-5-68"
label vin "PMIC-2 ASIC1 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-2 ASIC1 HVDD PL0 Volt (out1)"
label vout2 "PMIC-2 ASIC1 DVDD PL0 Volt (out2)"
label temp1 "PMIC-2 Temp 1"
label temp2 "PMIC-2 Temp 2"
label pin "PMIC-2 ASIC1 12V HVDD DVDD (in)"
label pout1 "PMIC-2 ASIC1 HVDD PL0 Pwr (out1)"
label pout2 "PMIC-2 ASIC1 DVDD PL0 Pwr (out2)"
label iin "PMIC-2 ASIC1 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-2 ASIC1 HVDD PL0 Curr (out1)"
label iout2 "PMIC-2 ASIC1 DVDD PL0 Curr (out2)"
chip "mp2891-i2c-5-6c"
label vin "PMIC-3 ASIC1 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-3 ASIC1 HVDD PL1 Volt (out1)"
label vout2 "PMIC-3 ASIC1 DVDD PL1 Volt (out2)"
label temp1 "PMIC-3 Temp 1"
label temp2 "PMIC-3 Temp 2"
label pin "PMIC-3 ASIC1 12V HVDD DVDD (in)"
label pout1 "PMIC-3 ASIC1 HVDD PL1 Pwr (out1)"
label pout2 "PMIC-3 ASIC1 DVDD PL1 Pwr (out2)"
label iin "PMIC-3 ASIC1 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-3 ASIC1 HVDD PL1 Curr (out1)"
label iout2 "PMIC-3 ASIC1 DVDD PL1 Curr (out2)"
chip "mp2891-i2c-21-66"
label vin "PMIC-4 ASIC2 12V VDD Volt (in)"
label vout1 "PMIC-4 ASIC2 VDD Volt (out1)"
ignore vout2
label temp1 "PMIC-4 Temp 1"
label pin "PMIC-4 ASIC2 12V VDD Pwr (in)"
label pout1 "PMIC-4 ASIC2 VDD Pwr (out1)"
ignore pout2
label iin "PMIC-4 ASIC2 12V VDD Curr (in)"
label iout1 "PMIC-4 ASIC2 VDD Curr (out1)"
ignore iout2
chip "mp2891-i2c-21-68"
label vin "PMIC-5 ASIC2 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-5 ASIC2 HVDD PL0 Volt (out1)"
label vout2 "PMIC-5 ASIC2 DVDD PL0 Volt (out2)"
label temp1 "PMIC-5 Temp 1"
label temp2 "PMIC-5 Temp 2"
label pin "PMIC-5 ASIC2 12V HVDD DVDD (in)"
label pout1 "PMIC-5 ASIC2 HVDD PL0 Pwr (out1)"
label pout2 "PMIC-5 ASIC2 DVDD PL0 Pwr (out2)"
label iin "PMIC-5 ASIC2 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-5 ASIC2 HVDD PL0 Curr (out1)"
label iout2 "PMIC-5 ASIC2 DVDD PL0 Curr (out2)"
chip "mp2891-i2c-21-6c"
label vin "PMIC-6 ASIC2 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-6 ASIC2 HVDD PL1 Volt (out1)"
label vout2 "PMIC-6 ASIC2 DVDD PL1 Volt (out2)"
label temp1 "PMIC-6 Temp 1"
label temp2 "PMIC-6 Temp 2"
label pin "PMIC-6 ASIC2 12V HVDD DVDD (in)"
label pout1 "PMIC-6 ASIC2 HVDD PL1 Pwr (out1)"
label pout2 "PMIC-6 ASIC2 DVDD PL1 Pwr (out2)"
label iin "PMIC-6 ASIC2 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-6 ASIC2 HVDD PL1 Curr (out1)"
label iout2 "PMIC-6 ASIC2 DVDD PL1 Curr (out2)"
chip "mp2891-i2c-37-66"
label vin "PMIC-7 ASIC3 12V VDD Volt (in)"
label vout1 "PMIC-7 ASIC3 VDD Volt (out1)"
ignore vout2
label temp1 "PMIC-7 Temp 1"
label pin "PMIC-7 ASIC3 12V VDD Pwr (in)"
label pout1 "PMIC-7 ASIC3 VDD Pwr (out1)"
ignore pout2
label iin "PMIC-7 ASIC3 12V VDD Curr (in)"
label iout1 "PMIC-7 ASIC3 VDD Curr (out1)"
ignore iout2
chip "mp2891-i2c-37-68"
label vin "PMIC-8 ASIC3 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-8 ASIC3 HVDD PL0 Volt (out1)"
label vout2 "PMIC-8 ASIC3 DVDD PL0 Volt (out2)"
label temp1 "PMIC-8 Temp 1"
label temp2 "PMIC-8 Temp 2"
label pin "PMIC-8 ASIC3 12V HVDD DVDD (in)"
label pout1 "PMIC-8 ASIC3 HVDD PL0 Pwr (out1)"
label pout2 "PMIC-8 ASIC3 DVDD PL0 Pwr (out2)"
label iin "PMIC-8 ASIC3 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-8 ASIC3 HVDD PL0 Curr (out1)"
label iout2 "PMIC-8 ASIC3 DVDD PL0 Curr (out2)"
chip "mp2891-i2c-37-6c"
label vin "PMIC-9 ASIC3 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-9 ASIC3 HVDD PL1 Volt (out1)"
label vout2 "PMIC-9 ASIC3 DVDD PL1 Volt (out2)"
label temp1 "PMIC-9 Temp 1"
label temp2 "PMIC-9 Temp 2"
label pin "PMIC-9 ASIC3 12V HVDD DVDD (in)"
label pout1 "PMIC-9 ASIC3 HVDD PL1 Pwr (out1)"
label pout2 "PMIC-9 ASIC3 DVDD PL1 Pwr (out2)"
label iin "PMIC-9 ASIC3 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-9 ASIC3 HVDD PL1 Curr (out1)"
label iout2 "PMIC-9 ASIC3 DVDD PL1 Curr (out2)"
chip "mp2891-i2c-53-66"
label vin "PMIC-10 ASIC4 12V VDD Volt (in)"
label vout1 "PMIC-10 ASIC4 VDD Volt (out1)"
ignore vout2
label temp1 "PMIC-10 Temp 1"
label pin "PMIC-10 ASIC4 12V VDD Pwr (in)"
label pout1 "PMIC-10 ASIC4 VDD Pwr (out1)"
ignore pout2
label iin "PMIC-10 ASIC4 12V VDD Curr (in)"
label iout1 "PMIC-10 ASIC4 VDD Curr (out1)"
ignore iout2
chip "mp2891-i2c-53-68"
label vin "PMIC-11 ASIC4 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-11 ASIC4 HVDD PL0 Volt (out1)"
label vout2 "PMIC-11 ASIC4 DVDD PL0 Volt (out2)"
label temp1 "PMIC-11 Temp 1"
label temp2 "PMIC-11 Temp 2"
label pin "PMIC-11 ASIC4 12V HVDD DVDD (in)"
label pout1 "PMIC-11 ASIC4 HVDD PL0 Pwr (out1)"
label pout2 "PMIC-11 ASIC4 DVDD PL0 Pwr (out2)"
label iin "PMIC-11 ASIC4 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-11 ASIC4 HVDD PL0 Curr (out1)"
label iout2 "PMIC-11 ASIC4 DVDD PL0 Curr (out2)"
chip "mp2891-i2c-53-6c"
label vin "PMIC-12 ASIC4 12V HVDD DVDD Volt (in)"
label vout1 "PMIC-12 ASIC4 HVDD PL1 Volt (out1)"
label vout2 "PMIC-12 ASIC4 DVDD PL1 Volt (out2)"
label temp1 "PMIC-12 Temp 1"
label temp2 "PMIC-12 Temp 2"
label pin "PMIC-12 ASIC4 12V HVDD DVDD (in)"
label pout1 "PMIC-12 ASIC4 HVDD PL1 Pwr (out1)"
label pout2 "PMIC-12 ASIC4 DVDD PL1 Pwr (out2)"
label iin "PMIC-12 ASIC4 12V HVDD DVDD Curr (in1)"
label iout1 "PMIC-12 ASIC4 HVDD PL1 Curr (out1)"
label iout2 "PMIC-12 ASIC4 DVDD PL1 Curr (out2)"

# Power supplies
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"
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)"
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"
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)"
chip "dps460-i2c-*-5b"
label in1 "PSU-3 220V Rail (in)"
ignore in2
label in3 "PSU-3 12V Rail (out)"
label fan1 "PSU-3 Fan 1"
label temp1 "PSU-3 Temp 1"
label temp2 "PSU-3 Temp 2"
label temp3 "PSU-3 Temp 3"
label power1 "PSU-3 220V Rail Pwr (in)"
label power2 "PSU-3 12V Rail Pwr (out)"
label curr1 "PSU-3 220V Rail Curr (in)"
label curr2 "PSU-3 12V Rail Curr (out)"
chip "dps460-i2c-*-5a"
label in1 "PSU-4 220V Rail (in)"
ignore in2
label in3 "PSU-4 12V Rail (out)"
label fan1 "PSU-4 Fan 1"
label temp1 "PSU-4 Temp 1"
label temp2 "PSU-4 Temp 2"
label temp3 "PSU-4 Temp 3"
label power1 "PSU-4 220V Rail Pwr (in)"
label power2 "PSU-4 12V Rail Pwr (out)"
label curr1 "PSU-4 220V Rail Curr (in)"
label curr2 "PSU-4 12V Rail Curr (out)"
chip "dps460-i2c-*-5d"
label in1 "PSU-5 220V Rail (in)"
ignore in2
label in3 "PSU-5 12V Rail (out)"
label fan1 "PSU-5 Fan 1"
label temp1 "PSU-5 Temp 1"
label temp2 "PSU-5 Temp 2"
label temp3 "PSU-5 Temp 3"
label power1 "PSU-5 220V Rail Pwr (in)"
label power2 "PSU-5 12V Rail Pwr (out)"
label curr1 "PSU-5 220V Rail Curr (in)"
label curr2 "PSU-5 12V Rail Curr (out)"
chip "dps460-i2c-*-5c"
label in1 "PSU-6 220V Rail (in)"
ignore in2
label in3 "PSU-6 12V Rail (out)"
label fan1 "PSU-6 Fan 1"
label temp1 "PSU-6 Temp 1"
label temp2 "PSU-6 Temp 2"
label temp3 "PSU-6 Temp 3"
label power1 "PSU-6 220V Rail Pwr (in)"
label power2 "PSU-6 12V Rail Pwr (out)"
label curr1 "PSU-6 220V Rail Curr (in)"
label curr2 "PSU-6 12V Rail Curr (out)"
chip "dps460-i2c-*-5e"
label in1 "PSU-7 220V Rail (in)"
ignore in2
label in3 "PSU-7 12V Rail (out)"
label fan1 "PSU-7 Fan 1"
label temp1 "PSU-7 Temp 1"
label temp2 "PSU-7 Temp 2"
label temp3 "PSU-7 Temp 3"
label power1 "PSU-7 220V Rail Pwr (in)"
label power2 "PSU-7 12V Rail Pwr (out)"
label curr1 "PSU-7 220V Rail Curr (in)"
label curr2 "PSU-7 12V Rail Curr (out)"
chip "dps460-i2c-*-5f"
label in1 "PSU-8 220V Rail (in)"
ignore in2
label in3 "PSU-8 12V Rail (out)"
label fan1 "PSU-8 Fan 1"
label temp1 "PSU-8 Temp 1"
label temp2 "PSU-8 Temp 2"
label temp3 "PSU-8 Temp 3"
label power1 "PSU-8 220V Rail Pwr (in)"
label power2 "PSU-8 12V Rail Pwr (out)"
label curr1 "PSU-8 220V Rail Curr (in)"
label curr2 "PSU-8 12V Rail Curr (out)"

# CFL COMEX
chip "mp2975-i2c-71-6b"
label in1 "PMIC-13 PSU 12V Rail (vin)"
label in2 "PMIC-13 COMEX VCORE (out1)"
label in3 "PMIC-13 COMEX VCCSA (out2)"
label temp1 "PMIC-13 Temp"
label power1 "PMIC-13 COMEX Pwr (pin)"
label power2 "PMIC-13 COMEX VCORE Pwr (pout1)"
label power3 "PMIC-13 COMEX VCCSA Pwr (pout2)"
label curr1 "PMIC-13 COMEX Curr (iin)"
label curr2 "PMIC-13 COMEX VCORE Rail Curr (out1)"
ignore curr3
ignore curr4
ignore curr5
label curr6 "PMIC-13 COMEX VCCSA Rail Curr (out2)"
ignore curr7

# 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"
label fan9 "Chassis Fan Drawer-5 Tach 1"
label fan10 "Chassis Fan Drawer-5 Tach 2"
label fan11 "Chassis Fan Drawer-6 Tach 1"
label fan12 "Chassis Fan Drawer-6 Tach 2"
label fan13 "Chassis Fan Drawer-7 Tach 1"
label fan14 "Chassis Fan Drawer-7 Tach 2"
label fan15 "Chassis Fan Drawer-8 Tach 1"
label fan16 "Chassis Fan Drawer-8 Tach 2"
label fan17 "Chassis Fan Drawer-9 Tach 1"
label fan18 "Chassis Fan Drawer-9 Tach 2"
label fan19 "Chassis Fan Drawer-10 Tach 1"
label fan20 "Chassis Fan Drawer-10 Tach 2"

# Memory sensors
bus "i2c-0" "SMBus I801 adapter at efa0"
chip "jc42-i2c-0-1c"
label temp1 "SODIMM Temp"

chip "jc42-i2c-0-1a"
label temp1 "SODIMM Temp"

# PCH
chip "pch_cannonlake-virtual-*"
label temp1 "PCH Temp"

# SSD
chip "drivetemp-*"
label temp1 "SSD Temp"

chip "*-acpi-*"
label temp1 "CPU ACPI temp"
Loading

0 comments on commit 85e0c01

Please sign in to comment.