From 3ccc45f5b8be0b5d8bfdf177a43541ed9a69c569 Mon Sep 17 00:00:00 2001 From: tomer-israel <76040066+tomer-israel@users.noreply.github.com> Date: Wed, 12 May 2021 22:21:04 +0300 Subject: [PATCH] [Mellanox] Add initial support for SN4800 platform (#7447) - 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 #7448 --- .../ACS-MSN4800/buffers.json.j2 | 1 + .../ACS-MSN4800/buffers_defaults_t0.j2 | 1 + .../ACS-MSN4800/buffers_defaults_t1.j2 | 1 + .../ACS-MSN4800/buffers_dynamic.json.j2 | 1 + .../ACS-MSN4800/hwsku.json | 4 + .../ACS-MSN4800/pg_profile_lookup.ini | 1 + .../ACS-MSN4800/port_config.ini | 1 + .../ACS-MSN4800/qos.json.j2 | 1 + .../ACS-MSN4800/sai.profile | 1 + .../ACS-MSN4800/sai_4800.xml | 16 ++ .../x86_64-mlnx_msn4800-r0/default_sku | 1 + .../mellanox/x86_64-mlnx_msn4800-r0/pcie.yaml | 111 ++++++++++ .../x86_64-mlnx_msn4800-r0/platform.json | 124 ++++++++++++ .../platform_components.json | 14 ++ .../x86_64-mlnx_msn4800-r0/platform_reboot | 1 + .../x86_64-mlnx_msn4800-r0/platform_wait | 1 + .../x86_64-mlnx_msn4800-r0/plugins/eeprom.py | 1 + .../x86_64-mlnx_msn4800-r0/plugins/psuutil.py | 1 + .../plugins/sfplpmget.py | 1 + .../plugins/sfplpmset.py | 1 + .../plugins/sfpreset.py | 1 + .../x86_64-mlnx_msn4800-r0/plugins/sfputil.py | 1 + .../pmon_daemon_control.json | 1 + .../x86_64-mlnx_msn4800-r0/sensors.conf | 189 ++++++++++++++++++ .../system_health_monitoring_config.json | 1 + .../thermal_policy.json | 1 + 26 files changed, 478 insertions(+) create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers.json.j2 create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t0.j2 create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t1.j2 create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_dynamic.json.j2 create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.json create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/pg_profile_lookup.ini create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/port_config.ini create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/qos.json.j2 create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai.profile create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/default_sku create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/pcie.yaml create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/platform.json create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/platform_components.json create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/platform_reboot create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/platform_wait create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/plugins/eeprom.py create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/plugins/psuutil.py create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmget.py create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmset.py create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfpreset.py create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfputil.py create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/pmon_daemon_control.json create mode 100644 device/mellanox/x86_64-mlnx_msn4800-r0/sensors.conf create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/system_health_monitoring_config.json create mode 120000 device/mellanox/x86_64-mlnx_msn4800-r0/thermal_policy.json diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers.json.j2 b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers.json.j2 new file mode 120000 index 0000000000..f46e960015 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t0.j2 b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t0.j2 new file mode 120000 index 0000000000..ddb883a1da --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t0.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t0.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t1.j2 b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t1.j2 new file mode 120000 index 0000000000..f8bbb6e631 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_defaults_t1.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/buffers_defaults_t1.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_dynamic.json.j2 b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_dynamic.json.j2 new file mode 120000 index 0000000000..8c4117c662 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/buffers_dynamic.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_dynamic.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.json b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.json new file mode 100644 index 0000000000..15b56762dc --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/hwsku.json @@ -0,0 +1,4 @@ +{ + "interfaces": { + } +} diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/pg_profile_lookup.ini b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/pg_profile_lookup.ini new file mode 120000 index 0000000000..88e51ceae0 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/pg_profile_lookup.ini @@ -0,0 +1 @@ +../../x86_64-mlnx_msn4700-r0/ACS-MSN4700/pg_profile_lookup.ini \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/port_config.ini b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/port_config.ini new file mode 100644 index 0000000000..51c0ed3798 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/port_config.ini @@ -0,0 +1 @@ +# name lanes alias index diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/qos.json.j2 b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/qos.json.j2 new file mode 120000 index 0000000000..eccf286dc8 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/qos.json.j2 @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/ACS-MSN2700/qos.json.j2 \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai.profile b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai.profile new file mode 100644 index 0000000000..3a8824058c --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4800.xml diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml new file mode 100644 index 0000000000..1625d5b609 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/ACS-MSN4800/sai_4800.xml @@ -0,0 +1,16 @@ + + + + + + 00:02:03:04:05:00 + + + 0 + + + + + + + diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/default_sku b/device/mellanox/x86_64-mlnx_msn4800-r0/default_sku new file mode 100644 index 0000000000..f50c8b52ba --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/default_sku @@ -0,0 +1 @@ +ACS-MSN4800 t1 diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/pcie.yaml b/device/mellanox/x86_64-mlnx_msn4800-r0/pcie.yaml new file mode 100644 index 0000000000..a86731abe9 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/pcie.yaml @@ -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' diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/platform.json b/device/mellanox/x86_64-mlnx_msn4800-r0/platform.json new file mode 100644 index 0000000000..78f94767a2 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/platform.json @@ -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": { + } +} diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/platform_components.json b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_components.json new file mode 100644 index 0000000000..cdd08c6561 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_components.json @@ -0,0 +1,14 @@ +{ + "chassis": { + "MSN4800": { + "component": { + "ONIE": { }, + "SSD": { }, + "BIOS": { }, + "CPLD1": { }, + "CPLD2": { }, + "CPLD3": { } + } + } + } +} diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/platform_reboot b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_reboot new file mode 120000 index 0000000000..43c8ea5674 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_reboot @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/platform_reboot \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/platform_wait b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_wait new file mode 120000 index 0000000000..4b30bd4298 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/platform_wait @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/platform_wait \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/eeprom.py b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/eeprom.py new file mode 120000 index 0000000000..b4e2a6a616 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/eeprom.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/eeprom.py \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/psuutil.py b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/psuutil.py new file mode 120000 index 0000000000..9f724238a8 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/psuutil.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/psuutil.py \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmget.py b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmget.py new file mode 120000 index 0000000000..2e84f435ab --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmget.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfplpmget.py \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmset.py b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmset.py new file mode 120000 index 0000000000..6a88bac304 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfplpmset.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfplpmset.py \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfpreset.py b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfpreset.py new file mode 120000 index 0000000000..fef2063e34 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfpreset.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfpreset.py \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfputil.py b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfputil.py new file mode 120000 index 0000000000..45909b880f --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/plugins/sfputil.py @@ -0,0 +1 @@ +../../x86_64-mlnx_msn2700-r0/plugins/sfputil.py \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/pmon_daemon_control.json b/device/mellanox/x86_64-mlnx_msn4800-r0/pmon_daemon_control.json new file mode 120000 index 0000000000..435a2ce7c0 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/pmon_daemon_control.json @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/pmon_daemon_control.json \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/sensors.conf b/device/mellanox/x86_64-mlnx_msn4800-r0/sensors.conf new file mode 100644 index 0000000000..f5d5d4763d --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/sensors.conf @@ -0,0 +1,189 @@ +################################################################################ +# Copyright (c) 2021 Mellanox Technologies +# +# Platform specific sensors config for SN4800 +################################################################################ + +# Temperature sensors +bus "i2c-2" "i2c-1-mux (chan_id 1)" + chip "mlxsw-i2c-*-48" + label temp1 "Ambient ASIC Temp" + +bus "i2c-7" "i2c-1-mux (chan_id 6)" + chip "tmp102-i2c-*-49" + label temp1 "Ambient Fan Side Temp (air intake)" + chip "tmp102-i2c-*-4a" + label temp1 "Ambient Port Side Temp (air exhaust)" + +bus "i2c-15" "i2c-1-mux (chan_id 6)" + chip "tmp102-i2c-15-49" + label temp1 "Ambient COMEX Temp" + +# Power controllers +bus "i2c-5" "i2c-1-mux (chan_id 4)" + chip "mp2975-i2c-*-62" + label in1 "PMIC-1 PSU 12V Rail (in1)" + label in2 "PMIC-1 OSFP PORTS_P01_P08 Rail (out1)" + compute in2 (2)*@, @/(2) + label in3 "PMIC-1 OSFP PORTS_P09_P16 Rail (out2)" + compute in3 (2)*@, @/(2) + label temp1 "PMIC-1 OSFP PORTS_P01_P08 Temp 1" + label temp2 "PMIC-1 OSFP PORTS_P09_P16 Temp 2" + label power1 "PMIC-1 12V OSFP PORT_P01_P16 (in)" + label power2 "PMIC-1 OSFP P01_P08 Rail Pwr (out1)" + label power3 "PMIC-1 OSFP P09_P16 Rail Pwr (out2)" + label curr1 "PMIC-1 12V OSFP P01_P08 Rail Curr (in1)" + label curr2 "PMIC-1 OSFP P01_P8 Rail Curr (out1)" + label curr3 "PMIC-1 OSFP P09_P16 Rail Curr (out2)" + + chip "mp2975-i2c-*-64" + label in1 "PMIC-2 PSU 12V Rail (in1)" + label in2 "PMIC-2 OSFP PORTS_P17_P24 Rail (out1)" + compute in2 (2)*@, @/(2) + label in3 "PMIC-2 OSFP PORTS_P25_P32 Rail (out2)" + compute in3 (2)*@, @/(2) + label temp1 "PMIC-2 OSFP PORTS_P17_P24 Temp 1" + label temp2 "PMIC-2 OSFP PORTS_P25_P32 Temp 2" + label power1 "PMIC-2 12V OSFP PORT_P17_P32 (in)" + label power2 "PMIC-2 OSFP P17_P24 Rail Pwr (out1)" + label power3 "PMIC-2 OSFP P25_P32 Rail Pwr (out2)" + label curr1 "PMIC-2 12V OSFP P17_P24 Rail Curr (in1)" + label curr2 "PMIC-2 OSFP P17_P24 Rail Curr (out1)" + label curr3 "PMIC-2 OSFP P25_P32 Rail Curr (out2)" + + chip "mp2888-i2c-*-66" + label in1 "PMIC-3 PSU 12V Rail (in1)" + label in2 "PMIC-3 ASIC VCORE_MAIN Rail (out1)" + ignore in3 + ignore in4 + label temp1 "PMIC-3 ASIC VCORE_MAIN Temp 1" + ignore temp2 + label power1 "PMIC-3 12V ASIC VCORE_MAIN Rail Pwr (in)" + label power2 "PMIC-3 ASIC VCORE_MAIN Rail Pwr (out1)" + ignore power3 + ignore power4 + label curr1 "PMIC-3 12V ASIC VCORE_MAIN Rail Curr (in1)" + label curr2 "PMIC-3 ASIC VCORE_MAIN Rail Curr (out1)" + ignore curr3 + ignore curr4 + + chip "mp2975-i2c-*-68" + label in1 "PMIC-4 PSU 12V Rail (in)" + label in2 "PMIC-4 HVDD 1.2V EAST Rail (out1)" + label in3 "PMIC-4 DVDD 0.9V EAST Rail (out2)" + label temp1 "PMIC-4 HVDD 1.2V EAST Rail Temp" + label power1 "PMIC-4 12V HVDD_1.2V DVDD_0.9V EAST (in)" + label power2 "PMIC-4 HVDD 1.2V EAST Rail Pwr (out1)" + label power3 "PMIC-4 DVDD 0.9V EAST Rail Pwr (out2)" + label curr1 "PMIC-4 12V HVDD 1.2V EAST Rail Curr (in)" + label curr2 "PMIC-4 HVDD 1.2V EAST Rail Curr (out1)" + label curr3 "PMIC-4 DVDD 0.9V EAST Rail Curr (out2)" + + chip "mp2975-i2c-*-6c" + label in1 "PMIC-5 PSU 12V Rail (in)" + label in2 "PMIC-5 HVDD 1.2V WEST Rail (out1)" + label in3 "PMIC-5 DVDD 0.9V WEST Rail (out2)" + label temp1 "PMIC-5 HVDD 1.2V WEST Rail Temp" + label power1 "PMIC-5 12V HVDD_1.2V DVDD_0.9V WEST (in)" + label power2 "PMIC-5 HVDD 1.2V WEST Rail Pwr (out1)" + label power3 "PMIC-5 DVDD 0.9V WEST Rail Pwr (out2)" + label curr1 "PMIC-5 12V HVDD 1.2V WEST Rail Curr (in)" + label curr2 "PMIC-5 HVDD 1.2V WEST Rail Curr (out1)" + label curr3 "PMIC-5 DVDD 0.9V WEST Rail Curr (out2)" + +bus "i2c-15" "i2c-1-mux (chan_id 6)" + chip "tps53679-i2c-*-58" + label in1 "PMIC-8 PSU 12V Rail (in1)" + label in2 "PMIC-8 PSU 12V Rail (in2)" + label in3 "PMIC-8 COMEX 1.8V Rail (out)" + label in4 "PMIC-8 COMEX 1.05V Rail (out)" + label temp1 "PMIC-8 Temp 1" + label temp2 "PMIC-8 Temp 2" + label power1 "PMIC-8 COMEX 1.8V Rail Pwr (out)" + label power2 "PMIC-8 COMEX 1.05V Rail Pwr (out)" + label curr1 "PMIC-8 COMEX 1.8V Rail Curr (out)" + label curr2 "PMIC-8 COMEX 1.05V Rail Curr (out)" + chip "tps53679-i2c-*-61" + label in1 "PMIC-9 PSU 12V Rail (in1)" + label in2 "PMIC-9 PSU 12V Rail (in2)" + label in3 "PMIC-9 COMEX 1.2V Rail (out)" + ignore in4 + label temp1 "PMIC-9 Temp 1" + label temp2 "PMIC-9 Temp 2" + label power1 "PMIC-9 COMEX 1.2V Rail Pwr (out)" + ignore power2 + label curr1 "PMIC-9 COMEX 1.2V Rail Curr (out)" + ignore curr2 + +# Power supplies +bus "i2c-4" "i2c-1-mux (chan_id 3)" + chip "dps460-i2c-*-58" + label in1 "PSU-1(L) 220V Rail (in)" + ignore in2 + label in3 "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 temp3 "PSU-1(L) Temp 3" + 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)" + chip "dps460-i2c-*-59" + label in1 "PSU-2(R) 220V Rail (in)" + ignore in2 + label in3 "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 temp3 "PSU-2(R) Temp 3" + 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 "d1u54p_w_2000_12-i2c-*-58" + label in1 "PSU-1(L) 220V Rail (in)" + ignore in2 + label in3 "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 temp3 "PSU-1(L) Temp 3" + 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)" + chip "d1u54p_w_2000_12-i2c-*-59" + label in1 "PSU-2(R) 220V Rail (in)" + ignore in2 + label in3 "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 temp3 "PSU-2(R) Temp 3" + 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)" + +# Chassis fans +chip "mlxreg_fan-isa-*" + label fan1 "Chassis Fan Drawer-1 Tach 1" + label fan2 "Chassis Fan Drawer-1 Tach 2" + label fan3 "Chassis Fan Drawer-2 Tach 1" + label fan4 "Chassis Fan Drawer-2 Tach 2" + label fan5 "Chassis Fan Drawer-3 Tach 1" + label fan6 "Chassis Fan Drawer-3 Tach 2" + label fan7 "Chassis Fan Drawer-4 Tach 1" + label fan8 "Chassis Fan Drawer-4 Tach 2" + label fan9 "Chassis Fan Drawer-5 Tach 1" + label fan10 "Chassis Fan Drawer-5 Tach 2" + label fan11 "Chassis Fan Drawer-6 Tach 1" + label fan12 "Chassis Fan Drawer-6 Tach 2" + label fan13 "Chassis Fan Drawer-7 Tach 1" + label fan14 "Chassis Fan Drawer-7 Tach 2" + +# Miscellaneous +chip "*-virtual-*" + ignore temp1 diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/system_health_monitoring_config.json b/device/mellanox/x86_64-mlnx_msn4800-r0/system_health_monitoring_config.json new file mode 120000 index 0000000000..98df66c27c --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/system_health_monitoring_config.json @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/system_health_monitoring_config.json \ No newline at end of file diff --git a/device/mellanox/x86_64-mlnx_msn4800-r0/thermal_policy.json b/device/mellanox/x86_64-mlnx_msn4800-r0/thermal_policy.json new file mode 120000 index 0000000000..5a25cd87f7 --- /dev/null +++ b/device/mellanox/x86_64-mlnx_msn4800-r0/thermal_policy.json @@ -0,0 +1 @@ +../x86_64-mlnx_msn2700-r0/thermal_policy.json \ No newline at end of file