diff --git a/device/celestica/x86_64-cel_silverstone-r0/Silverstone-128x100/cmis-init.sh b/device/celestica/x86_64-cel_silverstone-r0/Silverstone-128x100/cmis-init.sh deleted file mode 100755 index adb6332ae78e..000000000000 --- a/device/celestica/x86_64-cel_silverstone-r0/Silverstone-128x100/cmis-init.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash - -# Configure transceiver module into 4x100G breakout mode -# so that each 100G ports can be operated independently - -# Usage: -# ./cmis4_init.sh $port_i2c_no -# -port=$1 - -# "=========================================================================" -# "Init CMIS 4.0 module in port $port" -# "=========================================================================" - -# "-------------------------------------------------------------------------" -# " Set page 00h before start configuration..." -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0 - -# "-------------------------------------------------------------------------" -# "step 1. SW reset module" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 26 0x08 -sleep 0.2 - -# "-------------------------------------------------------------------------" -# "step 2. deinitialize datapath" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 127 0x10 -sudo i2cset -f -y $port 0x50 128 0xff - -# "-------------------------------------------------------------------------" -# "step 3. enable hi-power mode" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 26 0x00 -sleep 0.2 - -# "-------------------------------------------------------------------------" -# "step 4. Datapath configuration" -# "step 4.a. Write to upper page 10h bytes 145 - 152 to select 100G-FR" -# " application on all host lane" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x10 -# "write 145 - 152" -sudo i2cset -f -y $port 0x50 0x91 0x21 -sudo i2cset -f -y $port 0x50 0x92 0x21 -sudo i2cset -f -y $port 0x50 0x93 0x25 -sudo i2cset -f -y $port 0x50 0x94 0x25 -sudo i2cset -f -y $port 0x50 0x95 0x29 -sudo i2cset -f -y $port 0x50 0x96 0x29 -sudo i2cset -f -y $port 0x50 0x97 0x2d -sudo i2cset -f -y $port 0x50 0x98 0x2d - -# "-------------------------------------------------------------------------" -# "step 4.b. Write 0xff to page 10h byte 143" -# " Apply DataPathInit..." -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x10 -sudo i2cset -f -y $port 0x50 0x8f 0xff -sleep 0.2 - -# "-------------------------------------------------------------------------" -# "step 4.c. Check configuration errors codes in page 11h byte 202 - 205" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x11 - -# "-------------------------------------------------------------------------" -# "step 5. Datapath activation Write the corresponding values to upper page" -# " 10h byte 128 (to power up the DP lanes)" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x10 -sudo i2cset -f -y $port 0x50 0x80 0x00 - -sudo i2cset -f -y $port 0x50 0x7f 0 diff --git a/device/celestica/x86_64-cel_silverstone-r0/Silverstone/cmis-init.sh b/device/celestica/x86_64-cel_silverstone-r0/Silverstone/cmis-init.sh deleted file mode 100755 index 91331eb46d5d..000000000000 --- a/device/celestica/x86_64-cel_silverstone-r0/Silverstone/cmis-init.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -# Configure transceiver module into 1x400G mode - -# Usage: -# ./cmis4_init.sh $port_i2c_no -# -port=$1 - -# "=========================================================================" -# "Init CMIS 4.0 module in port $port" -# "=========================================================================" - -# "-------------------------------------------------------------------------" -# " Set page 00h before start configuration..." -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0 - -# "-------------------------------------------------------------------------" -# "step 1. SW reset module" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 26 0x08 -sleep 0.2 - -# "-------------------------------------------------------------------------" -# "step 2. deinitialize datapath" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 127 0x10 -sudo i2cset -f -y $port 0x50 128 0xff - -# "-------------------------------------------------------------------------" -# "step 3. enable hi-power mode" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 26 0x00 -sleep 0.2 - -# "-------------------------------------------------------------------------" -# "step 4. Datapath configuration" -# "step 4.a. Write 0xff to page 10h byte 143" -# " Apply DataPathInit..." -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x10 -sudo i2cset -f -y $port 0x50 0x8f 0xff -sleep 0.2 - -# "-------------------------------------------------------------------------" -# "step 4.b. Check configuration errors codes in page 11h byte 202 - 205" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x11 - -# "-------------------------------------------------------------------------" -# "step 5. Datapath activation Write the corresponding values to upper page" -# " 10h byte 128 (to power up the DP lanes)" -# "-------------------------------------------------------------------------" -sudo i2cset -f -y $port 0x50 0x7f 0x10 -sudo i2cset -f -y $port 0x50 0x80 0x00 - -sudo i2cset -f -y $port 0x50 0x7f 0