[Mellanox] add new platform 2700 a1 (#16515)

- new pcie.yaml
- new sensors.conf
- new thermal support
- new platform.json file
- adjust test code
This commit is contained in:
Junchao-Mellanox 2023-09-23 15:15:17 +08:00 committed by GitHub
parent d35bf7ef57
commit 5138afe4e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 1299 additions and 1 deletions

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/ACS-MSN2700

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/Mellanox-SN2700

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-C28D8

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D40C8S8

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D44C10

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/Mellanox-SN2700-D48C8

View File

@ -0,0 +1 @@
Mellanox-SN2700-A1 t1

View File

@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="logs_inram=on"

View File

@ -0,0 +1,436 @@
#
# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
# Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
- bus: '00'
dev: '00'
fn: '0'
id: 6f00
name: 'Host bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D DMI2
(rev 03)'
- bus: '00'
dev: '01'
fn: '0'
id: 6f02
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 1 (rev 03)'
- bus: '00'
dev: '01'
fn: '1'
id: 6f03
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 1 (rev 03)'
- bus: '00'
dev: '02'
fn: '0'
id: 6f04
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 2 (rev 03)'
- bus: '00'
dev: '02'
fn: '2'
id: 6f06
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 2 (rev 03)'
- bus: '00'
dev: '03'
fn: '0'
id: 6f08
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 3 (rev 03)'
- bus: '00'
dev: '03'
fn: '1'
id: 6f09
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 3 (rev 03)'
- bus: '00'
dev: '03'
fn: '2'
id: 6f0a
name: 'PCI bridge: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI
Express Root Port 3 (rev 03)'
- bus: '00'
dev: '05'
fn: '0'
id: 6f28
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Map/VTd_Misc/System Management (rev 03)'
- bus: '00'
dev: '05'
fn: '1'
id: 6f29
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D IIO Hot Plug (rev 03)'
- bus: '00'
dev: '05'
fn: '2'
id: 6f2a
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D IIO RAS/Control Status/Global Errors (rev 03)'
- bus: '00'
dev: '05'
fn: '4'
id: 6f2c
name: 'PIC: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D I/O APIC (rev
03)'
- bus: '00'
dev: '14'
fn: '0'
id: 8c31
name: 'USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB
xHCI (rev 05)'
- bus: '00'
dev: 1c
fn: '0'
id: 8c10
name: 'PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express
Root Port #1 (rev d5)'
- bus: '00'
dev: 1c
fn: '7'
id: 8c1e
name: 'PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express
Root Port #8 (rev d5)'
- bus: '00'
dev: 1d
fn: '0'
id: 8c26
name: 'USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB
EHCI #1 (rev 05)'
- bus: '00'
dev: 1f
fn: '0'
id: 8c54
name: 'ISA bridge: Intel Corporation C224 Series Chipset Family Server Standard
SKU LPC Controller (rev 05)'
- bus: '00'
dev: 1f
fn: '2'
id: 8c02
name: 'SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port
SATA Controller 1 [AHCI mode] (rev 05)'
- bus: '00'
dev: 1f
fn: '3'
id: 8c22
name: 'SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller
(rev 05)'
- bus: '03'
dev: '00'
fn: '0'
id: 6f50
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
Register DMA Channel 0'
- bus: '03'
dev: '00'
fn: '1'
id: 6f51
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
Register DMA Channel 1'
- bus: '03'
dev: '00'
fn: '2'
id: 6f52
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
Register DMA Channel 2'
- bus: '03'
dev: '00'
fn: '3'
id: 6f53
name: 'System peripheral: Intel Corporation Xeon Processor D Family QuickData Technology
Register DMA Channel 3'
- bus: '07'
dev: '00'
fn: '0'
id: cb84
name: 'Ethernet controller: Mellanox Technologies MT52100'
- bus: 08
dev: '00'
fn: '0'
id: '1533'
name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev
03)'
- bus: 09
dev: '00'
fn: '0'
id: '1533'
name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev
03)'
- bus: ff
dev: 0b
fn: '0'
id: 6f81
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D R3 QPI Link 0/1 (rev 03)'
- bus: ff
dev: 0b
fn: '1'
id: 6f36
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D R3 QPI Link 0/1 (rev 03)'
- bus: ff
dev: 0b
fn: '2'
id: 6f37
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D R3 QPI Link 0/1 (rev 03)'
- bus: ff
dev: 0b
fn: '3'
id: 6f76
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D R3 QPI Link Debug (rev 03)'
- bus: ff
dev: 0c
fn: '0'
id: 6fe0
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Caching Agent (rev 03)'
- bus: ff
dev: 0c
fn: '1'
id: 6fe1
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Caching Agent (rev 03)'
- bus: ff
dev: 0f
fn: '0'
id: 6ff8
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Caching Agent (rev 03)'
- bus: ff
dev: 0f
fn: '4'
id: 6ffc
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Caching Agent (rev 03)'
- bus: ff
dev: 0f
fn: '5'
id: 6ffd
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Caching Agent (rev 03)'
- bus: ff
dev: 0f
fn: '6'
id: 6ffe
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Caching Agent (rev 03)'
- bus: ff
dev: '10'
fn: '0'
id: 6f1d
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D R2PCIe Agent (rev 03)'
- bus: ff
dev: '10'
fn: '1'
id: 6f34
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D R2PCIe Agent (rev 03)'
- bus: ff
dev: '10'
fn: '5'
id: 6f1e
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Ubox (rev 03)'
- bus: ff
dev: '10'
fn: '6'
id: 6f7d
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Ubox (rev 03)'
- bus: ff
dev: '10'
fn: '7'
id: 6f1f
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Ubox (rev 03)'
- bus: ff
dev: '12'
fn: '0'
id: 6fa0
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Home Agent 0 (rev 03)'
- bus: ff
dev: '12'
fn: '1'
id: 6f30
name: 'Performance counters: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Home Agent 0 (rev 03)'
- bus: ff
dev: '13'
fn: '0'
id: 6fa8
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Target Address/Thermal/RAS (rev 03)'
- bus: ff
dev: '13'
fn: '1'
id: 6f71
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Target Address/Thermal/RAS (rev 03)'
- bus: ff
dev: '13'
fn: '2'
id: 6faa
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
- bus: ff
dev: '13'
fn: '3'
id: 6fab
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
- bus: ff
dev: '13'
fn: '4'
id: 6fac
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
- bus: ff
dev: '13'
fn: '5'
id: 6fad
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel Target Address Decoder (rev 03)'
- bus: ff
dev: '13'
fn: '6'
id: 6fae
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D DDRIO Channel 0/1 Broadcast (rev 03)'
- bus: ff
dev: '13'
fn: '7'
id: 6faf
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D DDRIO Global Broadcast (rev 03)'
- bus: ff
dev: '14'
fn: '0'
id: 6fb0
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 0 Thermal Control (rev 03)'
- bus: ff
dev: '14'
fn: '1'
id: 6fb1
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 1 Thermal Control (rev 03)'
- bus: ff
dev: '14'
fn: '2'
id: 6fb2
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 0 Error (rev 03)'
- bus: ff
dev: '14'
fn: '3'
id: 6fb3
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 1 Error (rev 03)'
- bus: ff
dev: '14'
fn: '4'
id: 6fbc
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D DDRIO Channel 0/1 Interface (rev 03)'
- bus: ff
dev: '14'
fn: '5'
id: 6fbd
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D DDRIO Channel 0/1 Interface (rev 03)'
- bus: ff
dev: '14'
fn: '6'
id: 6fbe
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D DDRIO Channel 0/1 Interface (rev 03)'
- bus: ff
dev: '14'
fn: '7'
id: 6fbf
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D DDRIO Channel 0/1 Interface (rev 03)'
- bus: ff
dev: '15'
fn: '0'
id: 6fb4
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 2 Thermal Control (rev 03)'
- bus: ff
dev: '15'
fn: '1'
id: 6fb5
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 3 Thermal Control (rev 03)'
- bus: ff
dev: '15'
fn: '2'
id: 6fb6
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 2 Error (rev 03)'
- bus: ff
dev: '15'
fn: '3'
id: 6fb7
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Memory Controller 0 - Channel 3 Error (rev 03)'
- bus: ff
dev: 1e
fn: '0'
id: 6f98
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'
- bus: ff
dev: 1e
fn: '1'
id: 6f99
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'
- bus: ff
dev: 1e
fn: '2'
id: 6f9a
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'
- bus: ff
dev: 1e
fn: '3'
id: 6fc0
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'
- bus: ff
dev: 1e
fn: '4'
id: 6f9c
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'
- bus: ff
dev: 1f
fn: '0'
id: 6f88
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'
- bus: ff
dev: 1f
fn: '2'
id: 6f8a
name: 'System peripheral: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon
D Power Control Unit (rev 03)'

View File

@ -0,0 +1,642 @@
{
"chassis": {
"name": "MSN2700",
"components": [
{
"name": "ONIE"
},
{
"name": "SSD"
},
{
"name": "BIOS"
},
{
"name": "CPLD1"
},
{
"name": "CPLD2"
},
{
"name": "CPLD3"
},
{
"name": "CPLD4"
}
],
"fans": [],
"fan_drawers": [
{
"name": "drawer1",
"fans": [
{
"name": "fan1"
},
{
"name": "fan2"
}
]
},
{
"name": "drawer2",
"fans": [
{
"name": "fan3"
},
{
"name": "fan4"
}
]
},
{
"name": "drawer3",
"fans": [
{
"name": "fan5"
},
{
"name": "fan6"
}
]
},
{
"name": "drawer4",
"fans": [
{
"name": "fan7"
},
{
"name": "fan8"
}
]
}
],
"psus": [
{
"name": "PSU 1",
"fans": [
{
"name": "psu1_fan1"
}
],
"thermals": [
{
"name": "PSU-1 Temp"
}
]
},
{
"name": "PSU 2",
"fans": [
{
"name": "psu2_fan1"
}
],
"thermals": [
{
"name": "PSU-2 Temp"
}
]
}
],
"thermals": [
{
"name": "ASIC"
},
{
"name": "Ambient Fan Side Temp"
},
{
"name": "Ambient Port Side Temp"
},
{
"name": "Ambient COMEX Temp"
},
{
"name": "CPU Core 0 Temp"
},
{
"name": "CPU Core 1 Temp"
},
{
"name": "CPU Pack Temp"
}
],
"sfps": [
{
"name": "sfp1",
"thermals": [
{
"name": "xSFP module 1 Temp"
}
]
},
{
"name": "sfp2",
"thermals": [
{
"name": "xSFP module 2 Temp"
}
]
},
{
"name": "sfp3",
"thermals": [
{
"name": "xSFP module 3 Temp"
}
]
},
{
"name": "sfp4",
"thermals": [
{
"name": "xSFP module 4 Temp"
}
]
},
{
"name": "sfp5",
"thermals": [
{
"name": "xSFP module 5 Temp"
}
]
},
{
"name": "sfp6",
"thermals": [
{
"name": "xSFP module 6 Temp"
}
]
},
{
"name": "sfp7",
"thermals": [
{
"name": "xSFP module 7 Temp"
}
]
},
{
"name": "sfp8",
"thermals": [
{
"name": "xSFP module 8 Temp"
}
]
},
{
"name": "sfp9",
"thermals": [
{
"name": "xSFP module 9 Temp"
}
]
},
{
"name": "sfp10",
"thermals": [
{
"name": "xSFP module 10 Temp"
}
]
},
{
"name": "sfp11",
"thermals": [
{
"name": "xSFP module 11 Temp"
}
]
},
{
"name": "sfp12",
"thermals": [
{
"name": "xSFP module 12 Temp"
}
]
},
{
"name": "sfp13",
"thermals": [
{
"name": "xSFP module 13 Temp"
}
]
},
{
"name": "sfp14",
"thermals": [
{
"name": "xSFP module 14 Temp"
}
]
},
{
"name": "sfp15",
"thermals": [
{
"name": "xSFP module 15 Temp"
}
]
},
{
"name": "sfp16",
"thermals": [
{
"name": "xSFP module 16 Temp"
}
]
},
{
"name": "sfp17",
"thermals": [
{
"name": "xSFP module 17 Temp"
}
]
},
{
"name": "sfp18",
"thermals": [
{
"name": "xSFP module 18 Temp"
}
]
},
{
"name": "sfp19",
"thermals": [
{
"name": "xSFP module 19 Temp"
}
]
},
{
"name": "sfp20",
"thermals": [
{
"name": "xSFP module 20 Temp"
}
]
},
{
"name": "sfp21",
"thermals": [
{
"name": "xSFP module 21 Temp"
}
]
},
{
"name": "sfp22",
"thermals": [
{
"name": "xSFP module 22 Temp"
}
]
},
{
"name": "sfp23",
"thermals": [
{
"name": "xSFP module 23 Temp"
}
]
},
{
"name": "sfp24",
"thermals": [
{
"name": "xSFP module 24 Temp"
}
]
},
{
"name": "sfp25",
"thermals": [
{
"name": "xSFP module 25 Temp"
}
]
},
{
"name": "sfp26",
"thermals": [
{
"name": "xSFP module 26 Temp"
}
]
},
{
"name": "sfp27",
"thermals": [
{
"name": "xSFP module 27 Temp"
}
]
},
{
"name": "sfp28",
"thermals": [
{
"name": "xSFP module 28 Temp"
}
]
},
{
"name": "sfp29",
"thermals": [
{
"name": "xSFP module 29 Temp"
}
]
},
{
"name": "sfp30",
"thermals": [
{
"name": "xSFP module 30 Temp"
}
]
},
{
"name": "sfp31",
"thermals": [
{
"name": "xSFP module 31 Temp"
}
]
},
{
"name": "sfp32",
"thermals": [
{
"name": "xSFP module 32 Temp"
}
]
}
]
},
"interfaces": {
"Ethernet0": {
"index": "1,1,1,1",
"lanes": "0,1,2,3",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp1"],
"2x50G[25G,10G]": ["etp1a", "etp1b"]
}
},
"Ethernet4": {
"index": "2,2,2,2",
"lanes": "4,5,6,7",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp2"],
"2x50G[25G,10G]": ["etp2a", "etp2b"]
}
},
"Ethernet8": {
"index": "3,3,3,3",
"lanes": "8,9,10,11",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp3"],
"2x50G[25G,10G]": ["etp3a", "etp3b"]
}
},
"Ethernet12": {
"index": "4,4,4,4",
"lanes": "12,13,14,15",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp4"],
"2x50G[25G,10G]": ["etp4a", "etp4b"]
}
},
"Ethernet16": {
"index": "5,5,5,5",
"lanes": "16,17,18,19",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp5"],
"2x50G[25G,10G]": ["etp5a", "etp5b"]
}
},
"Ethernet20": {
"index": "6,6,6,6",
"lanes": "20,21,22,23",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp6"],
"2x50G[25G,10G]": ["etp6a", "etp6b"]
}
},
"Ethernet24": {
"index": "7,7,7,7",
"lanes": "24,25,26,27",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp7"],
"2x50G[25G,10G]": ["etp7a", "etp7b"]
}
},
"Ethernet28": {
"index": "8,8,8,8",
"lanes": "28,29,30,31",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp8"],
"2x50G[25G,10G]": ["etp8a", "etp8b"]
}
},
"Ethernet32": {
"index": "9,9,9,9",
"lanes": "32,33,34,35",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp9"],
"2x50G[25G,10G]": ["etp9a", "etp9b"]
}
},
"Ethernet36": {
"index": "10,10,10,10",
"lanes": "36,37,38,39",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp10"],
"2x50G[25G,10G]": ["etp10a", "etp10b"]
}
},
"Ethernet40": {
"index": "11,11,11,11",
"lanes": "40,41,42,43",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp11"],
"2x50G[25G,10G]": ["etp11a", "etp11b"]
}
},
"Ethernet44": {
"index": "12,12,12,12",
"lanes": "44,45,46,47",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp12"],
"2x50G[25G,10G]": ["etp12a", "etp12b"]
}
},
"Ethernet48": {
"index": "13,13,13,13",
"lanes": "48,49,50,51",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp13"],
"2x50G[25G,10G]": ["etp13a", "etp13b"]
}
},
"Ethernet52": {
"index": "14,14,14,14",
"lanes": "52,53,54,55",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp14"],
"2x50G[25G,10G]": ["etp14a", "etp14b"]
}
},
"Ethernet56": {
"index": "15,15,15,15",
"lanes": "56,57,58,59",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp15"],
"2x50G[25G,10G]": ["etp15a", "etp15b"]
}
},
"Ethernet60": {
"index": "16,16,16,16",
"lanes": "60,61,62,63",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp16"],
"2x50G[25G,10G]": ["etp16a", "etp16b"]
}
},
"Ethernet64": {
"index": "17,17,17,17",
"lanes": "64,65,66,67",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp17"],
"2x50G[25G,10G]": ["etp17a", "etp17b"]
}
},
"Ethernet68": {
"index": "18,18,18,18",
"lanes": "68,69,70,71",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp18"],
"2x50G[25G,10G]": ["etp18a", "etp18b"]
}
},
"Ethernet72": {
"index": "19,19,19,19",
"lanes": "72,73,74,75",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp19"],
"2x50G[25G,10G]": ["etp19a", "etp19b"]
}
},
"Ethernet76": {
"index": "20,20,20,20",
"lanes": "76,77,78,79",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp20"],
"2x50G[25G,10G]": ["etp20a", "etp20b"]
}
},
"Ethernet80": {
"index": "21,21,21,21",
"lanes": "80,81,82,83",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp21"],
"2x50G[25G,10G]": ["etp21a", "etp21b"]
}
},
"Ethernet84": {
"index": "22,22,22,22",
"lanes": "84,85,86,87",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp22"],
"2x50G[25G,10G]": ["etp22a", "etp22b"]
}
},
"Ethernet88": {
"index": "23,23,23,23",
"lanes": "88,89,90,91",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp23"],
"2x50G[25G,10G]": ["etp23a", "etp23b"]
}
},
"Ethernet92": {
"index": "24,24,24,24",
"lanes": "92,93,94,95",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp24"],
"2x50G[25G,10G]": ["etp24a", "etp24b"]
}
},
"Ethernet96": {
"index": "25,25,25,25",
"lanes": "96,97,98,99",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp25"],
"2x50G[25G,10G]": ["etp25a", "etp25b"]
}
},
"Ethernet100": {
"index": "26,26,26,26",
"lanes": "100,101,102,103",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp26"],
"2x50G[25G,10G]": ["etp26a", "etp26b"]
}
},
"Ethernet104": {
"index": "27,27,27,27",
"lanes": "104,105,106,107",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp27"],
"2x50G[25G,10G]": ["etp27a", "etp27b"]
}
},
"Ethernet108": {
"index": "28,28,28,28",
"lanes": "108,109,110,111",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp28"],
"2x50G[25G,10G]": ["etp28a", "etp28b"]
}
},
"Ethernet112": {
"index": "29,29,29,29",
"lanes": "112,113,114,115",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp29"],
"2x50G[25G,10G]": ["etp29a", "etp29b"]
}
},
"Ethernet116": {
"index": "30,30,30,30",
"lanes": "116,117,118,119",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp30"],
"2x50G[25G,10G]": ["etp30a", "etp30b"]
}
},
"Ethernet120": {
"index": "31,31,31,31",
"lanes": "120,121,122,123",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp31"],
"2x50G[25G,10G]": ["etp31a", "etp31b"]
}
},
"Ethernet124": {
"index": "32,32,32,32",
"lanes": "124,125,126,127",
"breakout_modes": {
"1x100G[50G,40G,25G,10G]": ["etp32"],
"2x50G[25G,10G]": ["etp32a", "etp32b"]
}
}
}
}

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/platform_asic

View File

@ -0,0 +1,15 @@
{
"chassis": {
"MSN2700": {
"component": {
"ONIE": { },
"SSD": { },
"BIOS": { },
"CPLD1": { },
"CPLD2": { },
"CPLD3": { },
"CPLD4": { }
}
}
}
}

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/platform_reboot

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/platform_wait

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/plugins

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/pmon_daemon_control.json

View File

@ -0,0 +1,178 @@
#
# Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES.
# Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Bus names
bus "i2c-17" "i2c-1-mux (chan_id 8)"
# Temperature sensors
chip "mlxsw-i2c-*-48"
label temp1 "Ambient ASIC Temp"
chip "tmp102-i2c-*-49"
label temp1 "Ambient COMEX Temp"
chip "lm75-i2c-*-4a"
label temp1 "Ambient Port Temp"
chip "tmp75-i2c-*-4a"
label temp1 "Ambient Port Temp"
chip "lm75-i2c-17-49"
label temp1 "Ambient Board Temp"
chip "tmp75-i2c-17-49"
label temp1 "Ambient Board Temp"
# Power controllers
chip "pmbus-i2c-*-27"
label in1 "PMB-2 PSU 12V Rail (in)"
label in2 "PMB-2 3.3V Rail (out)"
label in3 "PMB-2 1.2V Rail (out)"
label temp1 "PMB-2 Temp 1"
label temp2 "PMB-2 Temp 2"
ignore power1
label power2 "PMB-2 3.3V Rail Pwr (out)"
label power3 "PMB-2 1.2V Rail Pwr (out)"
ignore curr1
label curr2 "PMB-2 3.3V Rail Curr (out)"
label curr3 "PMB-2 1.2V Rail Curr (out)"
chip "pmbus-i2c-*-41"
label in1 "PMB-1 PSU 12V Rail (in)"
label in2 "PMB-1 0.9V VCORE Rail (out)"
label temp1 "PMB-1 Temp 1"
label temp2 "PMB-1 Temp 2"
ignore power1
label power2 "PMB-1 0.9V VCORE Rail Pwr (out)"
ignore curr1
label curr2 "PMB-1 0.9V VCORE Rail Curr (out)"
chip "tps53679-i2c-*-58"
label in1 "PMIC-3 PSU 12V Rail (in1)"
label in2 "PMIC-3 PSU 12V Rail (in2)"
label in3 "PMIC-3 COMEX 1.8V Rail (out)"
label in4 "PMIC-3 COMEX 1.05V Rail (out)"
label temp1 "PMIC-3 Temp 1"
label temp2 "PMIC-3 Temp 2"
label power1 "PMIC-3 COMEX 1.8V Rail Pwr (out)"
label power2 "PMIC-3 COMEX 1.05V Rail Pwr (out)"
ignore power3
label curr1 "PMIC-3 COMEX 1.8V Rail Curr (out)"
label curr2 "PMIC-3 COMEX 1.05V Rail Curr (out)"
ignore curr3
chip "tps53679-i2c-*-61"
label in1 "PMIC-4 PSU 12V Rail (in1)"
label in2 "PMIC-4 PSU 12V Rail (in2)"
label in3 "PMIC-4 COMEX 1.2V Rail (out)"
ignore in4
label temp1 "PMIC-4 Temp 1"
label temp2 "PMIC-4 Temp 2"
label power1 "PMIC-4 COMEX 1.2V Rail Pwr (out)"
ignore power2
ignore power3
label curr1 "PMIC-4 COMEX 1.2V Rail Curr (out)"
ignore curr2
ignore curr3
chip "mp2975-i2c-*-6a"
label in1 "PMIC-3 PSU 12V Rail (in1)"
label in2 "PMIC-3 COMEX 1.8V Rail (out)"
label in3 "PMIC-3 COMEX 1.05V Rail (out)"
label temp1 "PMIC-3 Temp 1"
label power1 "PMIC-3 COMEX 12V Rail Pwr (in)"
label power2 "PMIC-3 COMEX 1.8V Rail Pwr (out)"
label power3 "PMIC-3 COMEX 1.05V Rail Pwr (out)"
label curr1 "PMIC-3 COMEX 12V Rail Curr (in)"
label curr2 "PMIC-3 COMEX 1.8V Rail Curr (out)"
ignore curr3
ignore curr4
label curr5 "PMIC-3 COMEX 1.05V Rail Curr (out)"
ignore curr6
chip "mp2975-i2c-*-61"
label in1 "PMIC-4 PSU 12V Rail (in1)"
label in2 "PMIC-4 COMEX 1.2V Rail (out)"
label temp1 "PMIC-4 Temp 1"
label temp2 "PMIC-4 Temp 2"
label power1 "PMIC-4 COMEX 12V Rail Pwr (in)"
label power2 "PMIC-4 COMEX 1.2V Rail Pwr (out)"
label curr1 "PMIC-4 COMEX 12V Rail Curr (in)"
label curr2 "PMIC-4 COMEX 1.2V Rail Curr (out)"
ignore curr3
chip "xdpe15284-i2c-*-6a"
label in1 "PMIC-3 PSU 12V Rail (in1)"
label in2 "PMIC-3 COMEX 1.8V Rail (out)"
label in3 "PMIC-3 COMEX 1.05V Rail (out)"
label temp1 "PMIC-3 Temp 1"
label power1 "PMIC-3 COMEX 12V Rail Pwr (in)"
label power2 "PMIC-3 COMEX 1.8V Rail Pwr (out)"
label power3 "PMIC-3 COMEX 1.05V Rail Pwr (out)"
label curr1 "PMIC-3 COMEX 12V Rail Curr (in)"
label curr2 "PMIC-3 COMEX 1.8V Rail Curr (out)"
ignore curr3
ignore curr4
label curr5 "PMIC-3 COMEX 1.05V Rail Curr (out)"
ignore curr6
chip "xdpe15284-i2c-*-61"
label in1 "PMIC-4 PSU 12V Rail (in1)"
label in2 "PMIC-4 COMEX 1.2V Rail (out)"
label temp1 "PMIC-4 Temp 1"
label temp2 "PMIC-4 Temp 2"
label power1 "PMIC-4 COMEX 12V Rail Pwr (in)"
label power2 "PMIC-4 COMEX 1.2V Rail Pwr (out)"
label curr1 "PMIC-4 COMEX 12V Rail Curr (in)"
label curr2 "PMIC-4 COMEX 1.2V Rail Curr (out)"
ignore curr3
# Power supplies
chip "dps460-i2c-*-58"
label in1 "PSU-2(R) 220V Rail (in)"
label in2 "PSU-2(R) 12V Rail (out)"
label fan1 "PSU-2(R) Fan 1"
label temp1 "PSU-2(R) Temp 1"
label temp2 "PSU-2(R) Temp 2"
label power1 "PSU-2(R) 220V Rail Pwr (in)"
label power2 "PSU-2(R) 12V Rail Pwr (out)"
label curr1 "PSU-2(R) 220V Rail Curr (in)"
label curr2 "PSU-2(R) 12V Rail Curr (out)"
chip "dps460-i2c-*-59"
label in1 "PSU-1(L) 220V Rail (in)"
label in2 "PSU-1(L) 12V Rail (out)"
label fan1 "PSU-1(L) Fan 1"
label temp1 "PSU-1(L) Temp 1"
label temp2 "PSU-1(L) Temp 2"
label power1 "PSU-1(L) 220V Rail Pwr (in)"
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)"
# Chassis fans
chip "mlxreg_fan-isa-*"
label fan1 "Chassis Drawer-1 Fan-1"
label fan2 "Chassis Drawer-1 Fan-2"
label fan3 "Chassis Drawer-2 Fan-1"
label fan4 "Chassis Drawer-2 Fan-2"
label fan5 "Chassis Drawer-3 Fan-1"
label fan6 "Chassis Drawer-3 Fan-2"
label fan7 "Chassis Drawer-4 Fan-1"
label fan8 "Chassis Drawer-4 Fan-2"
# SSD
chip "drivetemp-*"
label temp1 "SSD Temp"

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/system_health_monitoring_config.json

View File

@ -0,0 +1 @@
../x86_64-mlnx_msn2700-r0/thermal_policy.json

View File

@ -1,5 +1,5 @@
{#
Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES.
Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES.
Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
@ -28,6 +28,7 @@
'x86_64-mlnx_msn2100-r0':'MELLANOX-SPECTRUM',
'x86_64-mlnx_msn2410-r0':'MELLANOX-SPECTRUM',
'x86_64-mlnx_msn2700-r0':'MELLANOX-SPECTRUM',
'x86_64-mlnx_msn2700a1-r0':'MELLANOX-SPECTRUM',
'x86_64-mlnx_msn2700_simx-r0':'MELLANOX-SPECTRUM',
'x86_64-mlnx_msn2740-r0':'MELLANOX-SPECTRUM',
'x86_64-mlnx_msn3420-r0':'MELLANOX-SPECTRUM-2',

View File

@ -28,6 +28,17 @@ DEVICE_DATA = {
}
}
},
'x86_64-mlnx_msn2700a1-r0': {
'thermal': {
'minimum_table': {
"unk_trust": {"-127:30":13, "31:40":14 , "41:120":15},
"unk_untrust": {"-127:25":13, "26:30":14 , "31:35":15, "36:120":16}
},
"capability": {
"comex_amb": True
}
}
},
'x86_64-mlnx_msn2740-r0': {
'thermal': {
"capability": {