Skip to content

Commit fc0ab6e

Browse files
committed
hw-mgmt: scripts: Initial commit for q3401-RD system
Initial commit for q3401-RD system Signed-off-by: Oleksandr Shamray <[email protected]>
1 parent b0140ed commit fc0ab6e

File tree

9 files changed

+614
-12
lines changed

9 files changed

+614
-12
lines changed
Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
##################################################################################
2+
# Copyright (c) 2019-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
#
4+
# Platform specific sensors config for QM3000
5+
##################################################################################
6+
7+
bus "i2c-6" "i2c-1-mux (chan_id 5)"
8+
chip "tmp102-i2c-6-49"
9+
label temp1 "Ambient Fan Side Temp (air intake)"
10+
chip "adt75-i2c-6-49"
11+
label temp1 "Ambient Fan Side Temp (air intake)"
12+
chip "stts751-i2c-6-49"
13+
label temp1 "Ambient Fan Side Temp (air intake)"
14+
15+
bus "i2c-7" "i2c-1-mux (chan_id 6)"
16+
chip "tmp102-i2c-7-4a"
17+
label temp1 "Ambient Port Side Temp (air exhaust)"
18+
chip "adt75-i2c-7-4a"
19+
label temp1 "Ambient Port Side Temp (air exhaust)"
20+
chip "stts751-i2c-7-4a"
21+
label temp1 "Ambient Port Side Temp (air exhaust)"
22+
23+
# ASIC1-2 SWB1 power controllers
24+
bus "i2c-5" "i2c-1-mux (chan_id 4)"
25+
chip "mp2891-i2c-5-66"
26+
label in1 "PMIC-1 12V VDD ASIC1 Volt (in)"
27+
label in2 "PMIC-1 VDD ASIC1 Volt (out1)"
28+
ignore in3
29+
label temp1 "PMIC-1 Temp 1"
30+
ignore temp2
31+
label power1 "PMIC-1 12V VDD ASIC1 Pwr (in)"
32+
label power2 "PMIC-1 VDD ASIC1 Pwr (out1)"
33+
ignore power3
34+
label curr1 "PMIC-1 12V VDD ASIC1 Curr (in)"
35+
ignore curr2
36+
label curr3 "PMIC-1 VDD ASIC1 Curr (out1)"
37+
ignore curr4
38+
chip "mp2891-i2c-5-68"
39+
label in1 "PMIC-2 12V HVDD DVDD ASIC1 PL0 Volt (in1)"
40+
label in2 "PMIC-2 HVDD PL0 ASIC1 PL0 Volt (out1)"
41+
label in3 "PMIC-2 DVDD PL0 ASIC1 PL0 Volt (out2)"
42+
label temp1 "PMIC-2 Temp 1"
43+
label temp2 "PMIC-2 Temp 2"
44+
label power1 "PMIC-2 12V HVDD DVDD ASIC1 PL0 Pwr (in1)"
45+
label power2 "PMIC-2 HVDD PL0 ASIC1 PL0 Pwr (out1)"
46+
label power3 "PMIC-2 DVDD PL0 ASIC1 PL0 Pwr (out2)"
47+
label curr1 "PMIC-2 12V HVDD DVDD ASIC1 PL0 Curr (in1)"
48+
ignore curr2
49+
label curr3 "PMIC-2 HVDD PL0 ASIC1 PL0 Curr (out1)"
50+
label curr4 "PMIC-2 DVDD PL0 ASIC1 PL0 Curr (out2)"
51+
chip "mp2891-i2c5-6c"
52+
label in1 "PMIC-3 12V HVDD DVDD ASIC1 PL1 Volt (in1)"
53+
label in2 "PMIC-3 HVDD PL1 ASIC1 PL1 Volt (out1)"
54+
label in3 "PMIC-3 DVDD PL1 ASIC1 PL1 Volt (out2)"
55+
label temp1 "PMIC-3 Temp 1"
56+
label temp2 "PMIC-3 Temp 2"
57+
label power1 "PMIC-3 12V HVDD DVDD ASIC1 PL1 Pwr (in1)"
58+
label power2 "PMIC-3 HVDD PL1 ASIC1 PL1 Pwr (out1)"
59+
label power3 "PMIC-3 DVDD PL1 ASIC1 PL1 Pwr (out2)"
60+
label curr1 "PMIC-3 12V HVDD DVDD ASIC1 PL1 Curr (in1)"
61+
ignore curr2
62+
label curr3 "PMIC-3 HVDD PL1 ASIC1 PL1 Curr (out1)"
63+
label curr4 "PMIC-3 DVDD PL1 ASIC1 PL1 Curr (out2)"
64+
bus "i2c-21" "i2c-1-mux (chan_id 20)"
65+
chip "mp2891-i2c-21-66"
66+
label in1 "PMIC-1 12V VDD ASIC2 Volt (in)"
67+
label in2 "PMIC-1 VDD ASIC2 Volt (out1)"
68+
ignore in3
69+
label temp1 "PMIC-1 Temp 1"
70+
ignore temp2
71+
label power1 "PMIC-1 12V VDD ASIC2 Pwr (in)"
72+
label power2 "PMIC-1 VDD ASIC2 Pwr (out1)"
73+
ignore power3
74+
label curr1 "PMIC-1 12V VDD ASIC2 Curr (in)"
75+
ignore curr2
76+
label curr3 "PMIC-1 VDD ASIC2 Curr (out1)"
77+
ignore curr4
78+
chip "mp2891-i2c-21-68"
79+
label in1 "PMIC-2 12V HVDD DVDD ASIC2 PL0 Volt (in1)"
80+
label in2 "PMIC-2 HVDD PL0 ASIC2 PL0 Volt (out1)"
81+
label in3 "PMIC-2 DVDD PL0 ASIC2 PL0 Volt (out2)"
82+
label temp1 "PMIC-2 Temp 1"
83+
label temp2 "PMIC-2 Temp 2"
84+
label power1 "PMIC-2 12V HVDD DVDD ASIC2 PL0 Pwr (in1)"
85+
label power2 "PMIC-2 HVDD PL0 ASIC2 PL0 Pwr (out1)"
86+
label power3 "PMIC-2 DVDD PL0 ASIC2 PL0 Pwr (out2)"
87+
label curr1 "PMIC-2 12V HVDD DVDD ASIC2 PL0 Curr (in1)"
88+
ignore curr2
89+
label curr3 "PMIC-2 HVDD PL0 ASIC2 PL0 Curr (out1)"
90+
label curr4 "PMIC-2 DVDD PL0 ASIC2 PL0 Curr (out2)"
91+
chip "mp2891-i2c-21-6c"
92+
label in1 "PMIC-3 12V HVDD DVDD ASIC2 PL1 Volt (in1)"
93+
label in2 "PMIC-3 HVDD PL1 ASIC2 PL1 Volt (out1)"
94+
label in3 "PMIC-3 DVDD PL1 ASIC2 PL1 Volt (out2)"
95+
label temp1 "PMIC-3 Temp 1"
96+
label temp2 "PMIC-3 Temp 2"
97+
label power1 "PMIC-3 12V HVDD DVDD ASIC2 PL1 Pwr (in1)"
98+
label power2 "PMIC-3 HVDD PL1 ASIC2 PL1 Pwr (out1)"
99+
label power3 "PMIC-3 DVDD PL1 ASIC2 PL1 Pwr (out2)"
100+
label curr1 "PMIC-3 12V HVDD DVDD ASIC2 PL1 Curr (in1)"
101+
ignore curr2
102+
label curr3 "PMIC-3 HVDD PL1 ASIC2 PL1 Curr (out1)"
103+
label curr4 "PMIC-3 DVDD PL1 ASIC2 PL1 Curr (out2)"
104+
105+
# ASIC3-4 SWB2 power controllers
106+
bus "i2c-37" "i2c-1-mux (chan_id 36)"
107+
chip "mp2891-i2c-37-66"
108+
label in1 "PMIC-1 12V VDD ASIC3 Volt (in)"
109+
label in2 "PMIC-1 VDD ASIC3 Volt (out1)"
110+
ignore in3
111+
label temp1 "PMIC-1 Temp 1"
112+
ignore temp2
113+
label power1 "PMIC-1 12V VDD ASIC3 Pwr (in)"
114+
label power2 "PMIC-1 VDD ASIC3 Pwr (out1)"
115+
ignore power3
116+
label curr1 "PMIC-1 12V VDD ASIC3 Curr (in)"
117+
ignore curr2
118+
label curr3 "PMIC-1 VDD ASIC3 Curr (out1)"
119+
ignore curr4
120+
chip "mp2891-i2c-37-68"
121+
label in1 "PMIC-2 12V HVDD DVDD ASIC3 PL0 Volt (in1)"
122+
label in2 "PMIC-2 HVDD PL0 ASIC3 PL0 Volt (out1)"
123+
label in3 "PMIC-2 DVDD PL0 ASIC3 PL0 Volt (out2)"
124+
label temp1 "PMIC-2 Temp 1"
125+
label temp2 "PMIC-2 Temp 2"
126+
label power1 "PMIC-2 12V HVDD DVDD ASIC3 PL0 Pwr (in1)"
127+
label power2 "PMIC-2 HVDD PL0 ASIC3 PL0 Pwr (out1)"
128+
label power3 "PMIC-2 DVDD PL0 ASIC3 PL0 Pwr (out2)"
129+
label curr1 "PMIC-2 12V HVDD DVDD ASIC3 PL0 Curr (in1)"
130+
ignore curr2
131+
label curr3 "PMIC-2 HVDD PL0 ASIC3 PL0 Curr (out1)"
132+
label curr4 "PMIC-2 DVDD PL0 ASIC3 PL0 Curr (out2)"
133+
chip "mp2891-i2c-37-6c"
134+
label in1 "PMIC-3 12V HVDD DVDD ASIC3 PL1 Volt (in1)"
135+
label in2 "PMIC-3 HVDD PL1 ASIC3 PL1 Volt (out1)"
136+
label in3 "PMIC-3 DVDD PL1 ASIC3 PL1 Volt (out2)"
137+
label temp1 "PMIC-3 Temp 1"
138+
label temp2 "PMIC-3 Temp 2"
139+
label power1 "PMIC-3 12V HVDD DVDD ASIC3 PL1 Pwr (in1)"
140+
label power2 "PMIC-3 HVDD PL1 ASIC3 PL1 Pwr (out1)"
141+
label power3 "PMIC-3 DVDD PL1 ASIC3 PL1 Pwr (out2)"
142+
label curr1 "PMIC-3 12V HVDD DVDD ASIC3 PL1 Curr (in1)"
143+
ignore curr2
144+
label curr3 "PMIC-3 HVDD PL1 ASIC3 PL1 Curr (out1)"
145+
label curr4 "PMIC-3 DVDD PL1 ASIC3 PL1 Curr (out2)"
146+
bus "i2c-53" "i2c-1-mux (chan_id 52)"
147+
chip "mp2891-i2c-53-66"
148+
label in1 "PMIC-1 12V VDD ASIC4 Volt (in)"
149+
label in2 "PMIC-1 VDD ASIC4 Volt (out1)"
150+
ignore in3
151+
label temp1 "PMIC-1 Temp 1"
152+
ignore temp2
153+
label power1 "PMIC-1 12V VDD ASIC4 Pwr (in)"
154+
label power2 "PMIC-1 VDD ASIC4 Pwr (out1)"
155+
ignore power3
156+
label curr1 "PMIC-1 12V VDD ASIC4 Curr (in)"
157+
ignore curr2
158+
label curr3 "PMIC-1 VDD ASIC4 Curr (out1)"
159+
ignore curr4
160+
chip "mp2891-i2c-53-68"
161+
label in1 "PMIC-2 12V HVDD DVDD ASIC4 PL0 Volt (in1)"
162+
label in2 "PMIC-2 HVDD PL0 ASIC4 PL0 Volt (out1)"
163+
label in3 "PMIC-2 DVDD PL0 ASIC4 PL0 Volt (out2)"
164+
label temp1 "PMIC-2 Temp 1"
165+
label temp2 "PMIC-2 Temp 2"
166+
label power1 "PMIC-2 12V HVDD DVDD ASIC4 PL0 Pwr (in1)"
167+
label power2 "PMIC-2 HVDD PL0 ASIC4 PL0 Pwr (out1)"
168+
label power3 "PMIC-2 DVDD PL0 ASIC4 PL0 Pwr (out2)"
169+
label curr1 "PMIC-2 12V HVDD DVDD ASIC4 PL0 Curr (in1)"
170+
ignore curr2
171+
label curr3 "PMIC-2 HVDD PL0 ASIC4 PL0 Curr (out1)"
172+
label curr4 "PMIC-2 DVDD PL0 ASIC4 PL0 Curr (out2)"
173+
chip "mp2891-i2c-53-6c"
174+
label in1 "PMIC-3 12V HVDD DVDD ASIC4 PL1 Volt (in1)"
175+
label in2 "PMIC-3 HVDD PL1 ASIC4 PL1 Volt (out1)"
176+
label in3 "PMIC-3 DVDD PL1 ASIC4 PL1 Volt (out2)"
177+
label temp1 "PMIC-3 Temp 1"
178+
label temp2 "PMIC-3 Temp 2"
179+
label power1 "PMIC-3 12V HVDD DVDD ASIC4 PL1 Pwr (in1)"
180+
label power2 "PMIC-3 HVDD PL1 ASIC4 PL1 Pwr (out1)"
181+
label power3 "PMIC-3 DVDD PL1 ASIC4 PL1 Pwr (out2)"
182+
label curr1 "PMIC-3 12V HVDD DVDD ASIC4 PL1 Curr (in1)"
183+
ignore curr2
184+
label curr3 "PMIC-3 HVDD PL1 ASIC4 PL1 Curr (out1)"
185+
label curr4 "PMIC-3 DVDD PL1 ASIC4 PL1 Curr (out2)"
186+
187+
188+
# PDB board
189+
bus "i2c-4" "i2c-1-mux (chan_id 3)"
190+
# Hot-swap
191+
chip "lm5066i-i2c-4-12"
192+
label in1 "HSC1 VinDC Volt (in)"
193+
label in3 "HSC1 Vout Volt (out)"
194+
ignore in2
195+
label power1 "HSC1 VinDC Pwr (in)"
196+
label curr1 "HSC1 VinDC Curr (in)"
197+
label temp1 "HSC1 Temp"
198+
199+
# Hot-swap
200+
chip "lm5066i-i2c-4-16"
201+
label in1 "HSC2 VinDC Volt (in)"
202+
label in3 "HSC2 Vout Volt (out)"
203+
ignore in2
204+
label power1 "HSC2 VinDC Pwr (in)"
205+
label curr1 "HSC2 VinDC Curr (in)"
206+
label temp1 "HSC2 Temp"
207+
208+
# PDB pwr_conv
209+
chip "raa228004-i2c-*-60"
210+
label in1 "PWR_CONV1 VinDC Volt (in)"
211+
ignore in2
212+
label in3 "PWR_CONV1 Vout Volt (out)"
213+
label power1 "PWR_CONV1 VinDC Pwr (in)"
214+
label power2 "PWR_CONV1 VoutDC Pwr (out)"
215+
label curr1 "PWR_CONV1 Curr Curr (in)"
216+
label curr2 "PWR_CONV1 Curr Curr (out)"
217+
label temp1 "PWR_CONV1 Temp1"
218+
label temp2 "PWR_CONV1 Temp2"
219+
ignore temp3
220+
221+
chip "raa228004-i2c-*-61"
222+
label in1 "PWR_CONV2 VinDC Volt (in)"
223+
ignore in2
224+
label in3 "PWR_CONV2 Vout Volt (out)"
225+
label power1 "PWR_CONV2 VinDC Pwr (in)"
226+
label power2 "PWR_CONV2 VoutDC Pwr (out)"
227+
label curr1 "PWR_CONV2 Curr Curr (in)"
228+
label curr2 "PWR_CONV2 Curr Curr (out)"
229+
label temp1 "PWR_CONV2 Temp1"
230+
label temp2 "PWR_CONV2 Temp2"
231+
ignore temp3
232+
233+
# PDB temperature sensors
234+
chip "tmp451-i2c-4-4c"
235+
label temp1 "PDB MOS Temp"
236+
ignore temp2
237+
238+
chip "tmp1075-i2c-4-4e"
239+
label temp1 "PDB AMB Temp"
240+
ignore temp2
241+
242+
# FAN board hot-swap
243+
bus "i2c-6" "i2c-1-mux (chan_id 5)"
244+
chip "lm5066i-i2c-6-12"
245+
label in1 "FAN HSC1 VinDC Volt (in)"
246+
label in3 "FAN HSC1 Vout Volt (out)"
247+
ignore in2
248+
label power1 "FAN HSC1 VinDC Pwr (in)"
249+
label curr1 "FAN HSC1 VinDC Curr (in)"
250+
label temp1 "FAN HSC1 Temp"
251+
252+
# CFL COMEX
253+
bus "i2c-72" "i2c-66-mux (chan_id 5)"
254+
chip "mp2975-i2c-72-6b"
255+
label in1 "PMIC-13 PSU 12V Rail (vin)"
256+
label in2 "PMIC-13 COMEX VCORE (out1)"
257+
label in3 "PMIC-13 COMEX VCCSA (out2)"
258+
label temp1 "PMIC-13 Temp"
259+
label power1 "PMIC-13 COMEX Pwr (pin)"
260+
label power2 "PMIC-13 COMEX VCORE Pwr (pout1)"
261+
label power3 "PMIC-13 COMEX VCCSA Pwr (pout2)"
262+
label curr1 "PMIC-13 COMEX Curr (iin)"
263+
label curr2 "PMIC-13 COMEX VCORE Rail Curr (out1)"
264+
ignore curr3
265+
ignore curr4
266+
ignore curr5
267+
label curr6 "PMIC-13 COMEX VCCSA Rail Curr (out2)"
268+
ignore curr7
269+
270+
# Chassis fans
271+
chip "mlxreg_fan-isa-*"
272+
label fan1 "Chassis Fan Drawer-1 Tach 1"
273+
label fan2 "Chassis Fan Drawer-1 Tach 2"
274+
label fan3 "Chassis Fan Drawer-2 Tach 1"
275+
label fan4 "Chassis Fan Drawer-2 Tach 2"
276+
label fan5 "Chassis Fan Drawer-3 Tach 1"
277+
label fan6 "Chassis Fan Drawer-3 Tach 2"
278+
label fan7 "Chassis Fan Drawer-4 Tach 1"
279+
label fan8 "Chassis Fan Drawer-4 Tach 2"
280+
label fan9 "Chassis Fan Drawer-5 Tach 1"
281+
label fan10 "Chassis Fan Drawer-5 Tach 2"
282+
label fan11 "Chassis Fan Drawer-6 Tach 1"
283+
label fan12 "Chassis Fan Drawer-6 Tach 2"
284+
label fan13 "Chassis Fan Drawer-7 Tach 1"
285+
label fan14 "Chassis Fan Drawer-7 Tach 2"
286+
label fan15 "Chassis Fan Drawer-8 Tach 1"
287+
label fan16 "Chassis Fan Drawer-8 Tach 2"
288+
289+
# Memory sensors
290+
bus "i2c-0" "SMBus I801 adapter at efa0"
291+
chip "jc42-i2c-0-1c"
292+
label temp1 "SODIMM Temp"
293+
294+
chip "jc42-i2c-0-1a"
295+
label temp1 "SODIMM Temp"
296+
297+
# PCH
298+
chip "pch_cannonlake-virtual-*"
299+
label temp1 "PCH Temp"
300+
301+
# SSD
302+
chip "drivetemp-*"
303+
label temp1 "SSD Temp"
304+
305+
chip "*-acpi-*"
306+
label temp1 "CPU ACPI temp"

0 commit comments

Comments
 (0)