From d9c845fbdbe2b385dad13a27c315c8b8948994b3 Mon Sep 17 00:00:00 2001 From: Vivek Date: Tue, 2 May 2023 15:36:57 +0800 Subject: [PATCH] [Mellanox] Update SN5600 sensors.conf and pcie.yaml files (#14883) - Why I did it Update the sensors.conf and pcie.yaml according to the real hardware. - How I did it Update the sensors.conf and pcie.yaml - How to verify it run relevant sonic-mgmt test cases. Signed-off-by: Kebo Liu --- device/mellanox/x86_64-nvidia_sn5600-r0/pcie.yaml | 13 ++++++------- .../mellanox/x86_64-nvidia_sn5600-r0/sensors.conf | 11 ++++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/device/mellanox/x86_64-nvidia_sn5600-r0/pcie.yaml b/device/mellanox/x86_64-nvidia_sn5600-r0/pcie.yaml index 20da81d7dc86..30c6a23773d1 100644 --- a/device/mellanox/x86_64-nvidia_sn5600-r0/pcie.yaml +++ b/device/mellanox/x86_64-nvidia_sn5600-r0/pcie.yaml @@ -80,12 +80,6 @@ id: a340 name: 'PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)' -- bus: '00' - dev: 1b - fn: '2' - id: a342 - name: 'PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #19 (rev - f0)' - bus: '00' dev: 1b fn: '4' @@ -143,4 +137,9 @@ fn: '6' id: 15bb name: 'Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev - 10)' \ No newline at end of file + 10)' +- bus: '01' + dev: '00' + fn: '0' + id: cf80 + name: 'Ethernet controller: Mellanox Technologies Spectrum-4' diff --git a/device/mellanox/x86_64-nvidia_sn5600-r0/sensors.conf b/device/mellanox/x86_64-nvidia_sn5600-r0/sensors.conf index d7f122a714a1..9180bf38da35 100644 --- a/device/mellanox/x86_64-nvidia_sn5600-r0/sensors.conf +++ b/device/mellanox/x86_64-nvidia_sn5600-r0/sensors.conf @@ -160,7 +160,7 @@ chip "mp2975-i2c-*-6a" ignore curr4 ignore curr5 ignore curr6 -chip "mp2975-i2c-*-6b" +chip "mp2975-i2c-*-6c" label in1 "PMIC-10 PSU 13V5 Rail (in1)" label in2 "PMIC-10 HVDD_T03 1V2 Rail (out1)" label in3 "PMIC-10 HVDD_T47 1V2 Rail (out2)" @@ -198,7 +198,7 @@ chip "mp2975-i2c-*-6e" # Power supplies -chip "dps460-i2c-*-5a" +chip "dps460-i2c-*-59" label in1 "PSU-1(L) 220V Rail (in)" ignore in2 label in3 "PSU-1(L) 12V Rail (out)" @@ -210,7 +210,8 @@ chip "dps460-i2c-*-5a" 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)" -chip "dps460-i2c-*-59" + set power2_cap 0 +chip "dps460-i2c-*-5a" label in1 "PSU-2(R) 220V Rail (in)" ignore in2 label in3 "PSU-2(R) 12V Rail (out)" @@ -229,8 +230,8 @@ chip "pmbus-i2c-*-10" ignore in2 ignore in3 label temp1 "IBC-1 Temp 1" - label curr1 "IBC-1 13V5 Rail Curr (out)" - ignore curr2 + ignore curr1 + label curr2 "IBC-1 13V5 Rail Curr (out)" chip "pmbus-i2c-*-11" label in1 "IBC-2 PWR CONV 54V Rail (in1)" ignore in2