diff --git a/.gitmodules b/.gitmodules index f1c3b9e4fc..357498ff1c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -91,3 +91,6 @@ path = platform/broadcom/saibcm-modules-dnx url = https://github.com/Azure/saibcm-modules.git branch = sdk-6.5.22-gpl-dnx +[submodule "platform/broadcom/sonic-platform-modules-nokia"] + path = platform/broadcom/sonic-platform-modules-nokia + url = https://github.com/nokia/sonic-platform.git diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json new file mode 100644 index 0000000000..5a8e83c7c9 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd0", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "06:00.0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini new file mode 100644 index 0000000000..c05fc0a12d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/port_config.ini @@ -0,0 +1,20 @@ +# name lanes alias index asic_port_name role speed coreid coreportid numvoq +Ethernet0 72,73,74,75,76,77,78,79 Ethernet0 1 Eth0-ASIC0 Ext 400000 1 0 8 +Ethernet1 80,81,82,83,84,85,86,87 Ethernet1 2 Eth1-ASIC0 Ext 400000 1 1 8 +Ethernet2 88,89,90,91,92,93,94,95 Ethernet2 3 Eth2-ASIC0 Ext 400000 1 2 8 +Ethernet3 96,97,98,99,100,101,102,103 Ethernet3 4 Eth3-ASIC0 Ext 400000 1 3 8 +Ethernet4 104,105,106,107,108,109,110,111 Ethernet4 5 Eth4-ASIC0 Ext 400000 1 4 8 +Ethernet5 112,113,114,115,116,117,118,119 Ethernet5 6 Eth5-ASIC0 Ext 400000 1 5 8 +Ethernet6 120,121,122,123,124,125,126,127 Ethernet6 7 Eth6-ASIC0 Ext 400000 1 6 8 +Ethernet7 128,129,130,131,132,133,134,135 Ethernet7 8 Eth7-ASIC0 Ext 400000 1 7 8 +Ethernet8 136,137,138,139,140,141,142,143 Ethernet8 9 Eth8-ASIC0 Ext 400000 1 8 8 +Ethernet9 64,65,66,67,68,69,70,71 Ethernet9 10 Eth9-ASIC0 Ext 400000 0 1 8 +Ethernet10 56,57,58,59,60,61,62,63 Ethernet10 11 Eth10-ASIC0 Ext 400000 0 2 8 +Ethernet11 48,49,50,51,52,53,54,55 Ethernet11 12 Eth11-ASIC0 Ext 400000 0 3 8 +Ethernet12 40,41,42,43,44,45,46,47 Ethernet12 13 Eth12-ASIC0 Ext 400000 0 4 8 +Ethernet13 32,33,34,35,36,37,38,39 Ethernet13 14 Eth13-ASIC0 Ext 400000 0 5 8 +Ethernet14 24,25,26,27,28,29,30,31 Ethernet14 15 Eth14-ASIC0 Ext 400000 0 6 8 +Ethernet15 16,17,18,19,20,21,22,23 Ethernet15 16 Eth15-ASIC0 Ext 400000 0 7 8 +Ethernet16 8,9,10,11,12,13,14,15 Ethernet16 17 Eth16-ASIC0 Ext 400000 0 8 8 +Ethernet17 0,1,2,3,4,5,6,7 Ethernet17 18 Eth17-ASIC0 Ext 400000 0 9 8 +Ethernet-IB0 115 Ethernet-IB0 37 Rcy-ASIC0 Int 10000 0 10 8 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile new file mode 100644 index 0000000000..c75b59a02b --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/0/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x400g-config.bcm diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json new file mode 100644 index 0000000000..5caa2e8eef --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd1", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 1, + "hwinfo" : "07:00.0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini new file mode 100644 index 0000000000..9f043d832e --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/port_config.ini @@ -0,0 +1,20 @@ +# name lanes alias index asic_port_name role speed coreid coreportid numvoq +Ethernet18 72,73,74,75,76,77,78,79 Ethernet18 19 Eth0-ASIC1 Ext 400000 1 0 8 +Ethernet19 80,81,82,83,84,85,86,87 Ethernet19 20 Eth1-ASIC1 Ext 400000 1 1 8 +Ethernet20 88,89,90,91,92,93,94,95 Ethernet20 21 Eth2-ASIC1 Ext 400000 1 2 8 +Ethernet21 96,97,98,99,100,101,102,103 Ethernet21 22 Eth3-ASIC1 Ext 400000 1 3 8 +Ethernet22 104,105,106,107,108,109,110,111 Ethernet22 23 Eth4-ASIC1 Ext 400000 1 4 8 +Ethernet23 112,113,114,115,116,117,118,119 Ethernet23 24 Eth5-ASIC1 Ext 400000 1 5 8 +Ethernet24 120,121,122,123,124,125,126,127 Ethernet24 25 Eth6-ASIC1 Ext 400000 1 6 8 +Ethernet25 128,129,130,131,132,133,134,135 Ethernet25 26 Eth7-ASIC1 Ext 400000 1 7 8 +Ethernet26 136,137,138,139,140,141,142,143 Ethernet26 27 Eth8-ASIC1 Ext 400000 1 8 8 +Ethernet27 64,65,66,67,68,69,70,71 Ethernet27 28 Eth9-ASIC1 Ext 400000 0 1 8 +Ethernet28 56,57,58,59,60,61,62,63 Ethernet28 29 Eth10-ASIC1 Ext 400000 0 2 8 +Ethernet29 48,49,50,51,52,53,54,55 Ethernet29 30 Eth11-ASIC1 Ext 400000 0 3 8 +Ethernet30 40,41,42,43,44,45,46,47 Ethernet30 31 Eth12-ASIC1 Ext 400000 0 4 8 +Ethernet31 32,33,34,35,36,37,38,39 Ethernet31 32 Eth13-ASIC1 Ext 400000 0 5 8 +Ethernet32 24,25,26,27,28,29,30,31 Ethernet32 33 Eth14-ASIC1 Ext 400000 0 6 8 +Ethernet33 16,17,18,19,20,21,22,23 Ethernet33 34 Eth15-ASIC1 Ext 400000 0 7 8 +Ethernet34 8,9,10,11,12,13,14,15 Ethernet34 35 Eth16-ASIC1 Ext 400000 0 8 8 +Ethernet35 0,1,2,3,4,5,6,7 Ethernet35 36 Eth17-ASIC1 Ext 400000 0 9 8 +Ethernet-IB1 115 Ethernet-IB1 38 Rcy-ASIC1 Int 10000 0 10 8 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile new file mode 100644 index 0000000000..c75b59a02b --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/Nokia-IXR7250E-36x400G/1/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/jr2cp-nokia-18x400g-config.bcm diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf new file mode 100644 index 0000000000..3e123ed50a --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/asic.conf @@ -0,0 +1,3 @@ +NUM_ASIC=2 +DEV_ID_ASIC_0=06:00.0 +DEV_ID_ASIC_1=07:00.0 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf new file mode 100644 index 0000000000..cb602c6eb4 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/chassisdb.conf @@ -0,0 +1 @@ +chassis_db_address=10.0.5.16 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku new file mode 100644 index 0000000000..7aba188789 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/default_sku @@ -0,0 +1 @@ +Nokia-IXR7250E-36x400G empty diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf new file mode 100644 index 0000000000..7580ad94c4 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/installer.conf @@ -0,0 +1,4 @@ +CONSOLE_PORT=0x3f8 +CONSOLE_DEV=0 +CONSOLE_SPEED=115200 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="amd_iommu=off pci=resource_alignment=48@00:03.1" diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml new file mode 100644 index 0000000000..2c8257a487 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pcie.yaml @@ -0,0 +1,220 @@ +- bus: '00' + dev: '00' + fn: '0' + id: '1450' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex' +- bus: '00' + dev: '00' + fn: '2' + id: '1451' + name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit' +- bus: '00' + dev: '01' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '01' + fn: '1' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '2' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '02' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '1' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '04' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '08' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '08' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '14' + fn: '0' + id: '790b' + name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)' +- bus: '00' + dev: '14' + fn: '3' + id: '790e' + name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)' +- bus: '00' + dev: '18' + fn: '0' + id: '1460' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0' +- bus: '00' + dev: '18' + fn: '1' + id: '1461' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1' +- bus: '00' + dev: '18' + fn: '2' + id: '1462' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2' +- bus: '00' + dev: '18' + fn: '3' + id: '1463' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3' +- bus: '00' + dev: '18' + fn: '4' + id: '1464' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4' +- bus: '00' + dev: '18' + fn: '5' + id: '1465' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5' +- bus: '00' + dev: '18' + fn: '6' + id: '1466' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6' +- bus: '00' + dev: '18' + fn: '7' + id: '1467' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7' +- bus: '01' + dev: '00' + fn: '0' + id: '157b' + name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)' +- bus: '02' + dev: '00' + fn: '0' + id: '2001' + name: 'Unassigned class [ff00]: Alcatel Device 2001' +- bus: '03' + dev: '00' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '03' + dev: '00' + fn: '1' + id: '8562' + name: 'Memory controller: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '00' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '01' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '02' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '04' + dev: '03' + fn: '0' + id: '8562' + name: 'PCI bridge: PMC-Sierra Inc. Device 8562' +- bus: '05' + dev: '00' + fn: '0' + id: '001a' + name: 'Unassigned class [ff00]: Alcatel Device 001a (rev 35)' +- bus: '06' + dev: '00' + fn: '0' + id: '8850' + name: 'Ethernet controller: Broadcom Limited Device 8850 (rev 01)' +- bus: '07' + dev: '00' + fn: '0' + id: '8850' + name: 'Ethernet controller: Broadcom Limited Device 8850 (rev 01)' +- bus: '08' + dev: '00' + fn: '0' + id: '7028' + name: 'Memory controller: Xilinx Corporation Device 7028' +- bus: '09' + dev: '00' + fn: '0' + id: '145a' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function' +- bus: '09' + dev: '00' + fn: '2' + id: '1456' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor' +- bus: '09' + dev: '00' + fn: '3' + id: '145f' + name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller' +- bus: '0a' + dev: '00' + fn: '0' + id: '1455' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function' +- bus: '0a' + dev: '00' + fn: '1' + id: '1468' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic Coprocessor NTBCCP' +- bus: '0a' + dev: '00' + fn: '2' + id: '7901' + name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)' +- bus: '0a' + dev: '00' + fn: '3' + id: '1457' + name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller' +- bus: '0a' + dev: '00' + fn: '4' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' +- bus: '0a' + dev: '00' + fn: '5' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json new file mode 100644 index 0000000000..ad911fb609 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform.json @@ -0,0 +1,161 @@ +{ + "chassis": { + "name": "Nokia-IXR7250E-36x400G", + "components": [ + { + "name": "BIOS" + }, + { + "name": "FPGA1" + }, + { + "name": "FPGA2" + } + ], + + "fans": [], + "fan_drawers": [], + "master_psu_led_color": [], + "psus": [], + "thermals": [ + { + "name": "temp_1(fan)" + }, + { + "name": "temp_2(fan)" + }, + { + "name": "temp_3" + }, + { + "name": "temp_4" + }, + { + "name": "temp_5" + }, + { + "name": "temp_6" + }, + { + "name": "temp_7" + }, + { + "name": "temp_8" + }, + { + "name": "temp_9" + } + ], + "sfps": [ + { + "name": "QSFPDD_1" + }, + { + "name": "QSFPDD_2" + }, + { + "name": "QSFPDD_3" + }, + { + "name": "QSFPDD_4" + }, + { + "name": "QSFPDD_5" + }, + { + "name": "QSFPDD_6" + }, + { + "name": "QSFPDD_7" + }, + { + "name": "QSFPDD_8" + }, + { + "name": "QSFPDD_9" + }, + { + "name": "QSFPDD_10" + }, + { + "name": "QSFPDD_11" + }, + { + "name": "QSFPDD_12" + }, + { + "name": "QSFPDD_13" + }, + { + "name": "QSFPDD_14" + }, + { + "name": "QSFPDD_15" + }, + { + "name": "QSFPDD_16" + }, + { + "name": "QSFPDD_17" + }, + { + "name": "QSFPDD_18" + }, + { + "name": "QSFPDD_19" + }, + { + "name": "QSFPDD_20" + }, + { + "name": "QSFPDD_21" + }, + { + "name": "QSFPDD_22" + }, + { + "name": "QSFPDD_23" + }, + { + "name": "QSFPDD_24" + }, + { + "name": "QSFPDD_25" + }, + { + "name": "QSFPDD_26" + }, + { + "name": "QSFPDD_27" + }, + { + "name": "QSFPDD_28" + }, + { + "name": "QSFPDD_29" + }, + { + "name": "QSFPDD_30" + }, + { + "name": "QSFPDD_31" + }, + { + "name": "QSFPDD_32" + }, + { + "name": "QSFPDD_33" + }, + { + "name": "QSFPDD_34" + }, + { + "name": "QSFPDD_35" + }, + { + "name": "QSFPDD_36" + } + ] + }, + "interfaces": {} +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf new file mode 100644 index 0000000000..45697fe72f --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_env.conf @@ -0,0 +1,3 @@ +usemsi=1 +dmasize=512M +default_mtu=9100 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json new file mode 100644 index 0000000000..92a206bb49 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json @@ -0,0 +1,32 @@ +{ + "options": [ + { + "key": "sfp_init_tx_en", + "stringval": "yes" + }, + { + "key": "midplane_subnet", + "stringval": "10.0.5.0" + }, + { + "key": "midplane_monitor", + "stringval": "yes" + }, + { + "key": "monitor_action", + "stringval": "reboot" + }, + { + "key": "grpc_thermal_monitor", + "stringval": "yes" + }, + { + "key": "disable_vfio", + "intval": 1 + }, + { + "key": "sonic_bdb_mode", + "intval": 0 + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot new file mode 100755 index 0000000000..65cba5185e --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_reboot @@ -0,0 +1,9 @@ +#!/bin/bash + +systemctl stop nokia-watchdog.service +sleep 2 +echo "w" > /dev/watchdog +kick_date=`date -u` +echo "last watchdog kick $kick_date" > /var/log/nokia-watchdog-last.log +sync +/sbin/reboot diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/__init__.py b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py new file mode 100644 index 0000000000..58c8c08932 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py @@ -0,0 +1,17 @@ +# +# Name: led_control.py, version: 1.0 +# +# Description: Module contains the Nokia specific LED control +# class object creation. +# +# Copyright (c) 2019, Nokia +# All rights reserved. +# + +try: + from platform_ndk import nokia_led_mgmt + +except ImportError as e: + raise ImportError("%s - required module not found" % e) + +LedControl = nokia_led_mgmt.getLedControl() diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json new file mode 100644 index 0000000000..74ade4eb97 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/pmon_daemon_control.json @@ -0,0 +1,3 @@ +{ + "skip_psud": true +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json new file mode 100644 index 0000000000..57006d67ec --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/system_health_monitoring_config.json @@ -0,0 +1,15 @@ +{ + "services_to_ignore": [], + "devices_to_ignore": [ + "asic", + "fan", + "psu" + ], + "user_defined_checkers": [], + "polling_interval": 60, + "led_color": { + "fault": "red", + "normal": "green", + "booting": "amber" + } +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json new file mode 100644 index 0000000000..8536b369aa --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/thermal_policy.json @@ -0,0 +1,28 @@ +{ + "thermal_control_algorithm": { + "run_at_boot_up": "false" + }, + "info_types": [ + { + "type": "thermal_info" + }, + { + "type": "chassis_info" + } + ], + "policies": [ + { + "name": "pusblish thermal to platform", + "conditions": [ + { + "type": "thermal.chassis.collect" + } + ], + "actions": [ + { + "type": "thermal.platform.publish" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json new file mode 100644 index 0000000000..2845886a67 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd0", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:1:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile new file mode 100644 index 0000000000..dbc60e3ef1 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/0/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-1-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json new file mode 100644 index 0000000000..899c4e4c15 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd1", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:1:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile new file mode 100644 index 0000000000..05a77cb79c --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/1/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-1-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json new file mode 100644 index 0000000000..ccaed3ae86 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd10", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:6:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile new file mode 100644 index 0000000000..e8dd14d895 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/10/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-6-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json new file mode 100644 index 0000000000..f1caf87569 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd11", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:6:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile new file mode 100644 index 0000000000..5c7864acd2 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/11/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-6-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json new file mode 100644 index 0000000000..04893d944a --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd12", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:7:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile new file mode 100644 index 0000000000..7e9833014a --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/12/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-7-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json new file mode 100644 index 0000000000..9ff440ee08 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd13", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:7:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile new file mode 100644 index 0000000000..4267d04184 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/13/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-7-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json new file mode 100644 index 0000000000..436f0ce557 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd14", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:8:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile new file mode 100644 index 0000000000..3c5e8f1304 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/14/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-8-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json new file mode 100644 index 0000000000..b279ea8e6d --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd15", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:8:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile new file mode 100644 index 0000000000..ee44f77cd6 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/15/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-8-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json new file mode 100644 index 0000000000..a134bc076c --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd2", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:2:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile new file mode 100644 index 0000000000..8abeb9043e --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/2/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-2-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json new file mode 100644 index 0000000000..6abdd85fd2 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd3", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:2:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile new file mode 100644 index 0000000000..b2c7ec1ada --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/3/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-2-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json new file mode 100644 index 0000000000..14526c17d0 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd4", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:3:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile new file mode 100644 index 0000000000..5bbb453aa4 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/4/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-3-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json new file mode 100644 index 0000000000..7877cf627e --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd5", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:3:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile new file mode 100644 index 0000000000..705ab7c270 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/5/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-3-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json new file mode 100644 index 0000000000..90c8f542c9 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd6", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:4:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile new file mode 100644 index 0000000000..ca86e9b298 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/6/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-4-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json new file mode 100644 index 0000000000..409431f7ae --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd7", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:4:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile new file mode 100644 index 0000000000..8adb0b842a --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/7/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-4-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json new file mode 100644 index 0000000000..fab414b6e8 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd8", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:5:0" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile new file mode 100644 index 0000000000..f4cd51ebc0 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/8/sai.profile @@ -0,0 +1,4 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-5-0.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb + diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json new file mode 100644 index 0000000000..0497ac77d1 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/context_config.json @@ -0,0 +1,21 @@ +{ + "CONTEXTS": [ + { + "guid" : 0, + "name" : "syncd9", + "dbAsic" : "ASIC_DB", + "dbCounters" : "COUNTERS_DB", + "dbFlex": "FLEX_COUNTER_DB", + "dbState" : "STATE_DB", + "zmq_enable": false, + "zmq_endpoint": "tcp://127.0.0.1:5555", + "zmq_ntf_endpoint": "tcp://127.0.0.1:5556", + "switches": [ + { + "index" : 0, + "hwinfo" : "nokia-bdb:5:1" + } + ] + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile new file mode 100644 index 0000000000..5b610fe3b3 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/9/sai.profile @@ -0,0 +1,3 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/config-ramon-5-1.bcm +SAI_CUSTOM_USER_BDE_NAME=nokia-kernel-bdb +SAI_CUSTOM_KERNEL_BDE_NAME=nokia-kernel-bdb diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json new file mode 100644 index 0000000000..ec96ac39ae --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/Nokia-IXR7250E-SUP-10/platform.json @@ -0,0 +1,252 @@ +{ + "chassis": { + "name": "Nokia-IXR7250E-SUP-10", + "components": [ + { + "name": "BIOS" + }, + { + "name": "FPGA1" + } + ], + "fans": [], + "fan_drawers": [ + { + "name": "FanTray0", + "num_fans": 1, + "fans": [ + { + "name": "Fan0" + } + ] + }, + { + "name": "FanTray1", + "num_fans": 1, + "fans": [ + { + "name": "Fan1" + } + ] + }, + { + "name": "FanTray2", + "num_fans": 1, + "fans": [ + { + "name": "Fan2" + } + ] + }, + { + "name": "FanTray3", + "num_fans": 1, + "fans": [ + { + "name": "Fan3" + } + ] + } + ], + "master_psu_led_color": ["green", "red"], + "psus": [ + { + "name": "PSU1", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU2", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU3", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU4", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU5", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU6", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU7", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU8", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU9", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU10", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU11", + "led": "N/A", + "fans": [] + }, + { + "name": "PSU12", + "led": "N/A", + "fans": [] + } + ], + "thermals": [ + { + "name": "temp_1" + }, + { + "name": "temp_2" + }, + { + "name": "temp_3(fan)" + }, + { + "name": "temp_4(fan)" + }, + { + "name": "sfm1_1(fan)" + }, + { + "name": "sfm1_2" + }, + { + "name": "sfm1_3" + }, + { + "name": "sfm1_4" + }, + { + "name": "sfm1_5" + }, + { + "name": "sfm2_1(fan)" + }, + { + "name": "sfm2_2" + }, + { + "name": "sfm2_3" + }, + { + "name": "sfm2_4" + }, + { + "name": "sfm2_5" + }, + { + "name": "sfm3_1(fan)" + }, + { + "name": "sfm3_2" + }, + { + "name": "sfm3_3" + }, + { + "name": "sfm3_4" + }, + { + "name": "sfm3_5" + }, + { + "name": "sfm4_1(fan)" + }, + { + "name": "sfm4_2" + }, + { + "name": "sfm4_3" + }, + { + "name": "sfm4_4" + }, + { + "name": "sfm4_5" + }, + { + "name": "sfm5_1(fan)" + }, + { + "name": "sfm5_2" + }, + { + "name": "sfm5_3" + }, + { + "name": "sfm5_4" + }, + { + "name": "sfm5_5" + }, + { + "name": "sfm6_1(fan)" + }, + { + "name": "sfm6_2" + }, + { + "name": "sfm6_3" + }, + { + "name": "sfm6_4" + }, + { + "name": "sfm6_5" + }, + { + "name": "sfm7_1(fan)" + }, + { + "name": "sfm7_2" + }, + { + "name": "sfm7_3" + }, + { + "name": "sfm7_4" + }, + { + "name": "sfm7_5" + }, + { + "name": "sfm8_1(fan)" + }, + { + "name": "sfm8_2" + }, + { + "name": "sfm8_3" + }, + { + "name": "sfm8_4" + }, + { + "name": "sfm8_5" + } + ], + "sfps": [ + ] + }, + "interfaces": {} +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf new file mode 100644 index 0000000000..7d0f9b9c47 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/asic.conf @@ -0,0 +1,18 @@ +NUM_ASIC=16 +DEV_ID_ASIC_0=nokia-bdb:1:0 +DEV_ID_ASIC_1=nokia-bdb:1:1 +DEV_ID_ASIC_2=nokia-bdb:2:0 +DEV_ID_ASIC_3=nokia-bdb:2:1 +DEV_ID_ASIC_4=nokia-bdb:3:0 +DEV_ID_ASIC_5=nokia-bdb:3:1 +DEV_ID_ASIC_6=nokia-bdb:4:0 +DEV_ID_ASIC_7=nokia-bdb:4:1 +DEV_ID_ASIC_8=nokia-bdb:5:0 +DEV_ID_ASIC_9=nokia-bdb:5:1 +DEV_ID_ASIC_10=nokia-bdb:6:0 +DEV_ID_ASIC_11=nokia-bdb:6:1 +DEV_ID_ASIC_12=nokia-bdb:7:0 +DEV_ID_ASIC_13=nokia-bdb:7:1 +DEV_ID_ASIC_14=nokia-bdb:8:0 +DEV_ID_ASIC_15=nokia-bdb:8:1 + diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf new file mode 100644 index 0000000000..26fefcd182 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/chassisdb.conf @@ -0,0 +1,4 @@ +start_chassis_db=1 +chassis_db_address=10.0.5.16 +lag_id_start=1 +lag_id_end=512 diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku new file mode 100644 index 0000000000..41c4fc8901 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/default_sku @@ -0,0 +1 @@ +Nokia-IXR7250E-SUP-10 empty diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf new file mode 100644 index 0000000000..21bc03a020 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/installer.conf @@ -0,0 +1,4 @@ +CONSOLE_PORT=0x3f8 +CONSOLE_DEV=0 +CONSOLE_SPEED=115200 +ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="amd_iommu=off pci=resource_alignment=26@00:01.4" \ No newline at end of file diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml new file mode 100644 index 0000000000..7d587abbda --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pcie.yaml @@ -0,0 +1,210 @@ +- bus: '00' + dev: '00' + fn: '0' + id: '1450' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex' +- bus: '00' + dev: '00' + fn: '2' + id: '1451' + name: 'IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit' +- bus: '00' + dev: '01' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '01' + fn: '2' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '3' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '4' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '01' + fn: '5' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '02' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '03' + fn: '2' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '03' + fn: '3' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '03' + fn: '4' + id: '1453' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge' +- bus: '00' + dev: '04' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '07' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '08' + fn: '0' + id: '1452' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge' +- bus: '00' + dev: '08' + fn: '1' + id: '1454' + name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B' +- bus: '00' + dev: '14' + fn: '0' + id: '790b' + name: 'SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)' +- bus: '00' + dev: '14' + fn: '3' + id: 790e' + name: 'ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)' +- bus: '00' + dev: '18' + fn: '0' + id: '1460' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0' +- bus: '00' + dev: '18' + fn: '1' + id: '1461' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1' +- bus: '00' + dev: '18' + fn: '2' + id: '1462' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2' +- bus: '00' + dev: '18' + fn: '3' + id: '1463' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3' +- bus: '00' + dev: '18' + fn: '4' + id: '1464' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4' +- bus: '00' + dev: '18' + fn: '5' + id: '1465' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5' +- bus: '00' + dev: '18' + fn: '6' + id: '1466' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6' +- bus: '00' + dev: '18' + fn: '7 ' + id: '1467' + name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7' +- bus: '01' + dev: '00' + fn: '0' + id: '0025' + name: 'Unassigned class [ff00]: Alcatel Device 0025 (rev 35)' +- bus: '03' + dev: '00' + fn: '0' + id: '157b' + name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)' +- bus: '04' + dev: '00' + fn: '0' + id: '8454' + name: 'Ethernet controller: Broadcom Limited Device 8454 (rev 01)' +- bus: '04' + dev: '00' + fn: '1' + id: '8454' + name: 'Ethernet controller: Broadcom Limited Device 8454 (rev 01)' +- bus: '08' + dev: '00' + fn: '0' + id: '145a' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function' +- bus: '08' + dev: '00' + fn: '2' + id: '1456' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor' +- bus: '08' + dev: '00' + fn: '3' + id: '145f' + name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 Host controller' +- bus: '09' + dev: '00' + fn: '0' + id: '1455' + name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function' +- bus: '09' + dev: '00' + fn: '1' + id: '1468' + name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic Coprocessor NTBCCP' +- bus: '09' + dev: '00' + fn: '2' + id: '7901' + name: 'SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)' +- bus: '09' + dev: '00' + fn: '3' + id: '1457' + name: 'Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller' +- bus: '09' + dev: '00' + fn: '4' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' +- bus: '09' + dev: '00' + fn: '5' + id: '1458' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1458' +- bus: '09' + dev: '00' + fn: '6' + id: '1459' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1459' +- bus: '09' + dev: '00' + fn: '7' + id: '1459' + name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] Device 1459' diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf new file mode 100644 index 0000000000..d4a267afb9 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_env.conf @@ -0,0 +1,4 @@ +usemsi=1 +dmasize=128M +default_mtu=9100 +supervisor=1 diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json new file mode 100644 index 0000000000..db906ccff2 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json @@ -0,0 +1,24 @@ +{ + "options": [ + { + "key": "midplane_subnet", + "stringval": "10.0.5.0" + }, + { + "key": "midplane_monitor", + "stringval": "yes" + }, + { + "key": "monitor_action", + "stringval": "warn" + }, + { + "key": "sonic_bdb_mode", + "intval": 1 + }, + { + "intval": 1, + "key": "disable_vfio" + } + ] +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot new file mode 100755 index 0000000000..65cba5185e --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_reboot @@ -0,0 +1,9 @@ +#!/bin/bash + +systemctl stop nokia-watchdog.service +sleep 2 +echo "w" > /dev/watchdog +kick_date=`date -u` +echo "last watchdog kick $kick_date" > /var/log/nokia-watchdog-last.log +sync +/sbin/reboot diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/plugins/__init__.py b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/plugins/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json new file mode 100644 index 0000000000..f4e27b8985 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/pmon_daemon_control.json @@ -0,0 +1,4 @@ +{ + "skip_ledd": true, + "skip_xcvrd": true +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json new file mode 100644 index 0000000000..8309b1dcc8 --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/system_health_monitoring_config.json @@ -0,0 +1,13 @@ +{ + "services_to_ignore": [], + "devices_to_ignore": [ + "asic" + ], + "user_defined_checkers": [], + "polling_interval": 60, + "led_color": { + "fault": "red", + "normal": "green", + "booting": "amber" + } +} diff --git a/device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json new file mode 100644 index 0000000000..8313ab148c --- /dev/null +++ b/device/nokia/x86_64-nokia_ixr7250e_sup-r0/thermal_policy.json @@ -0,0 +1,63 @@ +{ + "thermal_control_algorithm": { + "run_at_boot_up": "false" + }, + "info_types": [ + { + "type": "thermal_info" + }, + { + "type": "chassis_info" + }, + { + "type": "fan_info" + } + ], + "policies": [ + { + "name": "pusblish thermal to platform", + "conditions": [ + { + "type": "thermal.chassis.collect" + } + ], + "actions": [ + { + "type": "thermal.platform.publish" + } + ] + }, + { + "name": "override platform fan-algo", + "conditions": [ + { + "type": "fan.platform_algorithm.override" + } + ], + "actions": [ + { + "type": "fan.all.disable_algorithm", + "status": "true" + }, + { + "type": "fan.all.set_speed", + "speed": "100" + } + ] + }, + { + "name": "default platform fan-algo", + "conditions": [ + { + "type": "fan.platform_algorithm.allow" + } + ], + "actions": [ + { + "type": "fan.all.disable_algorithm", + "status": "false" + } + ] + } + ] +} diff --git a/platform/broadcom/one-image.mk b/platform/broadcom/one-image.mk index 9509c1b091..d11f82bde3 100644 --- a/platform/broadcom/one-image.mk +++ b/platform/broadcom/one-image.mk @@ -69,7 +69,8 @@ $(SONIC_ONE_IMAGE)_LAZY_INSTALLS += $(DELL_S6000_PLATFORM_MODULE) \ $(JUNIPER_QFX5200_PLATFORM_MODULE) \ $(DELTA_AGC032_PLATFORM_MODULE) \ $(RUIJIE_B6510_48VS8CQ_PLATFORM_MODULE) \ - $(RAGILE_RA_B6510_48V8C_PLATFORM_MODULE) + $(RAGILE_RA_B6510_48V8C_PLATFORM_MODULE) \ + $(NOKIA_IXR7250_PLATFORM_MODULE) $(SONIC_ONE_IMAGE)_LAZY_BUILD_INSTALLS = $(BRCM_OPENNSL_KERNEL) $(BRCM_DNX_OPENNSL_KERNEL) ifeq ($(INSTALL_DEBUG_TOOLS),y) $(SONIC_ONE_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES) diff --git a/platform/broadcom/platform-modules-nokia.dep b/platform/broadcom/platform-modules-nokia.dep new file mode 100644 index 0000000000..f9d92b660b --- /dev/null +++ b/platform/broadcom/platform-modules-nokia.dep @@ -0,0 +1,10 @@ + +MPATH := $($(NOKIA_IXR7250_PLATFORM_MODULE)_SRC_PATH) +DEP_FILES := $(SONIC_COMMON_FILES_LIST) platform/broadcom/platform-modules-nokia.mk platform/broadcom/platform-modules-nokia.dep +DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) +DEP_FILES += $(shell git ls-files $(MPATH)) + +$(NOKIA_IXR7250_PLATFORM_MODULE)_CACHE_MODE := GIT_CONTENT_SHA +$(NOKIA_IXR7250_PLATFORM_MODULE)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) +$(NOKIA_IXR7250_PLATFORM_MODULE)_DEP_FILES := $(DEP_FILES) + diff --git a/platform/broadcom/platform-modules-nokia.mk b/platform/broadcom/platform-modules-nokia.mk new file mode 100644 index 0000000000..fb5199375e --- /dev/null +++ b/platform/broadcom/platform-modules-nokia.mk @@ -0,0 +1,14 @@ +# Nokia Platform modules + +NOKIA_IXR7250_PLATFORM_MODULE_VERSION = 1.0 + +export NOKIA_IXR7250_PLATFORM_MODULE_VERSION + + +NOKIA_IXR7250_PLATFORM_MODULE = sonic-platform-nokia-chassis_$(NOKIA_IXR7250_PLATFORM_MODULE_VERSION)_amd64.deb +$(NOKIA_IXR7250_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-nokia +$(NOKIA_IXR7250_PLATFORM_MODULE)_DEPENDS += $(LINUX_HEADERS) $(LINUX_HEADERS_COMMON) $(NOKIA_NDK_DEBIAN) +$(NOKIA_IXR7250_PLATFORM_MODULE)_PLATFORM = x86_64-nokia_ixr7250e_sup-r0 +$(NOKIA_IXR7250_PLATFORM_MODULE)_PLATFORM += x86_64-nokia_ixr7250e_36x400g-r0 +SONIC_DPKG_DEBS += $(NOKIA_IXR7250_PLATFORM_MODULE) + diff --git a/platform/broadcom/rules.mk b/platform/broadcom/rules.mk index 031cd60150..e890c43e5c 100644 --- a/platform/broadcom/rules.mk +++ b/platform/broadcom/rules.mk @@ -1,5 +1,6 @@ include $(PLATFORM_PATH)/sai-modules.mk include $(PLATFORM_PATH)/sai.mk +include $(PLATFORM_PATH)/platform-modules-nokia.mk include $(PLATFORM_PATH)/platform-modules-dell.mk include $(PLATFORM_PATH)/platform-modules-arista.mk include $(PLATFORM_PATH)/platform-modules-ingrasys.mk diff --git a/platform/broadcom/sonic-platform-modules-nokia b/platform/broadcom/sonic-platform-modules-nokia new file mode 160000 index 0000000000..90afc22977 --- /dev/null +++ b/platform/broadcom/sonic-platform-modules-nokia @@ -0,0 +1 @@ +Subproject commit 90afc22977b481e4511953904e3d66c68d039537