Skip to content

Commit

Permalink
[Mellanox] Add initial support for SN4800 platform (sonic-net#7447)
Browse files Browse the repository at this point in the history
- Why I did it
Add initial support of SN4800 platform .
NOTE: This is work in progress and not full support of the platform.

- How I did it
Add new folders for SN4800 with zero ports based on SN4700 Spectrum-3 switch.

- How to verify it
Simulator device was tested. See sonic-net#7448
  • Loading branch information
tomer-israel authored May 12, 2021
1 parent 129f803 commit 3ccc45f
Show file tree
Hide file tree
Showing 26 changed files with 478 additions and 0 deletions.
4 changes: 4 additions & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"interfaces": {
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# name lanes alias index
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4800.xml
16 changes: 16 additions & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<root>
<platform_info type="4800">

<!-- Device MAC address -->
<device-mac-address>00:02:03:04:05:00</device-mac-address>

<!-- Number of ports in the following port list -->
<number-of-physical-ports>0</number-of-physical-ports>

<!-- List of ports in the device -->
<ports-list>
</ports-list>
</platform_info>
</root>

1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ACS-MSN4800 t1
111 changes: 111 additions & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/pcie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
- bus: '00'
dev: '00'
fn: '0'
id: 3e10
name: 'Host bridge : Intel Corporation Device (rev 07)'
- bus: '00'
dev: '01'
fn: '0'
id: 1901
name: 'PCI bridge : Intel Corporation Skylake PCIe Controller (x16) (rev 07)
(prog-if 00 [Normal decode])'
- bus: '00'
dev: '08'
fn: '0'
id: 1911
name: 'System peripheral : Intel Corporation Skylake Gaussian Mixture Model'
- bus: '00'
dev: '12'
fn: '0'
id: a379
name: 'Signal processing controller : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '14'
fn: '0'
id: a36d
name: 'USB controller : Intel Corporation Device (rev 10) (prog-if 30 [XHCI])'
- bus: '00'
dev: '14'
fn: '2'
id: a36f
name: 'RAM memory : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '15'
fn: '0'
id: a368
name: 'Serial bus controller : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '16'
fn: '0'
id: a360
name: 'Communication controller : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '17'
fn: '0'
id: a353
name: 'SATA controller : Intel Corporation Device (rev 10) (prog-if 01 [AHCI 1.0])'
- bus: '00'
dev: '1b'
fn: '0'
id: a340
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1b'
fn: '2'
id: a342
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1b'
fn: '4'
id: a32c
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1c'
fn: '0'
id: a33d
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1c'
fn: '6'
id: a33e
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1c'
fn: '7'
id: a33f
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1d'
fn: '0'
id: a334
name: 'PCI bridge : Intel Corporation Device (rev f0) (prog-if 00 [Normal decode])'
- bus: '00'
dev: '1e'
fn: '0'
id: a328
name: 'Communication controller : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '1f'
fn: '0'
id: a30e
name: 'ISA bridge : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '1f'
fn: '4'
id: a323
name: 'SMBus : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '1f'
fn: '5'
id: a324
name: 'Serial bus controller : Intel Corporation Device (rev 10)'
- bus: '00'
dev: '1f'
fn: '6'
id: 15bb
name: 'Ethernet controller : Intel Corporation Device (rev 10)'
- bus: '01'
dev: '00'
fn: '0'
id: cf6c
name: 'Ethernet controller : Mellanox Technologies Device'
124 changes: 124 additions & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/platform.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"chassis": {
"name": "MSN4800",
"components": [
{
"name": "ONIE"
},
{
"name": "SSD"
},
{
"name": "BIOS"
},
{
"name": "CPLD1"
},
{
"name": "CPLD2"
},
{
"name": "CPLD3"
}
],
"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": "psu_1_fan_1"
}
],
"thermals": [
{
"name": "PSU-1 Temp"
}
]
},
{
"name": "PSU 2",
"fans": [
{
"name": "PSU-2 Temp"
}
],
"thermals": [
{
"name": "xSFP module 1 Temp"
}
]
}
],
"thermals": [
{
"name": "ASIC"
},
{
"name": "Ambient Fan Side Temp"
},
{
"name": "Ambient Port Side Temp"
},
{
"name": "CPU Core 0 Temp"
},
{
"name": "CPU Core 1 Temp"
},
{
"name": "CPU Pack Temp"
}
],
"sfps": [
]
},
"interfaces": {
}
}
14 changes: 14 additions & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/platform_components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"chassis": {
"MSN4800": {
"component": {
"ONIE": { },
"SSD": { },
"BIOS": { },
"CPLD1": { },
"CPLD2": { },
"CPLD3": { }
}
}
}
}
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/platform_reboot
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/platform_wait
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/plugins/eeprom.py
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/plugins/psuutil.py
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfpreset.py
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfputil.py
Loading

0 comments on commit 3ccc45f

Please sign in to comment.