Skip to content

Commit

Permalink
[Quanta] Add a new supported device and platform, IX9-32X (#3341)
Browse files Browse the repository at this point in the history
Switch Vendor: Quanta
Switch SKU: IX9-32X
CPU: Broadwell-DE with BMC
ASIC Vendor: Broadcom
Switch ASIC: Tomahawk3, BCM56980
Port Configuration: 32x400G

Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
  • Loading branch information
jonathantsai-qci authored and lguohan committed Aug 15, 2019
1 parent f65c796 commit ee31e3b
Show file tree
Hide file tree
Showing 23 changed files with 1,881 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# name lanes alias index
Ethernet0 33,34,35,36,37,38,39,40 fourhundredGigE1 0
Ethernet4 25,26,27,28,29,30,31,32 fourhundredGigE2 1
Ethernet8 49,50,51,52,53,54,55,56 fourhundredGigE3 2
Ethernet12 57,58,59,60,61,62,63,64 fourhundredGigE4 3
Ethernet16 65,66,67,68,69,70,71,72 fourhundredGigE5 4
Ethernet20 73,74,75,76,77,78,79,80 fourhundredGigE6 5
Ethernet24 81,82,83,84,85,86,87,88 fourhundredGigE7 6
Ethernet28 89,90,91,92,93,94,95,96 fourhundredGigE8 7
Ethernet32 17,18,19,20,21,22,23,24 fourhundredGigE9 8
Ethernet36 97,98,99,100,101,102,103,104 fourhundredGigE10 9
Ethernet40 9,10,11,12,13,14,15,16 fourhundredGigE11 10
Ethernet44 41,42,43,44,45,46,47,48 fourhundredGigE12 11
Ethernet48 113,114,115,116,117,118,119,120 fourhundredGigE13 12
Ethernet52 105,106,107,108,109,110,111,112 fourhundredGigE14 13
Ethernet56 121,122,123,124,125,126,127,128 fourhundredGigE15 14
Ethernet60 1,2,3,4,5,6,7,8 fourhundredGigE16 15
Ethernet64 137,138,139,140,141,142,143,144 fourhundredGigE17 16
Ethernet68 129,130,131,132,133,134,135,136 fourhundredGigE18 17
Ethernet72 241,242,243,244,245,246,247,248 fourhundredGigE19 18
Ethernet76 249,250,251,252,253,254,255,256 fourhundredGigE20 19
Ethernet80 225,226,227,228,229,230,231,232 fourhundredGigE21 20
Ethernet84 145,146,147,148,149,150,151,152 fourhundredGigE22 21
Ethernet88 153,154,155,156,157,158,159,160 fourhundredGigE23 22
Ethernet92 233,234,235,236,237,238,239,240 fourhundredGigE24 23
Ethernet96 161,162,163,164,165,166,167,168 fourhundredGigE25 24
Ethernet100 169,170,171,172,173,174,175,176 fourhundredGigE26 25
Ethernet104 177,178,179,180,181,182,183,184 fourhundredGigE27 26
Ethernet108 185,186,187,188,189,190,191,192 fourhundredGigE28 27
Ethernet112 193,194,195,196,197,198,199,200 fourhundredGigE29 28
Ethernet116 201,202,203,204,205,206,207,208 fourhundredGigE30 29
Ethernet120 209,210,211,212,213,214,215,216 fourhundredGigE31 30
Ethernet124 217,218,219,220,221,222,223,224 fourhundredGigE32 31
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th3-ix9-32x400G.config.bcm
Original file line number Diff line number Diff line change
@@ -0,0 +1,341 @@
ccm_dma_enable=0
ccmdma_intr_enable=0
ctr_evict_enable=0
mem_cache_enable=0
parity_correction=0
parity_enable=0
phy_enable=0
phy_null=1
pll_bypass=1

init_all_modules=0
core_clock_frequency=1325
dpr_clock_frequency=1000
device_clock_frequency=1325

load_firmware=0x2
port_flex_enable=1

# portmap settings
pbmp_xport_xe=0x111101111411110111101111011114111102222

portmap_1=1:400
portmap_5=9:400
portmap_9=17:400
portmap_13=25:400
portmap_20=33:400
portmap_24=41:400
portmap_28=49:400
portmap_32=57:400

portmap_40=65:400
portmap_44=73:400
portmap_48=81:400
portmap_52=89:400
portmap_60=97:400
portmap_64=105:400
portmap_68=113:400
portmap_72=121:400

portmap_80=129:400
portmap_84=137:400
portmap_88=145:400
portmap_92=153:400
portmap_100=161:400
portmap_104=169:400
portmap_108=177:400
portmap_112=185:400

portmap_120=193:400
portmap_124=201:400
portmap_128=209:400
portmap_132=217:400
portmap_140=225:400
portmap_144=233:400
portmap_148=241:400
portmap_152=249:400

# datapath port
portmap_38=257:10
portmap_118=258:10

# loopback port
portmap_19=260:10
portmap_39=260:10
portmap_59=261:10
portmap_79=262:10
portmap_99=263:10
portmap_119=264:10
portmap_139=265:10
portmap_159=266:10

# port order remap
dport_map_port_20=1
dport_map_port_13=2
dport_map_port_28=3
dport_map_port_32=4
dport_map_port_40=5
dport_map_port_44=6
dport_map_port_48=7
dport_map_port_52=8
dport_map_port_9=9
dport_map_port_60=10
dport_map_port_5=11
dport_map_port_24=12
dport_map_port_68=13
dport_map_port_64=14
dport_map_port_72=15
dport_map_port_1=16

dport_map_port_84=17
dport_map_port_80=18
dport_map_port_148=19
dport_map_port_152=20
dport_map_port_140=21
dport_map_port_88=22
dport_map_port_92=23
dport_map_port_144=24
dport_map_port_100=25
dport_map_port_104=26
dport_map_port_108=27
dport_map_port_112=28
dport_map_port_120=29
dport_map_port_124=30
dport_map_port_128=31
dport_map_port_132=32

dport_map_port_38=33
dport_map_port_118=34

### lane swap and polarity follow front port order ###
phy_chain_tx_lane_map_physical{33.0}=0x75206431
serdes_core_tx_polarity_flip_physical{33}=0xdb
phy_chain_rx_lane_map_physical{33.0}=0x13572064
serdes_core_rx_polarity_flip_physical{33}=0x69

phy_chain_tx_lane_map_physical{25.0}=0x75314206
serdes_core_tx_polarity_flip_physical{25}=0xe8
phy_chain_rx_lane_map_physical{25.0}=0x67103524
serdes_core_rx_polarity_flip_physical{25}=0x7c

phy_chain_tx_lane_map_physical{49.0}=0x57326014
serdes_core_tx_polarity_flip_physical{49}=0x0e
phy_chain_rx_lane_map_physical{49.0}=0x21463057
serdes_core_rx_polarity_flip_physical{49}=0xd2

phy_chain_tx_lane_map_physical{57.0}=0x12307564
serdes_core_tx_polarity_flip_physical{57}=0xa6
phy_chain_rx_lane_map_physical{57.0}=0x57460231
serdes_core_rx_polarity_flip_physical{57}=0x99

phy_chain_tx_lane_map_physical{65.0}=0x60345721
serdes_core_tx_polarity_flip_physical{65}=0xe2
phy_chain_rx_lane_map_physical{65.0}=0x40675123
serdes_core_rx_polarity_flip_physical{65}=0x0f

phy_chain_tx_lane_map_physical{73.0}=0x21306574
serdes_core_tx_polarity_flip_physical{73}=0xa4
phy_chain_rx_lane_map_physical{73.0}=0x67451302
serdes_core_rx_polarity_flip_physical{73}=0x06

phy_chain_tx_lane_map_physical{81.0}=0x65210347
serdes_core_tx_polarity_flip_physical{81}=0xe2
phy_chain_rx_lane_map_physical{81.0}=0x10675423
serdes_core_rx_polarity_flip_physical{81}=0x0f

phy_chain_tx_lane_map_physical{89.0}=0x41236570
serdes_core_tx_polarity_flip_physical{89}=0x8d
phy_chain_rx_lane_map_physical{89.0}=0x45672031
serdes_core_rx_polarity_flip_physical{89}=0x63

phy_chain_tx_lane_map_physical{17.0}=0x76312504
serdes_core_tx_polarity_flip_physical{17}=0x8e
phy_chain_rx_lane_map_physical{17.0}=0x75126403
serdes_core_rx_polarity_flip_physical{17}=0x2d

phy_chain_tx_lane_map_physical{97.0}=0x31025764
serdes_core_tx_polarity_flip_physical{97}=0x3c
phy_chain_rx_lane_map_physical{97.0}=0x52136470
serdes_core_rx_polarity_flip_physical{97}=0x9c

phy_chain_tx_lane_map_physical{9.0}=0x57326014
serdes_core_tx_polarity_flip_physical{9}=0x3d
phy_chain_rx_lane_map_physical{9.0}=0x31452076
serdes_core_rx_polarity_flip_physical{9}=0x1e

phy_chain_tx_lane_map_physical{41.0}=0x03215764
serdes_core_tx_polarity_flip_physical{41}=0x3c
phy_chain_rx_lane_map_physical{41.0}=0x54671302
serdes_core_rx_polarity_flip_physical{41}=0x99

phy_chain_tx_lane_map_physical{113.0}=0x60175243
serdes_core_tx_polarity_flip_physical{113}=0xcd
phy_chain_rx_lane_map_physical{113.0}=0x20473156
serdes_core_rx_polarity_flip_physical{113}=0x87

phy_chain_tx_lane_map_physical{105.0}=0x65034721
serdes_core_tx_polarity_flip_physical{105}=0xe6
phy_chain_rx_lane_map_physical{105.0}=0x04157263
serdes_core_rx_polarity_flip_physical{105}=0x4c

phy_chain_tx_lane_map_physical{121.0}=0x16435072
serdes_core_tx_polarity_flip_physical{121}=0xae
phy_chain_rx_lane_map_physical{121.0}=0x13560247
serdes_core_rx_polarity_flip_physical{121}=0x2d

phy_chain_tx_lane_map_physical{1.0}=0x34650172
serdes_core_tx_polarity_flip_physical{1}=0xff
phy_chain_rx_lane_map_physical{1.0}=0x13026457
serdes_core_rx_polarity_flip_physical{1}=0x99

phy_chain_tx_lane_map_physical{137.0}=0x02673451
serdes_core_tx_polarity_flip_physical{137}=0x25
phy_chain_rx_lane_map_physical{137.0}=0x14730562
serdes_core_rx_polarity_flip_physical{137}=0x86

phy_chain_tx_lane_map_physical{129.0}=0x12304675
serdes_core_tx_polarity_flip_physical{129}=0x49
phy_chain_rx_lane_map_physical{129.0}=0x76453021
serdes_core_rx_polarity_flip_physical{129}=0xc3

phy_chain_tx_lane_map_physical{241.0}=0x31462075
serdes_core_tx_polarity_flip_physical{241}=0xf5
phy_chain_rx_lane_map_physical{241.0}=0x47315602
serdes_core_rx_polarity_flip_physical{241}=0xe1

phy_chain_tx_lane_map_physical{249.0}=0x13206547
serdes_core_tx_polarity_flip_physical{249}=0x27
phy_chain_rx_lane_map_physical{249.0}=0x64750312
serdes_core_rx_polarity_flip_physical{249}=0xbd

phy_chain_tx_lane_map_physical{225.0}=0x60315742
serdes_core_tx_polarity_flip_physical{225}=0x44
phy_chain_rx_lane_map_physical{225.0}=0x01546372
serdes_core_rx_polarity_flip_physical{225}=0xc3

phy_chain_tx_lane_map_physical{145.0}=0x51374602
serdes_core_tx_polarity_flip_physical{145}=0x5f
phy_chain_rx_lane_map_physical{145.0}=0x23106754
serdes_core_rx_polarity_flip_physical{145}=0xbc

phy_chain_tx_lane_map_physical{153.0}=0x05163742
serdes_core_tx_polarity_flip_physical{153}=0x0f
phy_chain_rx_lane_map_physical{153.0}=0x67102354
serdes_core_rx_polarity_flip_physical{153}=0xf0

phy_chain_tx_lane_map_physical{233.0}=0x20134576
serdes_core_tx_polarity_flip_physical{233}=0x07
phy_chain_rx_lane_map_physical{233.0}=0x23107465
serdes_core_rx_polarity_flip_physical{233}=0xe6

phy_chain_tx_lane_map_physical{161.0}=0x53246710
serdes_core_tx_polarity_flip_physical{161}=0x0f
phy_chain_rx_lane_map_physical{161.0}=0x03471265
serdes_core_rx_polarity_flip_physical{161}=0xc0

phy_chain_tx_lane_map_physical{169.0}=0x20137654
serdes_core_tx_polarity_flip_physical{169}=0x8a
phy_chain_rx_lane_map_physical{169.0}=0x27360415
serdes_core_rx_polarity_flip_physical{169}=0x9c

phy_chain_tx_lane_map_physical{177.0}=0x50346712
serdes_core_tx_polarity_flip_physical{177}=0x4f
phy_chain_rx_lane_map_physical{177.0}=0x13460257
serdes_core_rx_polarity_flip_physical{177}=0x5a

phy_chain_tx_lane_map_physical{185.0}=0x12305674
serdes_core_tx_polarity_flip_physical{185}=0xba
phy_chain_rx_lane_map_physical{185.0}=0x57460123
serdes_core_rx_polarity_flip_physical{185}=0x9f

phy_chain_tx_lane_map_physical{193.0}=0x50346712
serdes_core_tx_polarity_flip_physical{193}=0x4f
phy_chain_rx_lane_map_physical{193.0}=0x13750264
serdes_core_rx_polarity_flip_physical{193}=0x69

phy_chain_tx_lane_map_physical{201.0}=0x12305674
serdes_core_tx_polarity_flip_physical{201}=0xba
phy_chain_rx_lane_map_physical{201.0}=0x57460123
serdes_core_rx_polarity_flip_physical{201}=0x9f

phy_chain_tx_lane_map_physical{209.0}=0x50346712
serdes_core_tx_polarity_flip_physical{209}=0x4f
phy_chain_rx_lane_map_physical{209.0}=0x13460275
serdes_core_rx_polarity_flip_physical{209}=0x5a

phy_chain_tx_lane_map_physical{217.0}=0x31205674
serdes_core_tx_polarity_flip_physical{217}=0x5a
phy_chain_rx_lane_map_physical{217.0}=0x67541203
serdes_core_rx_polarity_flip_physical{217}=0x33


port_fec_20=9
port_fec_13=9
port_fec_28=9
port_fec_32=9
port_fec_40=9
port_fec_44=9
port_fec_48=9
port_fec_52=9
port_fec_9=9
port_fec_60=9
port_fec_5=9
port_fec_24=9
port_fec_68=9
port_fec_64=9
port_fec_72=9
port_fec_1=9

port_fec_84=9
port_fec_80=9
port_fec_148=9
port_fec_152=9
port_fec_140=9
port_fec_88=9
port_fec_92=9
port_fec_144=9
port_fec_100=9
port_fec_104=9
port_fec_108=9
port_fec_112=9
port_fec_120=9
port_fec_124=9
port_fec_128=9
port_fec_132=9


port_init_cl72_20=1
port_init_cl72_13=1
port_init_cl72_28=1
port_init_cl72_32=1
port_init_cl72_40=1
port_init_cl72_44=1
port_init_cl72_48=1
port_init_cl72_52=1
port_init_cl72_9=1
port_init_cl72_60=1
port_init_cl72_5=1
port_init_cl72_24=1
port_init_cl72_68=1
port_init_cl72_64=1
port_init_cl72_72=1
port_init_cl72_1=1

port_init_cl72_84=1
port_init_cl72_80=1
port_init_cl72_148=1
port_init_cl72_152=1
port_init_cl72_140=1
port_init_cl72_88=1
port_init_cl72_92=1
port_init_cl72_144=1
port_init_cl72_100=1
port_init_cl72_104=1
port_init_cl72_108=1
port_init_cl72_112=1
port_init_cl72_120=1
port_init_cl72_124=1
port_init_cl72_128=1
port_init_cl72_132=1


1 change: 1 addition & 0 deletions device/quanta/x86_64-quanta_ix9_bwde-r0/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Quanta-IX9-32X t1
3 changes: 3 additions & 0 deletions device/quanta/x86_64-quanta_ix9_bwde-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONSOLE_PORT=0x3f8
CONSOLE_DEV=0
CONSOLE_SPEED=115200
2 changes: 2 additions & 0 deletions device/quanta/x86_64-quanta_ix9_bwde-r0/led_proc_init.soc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sleep 10
led auto on
Loading

0 comments on commit ee31e3b

Please sign in to comment.