sonic-buildimage/device/inventec/x86_64-inventec_d6356-r0/INVENTEC-D6356/td3-d6356-48x25G-8x100G.config.bcm
David Xiao 110bff9b47 [Inventec][D6356] Update driver and Add new platform API implementation (#3521)
* Update driver and Add new platform API implementation for Inventec D6356
* Update Platform API (SFP)
* Update Platform API (QSFP)
* Update Platform API (FAN, THERMAL)
Signed-off-by: David Xiao <xiao.david@inventec.com>
2019-10-09 16:16:05 -07:00

413 lines
10 KiB
Plaintext

### fix for sonic
ptp_ts_pll_fref=50000000
ptp_bs_fref_0=50000000
ptp_bs_fref_1=50000000
ifp_inports_support_enable=1
### end fix
stable_size=0x5500000
core_clock_frequency=1525
dpp_clock_ratio=2:3
oversubscribe_mode=1
pbmp_xport_xe=0x488787878808787fdfe1e1e1fe1e1e1fe
#portmap_65=130:10
### Pipeline0, halfpipe 0 (12x25G + 2x100G)
portmap_1=1:25
portmap_2=2:25
portmap_3=3:25
portmap_4=4:25
portmap_5=5:25
portmap_6=6:25
portmap_7=7:25
portmap_8=8:25
portmap_13=13:25
portmap_14=14:25
portmap_15=15:25
portmap_16=16:25
portmap_21=21:25
portmap_22=22:25
portmap_23=23:25
portmap_24=24:25
portmap_29=29:25
portmap_30=30:25
portmap_31=31:25
portmap_32=32:25
### Pipeline0, halfpipe 1 (12x25G + 2x100G)
portmap_33=33:25
portmap_34=34:25
portmap_35=35:25
portmap_36=36:25
portmap_41=41:25
portmap_42=42:25
portmap_43=43:25
portmap_44=44:25
portmap_49=49:25
portmap_50=50:25
portmap_51=51:25
portmap_52=52:25
portmap_57=57:25
portmap_58=58:25
portmap_59=59:25
portmap_60=60:25
portmap_61=61:25
portmap_62=62:25
portmap_63=63:25
portmap_64=64:25
### Pipeline 1
### First management port
#portmap_66=129:10:m
### Second management port
#portmap_130=128:10:m
### Loopback port
#portmap_131=131:10
### Pipeline 1, halfpipe 0 (12x25G + 2x100G)
portmap_67=65:25
portmap_68=66:25
portmap_69=67:25
portmap_70=68:25
portmap_71=69:25
portmap_72=70:25
portmap_73=71:25
portmap_74=72:25
portmap_79=77:100
portmap_87=85:100
portmap_95=93:100
### Pipeline 1, halfpipe 1 (12x25G + 2x100G)
portmap_99=97:100
portmap_107=105:100
portmap_115=113:100
portmap_123=121:100
portmap_127=125:100
l2_mem_entries=32768
l3_mem_entries=16384
fpem_mem_entries=16384
l2xmsg_mode=1
pdma_descriptor_prefetch_enable=1
port_flex_enable=1
#dport part
dport_map_port_79=87
dport_map_port_87=79
dport_map_port_107=115
dport_map_port_115=107
#Polarity flips after lane swaps
#rx part
#FC1
phy_chain_rx_polarity_flip_physical{5.0}=0x1
phy_chain_rx_polarity_flip_physical{6.0}=0x1
phy_chain_rx_polarity_flip_physical{7.0}=0x1
phy_chain_rx_polarity_flip_physical{8.0}=0x1
#FC3
phy_chain_rx_polarity_flip_physical{13.0}=0x1
phy_chain_rx_polarity_flip_physical{14.0}=0x1
phy_chain_rx_polarity_flip_physical{15.0}=0x1
phy_chain_rx_polarity_flip_physical{16.0}=0x1
#FC5
phy_chain_rx_polarity_flip_physical{21.0}=0x1
phy_chain_rx_polarity_flip_physical{22.0}=0x1
phy_chain_rx_polarity_flip_physical{23.0}=0x1
phy_chain_rx_polarity_flip_physical{24.0}=0x1
#FC8
phy_chain_rx_polarity_flip_physical{33.0}=0x1
phy_chain_rx_polarity_flip_physical{34.0}=0x1
phy_chain_rx_polarity_flip_physical{35.0}=0x1
phy_chain_rx_polarity_flip_physical{36.0}=0x1
#FC10
phy_chain_rx_polarity_flip_physical{41.0}=0x1
phy_chain_rx_polarity_flip_physical{42.0}=0x1
phy_chain_rx_polarity_flip_physical{43.0}=0x1
phy_chain_rx_polarity_flip_physical{44.0}=0x1
#FC12
phy_chain_rx_polarity_flip_physical{49.0}=0x1
phy_chain_rx_polarity_flip_physical{50.0}=0x1
phy_chain_rx_polarity_flip_physical{51.0}=0x1
phy_chain_rx_polarity_flip_physical{52.0}=0x1
#FC14
phy_chain_rx_polarity_flip_physical{57.0}=0x1
phy_chain_rx_polarity_flip_physical{58.0}=0x1
phy_chain_rx_polarity_flip_physical{59.0}=0x1
phy_chain_rx_polarity_flip_physical{60.0}=0x1
#FC15
phy_chain_rx_polarity_flip_physical{63.0}=0x1
phy_chain_rx_polarity_flip_physical{64.0}=0x1
#FC16
phy_chain_rx_polarity_flip_physical{65.0}=0x1
phy_chain_rx_polarity_flip_physical{66.0}=0x1
#FC17
phy_chain_rx_polarity_flip_physical{69.0}=0x1
phy_chain_rx_polarity_flip_physical{70.0}=0x1
phy_chain_rx_polarity_flip_physical{71.0}=0x1
phy_chain_rx_polarity_flip_physical{72.0}=0x1
#FC19
phy_chain_rx_polarity_flip_physical{77.0}=0x1
phy_chain_rx_polarity_flip_physical{78.0}=0x1
#FC21
phy_chain_rx_polarity_flip_physical{85.0}=0x1
phy_chain_rx_polarity_flip_physical{86.0}=0x1
#FC23
phy_chain_rx_polarity_flip_physical{93.0}=0x1
phy_chain_rx_polarity_flip_physical{94.0}=0x1
#FC24
phy_chain_rx_polarity_flip_physical{99.0}=0x1
phy_chain_rx_polarity_flip_physical{100.0}=0x1
#FC26
phy_chain_rx_polarity_flip_physical{105.0}=0x1
phy_chain_rx_polarity_flip_physical{106.0}=0x1
#FC28
phy_chain_rx_polarity_flip_physical{113.0}=0x1
#phy_chain_rx_polarity_flip_physical{114.0}=0x1
#FC30
phy_chain_rx_polarity_flip_physical{121.0}=0x1
phy_chain_rx_polarity_flip_physical{122.0}=0x1
#FC31
phy_chain_rx_polarity_flip_physical{127.0}=0x1
phy_chain_rx_polarity_flip_physical{128.0}=0x1
#tx part
#FC19
phy_chain_tx_polarity_flip_physical{79.0}=0x1
phy_chain_tx_polarity_flip_physical{80.0}=0x1
#FC21
phy_chain_tx_polarity_flip_physical{87.0}=0x1
phy_chain_tx_polarity_flip_physical{88.0}=0x1
#FC23
phy_chain_tx_polarity_flip_physical{94.0}=0x1
phy_chain_tx_polarity_flip_physical{95.0}=0x1
phy_chain_tx_polarity_flip_physical{96.0}=0x1
#FC24
phy_chain_tx_polarity_flip_physical{99.0}=0x1
phy_chain_tx_polarity_flip_physical{100.0}=0x1
#FC26
phy_chain_tx_polarity_flip_physical{107.0}=0x1
phy_chain_tx_polarity_flip_physical{108.0}=0x1
#FC28
phy_chain_tx_polarity_flip_physical{115.0}=0x1
phy_chain_tx_polarity_flip_physical{116.0}=0x1
#FC30
phy_chain_tx_polarity_flip_physical{122.0}=0x1
phy_chain_tx_polarity_flip_physical{123.0}=0x1
phy_chain_tx_polarity_flip_physical{124.0}=0x1
#FC31
phy_chain_tx_polarity_flip_physical{127.0}=0x1
phy_chain_tx_polarity_flip_physical{128.0}=0x1
phy_chain_rx_lane_map_physical{1.0}=0x1032
phy_chain_tx_lane_map_physical{1.0}=0x0123
phy_chain_rx_lane_map_physical{5.0}=0x1032
phy_chain_tx_lane_map_physical{5.0}=0x0123
phy_chain_rx_lane_map_physical{13.0}=0x1032
phy_chain_tx_lane_map_physical{13.0}=0x0123
phy_chain_rx_lane_map_physical{21.0}=0x1032
phy_chain_tx_lane_map_physical{21.0}=0x0123
phy_chain_rx_lane_map_physical{29.0}=0x1032
phy_chain_tx_lane_map_physical{29.0}=0x0123
phy_chain_rx_lane_map_physical{33.0}=0x1032
phy_chain_tx_lane_map_physical{33.0}=0x0123
phy_chain_rx_lane_map_physical{41.0}=0x1032
phy_chain_tx_lane_map_physical{41.0}=0x0123
phy_chain_rx_lane_map_physical{49.0}=0x1032
phy_chain_tx_lane_map_physical{49.0}=0x0123
phy_chain_rx_lane_map_physical{57.0}=0x1032
phy_chain_tx_lane_map_physical{57.0}=0x0123
phy_chain_rx_lane_map_physical{61.0}=0x1032
phy_chain_tx_lane_map_physical{61.0}=0x0123
phy_chain_rx_lane_map_physical{65.0}=0x2301
phy_chain_tx_lane_map_physical{65.0}=0x3210
phy_chain_rx_lane_map_physical{69.0}=0x2301
phy_chain_tx_lane_map_physical{69.0}=0x3210
phy_chain_rx_lane_map_physical{85.0}=0x0213
phy_chain_tx_lane_map_physical{85.0}=0x3120
phy_chain_rx_lane_map_physical{77.0}=0x2031
phy_chain_tx_lane_map_physical{77.0}=0x1302
phy_chain_rx_lane_map_physical{93.0}=0x2031
phy_chain_tx_lane_map_physical{93.0}=0x1302
phy_chain_rx_lane_map_physical{97.0}=0x0213
phy_chain_tx_lane_map_physical{97.0}=0x3120
phy_chain_rx_lane_map_physical{113.0}=0x1203
phy_chain_tx_lane_map_physical{113.0}=0x3120
phy_chain_rx_lane_map_physical{105.0}=0x2031
phy_chain_tx_lane_map_physical{105.0}=0x1302
phy_chain_rx_lane_map_physical{121.0}=0x2031
phy_chain_tx_lane_map_physical{121.0}=0x1302
phy_chain_rx_lane_map_physical{125.0}=0x0213
phy_chain_tx_lane_map_physical{125.0}=0x3120
phy_chain_tx_polarity_flip_physical{129.0}=0x0
phy_chain_rx_polarity_flip_physical{129.0}=0x0
phy_chain_tx_polarity_flip_physical{130.0}=0x0
phy_chain_rx_polarity_flip_physical{130.0}=0x0
phy_chain_tx_polarity_flip_physical{131.0}=0x0
phy_chain_rx_polarity_flip_physical{131.0}=0x0
phy_chain_tx_polarity_flip_physical{132.0}=0x0
phy_chain_rx_polarity_flip_physical{132.0}=0x0
# EQ/IDriver
# 25G
serdes_preemphasis_1=0x0F4B0A
serdes_preemphasis_2=0x104A0A
serdes_preemphasis_3=0x0E4C0A
serdes_preemphasis_4=0x0E4C0A
serdes_preemphasis_5=0x0D4D0A
serdes_preemphasis_6=0x0D4D0A
serdes_preemphasis_7=0x0D4D0A
serdes_preemphasis_8=0x0D4D0A
serdes_preemphasis_13=0x0C4E0A
serdes_preemphasis_14=0x0D4D0A
serdes_preemphasis_15=0x0B4F0A
serdes_preemphasis_16=0x0C4E0A
serdes_preemphasis_21=0x0A500A
serdes_preemphasis_22=0x0A500A
serdes_preemphasis_23=0x09510A
serdes_preemphasis_24=0x09510A
serdes_preemphasis_29=0x08520A
serdes_preemphasis_30=0x08520A
serdes_preemphasis_31=0x07530A
serdes_preemphasis_32=0x07530A
serdes_preemphasis_33=0x06540A
serdes_preemphasis_34=0x07530A
serdes_preemphasis_35=0x05550A
serdes_preemphasis_36=0x06540A
serdes_preemphasis_41=0x05550A
serdes_preemphasis_42=0x06540A
serdes_preemphasis_43=0x05550A
serdes_preemphasis_44=0x05550A
serdes_preemphasis_49=0x04560A
serdes_preemphasis_50=0x05550A
serdes_preemphasis_51=0x05550A
serdes_preemphasis_52=0x06540A
serdes_preemphasis_57=0x06540A
serdes_preemphasis_58=0x07530A
serdes_preemphasis_59=0x06540A
serdes_preemphasis_60=0x07530A
serdes_preemphasis_61=0x06540A
serdes_preemphasis_62=0x08520A
serdes_preemphasis_63=0x08520A
serdes_preemphasis_64=0x09510A
serdes_preemphasis_67=0x06540A
serdes_preemphasis_68=0x06540A
serdes_preemphasis_69=0x06540A
serdes_preemphasis_70=0x08520A
serdes_preemphasis_71=0x09510A
serdes_preemphasis_72=0x09510A
serdes_preemphasis_73=0x09510A
serdes_preemphasis_74=0x0A500A
serdes_preemphasis_lane0_87=0x07530A
serdes_preemphasis_lane1_87=0x05550A
serdes_preemphasis_lane2_87=0x07530A
serdes_preemphasis_lane3_87=0x05550A
serdes_preemphasis_79=0x05550A
serdes_preemphasis_95=0x07530A
serdes_preemphasis_lane0_99=0x085309
serdes_preemphasis_lane1_99=0x0B4F0A
serdes_preemphasis_lane2_99=0x085309
serdes_preemphasis_lane3_99=0x0B4F0A
serdes_preemphasis_115=0x0B4F0A
serdes_preemphasis_107=0x0B4F0A
serdes_preemphasis_123=0x0B4F0A
serdes_preemphasis_127=0x0D4E09
# 10G
# interface type
serdes_if_type_1=16
serdes_if_type_2=16
serdes_if_type_3=16
serdes_if_type_4=16
serdes_if_type_5=16
serdes_if_type_6=16
serdes_if_type_7=16
serdes_if_type_8=16
serdes_if_type_13=16
serdes_if_type_14=16
serdes_if_type_15=16
serdes_if_type_16=16
serdes_if_type_21=16
serdes_if_type_22=16
serdes_if_type_23=16
serdes_if_type_24=16
serdes_if_type_29=16
serdes_if_type_30=16
serdes_if_type_31=16
serdes_if_type_32=16
serdes_if_type_33=16
serdes_if_type_34=16
serdes_if_type_35=16
serdes_if_type_36=16
serdes_if_type_41=16
serdes_if_type_42=16
serdes_if_type_43=16
serdes_if_type_44=16
serdes_if_type_49=16
serdes_if_type_50=16
serdes_if_type_51=16
serdes_if_type_52=16
serdes_if_type_57=16
serdes_if_type_58=16
serdes_if_type_59=16
serdes_if_type_60=16
serdes_if_type_61=16
serdes_if_type_62=16
serdes_if_type_63=16
serdes_if_type_64=16
serdes_if_type_67=16
serdes_if_type_68=16
serdes_if_type_69=16
serdes_if_type_70=16
serdes_if_type_71=16
serdes_if_type_72=16
serdes_if_type_73=16
serdes_if_type_74=16
serdes_if_type_87=28
serdes_if_type_79=28
serdes_if_type_95=28
serdes_if_type_99=28
serdes_if_type_115=28
serdes_if_type_107=28
serdes_if_type_123=28
serdes_if_type_127=28