Skip to content

Commit bf21dbc

Browse files
authored
[Mellanox] Add support for MSN4600 A1 system (#7732)
Add new sensor conf for MSN4600 A1 system Add a Mellanox hw-management patch to support MSN4600 A1 system
1 parent a42aa3d commit bf21dbc

File tree

3 files changed

+162
-0
lines changed

3 files changed

+162
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn4700-r0/get_sensors_conf_path
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
################################################################################
2+
# Copyright (c) 2021 Mellanox Technologies
3+
#
4+
# Platform specific sensors config for SN4600
5+
################################################################################
6+
7+
# Temperature sensors
8+
bus "i2c-2" "i2c-1-mux (chan_id 1)"
9+
chip "mlxsw-i2c-*-48"
10+
label temp1 "Ambient ASIC Temp"
11+
12+
bus "i2c-7" "i2c-1-mux (chan_id 6)"
13+
chip "tmp102-i2c-*-49"
14+
label temp1 "Ambient Fan Side Temp (air intake)"
15+
chip "tmp102-i2c-*-4a"
16+
label temp1 "Ambient Port Side Temp (air exhaust)"
17+
18+
bus "i2c-15" "i2c-1-mux (chan_id 6)"
19+
chip "tmp102-i2c-15-49"
20+
label temp1 "Ambient COMEX Temp"
21+
22+
# Power controllers
23+
bus "i2c-5" "i2c-1-mux (chan_id 4)"
24+
chip "mp2975-i2c-*-62"
25+
label in1 "PMIC-1 PSU 12V Rail (in1)"
26+
label in2 "PMIC-1 ASIC 0.8V VCORE MAIN Rail (out)"
27+
label temp1 "PMIC-1 Temp 1"
28+
label power1 "PMIC-1 PSU 12V Rail Pwr (in1)"
29+
label power2 "PMIC-1 ASIC 0.8V VCORE MAIN Rail Pwr (out)"
30+
label curr1 "PMIC-1 PSU 12V Rail Curr (in1)"
31+
label curr2 "PMIC-1 ASIC 0.8V VCORE MAIN Rail Curr (out)"
32+
chip "mp2975-i2c-*-64"
33+
label in1 "PMIC-2 PSU 12V Rail (in1)"
34+
label in2 "PMIC-2 ASIC 1.8V VCORE MAIN Rail (out)"
35+
label in3 "PMIC-2 ASIC 1.2V VCORE MAIN Rail (out)"
36+
label temp1 "PMIC-2 Temp 1"
37+
label power1 "PMIC-2 PSU 12V Rail Pwr (in1)"
38+
label power2 "PMIC-2 ASIC 1.8V VCORE MAIN Rail Pwr (out)"
39+
label curr1 "PMIC-2 PSU 12V Rail Curr (in1)"
40+
label curr2 "PMIC-2 ASIC 1.8V VCORE MAIN Rail Curr (out)"
41+
label curr3 "PMIC-2 ASIC 1.2V VCORE MAIN Rail Curr (out)"
42+
chip "mp2975-i2c-*-66"
43+
label in1 "PMIC-3 PSU 12V Rail (in1)"
44+
label in2 "PMIC-3 ASIC 0.85V T0_1 Rail (out)"
45+
label in3 "PMIC-3 ASIC 1.8V T0_1 Rail (out)"
46+
label temp1 "PMIC-3 Temp 1"
47+
label power1 "PMIC-3 PSU 12V Rail Pwr (in1)"
48+
label power2 "PMIC-3 ASIC 0.85V T0_1 Rail Pwr (out)"
49+
label curr1 "PMIC-3 PSU 12V Rail Curr (in1)"
50+
label curr2 "PMIC-3 ASIC 0.85V T0_1 Rail Curr (out)"
51+
label curr3 "PMIC-3 ASIC 1.8V T0_1 Rail Curr (out)"
52+
chip "mp2975-i2c-*-6a"
53+
label in1 "PMIC-4 PSU 12V Rail (in1)"
54+
label in2 "PMIC-4 ASIC 0.85V T2_3 Rail (out)"
55+
label in3 "PMIC-4 ASIC 1.8V T2_3 Rail (out)"
56+
label temp1 "PMIC-4 Temp 1"
57+
label power1 "PMIC-4 PSU 12V Rail Pwr (in1)"
58+
label power2 "PMIC-4 ASIC 0.85V T2_3 Rail Pwr (out)"
59+
label curr1 "PMIC-4 PSU 12V Rail Curr (in1)"
60+
label curr2 "PMIC-4 ASIC 0.85V T2_3 Rail Curr (out)"
61+
label curr3 "PMIC-4 ASIC 1.8V T2_3 Rail Curr (out)"
62+
chip "mp2975-i2c-*-6e"
63+
label in1 "PMIC-5 PSU 12V Rail (in1)"
64+
label in2 "PMIC-5 ASIC 1.2V T0_3 Rail_1 (out)"
65+
label in3 "PMIC-5 ASIC 1.2V T4_7 Rail_2 (out)"
66+
label temp1 "PMIC-5 Temp 1"
67+
label power1 "PMIC-5 PSU 12V Rail Pwr (in1)"
68+
label power2 "PMIC-5 ASIC 1.2V T0_3 Rail_1 Pwr (out)"
69+
label power3 "PMIC-5 ASIC 1.2V T4_7 Rail_2 Pwr (out)"
70+
label curr1 "PMIC-5 PSU 12V Rail Curr (in1)"
71+
label curr2 "PMIC-5 ASIC 1.2V T0_3 Rail_1 Curr (out)"
72+
label curr3 "PMIC-5 ASIC 1.2V T4_7 Rail_2 Curr (out)"
73+
74+
bus "i2c-15" "i2c-1-mux (chan_id 6)"
75+
chip "tps53679-i2c-*-58"
76+
label in1 "PMIC-6 PSU 12V Rail (in1)"
77+
label in2 "PMIC-6 PSU 12V Rail (in2)"
78+
label in3 "PMIC-6 COMEX 1.8V Rail (out)"
79+
label in4 "PMIC-6 COMEX 1.05V Rail (out)"
80+
label temp1 "PMIC-6 Temp 1"
81+
label temp2 "PMIC-6 Temp 2"
82+
label power1 "PMIC-6 COMEX 1.8V Rail Pwr (out)"
83+
label power2 "PMIC-6 COMEX 1.05V Rail Pwr (out)"
84+
label curr1 "PMIC-6 COMEX 1.8V Rail Curr (out)"
85+
label curr2 "PMIC-6 COMEX 1.05V Rail Curr (out)"
86+
chip "tps53679-i2c-*-61"
87+
label in1 "PMIC-7 PSU 12V Rail (in1)"
88+
label in2 "PMIC-7 PSU 12V Rail (in2)"
89+
label in3 "PMIC-7 COMEX 1.2V Rail (out)"
90+
ignore in4
91+
label temp1 "PMIC-7 Temp 1"
92+
label temp2 "PMIC-7 Temp 2"
93+
label power1 "PMIC-7 COMEX 1.2V Rail Pwr (out)"
94+
ignore power2
95+
label curr1 "PMIC-7 COMEX 1.2V Rail Curr (out)"
96+
ignore curr2
97+
98+
# Power supplies
99+
bus "i2c-4" "i2c-1-mux (chan_id 3)"
100+
chip "dps460-i2c-*-58"
101+
label in1 "PSU-1(L) 220V Rail (in)"
102+
ignore in2
103+
label in3 "PSU-1(L) 12V Rail (out)"
104+
label fan1 "PSU-1(L) Fan 1"
105+
ignore fan2
106+
ignore fan3
107+
label temp1 "PSU-1(L) Temp 1"
108+
label temp2 "PSU-1(L) Temp 2"
109+
label temp3 "PSU-1(L) Temp 3"
110+
label power1 "PSU-1(L) 220V Rail Pwr (in)"
111+
label power2 "PSU-1(L) 12V Rail Pwr (out)"
112+
label curr1 "PSU-1(L) 220V Rail Curr (in)"
113+
label curr2 "PSU-1(L) 12V Rail Curr (out)"
114+
chip "dps460-i2c-*-59"
115+
label in1 "PSU-2(R) 220V Rail (in)"
116+
ignore in2
117+
label in3 "PSU-2(R) 12V Rail (out)"
118+
label fan1 "PSU-2(R) Fan 1"
119+
ignore fan2
120+
ignore fan3
121+
label temp1 "PSU-2(R) Temp 1"
122+
label temp2 "PSU-2(R) Temp 2"
123+
label temp3 "PSU-2(R) Temp 3"
124+
label power1 "PSU-2(R) 220V Rail Pwr (in)"
125+
label power2 "PSU-2(R) 12V Rail Pwr (out)"
126+
label curr1 "PSU-2(R) 220V Rail Curr (in)"
127+
label curr2 "PSU-2(R) 12V Rail Curr (out)"
128+
129+
# Chassis fans
130+
chip "mlxreg_fan-isa-*"
131+
label fan1 "Chassis Fan Drawer-1"
132+
label fan2 "Chassis Fan Drawer-2"
133+
label fan3 "Chassis Fan Drawer-3"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From 1b2c2343d62b2fadb5c8fc9e61f2f654f4085193 Mon Sep 17 00:00:00 2001
2+
From: Mykola Kostenok <[email protected]>
3+
Date: Wed, 12 May 2021 10:59:57 +0300
4+
Subject: [PATCH] hw-mgmt: system: MSN4600 A1 BU config1 fix
5+
6+
Fix config1 matching for MSN4600.
7+
8+
Signed-off-by: Mykola Kostenok <[email protected]>
9+
---
10+
usr/usr/bin/hw-management.sh | 2 +-
11+
1 files changed, 1 insertions(+), 1 deletions(-)
12+
13+
diff --git a/usr/usr/bin/hw-management.sh b/usr/usr/bin/hw-management.sh
14+
index d5b2728..150e583 100755
15+
--- a/usr/usr/bin/hw-management.sh
16+
+++ b/usr/usr/bin/hw-management.sh
17+
@@ -728,7 +728,7 @@ msn46xx_specific()
18+
if [ $res -eq 0 ]; then
19+
sys_ver=$(cut "$regio_path"/config1 -d' ' -f 1)
20+
case $sys_ver in
21+
- 3)
22+
+ 1)
23+
connect_msn4700_msn4600_A1
24+
;;
25+
*)
26+
--
27+
1.7.1
28+

0 commit comments

Comments
 (0)