Skip to content

Commit 3dd0bb7

Browse files
committed
Add SN5640 pcie.yaml, sensors.conf files
1 parent 8712f00 commit 3dd0bb7

File tree

2 files changed

+213
-21
lines changed

2 files changed

+213
-21
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
##
2+
## SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
3+
## Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4+
## SPDX-License-Identifier: Apache-2.0
5+
##
6+
## Licensed under the Apache License, Version 2.0 (the "License");
7+
## you may not use this file except in compliance with the License.
8+
## You may obtain a copy of the License at
9+
##
10+
## http://www.apache.org/licenses/LICENSE-2.0
11+
##
12+
## Unless required by applicable law or agreed to in writing, software
13+
## distributed under the License is distributed on an "AS IS" BASIS,
14+
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
## See the License for the specific language governing permissions and
16+
## limitations under the License.
17+
##
18+
19+
- bus: '00'
20+
dev: '00'
21+
fn: '0'
22+
id: '1450'
23+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
24+
Root Complex'
25+
- bus: '00'
26+
dev: '00'
27+
fn: '2'
28+
id: '1451'
29+
name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O
30+
Memory Management Unit'
31+
- bus: '00'
32+
dev: '01'
33+
fn: '0'
34+
id: '1452'
35+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
36+
PCIe Dummy Host Bridge'
37+
- bus: '00'
38+
dev: '01'
39+
fn: '4'
40+
id: '1453'
41+
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
42+
PCIe GPP Bridge'
43+
- bus: '00'
44+
dev: '02'
45+
fn: '0'
46+
id: '1452'
47+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
48+
PCIe Dummy Host Bridge'
49+
- bus: '00'
50+
dev: '03'
51+
fn: '0'
52+
id: '1452'
53+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
54+
PCIe Dummy Host Bridge'
55+
- bus: '00'
56+
dev: '04'
57+
fn: '0'
58+
id: '1452'
59+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
60+
PCIe Dummy Host Bridge'
61+
- bus: '00'
62+
dev: '07'
63+
fn: '0'
64+
id: '1452'
65+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
66+
PCIe Dummy Host Bridge'
67+
- bus: '00'
68+
dev: '07'
69+
fn: '1'
70+
id: '1454'
71+
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
72+
Internal PCIe GPP Bridge 0 to Bus B'
73+
- bus: '00'
74+
dev: 08
75+
fn: '0'
76+
id: '1452'
77+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh)
78+
PCIe Dummy Host Bridge'
79+
- bus: '00'
80+
dev: 08
81+
fn: '1'
82+
id: '1454'
83+
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
84+
Internal PCIe GPP Bridge 0 to Bus B'
85+
- bus: '00'
86+
dev: '14'
87+
fn: '0'
88+
id: 790b
89+
name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)'
90+
- bus: '00'
91+
dev: '14'
92+
fn: '3'
93+
id: 790e
94+
name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)'
95+
- bus: '00'
96+
dev: '18'
97+
fn: '0'
98+
id: '1460'
99+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
100+
Data Fabric: Device 18h; Function 0'
101+
- bus: '00'
102+
dev: '18'
103+
fn: '1'
104+
id: '1461'
105+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
106+
Data Fabric: Device 18h; Function 1'
107+
- bus: '00'
108+
dev: '18'
109+
fn: '2'
110+
id: '1462'
111+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
112+
Data Fabric: Device 18h; Function 2'
113+
- bus: '00'
114+
dev: '18'
115+
fn: '3'
116+
id: '1463'
117+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
118+
Data Fabric: Device 18h; Function 3'
119+
- bus: '00'
120+
dev: '18'
121+
fn: '4'
122+
id: '1464'
123+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
124+
Data Fabric: Device 18h; Function 4'
125+
- bus: '00'
126+
dev: '18'
127+
fn: '5'
128+
id: '1465'
129+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
130+
Data Fabric: Device 18h; Function 5'
131+
- bus: '00'
132+
dev: '18'
133+
fn: '6'
134+
id: '1466'
135+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
136+
Data Fabric: Device 18h; Function 6'
137+
- bus: '00'
138+
dev: '18'
139+
fn: '7'
140+
id: '1467'
141+
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
142+
Data Fabric: Device 18h; Function 7'
143+
- bus: '01'
144+
dev: '00'
145+
fn: '0'
146+
id: '5765'
147+
name: 'Non-Volatile memory controller: Device 1f9f:5765 (rev 01)'
148+
- bus: '02'
149+
dev: '00'
150+
fn: '0'
151+
id: 145a
152+
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
153+
Zeppelin/Raven/Raven2 PCIe Dummy Function'
154+
- bus: '02'
155+
dev: '00'
156+
fn: '2'
157+
id: '1456'
158+
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models
159+
00h-0fh) Platform Security Processor (PSP) 3.0 Device'
160+
- bus: '02'
161+
dev: '00'
162+
fn: '3'
163+
id: 145f
164+
name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI
165+
Compliant Host Controller'
166+
- bus: '03'
167+
dev: '00'
168+
fn: '0'
169+
id: '1455'
170+
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
171+
Zeppelin/Renoir PCIe Dummy Function'
172+
- bus: '03'
173+
dev: '00'
174+
fn: '1'
175+
id: '1468'
176+
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic
177+
Coprocessor NTBCCP'
178+
- bus: '03'
179+
dev: '00'
180+
fn: '3'
181+
id: '1457'
182+
name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
183+
HD Audio Controller'
184+
- bus: '03'
185+
dev: '00'
186+
fn: '4'
187+
id: '1458'
188+
name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] XGMAC 10GbE Controller'

device/mellanox/x86_64-nvidia_sn5640-r0/sensors.conf

+25-21
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
##################################################################################
2-
# Copyright (c) 2019-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# Copyright (c) 2019-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
#
44
# Platform specific sensors config for SN5640
55
##################################################################################
66

7+
# ASIC temperature sensor
8+
chip "mlxsw-i2c-*-48"
9+
label temp1 "Ambient ASIC Temp"
10+
711
# Fan and port ambient temperature sensors
812
chip "tmp102-i2c-*-49"
913
label temp1 "Ambient Fan Side Temp (air exhaust)"
@@ -382,62 +386,62 @@ chip "xdpe1a2g7-i2c-*-6e"
382386
chip "dps460-i2c-*-59"
383387
label in1 "PSU-1(L) 220V Rail (in)"
384388
ignore in2
385-
label in3 "PSU-1(L) 54V Rail (out)"
389+
label in3 "PSU-1(L) 12V Rail (out)"
386390
ignore fan2
387391
ignore fan3
388392
label fan1 "PSU-1(L) Fan 1"
389393
label temp1 "PSU-1(L) Temp 1"
390394
label temp2 "PSU-1(L) Temp 2"
391395
label temp3 "PSU-1(L) Temp 3"
392396
label power1 "PSU-1(L) 220V Rail Pwr (in)"
393-
label power2 "PSU-1(L) 54V Rail Pwr (out)"
397+
label power2 "PSU-1(L) 12V Rail Pwr (out)"
394398
label curr1 "PSU-1(L) 220V Rail Curr (in)"
395-
label curr2 "PSU-1(L) 54V Rail Curr (out)"
399+
label curr2 "PSU-1(L) 12V Rail Curr (out)"
396400
set power2_cap 0
397401
chip "dps460-i2c-*-58"
398-
label in1 "PSU-2(R) 220V Rail (in)"
402+
label in1 "PSU-2(L) 220V Rail (in)"
399403
ignore in2
400-
label in3 "PSU-2(R) 54V Rail (out)"
404+
label in3 "PSU-2(L) 12V Rail (out)"
401405
ignore fan2
402406
ignore fan3
403-
label fan1 "PSU-2(R) Fan 1"
404-
label temp1 "PSU-2(R) Temp 1"
407+
label fan1 "PSU-2(L) Fan 1"
408+
label temp1 "PSU-2(L) Temp 1"
405409
label temp2 "PSU-2(R) Temp 2"
406-
label temp3 "PSU-2(R) Temp 3"
407-
label power1 "PSU-2(R) 220V Rail Pwr (in)"
408-
label power2 "PSU-2(R) 54V Rail Pwr (out)"
409-
label curr1 "PSU-2(R) 220V Rail Curr (in)"
410-
label curr2 "PSU-2(R) 54V Rail Curr (out)"
410+
label temp3 "PSU-2(L) Temp 3"
411+
label power1 "PSU-2(L) 220V Rail Pwr (in)"
412+
label power2 "PSU-2(L) 12V Rail Pwr (out)"
413+
label curr1 "PSU-2(L) 220V Rail Curr (in)"
414+
label curr2 "PSU-2(L) 12V Rail Curr (out)"
411415
set power2_cap 0
412416
chip "dps460-i2c-*-5b"
413417
label in1 "PSU-3(R) 220V Rail (in)"
414418
ignore in2
415-
label in3 "PSU-3(R) 54V Rail (out)"
419+
label in3 "PSU-3(R) 12V Rail (out)"
416420
ignore fan2
417421
ignore fan3
418422
label fan1 "PSU-3(R) Fan 1"
419423
label temp1 "PSU-3(R) Temp 1"
420424
label temp2 "PSU-3(R) Temp 2"
421425
label temp3 "PSU-3(R) Temp 3"
422426
label power1 "PSU-3(R) 220V Rail Pwr (in)"
423-
label power2 "PSU-3(R) 54V Rail Pwr (out)"
427+
label power2 "PSU-3(R) 12V Rail Pwr (out)"
424428
label curr1 "PSU-3(R) 220V Rail Curr (in)"
425-
label curr2 "PSU-3(R) 54V Rail Curr (out)"
429+
label curr2 "PSU-3(R) 12V Rail Curr (out)"
426430
set power2_cap 0
427431
chip "dps460-i2c-*-5a"
428432
label in1 "PSU-4(R) 220V Rail (in)"
429433
ignore in2
430-
label in3 "PSU-4(R) 54V Rail (out)"
434+
label in3 "PSU-4(R) 12V Rail (out)"
431435
ignore fan2
432436
ignore fan3
433437
label fan1 "PSU-4(R) Fan 1"
434438
label temp1 "PSU-4(R) Temp 1"
435439
label temp2 "PSU-4(R) Temp 2"
436440
label temp3 "PSU-4(R) Temp 3"
437441
label power1 "PSU-4(R) 220V Rail Pwr (in)"
438-
label power2 "PSU-4(R) 54V Rail Pwr (out)"
442+
label power2 "PSU-4(R) 12V Rail Pwr (out)"
439443
label curr1 "PSU-4(R) 220V Rail Curr (in)"
440-
label curr2 "PSU-4(R) 54V Rail Curr (out)"
444+
label curr2 "PSU-4(R) 12V Rail Curr (out)"
441445
set power2_cap 0
442446

443447
# AMD Comex Power controllers
@@ -486,5 +490,5 @@ chip "nvme-pci-*"
486490
ignore temp3
487491

488492
# Ethernet PHY temperature sensor
489-
chip "00000500400-mdio-5"
490-
label temp1 "PHY TEMP"
493+
chip "00000400400-mdio-4"
494+
label temp1 "Eth Phy Temp"

0 commit comments

Comments
 (0)