Skip to content

Commit 8bb9ed6

Browse files
authored
[Mellanox] Add sensors conf for MSN4600C A1 platform (#9706)
- Why I did it Add sensor conf for MSN4600C A1 platform - How I did it Add a new sensor conf file and relevant scripts to support two different versions of the platform - How to verify it Run "sensors" cmd to check the output on the A1 platform to see whether it's as expected. Signed-off-by: Kebo Liu <[email protected]>
1 parent 5cdfffe commit 8bb9ed6

File tree

2 files changed

+147
-0
lines changed

2 files changed

+147
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../x86_64-mlnx_msn4700-r0/get_sensors_conf_path
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
##
2+
## Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES.
3+
## Apache-2.0
4+
##
5+
## Licensed under the Apache License, Version 2.0 (the "License");
6+
## you may not use this file except in compliance with the License.
7+
## You may obtain a copy of the License at
8+
##
9+
## http://www.apache.org/licenses/LICENSE-2.0
10+
##
11+
## Unless required by applicable law or agreed to in writing, software
12+
## distributed under the License is distributed on an "AS IS" BASIS,
13+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
## See the License for the specific language governing permissions and
15+
## limitations under the License.
16+
##
17+
18+
19+
# Temperature sensors
20+
bus "i2c-2" "i2c-1-mux (chan_id 1)"
21+
chip "mlxsw-i2c-*-48"
22+
label temp1 "Ambient ASIC Temp"
23+
24+
bus "i2c-7" "i2c-1-mux (chan_id 6)"
25+
chip "tmp102-i2c-*-49"
26+
label temp1 "Ambient Fan Side Temp (air intake)"
27+
chip "tmp102-i2c-*-4a"
28+
label temp1 "Ambient Port Side Temp (air exhaust)"
29+
30+
bus "i2c-15" "i2c-1-mux (chan_id 6)"
31+
chip "tmp102-i2c-15-49"
32+
label temp1 "Ambient COMEX Temp"
33+
34+
# Power controllers
35+
bus "i2c-5" "i2c-1-mux (chan_id 4)"
36+
chip "mp2975-i2c-*-62"
37+
label in1 "PMIC-1 PSU 12V Rail (in1)"
38+
label in2 "PMIC-1 ASIC 0.8V VCORE MAIN Rail (out)"
39+
label temp1 "PMIC-1 Temp 1"
40+
label power1 "PMIC-1 PSU 12V Rail Pwr (in1)"
41+
label power2 "PMIC-1 ASIC 0.8V VCORE MAIN Rail Pwr (out)"
42+
label curr1 "PMIC-1 PSU 12V Rail Curr (in1)"
43+
label curr2 "PMIC-1 ASIC 0.8V VCORE MAIN Rail Curr (out)"
44+
chip "mp2975-i2c-*-64"
45+
label in1 "PMIC-2 PSU 12V Rail (in1)"
46+
label in2 "PMIC-2 ASIC 1.8V VCORE MAIN Rail (out)"
47+
label in3 "PMIC-2 ASIC 1.2V VCORE MAIN Rail (out)"
48+
label temp1 "PMIC-2 Temp 1"
49+
label power1 "PMIC-2 PSU 12V Rail Pwr (in1)"
50+
label power2 "PMIC-2 ASIC 1.8V VCORE MAIN Rail Pwr (out)"
51+
label curr1 "PMIC-2 PSU 12V Rail Curr (in1)"
52+
label curr2 "PMIC-2 ASIC 1.8V VCORE MAIN Rail Curr (out)"
53+
label curr3 "PMIC-2 ASIC 1.2V VCORE MAIN Rail Curr (out)"
54+
chip "mp2975-i2c-*-66"
55+
label in1 "PMIC-3 PSU 12V Rail (in1)"
56+
label in2 "PMIC-3 ASIC 0.85V T0_1 Rail (out)"
57+
label in3 "PMIC-3 ASIC 1.8V T0_1 Rail (out)"
58+
label temp1 "PMIC-3 Temp 1"
59+
label power1 "PMIC-3 PSU 12V Rail Pwr (in1)"
60+
label power2 "PMIC-3 ASIC 0.85V T0_1 Rail Pwr (out)"
61+
label curr1 "PMIC-3 PSU 12V Rail Curr (in1)"
62+
label curr2 "PMIC-3 ASIC 0.85V T0_1 Rail Curr (out)"
63+
label curr3 "PMIC-3 ASIC 1.8V T0_1 Rail Curr (out)"
64+
chip "mp2975-i2c-*-6a"
65+
label in1 "PMIC-4 PSU 12V Rail (in1)"
66+
label in2 "PMIC-4 ASIC 0.85V T2_3 Rail (out)"
67+
label in3 "PMIC-4 ASIC 1.8V T2_3 Rail (out)"
68+
label temp1 "PMIC-4 Temp 1"
69+
label power1 "PMIC-4 PSU 12V Rail Pwr (in1)"
70+
label power2 "PMIC-4 ASIC 0.85V T2_3 Rail Pwr (out)"
71+
label curr1 "PMIC-4 PSU 12V Rail Curr (in1)"
72+
label curr2 "PMIC-4 ASIC 0.85V T2_3 Rail Curr (out)"
73+
label curr3 "PMIC-4 ASIC 1.8V T2_3 Rail Curr (out)"
74+
chip "mp2975-i2c-*-6e"
75+
label in1 "PMIC-5 PSU 12V Rail (in1)"
76+
label in2 "PMIC-5 ASIC 1.2V T0_3 Rail_1 (out)"
77+
label in3 "PMIC-5 ASIC 1.2V T4_7 Rail_2 (out)"
78+
label temp1 "PMIC-5 Temp 1"
79+
label power1 "PMIC-5 PSU 12V Rail Pwr (in1)"
80+
label power2 "PMIC-5 ASIC 1.2V T0_3 Rail_1 Pwr (out)"
81+
label power3 "PMIC-5 ASIC 1.2V T4_7 Rail_2 Pwr (out)"
82+
label curr1 "PMIC-5 PSU 12V Rail Curr (in1)"
83+
label curr2 "PMIC-5 ASIC 1.2V T0_3 Rail_1 Curr (out)"
84+
label curr3 "PMIC-5 ASIC 1.2V T4_7 Rail_2 Curr (out)"
85+
86+
bus "i2c-15" "i2c-1-mux (chan_id 6)"
87+
chip "tps53679-i2c-*-58"
88+
label in1 "PMIC-6 PSU 12V Rail (in1)"
89+
label in2 "PMIC-6 PSU 12V Rail (in2)"
90+
label in3 "PMIC-6 COMEX 1.8V Rail (out)"
91+
label in4 "PMIC-6 COMEX 1.05V Rail (out)"
92+
label temp1 "PMIC-6 Temp 1"
93+
label temp2 "PMIC-6 Temp 2"
94+
label power1 "PMIC-6 COMEX 1.8V Rail Pwr (out)"
95+
label power2 "PMIC-6 COMEX 1.05V Rail Pwr (out)"
96+
label curr1 "PMIC-6 COMEX 1.8V Rail Curr (out)"
97+
label curr2 "PMIC-6 COMEX 1.05V Rail Curr (out)"
98+
chip "tps53679-i2c-*-61"
99+
label in1 "PMIC-7 PSU 12V Rail (in1)"
100+
label in2 "PMIC-7 PSU 12V Rail (in2)"
101+
label in3 "PMIC-7 COMEX 1.2V Rail (out)"
102+
ignore in4
103+
label temp1 "PMIC-7 Temp 1"
104+
label temp2 "PMIC-7 Temp 2"
105+
label power1 "PMIC-7 COMEX 1.2V Rail Pwr (out)"
106+
ignore power2
107+
label curr1 "PMIC-7 COMEX 1.2V Rail Curr (out)"
108+
ignore curr2
109+
110+
# Power supplies
111+
bus "i2c-4" "i2c-1-mux (chan_id 3)"
112+
chip "dps460-i2c-*-58"
113+
label in1 "PSU-1(L) 220V Rail (in)"
114+
ignore in2
115+
label in3 "PSU-1(L) 12V Rail (out)"
116+
label fan1 "PSU-1(L) Fan 1"
117+
ignore fan2
118+
ignore fan3
119+
label temp1 "PSU-1(L) Temp 1"
120+
label temp2 "PSU-1(L) Temp 2"
121+
label temp3 "PSU-1(L) Temp 3"
122+
label power1 "PSU-1(L) 220V Rail Pwr (in)"
123+
label power2 "PSU-1(L) 12V Rail Pwr (out)"
124+
label curr1 "PSU-1(L) 220V Rail Curr (in)"
125+
label curr2 "PSU-1(L) 12V Rail Curr (out)"
126+
chip "dps460-i2c-*-59"
127+
label in1 "PSU-2(R) 220V Rail (in)"
128+
ignore in2
129+
label in3 "PSU-2(R) 12V Rail (out)"
130+
label fan1 "PSU-2(R) Fan 1"
131+
ignore fan2
132+
ignore fan3
133+
label temp1 "PSU-2(R) Temp 1"
134+
label temp2 "PSU-2(R) Temp 2"
135+
label temp3 "PSU-2(R) Temp 3"
136+
label power1 "PSU-2(R) 220V Rail Pwr (in)"
137+
label power2 "PSU-2(R) 12V Rail Pwr (out)"
138+
label curr1 "PSU-2(R) 220V Rail Curr (in)"
139+
label curr2 "PSU-2(R) 12V Rail Curr (out)"
140+
141+
# Chassis fans
142+
chip "mlxreg_fan-isa-*"
143+
label fan1 "Chassis Fan Drawer-1"
144+
label fan2 "Chassis Fan Drawer-2"
145+
label fan3 "Chassis Fan Drawer-3"
146+

0 commit comments

Comments
 (0)