Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # |
| 2 | # $Id: config-sand.bcm,v 1.140 2013/09/22 14:29:47 tomerma Exp $ |
| 3 | # |
| 4 | # $Copyright: (c) 2011 Broadcom Corporation |
| 5 | # All Rights Reserved.$ |
| 6 | |
| 7 | #pci_override_dev.0=0x8375 |
| 8 | |
| 9 | # Note: comment size is restricted to 128 charecters per line. |
| 10 | |
| 11 | ######################################### |
| 12 | ##cfg for BCM88640 (PetraB), BCM88650 (Arad) and BCM88202 (Ardon) |
| 13 | ######################################### |
| 14 | |
| 15 | ## temporary suppressing unknown soc properties warnings - till adding them unknown to property.h/propgen |
| 16 | ## (need to be the first soc property in the file). |
| 17 | suppress_unknown_prop_warnings=1 |
| 18 | |
| 19 | |
| 20 | ## Multi device system (Negev): 2 devices, fabric mode is FE, mod id is slot id |
| 21 | ## (Top line card is 0, button is 1). |
| 22 | #diag_chassis=1 |
| 23 | |
| 24 | ## Disable diag init application. Should be used if one wants to run his own |
| 25 | ## application instead of the diag init example |
| 26 | #diag_disable=1 |
| 27 | |
| 28 | ## Skip cosq configuration in diag_init |
| 29 | #diag_cosq_disable=1 |
| 30 | # |
| 31 | |
| 32 | stack_enable.BCM88680=1 |
| 33 | tdma_timeout_usec.BCM88680=3000000 |
| 34 | tslam_timeout_usec.BCM88680=3000000 |
| 35 | diag_emulator_partial_init.BCM88680=0 |
| 36 | phy_simul.BCM88680=0 |
| 37 | |
| 38 | |
| 39 | ## Skip l2 configuration in diag_init |
| 40 | #diag_l2_disable=1 |
| 41 | |
| 42 | ## L2 mode to load 0=DEFAULT, 1=INGRESS_DIST, 2=INGRESS_CENT, 3=EGRESS_DIST, 4=EGRESS_CENT, 5=EGRESS_INDEPENDENT |
| 43 | # 6=(INGRESS_CENT + LEARN_CPU), 7=(EGRESS_CENT + LEARN_CPU) |
| 44 | #l2_mode=0 |
| 45 | |
| 46 | ## Skip stk configuration in diag_init |
| 47 | #diag_no_appl_stk=1 |
| 48 | |
| 49 | ## Skip itmh programmable mode configuration in diag_init |
| 50 | #diag_no_itmh_prog_mode=1 |
| 51 | |
| 52 | # Ingress PMF key allocation optimization |
| 53 | field_key_allocation_msb_balance_enable=1 |
| 54 | |
| 55 | ## Set modid value. Should be used when running multi-fap system. |
| 56 | ## Each fap should have it's unique modid value. Default is described in diag_chassis. |
| 57 | #module_id=<modid> |
| 58 | |
| 59 | ## Set base_modid value. Default is 0. |
| 60 | #base_module_id=<base_modid> |
| 61 | |
| 62 | ## Set nof_devices value. Should be set when working on multi-faps system. |
| 63 | ## Default is 1 when diag_chassis is not enabled, or 2 when diag_chassis is enabled. |
| 64 | #n_devices=<nof_devices> |
| 65 | |
| 66 | ######################################### |
| 67 | ##cfg for BCM88650 - Arad |
| 68 | ######################################### |
| 69 | |
| 70 | ### Device configuration ### |
| 71 | |
| 72 | ## Activate Emulation partial init. Values: 0 - Normal, 1 - Emulation .Default: 0x0. |
| 73 | diag_emulator_partial_init.BCM88650=0 |
| 74 | #diag_emulator_partial_init.BCM88270=1 |
| 75 | #diag_emulator_partial_init.BCM88680=1 |
| 76 | #diag_emulator_partial_init.BCM88675=2 |
| 77 | |
| 78 | #real phy isn't connected - remove on silicon arrival |
| 79 | #phy_simul.BCM88675=1 |
| 80 | |
| 81 | ## General |
| 82 | # Set the FAP Device mode |
| 83 | # Options: PP / TM / TDM_OPTIMIZED / TDM_STANDARD |
| 84 | fap_device_mode.BCM88650=PP |
| 85 | # |
| 86 | # FIXME: SDK-91833 |
| 87 | # PP Fixed Followed SDK-91662 |
| 88 | # |
| 89 | |
| 90 | # Options: SYMMETRIC / ASYMMETRIC / SINGLE_CORE |
| 91 | # For faster emulation, use SINGLE_CORE |
| 92 | device_core_mode.BCM88675=SYMMETRIC |
| 93 | device_core_mode.BCM88680=SYMMETRIC |
| 94 | ## Credit worth size (Bytes) |
| 95 | credit_size.BCM88650=1024 |
| 96 | |
| 97 | ## KBP recovery - allow for recovery sequence to run during init and soft reset (only if necessary) |
| 98 | custom_feature_kbp_recovery_enable=0 |
| 99 | |
| 100 | ## Clock configurations |
| 101 | # Core clock speed (MHz). Default- BCM88650: 600 MHz, BCM88675: 720 MHz |
| 102 | core_clock_speed_khz.BCM88650=600000 |
| 103 | core_clock_speed_khz.BCM88675=720000 |
| 104 | core_clock_speed_khz.BCM88470=600000 |
| 105 | core_clock_speed_khz.BCM88680=837500 |
| 106 | core_clock_speed_khz.BCM88270=250000 |
| 107 | |
| 108 | # System reference clock (MHz). Default- BCM88650: 600 MHz, BCM88675: 800 MHz |
| 109 | system_ref_core_clock_khz.BCM88650=1200000 |
| 110 | |
| 111 | #fabric pcp |
| 112 | fabric_pcp_enable.BCM88675=1 |
| 113 | |
| 114 | #Using Tcam instead of the KAPS for the IPv4 MC and IPV6 MC |
| 115 | # 0 - Don't use TACM |
| 116 | # 1 - Use TCAM for IPV4/6 MC |
| 117 | # 2 - Use TACM for IPV4/6 MC but don't use the VRF field as a qualifier for IPV4 MC entries |
| 118 | #custom_feature_l3_mc_use_tcam=0 |
| 119 | |
| 120 | #for IPv6UC: use Tcam instead of KAPS |
| 121 | #Note that if this property is enabled the IPV6-UC RPF will be disabled |
| 122 | #custom_feature_l3_ipv6_uc_use_tcam=0 |
| 123 | |
| 124 | |
| 125 | #ams pll override value (only for Jericho A0/A1)- possible values: 0x19, 0x1e, 0x1f. Default value 0x1f |
| 126 | #custom_feature_ams_pll_override.BCM88675=0x1f |
| 127 | |
| 128 | ### Network Interface configuration ### |
| 129 | ## Use of the ucode_port_<Local-Port-Id>=<Interface-type>[<Interface-Id>][.<Channel-Id>] |
| 130 | ## Local port range: 0 - 255. |
| 131 | ## Interface types: XAUI/RXAUI/SGMII/ILKN/10GBase-R/XLGE/CGE/CPU/IGNORE |
| 132 | |
| 133 | # Map bcm local port to CPU[.channel] interfaces |
| 134 | ucode_port_0.BCM88650=CPU.0 |
| 135 | |
| 136 | # Map bcm local port to Network-Interface[.channel] interfaces - TBD |
| 137 | ucode_port_132.BCM88650=10GBase-R3 |
| 138 | ucode_port_131.BCM88650=10GBase-R2 |
| 139 | ucode_port_130.BCM88650=10GBase-R1 |
| 140 | ucode_port_129.BCM88650=10GBase-R0 |
| 141 | ucode_port_128.BCM88650=10GBase-R46 |
| 142 | #ucode_port_128.BCM88650=GE46 |
| 143 | |
| 144 | ucode_port_6.BCM88650=10GBase-R22 |
| 145 | ucode_port_5.BCM88650=10GBase-R23 |
| 146 | ucode_port_4.BCM88650=10GBase-R16 |
| 147 | ucode_port_3.BCM88650=10GBase-R17 |
| 148 | ucode_port_2.BCM88650=10GBase-R45 |
| 149 | ucode_port_1.BCM88650=10GBase-R47 |
| 150 | |
| 151 | custom_feature_nif_recovery_enable.BCM88650=1 |
| 152 | custom_feature_nif_recovery_iter.BCM88650=7 |
| 153 | custom_feature_skip_before_traffic_validation.BCM88675=0 |
| 154 | #custom_feature_mac_fifo_start_tx_thrs.BCM88675=9 |
| 155 | |
| 156 | #redirect packets that are destined to invalid queues |
| 157 | invalid_queue_redirect=0 |
| 158 | |
| 159 | #CLP0 |
| 160 | #ucode_port_1.BCM88675=XE0:core_0.1 |
| 161 | #ucode_port_2.BCM88675=XE1:core_0.2 |
| 162 | #ucode_port_3.BCM88675=XE2:core_0.3 |
| 163 | #ucode_port_4.BCM88675=XE3:core_0.4 |
| 164 | #CLP1 |
| 165 | #ucode_port_5.BCM88675=XE4:core_0.5 |
| 166 | #ucode_port_6.BCM88675=XE5:core_0.6 |
| 167 | #ucode_port_7.BCM88675=XE6:core_0.7 |
| 168 | #ucode_port_8.BCM88675=XE7:core_0.8 |
| 169 | #CLP2 |
| 170 | #ucode_port_9.BCM88675=XE8:core_0.9 |
| 171 | #ucode_port_10.BCM88675=XE9:core_0.10 |
| 172 | #ucode_port_11.BCM88675=XE10:core_0.11 |
| 173 | #ucode_port_12.BCM88675=XE11:core_0.12 |
| 174 | #CLP3 |
| 175 | #ucode_port_13.BCM88675=XE12:core_0.13 |
| 176 | #ucode_port_14.BCM88675=XE13:core_0.14 |
| 177 | #ucode_port_15.BCM88675=XE14:core_0.15 |
| 178 | #ucode_port_16.BCM88675=XE15:core_0.16 |
| 179 | #CLP4 |
| 180 | #ucode_port_17.BCM88675=XE16:core_0.17 |
| 181 | #ucode_port_18.BCM88675=XE17:core_0.18 |
| 182 | #ucode_port_19.BCM88675=XE18:core_0.19 |
| 183 | #ucode_port_20.BCM88675=XE19:core_0.20 |
| 184 | #CLP5 |
| 185 | #ucode_port_21.BCM88675=XE20:core_0.21 |
| 186 | #ucode_port_22.BCM88675=XE21:core_0.22 |
| 187 | #ucode_port_23.BCM88675=XE22:core_0.23 |
| 188 | #ucode_port_24.BCM88675=XE23:core_0.24 |
| 189 | #XLP0 |
| 190 | #ucode_port_25.BCM88675=XE24:core_0.25 |
| 191 | #ucode_port_26.BCM88675=XE25:core_0.26 |
| 192 | #ucode_port_27.BCM88675=XE26:core_0.27 |
| 193 | #ucode_port_28.BCM88675=XE27:core_0.28 |
| 194 | #XLP1 |
| 195 | #ucode_port_29.BCM88675=XE28:core_0.29 |
| 196 | #ucode_port_30.BCM88675=XE29:core_0.30 |
| 197 | #ucode_port_31.BCM88675=XE30:core_0.31 |
| 198 | #ucode_port_32.BCM88675=XE31:core_0.32 |
| 199 | #XLP2 |
| 200 | #ucode_port_33.BCM88675=XE32:core_0.33 |
| 201 | #ucode_port_34.BCM88675=XE33:core_0.34 |
| 202 | #ucode_port_35.BCM88675=XE34:core_0.35 |
| 203 | #ucode_port_36.BCM88675=XE35:core_0.36 |
| 204 | #XLP3 |
| 205 | #ucode_port_37.BCM88675=XE36:core_0.37 |
| 206 | #ucode_port_38.BCM88675=XE37:core_0.38 |
| 207 | #ucode_port_39.BCM88675=XE38:core_0.39 |
| 208 | #ucode_port_40.BCM88675=XE39:core_0.40 |
| 209 | #XLP4 (not as PMQ0) |
| 210 | #ucode_port_41.BCM88675=XE40:core_0.41 |
| 211 | #ucode_port_42.BCM88675=XE41:core_0.42 |
| 212 | #ucode_port_43.BCM88675=XE42:core_0.43 |
| 213 | #ucode_port_44.BCM88675=XE43:core_0.44 |
| 214 | #XLP5 (not as PMQ1) |
| 215 | #ucode_port_45.BCM88675=XE44:core_0.45 |
| 216 | #ucode_port_46.BCM88675=XE45:core_0.46 |
| 217 | #ucode_port_47.BCM88675=XE46:core_0.47 |
| 218 | #ucode_port_48.BCM88675=XE47:core_0.48 |
| 219 | #XLP9 |
| 220 | #ucode_port_49.BCM88675=XE60:core_0.49 |
| 221 | #ucode_port_50.BCM88675=XE61:core_0.50 |
| 222 | #ucode_port_51.BCM88675=XE62:core_0.51 |
| 223 | #ucode_port_52.BCM88675=XE63:core_0.52 |
| 224 | #XLP10 |
| 225 | #ucode_port_53.BCM88675=XE64:core_0.53 |
| 226 | #ucode_port_54.BCM88675=XE65:core_0.54 |
| 227 | #ucode_port_55.BCM88675=XE66:core_0.55 |
| 228 | #ucode_port_56.BCM88675=XE67:core_0.56 |
| 229 | #XLP11 (not as PMQ3) |
| 230 | #ucode_port_57.BCM88675=XE68:core_0.57 |
| 231 | #ucode_port_58.BCM88675=XE69:core_0.58 |
| 232 | #ucode_port_59.BCM88675=XE70:core_0.59 |
| 233 | #ucode_port_60.BCM88675=XE71:core_0.60 |
| 234 | |
| 235 | |
| 236 | ucode_port_0.BCM88675=CPU.0:core_0.0 |
| 237 | ucode_port_0.BCM88680=CPU.0:core_0.0 |
| 238 | ucode_port_200.BCM88675=CPU.8:core_1.200 |
| 239 | ucode_port_200.BCM88680=CPU.8:core_1.200 |
| 240 | ucode_port_201.BCM88675=CPU.16:core_0.201 |
| 241 | ucode_port_201.BCM88680=CPU.16:core_0.201 |
| 242 | ucode_port_202.BCM88675=CPU.24:core_1.202 |
| 243 | ucode_port_202.BCM88680=CPU.24:core_1.202 |
| 244 | ucode_port_203.BCM88675=CPU.32:core_0.203 |
| 245 | ucode_port_203.BCM88680=CPU.32:core_0.203 |
| 246 | |
| 247 | #default ports for Jericho and QMX |
| 248 | ucode_port_1.BCM88675=CGE0:core_0.1 |
| 249 | ucode_port_2.BCM88675=ILKN1:core_0.2 |
| 250 | ilkn_lanes_1.BCM88675=0xfff000 |
| 251 | ucode_port_3.BCM88675=ILKN2:core_0.3 |
| 252 | ilkn_lanes_2.BCM88675=0xfff |
| 253 | ucode_port_17.BCM88675=CGE1:core_1.17 |
| 254 | |
| 255 | #default ports for Jericho |
| 256 | ucode_port_13.BCM88675=10GBase-R64:core_0.13 |
| 257 | ucode_port_14.BCM88675=10GBase-R65:core_0.14 |
| 258 | ucode_port_15.BCM88675=10GBase-R68:core_1.15 |
| 259 | ucode_port_16.BCM88675=10GBase-R69:core_1.16 |
| 260 | |
| 261 | #default ports for Jericho Plus |
| 262 | ucode_port_13.BCM88680=10GBase-R40:core_0.13 |
| 263 | ucode_port_14.BCM88680=10GBase-R43:core_0.14 |
| 264 | ucode_port_15.BCM88680=10GBase-R44:core_1.15 |
| 265 | ucode_port_16.BCM88680=10GBase-R46:core_1.16 |
| 266 | |
| 267 | #default ports for QMX |
| 268 | ucode_port_13.BCM88375_A0=10GBase-R64:core_0.13 |
| 269 | ucode_port_14.BCM88375_A0=10GBase-R66:core_0.14 |
| 270 | ucode_port_15.BCM88375_A0=10GBase-R69:core_1.15 |
| 271 | ucode_port_16.BCM88375_A0=10GBase-R71:core_1.16 |
| 272 | |
| 273 | |
| 274 | ucode_port_13.BCM88375_B0=10GBase-R64:core_0.13 |
| 275 | ucode_port_14.BCM88375_B0=10GBase-R66:core_0.14 |
| 276 | ucode_port_15.BCM88375_B0=10GBase-R69:core_1.15 |
| 277 | ucode_port_16.BCM88375_B0=10GBase-R71:core_1.16 |
| 278 | |
| 279 | |
| 280 | #default ports for QAX |
| 281 | ucode_port_0.BCM88470=CPU.0:core_0.0 |
| 282 | |
| 283 | ucode_port_200.BCM88470=CPU.8:core_0.200 |
| 284 | |
| 285 | ucode_port_201.BCM88470=CPU.16:core_0.201 |
| 286 | |
| 287 | ucode_port_202.BCM88470=CPU.24:core_0.202 |
| 288 | |
| 289 | ucode_port_203.BCM88470=CPU.32:core_0.203 |
| 290 | |
| 291 | tm_port_header_type_in_0.BCM88470=INJECTED_2_PP |
| 292 | tm_port_header_type_out_0.BCM88470=CPU |
| 293 | |
| 294 | ucode_port_1.BCM88470=XE47:core_0.1 |
| 295 | ucode_port_2.BCM88470=XE45:core_0.2 |
| 296 | ucode_port_3.BCM88470=XE17:core_0.3 |
| 297 | ucode_port_4.BCM88470=XE16:core_0.4 |
| 298 | ucode_port_5.BCM88470=XE23:core_0.5 |
| 299 | ucode_port_6.BCM88470=XE22:core_0.6 |
| 300 | #port_init_speed_xe1.BCM88470=2500 |
| 301 | pon_application_support_enabled_1.BCM88470=TRUE |
| 302 | pon_application_support_enabled_3.BCM88470=TRUE |
| 303 | pon_application_support_enabled_4.BCM88470=TRUE |
| 304 | pon_application_support_enabled_5.BCM88470=TRUE |
| 305 | pon_application_support_enabled_6.BCM88470=TRUE |
| 306 | |
| 307 | bcm886xx_rx_use_hw_trap_id.BCM88650=0 |
| 308 | |
| 309 | #ucode_port_128.BCM88470=GE46:core_0.128 |
| 310 | #port_init_speed_ge46.BCM88470=1000 |
| 311 | ucode_port_128.BCM88470=XE46:core_0.128 |
| 312 | ucode_port_132.BCM88470=XE3:core_0.132 |
| 313 | ucode_port_131.BCM88470=XE2:core_0.131 |
| 314 | ucode_port_130.BCM88470=XE1:core_0.130 |
| 315 | ucode_port_129.BCM88470=XE0:core_0.129 |
| 316 | |
| 317 | bcm886xx_rx_use_hw_trap_id.BCM88470=0 |
| 318 | |
| 319 | stable_filename.BCM88270=/tmp/warmboot_data |
| 320 | fap_device_mode.BCM88270=PP |
| 321 | #default ports for QUX |
| 322 | ucode_port_0.BCM88270=CPU.0:core_0.0 |
| 323 | ucode_port_200.BCM88270=CPU.8:core_0.100 |
| 324 | ucode_port_201.BCM88270=CPU.16:core_0.101 |
| 325 | ucode_port_202.BCM88270=CPU.24:core_0.102 |
| 326 | ucode_port_203.BCM88270=CPU.32:core_0.103 |
| 327 | ucode_port_1.BCM88270=XE0:core_0.1 |
| 328 | ucode_port_2.BCM88270=XE1:core_0.2 |
| 329 | ucode_port_3.BCM88270=XE2:core_0.3 |
| 330 | ucode_port_13.BCM88270=GE12:core_0.13 |
| 331 | ucode_port_14.BCM88270=GE13:core_0.14 |
| 332 | ucode_port_15.BCM88270=GE14:core_0.15 |
| 333 | ucode_port_16.BCM88270=GE15:core_0.16 |
| 334 | ucode_port_17.BCM88270=GE16:core_0.17 |
| 335 | |
| 336 | |
| 337 | #Firmware mode: |
| 338 | #(Documantation relevant for BCM886xx and BCM887xx) |
| 339 | # 0=DEFAULT |
| 340 | # 1=SFP_OPT_SR4 - optical short range |
| 341 | # 2=SFP_DAC - direct attach copper |
| 342 | # 3=XLAUI - 40G XLAUI mode |
| 343 | # 4=FORCE_OSDFE - force over sample digital feedback equalization |
| 344 | # 5=FORCE_BRDFE - force baud rate digital feedback equalization |
| 345 | # 6=SW_CL72 - software cl72 with AN on |
| 346 | # 7=CL72_WITHOUT_AN - cl72 without AN |
| 347 | #For Negev2 chassis enable DFE is recommended |
| 348 | serdes_firmware_mode.BCM88650=2 |
| 349 | serdes_firmware_mode_il.BCM88650=4 |
| 350 | serdes_firmware_mode_sfi.BCM88650=0 |
| 351 | serdes_firmware_mode_sfi.BCM88675=4 |
| 352 | serdes_firmware_mode_sfi.BCM88470=4 |
| 353 | serdes_firmware_mode_sfi.BCM88270=4 |
| 354 | serdes_firmware_mode_sfi.BCM88680=4 |
| 355 | |
| 356 | |
| 357 | #ucode_port_1.BCM88650=10GBase-R0 |
| 358 | #ucode_port_2.BCM88650=10GBase-R1 |
| 359 | #ucode_port_3.BCM88650=10GBase-R2 |
| 360 | #ucode_port_4.BCM88650=10GBase-R3 |
| 361 | #ucode_port_5.BCM88650=10GBase-R4 |
| 362 | #ucode_port_6.BCM88650=10GBase-R5 |
| 363 | #ucode_port_7.BCM88650=10GBase-R6 |
| 364 | #ucode_port_8.BCM88650=10GBase-R7 |
| 365 | #ucode_port_9.BCM88650=10GBase-R8 |
| 366 | #ucode_port_10.BCM88650=10GBase-R9 |
| 367 | #ucode_port_11.BCM88650=10GBase-R10 |
| 368 | #ucode_port_12.BCM88650=10GBase-R11 |
| 369 | #ucode_port_13.BCM88650=10GBase-R12 |
| 370 | #ucode_port_14.BCM88650=10GBase-R13 |
| 371 | #ucode_port_15.BCM88650=10GBase-R14 |
| 372 | #ucode_port_16.BCM88650=10GBase-R15 |
| 373 | #ucode_port_17.BCM88650=10GBase-R16 |
| 374 | #ucode_port_18.BCM88650=10GBase-R17 |
| 375 | #ucode_port_19.BCM88650=10GBase-R18 |
| 376 | #ucode_port_20.BCM88650=10GBase-R19 |
| 377 | ucode_port_200.BCM88650=CPU.8 |
| 378 | ucode_port_201.BCM88650=CPU.16 |
| 379 | ucode_port_202.BCM88650=CPU.24 |
| 380 | ucode_port_203.BCM88650=CPU.32 |
| 381 | |
| 382 | #40G |
| 383 | #ucode_port_1.BCM88650=XLGE0 |
| 384 | #ucode_port_2.BCM88650=XLGE1 |
| 385 | #ucode_port_3.BCM88650=XLGE2 |
| 386 | #ucode_port_4.BCM88650=XLGE3 |
| 387 | #ucode_port_5.BCM88650=XLGE4 |
| 388 | #ucode_port_6.BCM88650=XLGE5 |
| 389 | #ucode_port_7.BCM88650=XLGE6 |
| 390 | |
| 391 | #ILKN configuration - basic config |
| 392 | #ucode_port_31.BCM88650=ILKN0 |
| 393 | #ucode_port_32.BCM88650=ILKN1 |
| 394 | #ucode_port_32.BCM88675=ILKN1:core_0.32 |
| 395 | #ilkn_num_lanes_0.BCM88650=12 |
| 396 | #ilkn_num_lanes_1.BCM88650=12 |
| 397 | #port_init_speed_il.BCM88650=10312 |
| 398 | |
| 399 | |
| 400 | #ILKN per port channel stat |
| 401 | #ilkn_counters_mode.BCM88650=PACKET_PER_CHANNEL |
| 402 | |
| 403 | #ILKN configuration - advanced |
| 404 | #ilkn_metaframe_sync_period=2048 |
| 405 | #ILKN burst configuration - ILKN max burst suppored values: 128, 256 |
| 406 | #ILKN burst short should be lesser or equal to burst max /2 |
| 407 | #ilkn_burst_max.BCM88675=256 |
| 408 | #ilkn_burst_min.BCM88675=32 |
| 409 | # Enable\Disable ILKN status message sent through an out-of-band interface. |
| 410 | # ilkn_interface_status_oob_ignore.BCM88650=1 |
| 411 | |
| 412 | # ilkn_is_burst_interleaving<ilkn_id> |
| 413 | # 1 - The channelized interface functions in burst interleaving mode (default). 0 - in full packet mode. |
| 414 | #ilkn_is_burst_interleaving_1.BCM88675=0 |
| 415 | |
| 416 | ##ILKN retransmit |
| 417 | #ilkn_retransmit_enable_rx.BCM88650=1 |
| 418 | #ilkn_retransmit_enable_tx.BCM88650=1 |
| 419 | #ilkn_retransmit_buffer_size.BCM88650=250 |
| 420 | #ilkn_retransmit_num_requests_resent.BCM88650=15 |
| 421 | #ilkn_retransmit_num_sn_repetitions_tx.BCM88650=1 |
| 422 | #ilkn_retransmit_num_sn_repetitions_rx.BCM88650=1 |
| 423 | #ilkn_retransmit_rx_timeout_words.BCM88650=3800 |
| 424 | #ilkn_retransmit_rx_timeout_sn.BCM88650=250 |
| 425 | #ilkn_retransmit_rx_ignore.BCM88650=80 |
| 426 | #ilkn_retransmit_rx_reset_when_error_enable.BCM88650=1 |
| 427 | #ilkn_retransmit_rx_watchdog.BCM88650=0 |
| 428 | #ilkn_retransmit_rx_reset_when_alligned_error_enable.BCM88650=1 |
| 429 | #ilkn_retransmit_rx_reset_when_retry_error_enable.BCM88650=1 |
| 430 | #ilkn_retransmit_rx_reset_when_wrap_after_disc_error_enable.BCM88650=1 |
| 431 | #ilkn_retransmit_rx_reset_when_wrap_before_disc_error_enable.BCM88650=0 |
| 432 | #ilkn_retransmit_rx_reset_when_timout_error_enable.BCM88650=0 |
| 433 | #ilkn_retransmit_tx_wait_for_seq_num_change_enable.BCM88650=1 |
| 434 | #ilkn_retransmit_tx_ignore_requests_when_fifo_almost_empty.BCM88650=1 |
| 435 | |
| 436 | #ucode_port_40.BCM88650=RCY.0 |
| 437 | #ucode_port_41.BCM88650=RCY.1 |
| 438 | #ucode_port_42.BCM88650=RCY.2 |
| 439 | |
| 440 | ## CAUI Configuration |
| 441 | #ucode_port_41.BCM88650=CGE0 |
| 442 | #ucode_port_42.BCM88650=CGE1 |
| 443 | caui_num_lanes_0.BCM88650=10 |
| 444 | caui_num_lanes_1.BCM88650=10 |
| 445 | #Required for working IXIA 100G port: |
| 446 | mld_lane_swap_lane20_ce.BCM88650=0 |
| 447 | mld_lane_swap_lane21_ce.BCM88650=1 |
| 448 | mld_lane_swap_lane0_ce.BCM88650=20 |
| 449 | mld_lane_swap_lane1_ce.BCM88650=21 |
| 450 | |
| 451 | # This configures the lane polarity |
| 452 | pb_serdes_lane_swap_polarity_tx_phy1.BCM88650=1 |
| 453 | pb_serdes_lane_swap_polarity_tx_phy2.BCM88650=0 |
| 454 | pb_serdes_lane_swap_polarity_tx_phy3.BCM88650=1 |
| 455 | pb_serdes_lane_swap_polarity_tx_phy4.BCM88650=1 |
| 456 | pb_serdes_lane_swap_polarity_tx_phy5.BCM88650=1 |
| 457 | pb_serdes_lane_swap_polarity_tx_phy6.BCM88650=1 |
| 458 | pb_serdes_lane_swap_polarity_tx_phy7.BCM88650=1 |
| 459 | pb_serdes_lane_swap_polarity_tx_phy8.BCM88650=1 |
| 460 | pb_serdes_lane_swap_polarity_tx_phy9.BCM88650=0 |
| 461 | pb_serdes_lane_swap_polarity_tx_phy10.BCM88650=0 |
| 462 | pb_serdes_lane_swap_polarity_tx_phy11.BCM88650=0 |
| 463 | pb_serdes_lane_swap_polarity_tx_phy12.BCM88650=0 |
| 464 | pb_serdes_lane_swap_polarity_tx_phy13.BCM88650=1 |
| 465 | pb_serdes_lane_swap_polarity_tx_phy14.BCM88650=1 |
| 466 | pb_serdes_lane_swap_polarity_tx_phy15.BCM88650=0 |
| 467 | pb_serdes_lane_swap_polarity_tx_phy16.BCM88650=0 |
| 468 | pb_serdes_lane_swap_polarity_tx_phy17.BCM88650=0 |
| 469 | pb_serdes_lane_swap_polarity_tx_phy18.BCM88650=1 |
| 470 | pb_serdes_lane_swap_polarity_tx_phy19.BCM88650=1 |
| 471 | pb_serdes_lane_swap_polarity_tx_phy20.BCM88650=0 |
| 472 | pb_serdes_lane_swap_polarity_tx_phy21.BCM88650=0 |
| 473 | pb_serdes_lane_swap_polarity_tx_phy22.BCM88650=1 |
| 474 | pb_serdes_lane_swap_polarity_tx_phy23.BCM88650=1 |
| 475 | pb_serdes_lane_swap_polarity_tx_phy24.BCM88650=1 |
| 476 | pb_serdes_lane_swap_polarity_tx_phy25.BCM88650=1 |
| 477 | pb_serdes_lane_swap_polarity_tx_phy26.BCM88650=0 |
| 478 | pb_serdes_lane_swap_polarity_tx_phy27.BCM88650=1 |
| 479 | pb_serdes_lane_swap_polarity_tx_phy28.BCM88650=1 |
| 480 | |
| 481 | pb_serdes_lane_swap_polarity_rx_phy1.BCM88650=0 |
| 482 | pb_serdes_lane_swap_polarity_rx_phy2.BCM88650=1 |
| 483 | pb_serdes_lane_swap_polarity_rx_phy3.BCM88650=1 |
| 484 | pb_serdes_lane_swap_polarity_rx_phy4.BCM88650=0 |
| 485 | pb_serdes_lane_swap_polarity_rx_phy5.BCM88650=0 |
| 486 | pb_serdes_lane_swap_polarity_rx_phy6.BCM88650=0 |
| 487 | pb_serdes_lane_swap_polarity_rx_phy7.BCM88650=0 |
| 488 | pb_serdes_lane_swap_polarity_rx_phy8.BCM88650=0 |
| 489 | pb_serdes_lane_swap_polarity_rx_phy9.BCM88650=0 |
| 490 | pb_serdes_lane_swap_polarity_rx_phy10.BCM88650=1 |
| 491 | pb_serdes_lane_swap_polarity_rx_phy11.BCM88650=0 |
| 492 | pb_serdes_lane_swap_polarity_rx_phy12.BCM88650=0 |
| 493 | pb_serdes_lane_swap_polarity_rx_phy13.BCM88650=1 |
| 494 | pb_serdes_lane_swap_polarity_rx_phy14.BCM88650=1 |
| 495 | pb_serdes_lane_swap_polarity_rx_phy15.BCM88650=0 |
| 496 | pb_serdes_lane_swap_polarity_rx_phy16.BCM88650=0 |
| 497 | pb_serdes_lane_swap_polarity_rx_phy17.BCM88650=1 |
| 498 | pb_serdes_lane_swap_polarity_rx_phy18.BCM88650=0 |
| 499 | pb_serdes_lane_swap_polarity_rx_phy19.BCM88650=0 |
| 500 | pb_serdes_lane_swap_polarity_rx_phy20.BCM88650=1 |
| 501 | pb_serdes_lane_swap_polarity_rx_phy21.BCM88650=1 |
| 502 | pb_serdes_lane_swap_polarity_rx_phy22.BCM88650=0 |
| 503 | pb_serdes_lane_swap_polarity_rx_phy23.BCM88650=1 |
| 504 | pb_serdes_lane_swap_polarity_rx_phy24.BCM88650=1 |
| 505 | pb_serdes_lane_swap_polarity_rx_phy25.BCM88650=0 |
| 506 | pb_serdes_lane_swap_polarity_rx_phy26.BCM88650=0 |
| 507 | pb_serdes_lane_swap_polarity_rx_phy27.BCM88650=1 |
| 508 | pb_serdes_lane_swap_polarity_rx_phy28.BCM88650=1 |
| 509 | |
| 510 | xgxs_tx_lane_map_quad0.BCM88650=0x1032 |
| 511 | xgxs_tx_lane_map_quad1.BCM88650=0x2310 |
| 512 | xgxs_tx_lane_map_quad2.BCM88650=0x3210 |
| 513 | xgxs_tx_lane_map_quad3.BCM88650=0x3210 |
| 514 | xgxs_tx_lane_map_quad4.BCM88650=0x1230 |
| 515 | xgxs_tx_lane_map_quad5.BCM88650=0x3201 |
| 516 | xgxs_tx_lane_map_quad6.BCM88650=0x2103 |
| 517 | xgxs_tx_lane_map_quad7.BCM88650=0x0123 |
| 518 | |
| 519 | xgxs_rx_lane_map_quad0.BCM88650=0x3012 |
| 520 | xgxs_rx_lane_map_quad1.BCM88650=0x0132 |
| 521 | xgxs_rx_lane_map_quad2.BCM88650=0x1230 |
| 522 | xgxs_rx_lane_map_quad3.BCM88650=0x0123 |
| 523 | xgxs_rx_lane_map_quad4.BCM88650=0x3012 |
| 524 | xgxs_rx_lane_map_quad5.BCM88650=0x2013 |
| 525 | xgxs_rx_lane_map_quad6.BCM88650=0x2103 |
| 526 | |
| 527 | |
| 528 | #High voltage driver strap. If 0, connected to 1.4V supply; if 1, connected to 1V mode. |
| 529 | #for specific quad use srd_tx_drv_hv_disable_quad_X where X is (FSRD num * 4 + internal quad) |
| 530 | srd_tx_drv_hv_disable.BCM88650=1 |
| 531 | |
| 532 | #Port init mode |
| 533 | #port_init_duplex=0 |
| 534 | #port_init_adv=0 |
| 535 | #port_init_autoneg=0 |
| 536 | |
| 537 | |
| 538 | # This disables serdes initialization |
| 539 | # phy_null.BCM88650=1 |
| 540 | |
| 541 | ## Number of Internal ports |
| 542 | # Enable the ERP port. Values: 0 / 1. |
| 543 | num_erp_tm_ports.BCM88650=1 |
| 544 | # Enable the OLP port. Values: 0 / 1. |
| 545 | num_olp_tm_ports.BCM88650=1 |
| 546 | |
| 547 | ## Firmware Load Method |
| 548 | load_firmware.BCM88650=0x102 |
| 549 | load_firmware.BCM88675=0x102 |
| 550 | load_firmware_fabric.BCM88675=0x102 |
| 551 | load_firmware_fabric.BCM88680=0x102 |
| 552 | |
| 553 | ### Headers configuration ### |
| 554 | |
| 555 | ## Use of the tm_port_header_type_<Local-Port-Id>=<Header-type> |
| 556 | ## Default header type is derived from fap_device_mode: If fap_device_mode is |
| 557 | ## PP, default header type is ETH. Otherwise, defualt header type is TM. |
| 558 | ## Header type per port can be overriden. |
| 559 | ## All options: ETH/RAW/TM/PROG/CPU/STACKING/TDM/TDM_RAW/UDH_ETH |
| 560 | ## Injected header types: if PTCH, INJECTED (local Port of type TM) or INJECTED_PP (PP) |
| 561 | ## if PTCH-2, INJECTED_2 (local Port of type TM) or INJECTED_2_PP (PP) |
| 562 | |
| 563 | # Set CPU to work with TM header (ITMH) |
| 564 | #tm_port_header_type_0.BCM88650=TM |
| 565 | |
| 566 | tm_port_header_type_in_0.BCM88650=INJECTED_2 |
| 567 | tm_port_header_type_out_0.BCM88650=TM |
| 568 | |
| 569 | tm_port_header_type_in_200.BCM88650=INJECTED_2_PP |
| 570 | tm_port_header_type_out_200.BCM88650=ETH |
| 571 | tm_port_header_type_in_201.BCM88650=INJECTED_2_PP |
| 572 | tm_port_header_type_out_201.BCM88650=ETH |
| 573 | tm_port_header_type_in_202.BCM88650=INJECTED_2_PP |
| 574 | tm_port_header_type_out_202.BCM88650=ETH |
| 575 | tm_port_header_type_in_203.BCM88650=INJECTED_2_PP |
| 576 | tm_port_header_type_out_203.BCM88650=ETH |
| 577 | |
| 578 | |
| 579 | ### Parser Configuration ### |
| 580 | # Parser has 4 custom macros that are allocated dynamically and |
| 581 | # configured according to the following features and soc properties: |
| 582 | # Trill (1 macro) - trill_mode |
| 583 | # FCoE (2 macros) - bcm886xx_fcoe_switch_mode |
| 584 | # VxLAN (1 macro) - bcm886xx_vxlan_enable |
| 585 | # IPv6-Extension-header (2 macros) - bcm886xx_ipv6_ext_hdr_enable |
| 586 | # UDP (1 macro) - UDP parsing is enabled by default, and can be |
| 587 | # disabled with soc property custom_feature_udp_parse_disable |
| 588 | # When disabling UDP parsing VxLAN and 1588oUDP are affected |
| 589 | |
| 590 | |
| 591 | # In FCoE NPV switch, if set to 1, |
| 592 | # packets that ingress from the N_PORT are treated as bridge |
| 593 | # and packets that ingress from the NP_PORT are treated as router |
| 594 | #fcoe_npv_bridge_mode=1 |
| 595 | # Enable IPv6 Extension Header, 0 - disable (default), 1 - enable |
| 596 | #bcm886xx_ipv6_ext_hdr_enable=1 |
| 597 | |
| 598 | # Disable UDP parsing, 0 - enable (default), 1 - disable |
| 599 | #custom_feature_udp_parse_disable=1 |
| 600 | |
| 601 | #OAMP/SAT port |
| 602 | #tm_port_header_type_out_232.BCM88650=CPU |
| 603 | tm_port_header_type_out_232.BCM88675=CPU |
| 604 | |
| 605 | ### SAT |
| 606 | ## Enable SAT Interface. 0 - Disable, 1 - Enable (Default) |
| 607 | sat_enable=1 |
| 608 | |
| 609 | # Set the recycling port processing to be raw (static forwarding) |
| 610 | tm_port_header_type_rcy.BCM88650=RAW |
| 611 | |
| 612 | ### RCPU |
| 613 | # Valid CPU local ports on which RCPU packets can be received by slave device. |
| 614 | #rcpu_rx_pbmp=0xf00000000000000000000000000000000000000000000000001 |
| 615 | |
| 616 | #tm_port_header_type_514.BCM88650=RAW |
| 617 | |
| 618 | ## Header extensions |
| 619 | # Set if an FTMH Out-LIF extension is present to Unicast and Multicast packets |
| 620 | # Options: NEVER / IF_MC (only Multicast packets) / ALWAYS |
| 621 | fabric_ftmh_outlif_extension.BCM88650=IF_MC |
| 622 | |
| 623 | # Set the FTMH Load-Balancing Key extension mode |
| 624 | # Options for 88660: ENABLED, FULL_HASH |
| 625 | # Options for 88650: ENABLED |
| 626 | # Options for 88640 compatible: DISABLED / 8B_LB_KEY_8B_STACKING_ROUTE_HISTORY |
| 627 | # / 16B_STACKING_ROUTE_HISTORY / STANDBY_MC_LB (available only for AradPlus) |
| 628 | # Default: DISABLED |
| 629 | system_ftmh_load_balancing_ext_mode.BCM88650=DISABLED |
| 630 | |
| 631 | # Set if an OTMH Out-LIF (CUD) Extension is present to Unicast and Multicast packets |
| 632 | # Options: NEVER / IF_MC (only Multicast packets) / ALWAYS / DOUBLE_TAG (two hop scheduling) / EXTENDED: Extended 24 bit CUD |
| 633 | # Default: NEVER |
| 634 | # tm_port_otmh_outlif_ext_mode_13.BCM88650=NEVER |
| 635 | |
| 636 | # Set if an OTMH Source-System-Port Extension is present. |
| 637 | # Option: 0/1 |
| 638 | # Default: 0 |
| 639 | # tm_port_otmh_src_ext_enable_13.BCM88650=0 |
| 640 | |
| 641 | #Trunk hash format, relevant only for AradPlus. Possible values: NORMAL (default) / INVERTED / DUPLICATED. |
| 642 | #trunk_hash_format=NORMAL |
| 643 | |
| 644 | ## Stacking Application |
| 645 | #stacking_enable.BCM88650=1 |
| 646 | |
| 647 | ## Determine if FTMH Destination System Port Extension is added to all Ethernet packets. |
| 648 | #ftmh_dsp_extension_add=1 |
| 649 | |
| 650 | ## Determine if FTMH Destination System Port Extension of mirrored/snooped packets is stamped with the original destination. |
| 651 | #mirror_stamp_sys_on_dsp_ext=1 |
| 652 | |
| 653 | ## System RED |
| 654 | # Set System-Red functionality. |
| 655 | #system_red_enable.BCM88650=1 |
| 656 | |
| 657 | # Indicate the size (Bytes) of a first header to skip |
| 658 | # before the major header at ingress (e.g. Ethernet, ITMH) |
| 659 | # It can be set per port also |
| 660 | first_header_size.BCM88650=0 |
| 661 | |
| 662 | # Indicate the size (Bytes) of the PMF Extension Headers |
| 663 | # to remove for TM header type ports (expecting ITMH) |
| 664 | # Set per port |
| 665 | #post_headers_size_0.BCM88650=4 |
| 666 | |
| 667 | # Indicate the size (Bytes) of the User-Headers: configurable |
| 668 | # headers located in the fabric between internal headers and |
| 669 | # Ethernet. Their values are set by Ingress FP, and can be used |
| 670 | # by Egress FP or Egress Editor. |
| 671 | # units: bits. 4 values can be set: |
| 672 | # 0 - size of the 1st User-Header, for the Egress PMF. 0b / 8b / 16b |
| 673 | # 1 - size of the 2nd User-Header, for the Egress PMF. 0b / 8b / 16b |
| 674 | # The sum of these 2 values should be under 16b |
| 675 | # 2, 3 - size of the 1st/2nd User-Header, for the Egress Editor. |
| 676 | # 0b / 8b / 16b / 24b / 32b |
| 677 | # Each of the global User-Header size must be under 32 bits, but not 24 bits. |
| 678 | # The Egress FP field is always at the MSB of the User-Header |
| 679 | # Not available for 88650-A0. |
| 680 | #field_class_id_size_0.BCM88650=8 |
| 681 | #field_class_id_size_1.BCM88650=0 |
| 682 | #field_class_id_size_2.BCM88650=24 |
| 683 | #field_class_id_size_3.BCM88650=0 |
| 684 | |
| 685 | |
| 686 | ### Trunk - LAG configuration ### |
| 687 | # Set the number of LAGs: 1024, 512, 256, 128 or 64 |
| 688 | number_of_trunks.BCM88650=256 |
| 689 | # Using the lb-key's MSB in trunk resolutions. |
| 690 | # 0 = use LSB (default) |
| 691 | # 1 = use MSB |
| 692 | trunk_resolve_use_lb_key_msb_stack = 0 |
| 693 | trunk_resolve_use_lb_key_msb_smooth_division = 0 |
| 694 | |
| 695 | ### SYNCE configuration ### |
| 696 | ## Synchronous Ethernet Signal Mode. |
| 697 | ## Options: TWO_DIFF_CLK, TWO_CLK_AND_VALID. Default: TWO_CLK_AND_VALID |
| 698 | #sync_eth_mode.BCM88650=TWO_CLK_AND_VALID |
| 699 | |
| 700 | ## Clock Source (single SerDes) lane in the specified NIF port. |
| 701 | ## Usage: sync_eth_clk_to_nif_id_clk_<clk_number>=<serdes_number> |
| 702 | #sync_eth_clk_to_nif_id_clk_0.BCM88650=1 |
| 703 | #sync_eth_clk_to_nif_id_clk_1.BCM88650=1 |
| 704 | |
| 705 | ## Clock Divider for the selected recovered clock. Valid values: 1/2/4. Default: 1. |
| 706 | ## Usage: sync_eth_clk_divider_clk_<clk_number>=<1/2/4> |
| 707 | #sync_eth_clk_divider_clk_0.BCM88650=1 |
| 708 | #sync_eth_clk_divider_clk_1.BCM88650=1 |
| 709 | |
| 710 | ## Usage: sync_eth_clk_to_port_id_clk_<clk_number>=<serdes_number> |
| 711 | #sync_eth_clk_to_port_id_clk_0.BCM88675=13 |
| 712 | #sync_eth_clk_to_port_id_clk_1.BCM88675=13 |
| 713 | |
| 714 | ## Clock frequency selector for the selected recovered clock. Valid values: <125MHz-0/156.25MHz-1/25MHz-2>. Default: 1. |
| 715 | ## Usage: sync_eth_clk_divider_clk<clk_id>=<0-125MHz/1-156.25MHz/2-25MHz> |
| 716 | #sync_eth_clk_divider_clk0.BCM88675=1 |
| 717 | #sync_eth_clk_divider_clk1.BCM88675=1 |
| 718 | |
| 719 | ## Enable the automatic squelch function for the recovered clock. Valid values: 0/1. Default: 0. |
| 720 | ## Usage: sync_eth_clk_squelch_enable_clk_<clk_number>=<0/1> |
| 721 | #sync_eth_clk_squelch_enable_clk_0.BCM88650=0 |
| 722 | #sync_eth_clk_squelch_enable_clk_1.BCM88650=0 |
| 723 | |
| 724 | ### ELK configuration ### |
| 725 | ## External lookup (TCAM) Device type select, Indicate the External lookup Device type. |
| 726 | # Value Options: NONE/NL88650. Default: NONE. |
| 727 | #ext_tcam_dev_type=NL88650 |
| 728 | |
| 729 | |
| 730 | ##External lookup (elk) ILKN lanes swap. If set, reverse the lanes numbering order on elk device side. DNX system default is 1. |
| 731 | #ext_ilkn_reverse=0 |
| 732 | |
| 733 | ## Set ELK FWD table Size. |
| 734 | # format: ext_xxx_fwd_table_size. |
| 735 | # where xxx replaced by FWD options: ip4_uc_rpf/ip4_mc/ip6_uc_rpf/ip6/ip6_mc/trill_uc/trill_mc/mpls/coup_mpls |
| 736 | # Value Options: (0) - External table disabled, >0: number of entries. Default: 0. |
| 737 | #ext_ip4_uc_rpf_fwd_table_size=8192 |
| 738 | #ext_ip4_mc_fwd_table_size=8192 |
| 739 | |
| 740 | #External TCAM result size, allows to modify each external tcam result size. |
| 741 | #The total size of the external result for NL12K = 120bit . |
| 742 | #The size of each segment updates the corresponding qualifier bcmFieldQualifyExternalValue. |
| 743 | #Default values according to the device property. |
| 744 | #in-case of double capacity use the following values: 48,48,24,24 and ext_tcam_result_size_segment_pad_3=24 |
| 745 | |
| 746 | #ext_tcam_result_size_segment_0=48 |
| 747 | #ext_tcam_result_size_segment_1=32 |
| 748 | #ext_tcam_result_size_segment_2=24 |
| 749 | #ext_tcam_result_size_segment_3=16 |
| 750 | #ext_tcam_result_size_segment_4=32 |
| 751 | #ext_tcam_result_size_segment_5=32 |
| 752 | |
| 753 | ## Set ELK IP FWD use NetRoute ALG. |
| 754 | # Value Options: ALG_LPM_LPM/ALG_LPM_NETROUTE/ALG_LPM_TCAM. Default: ALG_LPM_TCAM. |
| 755 | #ext_fwd_algorithm_lpm=ALG_LPM_TCAM |
| 756 | |
| 757 | ## Set ELK interface mode. |
| 758 | # Change ELK interface configuration to support CAUI port. |
| 759 | # Value Options: 0/1. 0 - Normal mode, 1 2 CAUI port + ELK mode. Default: 0. |
| 760 | #ext_interface_mode=0 |
| 761 | |
| 762 | ### Configure MDIO interface |
| 763 | # External MDIO clock rate divisor . Default: 0x24. |
| 764 | #rate_ext_mdio_divisor=0x36 |
| 765 | # External MDIO clock rate divisor. Default: 0x1. |
| 766 | #rate_ext_mdio_dividend=1 |
| 767 | |
| 768 | ### TDM - OTN configuration ### |
| 769 | # Options: 0 / TDM_OPTIMIZED / TDM_STANDARD |
| 770 | fap_tdm_bypass.BCM88650=0 |
| 771 | |
| 772 | ### TDM - RAW/PACKET configuration ### |
| 773 | # if fap_tdm_packet config to be true, enable specific ports on the device to configure for tdm packet mode traffic. |
| 774 | fap_tdm_packet.BCM88650=0 |
| 775 | |
| 776 | # Indicate if a Petra-B device is connected to the actual device |
| 777 | # For TDM/OTN applications, |
| 778 | # system_is_petra_b_in_system.BCM88650=0 |
| 779 | ##Indicate if TDM can arrive throgh primary pipe. |
| 780 | #Should be 1 for a System with PetraB that connected to fabric over primary pipe. |
| 781 | fabric_tdm_over_primary_pipe.BCM88650=0 |
| 782 | |
| 783 | ### Fabric configuration ### |
| 784 | #0-LFEC 1-8b\10b 2-FEC 3-BEC |
| 785 | backplane_serdes_encoding.BCM88650=2 |
| 786 | #Possible values - KR_FEC, 64_66, RS_FEC, LL_RS_FEC |
| 787 | backplane_serdes_encoding.BCM88675=RS_FEC |
| 788 | backplane_serdes_encoding.BCM88470=RS_FEC |
| 789 | backplane_serdes_encoding.BCM88270=RS_FEC |
| 790 | backplane_serdes_encoding.BCM88680=RS_FEC |
| 791 | |
| 792 | #SFI speed rate |
| 793 | port_init_speed_sfi.BCM88650=10312 |
| 794 | port_init_speed_sfi.BCM88675=25000 |
| 795 | port_init_speed_sfi.BCM88470=25000 |
| 796 | port_init_speed_sfi.BCM88270=25000 |
| 797 | port_init_speed_sfi.BCM88680=25000 |
| 798 | |
| 799 | #CL72 |
| 800 | port_init_cl72_sfi.BCM88650=1 |
| 801 | port_init_cl72_sfi.BCM88675=1 |
| 802 | fabric_segmentation_enable.BCM88650=1 |
| 803 | |
| 804 | ## Fabric transmission mode |
| 805 | # Set the Connect mode to the Fabric |
| 806 | # Options: FE - presence of a Fabric device (single stage) / MULT_STAGE_FE - Multi-stage / |
| 807 | # SINGLE_FAP - stand-alone device / MESH - mesh / BACK2BACK - 2 devices in Mesh |
| 808 | #fabric_connect_mode.BCM88650=SINGLE_FAP |
| 809 | fabric_connect_mode.BCM88650=FE |
| 810 | # The Jericho configuration below will be overriden in jer.soc for multi device configurations |
| 811 | fabric_connect_mode.BCM88675=SINGLE_FAP |
| 812 | fabric_connect_mode.BCM88470=SINGLE_FAP |
| 813 | fabric_connect_mode.BCM88270=SINGLE_FAP |
| 814 | fabric_connect_mode.BCM88680=SINGLE_FAP |
| 815 | |
| 816 | |
| 817 | ## Cell format configuration |
| 818 | # Indicate if the traffic can be sent in dual pipe |
| 819 | is_dual_mode.BCM88650=0 |
| 820 | # Indicate on the existance of dual pipe device mode in system |
| 821 | system_is_dual_mode_in_system.BCM88650=0 |
| 822 | |
| 823 | # Indicate the format of the cell: |
| 824 | # A VCS128 cell is used if system_is_vcs_128_in_system or system_is_fe600_in_system is TRUE |
| 825 | system_is_vcs_128_in_system.BCM88650=0 |
| 826 | system_is_fe600_in_system.BCM88650=0 |
| 827 | |
| 828 | ### WRED ### |
| 829 | |
| 830 | # Set the maximum packet size for WRED tests. 0 - means ignore max packet size. |
| 831 | discard_mtu_size.BCM88650=0 |
| 832 | |
| 833 | ### OCB (On-Chip Buffer) configuration ### |
| 834 | # Enable the OCB |
| 835 | # Enable MODES: |
| 836 | # 0/FALSE --> OCB_DISABLED --> No OCB use |
| 837 | # 1/TRUE --> OCB_ENABLED --> Like in Arad-A0/B0. Some packets may use both DRAM and OCB resources |
| 838 | # ONE_WAY_BYPASS --> Depends on number of present drams (available only for AradPlus): |
| 839 | # 0 drams: - OCB_ONLY |
| 840 | # 1 drams: - OCB_ONLY_1_DRAM --> : OCB-only with 1 DRAM for the free pointers |
| 841 | # 2-8 drams: - OCB_DRAM_SEPARATE --> : OCB and DRAM coexist separately |
| 842 | # Default: TRUE. |
| 843 | bcm886xx_ocb_enable.BCM88650=1 |
| 844 | |
| 845 | ## OCB (On-Chip Buffer) configuration |
| 846 | # OCB modes: |
| 847 | # 0 - Disabled |
| 848 | # 1 - Enabled (Default). |
| 849 | bcm886xx_ocb_enable.BCM88675=1 |
| 850 | |
| 851 | # OCB Data Buffer size. Possible values: 128/256/512/1024. Default: 256. |
| 852 | bcm886xx_ocb_databuffer_size.BCM88650=256 |
| 853 | # OCB Data Buffer size. Jericho allowed values: 256/512. Default: 256. |
| 854 | bcm886xx_ocb_databuffer_size.BCM88675=256 |
| 855 | # Repartition between Unicast and Full Multicast buffers. |
| 856 | # 0: 80% Unicast and 20% Multicast, 1: Unicast-Only |
| 857 | bcm886xx_ocb_repartition.BCM88650=0 |
| 858 | |
| 859 | |
| 860 | ### PDM configuration ### |
| 861 | # Set the PDM Mode. |
| 862 | # 0: simple (default), 1: extended (mandatory for LLFC-VSQ, PFC-VSQ, or ST-VSQ) |
| 863 | bcm886xx_pdm_mode.BCM88650=0 |
| 864 | |
| 865 | ### Multicast Number of DBuff mode ### |
| 866 | # Set IQM FMC buffers-replication sizes |
| 867 | # Options for 88650: ARAD_INIT_FMC_4K_REP_64K_DBUFF_MODE/ARAD_INIT_FMC_64_REP_128K_DBUFF_MODE |
| 868 | # Default: ARAD_INIT_FMC_4K_REP_64K_DBUFF_MODE |
| 869 | multicast_nbr_full_dbuff.BCM88650=ARAD_INIT_FMC_4K_REP_64K_DBUFF_MODE |
| 870 | |
| 871 | ### Multicast Number of DBuff mode ### |
| 872 | # Set FMC buffers-replication sizes |
| 873 | # Options for 88675: |
| 874 | # JERICHO_INIT_FMC_64_REP_512K_DBUFF_MODE |
| 875 | # JERICHO_INIT_FMC_4K_REP_256K_DBUFF_MODE (Default) |
| 876 | # JERICHO_INIT_FMC_NO_REP_DBUFF_MODE |
| 877 | multicast_nbr_full_dbuff.BCM88675=JERICHO_INIT_FMC_4K_REP_256K_DBUFF_MODE |
| 878 | multicast_nbr_full_dbuff.BCM88470=JERICHO_INIT_FMC_NO_REP_DBUFF_MODE |
| 879 | multicast_nbr_full_dbuff.BCM88270=JERICHO_INIT_FMC_NO_REP_DBUFF_MODE |
| 880 | multicast_nbr_full_dbuff.BCM88680=JERICHO_INIT_FMC_4K_REP_256K_DBUFF_MODE |
| 881 | |
| 882 | |
| 883 | ### Multicast configuration ### |
| 884 | # Multicast egress vlan membership range. By default: 0-4095. |
| 885 | egress_multicast_direct_bitmap_max.BCM88650=4095 |
| 886 | |
| 887 | #### Jericho configuration of the number of ingress/egress multicast groups |
| 888 | # Ingress max MCID can be up to 131070, Egress max MCID in Mesh or single FAP modes is up to 65535, |
| 889 | # or otherwise is up to 131071. |
| 890 | #multicast_ingress_group_id_range_max.BCM88675=32768 |
| 891 | #multicast_egress_group_id_range_max.BCM88675=60000 |
| 892 | |
| 893 | ### VOQ - Flow configuration ### |
| 894 | |
| 895 | # Set the VOQ mapping mode: |
| 896 | # DIRECT: More than 4K System Ports are supported. System-level WRED is not supported. |
| 897 | # INDIRECT: similar to Petra-B. Up to 4K System Ports. |
| 898 | voq_mapping_mode.BCM88650=INDIRECT |
| 899 | |
| 900 | #Enable/disable HQOS support - mapping of many system ports to single modport |
| 901 | hqos_mapping_enable.BCM88650=0 |
| 902 | |
| 903 | # Set the Base Queue to be added to the packet flow-id |
| 904 | # when the Flow-Id is set explicitely either by the ITMH |
| 905 | # or by the Destination resolution in the Packet processing |
| 906 | flow_mapping_queue_base.BCM88650=0 |
| 907 | |
| 908 | |
| 909 | # The allocation of the total per core resources between source and |
| 910 | # queue based reservation depends on one of two guarantee modes: strict and loose. |
| 911 | #ingress_congestion_management_guarantee_mode={STRICT,LOOSE} default: STRICT |
| 912 | ingress_congestion_management_guarantee_mode=LOOSE |
| 913 | # Each DP has its own thresholds for source based (dynamic) and for queue based (pools 0,1 and headroom). |
| 914 | # ingress_congestion_management_{source,queue,all}_threshold_percentage_color_[0-3]=[0-100] default: 100,85,75,0 |
| 915 | # ingress_congestion_management_{ocb_only,dram_mix}_{pool_{0,1},headroom}=size default: 0 |
| 916 | # ingress_congestion_management_min_resource_percentage_dynamic=[0-80] default: 20 |
| 917 | |
| 918 | # Configure maximum IDs of ST-VSQs, maximum IDs of TM-ports, and enabling/disabling header compensation. |
| 919 | ingress_congestion_management_stag_max_id.BCM88675=0 |
| 920 | ingress_congestion_management_tm_port_max_id.BCM88675=255 |
| 921 | ingress_congestion_management_pkt_header_compensation_enable.BCM88675=0 |
| 922 | |
| 923 | # The number of packet buffers used for the allocation of DMA memory at BCM RX task |
| 924 | # The pool size determined by nof_pkts (256) * 16K. |
| 925 | #rx_pool_nof_pkts.BCM88675=256 |
| 926 | |
| 927 | |
| 928 | # Set the number of priorities supported at egress per Port |
| 929 | # Options: 1 / 2 / 8 |
| 930 | port_priorities.BCM88650=8 |
| 931 | port_priorities.BCM88675=2 |
| 932 | port_priorities.BCM88470=2 |
| 933 | port_priorities.BCM88270=2 |
| 934 | port_priorities.BCM88680=2 |
| 935 | |
| 936 | |
| 937 | # Set the shared multicast resource mode: Strict / Discrete |
| 938 | egress_shared_resources_mode.BCM88650=Strict |
| 939 | |
| 940 | # Define outgoing port rate mode in data rate or packet rate. |
| 941 | # Options: DATA / PACKET |
| 942 | otm_port_packet_rate.BCM88650=DATA |
| 943 | |
| 944 | # Set Port egress recycling scheduler configuration. |
| 945 | # 0: Strict Priority Scheduler, 1: Round Robin Scheduler |
| 946 | port_egress_recycling_scheduler_configuration.BCM88650=0 |
| 947 | |
| 948 | # Set statically the region mode per region id |
| 949 | # 0: queue connectors only (InterDigitated = FALSE, OddEven = TRUE) |
| 950 | # 1: queue connectors, SE (InterDigitated =TRUE, OddEven = TRUE) |
| 951 | # 2: queue connectors, SE (InterDigitated =TRUE, OddEven = FALSE) |
| 952 | dtm_flow_mapping_mode_region_65.BCM88650=0 |
| 953 | dtm_flow_mapping_mode_region_66.BCM88650=0 |
| 954 | dtm_flow_mapping_mode_region_67.BCM88650=0 |
| 955 | dtm_flow_mapping_mode_region_68.BCM88650=0 |
| 956 | dtm_flow_mapping_mode_region_69.BCM88650=0 |
| 957 | dtm_flow_mapping_mode_region_70.BCM88650=0 |
| 958 | dtm_flow_mapping_mode_region_71.BCM88650=0 |
| 959 | dtm_flow_mapping_mode_region_72.BCM88650=0 |
| 960 | dtm_flow_mapping_mode_region_73.BCM88650=0 |
| 961 | dtm_flow_mapping_mode_region_74.BCM88650=0 |
| 962 | dtm_flow_mapping_mode_region_75.BCM88650=0 |
| 963 | dtm_flow_mapping_mode_region_76.BCM88650=0 |
| 964 | dtm_flow_mapping_mode_region_77.BCM88650=0 |
| 965 | dtm_flow_mapping_mode_region_78.BCM88650=0 |
| 966 | dtm_flow_mapping_mode_region_79.BCM88650=0 |
| 967 | dtm_flow_mapping_mode_region_80.BCM88650=0 |
| 968 | dtm_flow_mapping_mode_region_81.BCM88650=1 |
| 969 | dtm_flow_mapping_mode_region_82.BCM88650=1 |
| 970 | dtm_flow_mapping_mode_region_83.BCM88650=1 |
| 971 | dtm_flow_mapping_mode_region_84.BCM88650=1 |
| 972 | dtm_flow_mapping_mode_region_85.BCM88650=1 |
| 973 | dtm_flow_mapping_mode_region_86.BCM88650=1 |
| 974 | dtm_flow_mapping_mode_region_87.BCM88650=1 |
| 975 | dtm_flow_mapping_mode_region_88.BCM88650=1 |
| 976 | dtm_flow_mapping_mode_region_89.BCM88650=1 |
| 977 | dtm_flow_mapping_mode_region_90.BCM88650=1 |
| 978 | dtm_flow_mapping_mode_region_91.BCM88650=1 |
| 979 | dtm_flow_mapping_mode_region_92.BCM88650=1 |
| 980 | dtm_flow_mapping_mode_region_93.BCM88650=1 |
| 981 | dtm_flow_mapping_mode_region_94.BCM88650=1 |
| 982 | dtm_flow_mapping_mode_region_95.BCM88650=1 |
| 983 | dtm_flow_mapping_mode_region_96.BCM88650=1 |
| 984 | dtm_flow_mapping_mode_region_97.BCM88650=1 |
| 985 | dtm_flow_mapping_mode_region_98.BCM88650=1 |
| 986 | dtm_flow_mapping_mode_region_99.BCM88650=2 |
| 987 | dtm_flow_mapping_mode_region_100.BCM88650=2 |
| 988 | dtm_flow_mapping_mode_region_101.BCM88650=2 |
| 989 | dtm_flow_mapping_mode_region_102.BCM88650=2 |
| 990 | dtm_flow_mapping_mode_region_103.BCM88650=2 |
| 991 | dtm_flow_mapping_mode_region_104.BCM88650=2 |
| 992 | dtm_flow_mapping_mode_region_105.BCM88650=2 |
| 993 | dtm_flow_mapping_mode_region_106.BCM88650=2 |
| 994 | dtm_flow_mapping_mode_region_107.BCM88650=2 |
| 995 | dtm_flow_mapping_mode_region_108.BCM88650=2 |
| 996 | dtm_flow_mapping_mode_region_109.BCM88650=2 |
| 997 | dtm_flow_mapping_mode_region_110.BCM88650=2 |
| 998 | dtm_flow_mapping_mode_region_111.BCM88650=2 |
| 999 | dtm_flow_mapping_mode_region_112.BCM88650=2 |
| 1000 | dtm_flow_mapping_mode_region_113.BCM88650=2 |
| 1001 | dtm_flow_mapping_mode_region_114.BCM88650=2 |
| 1002 | dtm_flow_mapping_mode_region_115.BCM88650=2 |
| 1003 | dtm_flow_mapping_mode_region_116.BCM88650=2 |
| 1004 | dtm_flow_mapping_mode_region_117.BCM88650=2 |
| 1005 | dtm_flow_mapping_mode_region_118.BCM88650=2 |
| 1006 | dtm_flow_mapping_mode_region_119.BCM88650=2 |
| 1007 | dtm_flow_mapping_mode_region_120.BCM88650=2 |
| 1008 | dtm_flow_mapping_mode_region_121.BCM88650=2 |
| 1009 | dtm_flow_mapping_mode_region_122.BCM88650=2 |
| 1010 | dtm_flow_mapping_mode_region_123.BCM88650=2 |
| 1011 | dtm_flow_mapping_mode_region_124.BCM88650=2 |
| 1012 | dtm_flow_mapping_mode_region_125.BCM88650=2 |
| 1013 | dtm_flow_mapping_mode_region_126.BCM88650=2 |
| 1014 | dtm_flow_mapping_mode_region_127.BCM88650=2 |
| 1015 | dtm_flow_mapping_mode_region_128.BCM88650=2 |
| 1016 | |
| 1017 | ## Configure number of symmetric cores each region supports ## |
| 1018 | dtm_flow_nof_remote_cores_region_1.BCM88650=2 |
| 1019 | dtm_flow_nof_remote_cores_region_2.BCM88650=2 |
| 1020 | dtm_flow_nof_remote_cores_region_3.BCM88650=2 |
| 1021 | dtm_flow_nof_remote_cores_region_4.BCM88650=2 |
| 1022 | dtm_flow_nof_remote_cores_region_5.BCM88650=2 |
| 1023 | dtm_flow_nof_remote_cores_region_6.BCM88650=2 |
| 1024 | dtm_flow_nof_remote_cores_region_7.BCM88650=2 |
| 1025 | dtm_flow_nof_remote_cores_region_8.BCM88650=2 |
| 1026 | dtm_flow_nof_remote_cores_region_9.BCM88650=2 |
| 1027 | dtm_flow_nof_remote_cores_region_10.BCM88650=2 |
| 1028 | dtm_flow_nof_remote_cores_region_11.BCM88650=2 |
| 1029 | dtm_flow_nof_remote_cores_region_12.BCM88650=2 |
| 1030 | dtm_flow_nof_remote_cores_region_13.BCM88650=2 |
| 1031 | dtm_flow_nof_remote_cores_region_14.BCM88650=2 |
| 1032 | dtm_flow_nof_remote_cores_region_15.BCM88650=2 |
| 1033 | dtm_flow_nof_remote_cores_region_16.BCM88650=2 |
| 1034 | dtm_flow_nof_remote_cores_region_17.BCM88650=2 |
| 1035 | dtm_flow_nof_remote_cores_region_18.BCM88650=2 |
| 1036 | dtm_flow_nof_remote_cores_region_19.BCM88650=2 |
| 1037 | dtm_flow_nof_remote_cores_region_20.BCM88650=2 |
| 1038 | dtm_flow_nof_remote_cores_region_21.BCM88650=2 |
| 1039 | dtm_flow_nof_remote_cores_region_22.BCM88650=2 |
| 1040 | dtm_flow_nof_remote_cores_region_23.BCM88650=2 |
| 1041 | dtm_flow_nof_remote_cores_region_24.BCM88650=2 |
| 1042 | dtm_flow_nof_remote_cores_region_25.BCM88650=2 |
| 1043 | dtm_flow_nof_remote_cores_region_26.BCM88650=2 |
| 1044 | dtm_flow_nof_remote_cores_region_27.BCM88650=2 |
| 1045 | dtm_flow_nof_remote_cores_region_28.BCM88650=2 |
| 1046 | dtm_flow_nof_remote_cores_region_29.BCM88650=2 |
| 1047 | dtm_flow_nof_remote_cores_region_30.BCM88650=2 |
| 1048 | dtm_flow_nof_remote_cores_region_31.BCM88650=2 |
| 1049 | dtm_flow_nof_remote_cores_region_32.BCM88650=2 |
| 1050 | dtm_flow_nof_remote_cores_region_33.BCM88650=2 |
| 1051 | dtm_flow_nof_remote_cores_region_34.BCM88650=2 |
| 1052 | dtm_flow_nof_remote_cores_region_35.BCM88650=2 |
| 1053 | dtm_flow_nof_remote_cores_region_36.BCM88650=2 |
| 1054 | dtm_flow_nof_remote_cores_region_37.BCM88650=2 |
| 1055 | dtm_flow_nof_remote_cores_region_38.BCM88650=2 |
| 1056 | dtm_flow_nof_remote_cores_region_39.BCM88650=2 |
| 1057 | dtm_flow_nof_remote_cores_region_40.BCM88650=2 |
| 1058 | dtm_flow_nof_remote_cores_region_41.BCM88650=2 |
| 1059 | dtm_flow_nof_remote_cores_region_42.BCM88650=2 |
| 1060 | dtm_flow_nof_remote_cores_region_43.BCM88650=2 |
| 1061 | dtm_flow_nof_remote_cores_region_44.BCM88650=2 |
| 1062 | dtm_flow_nof_remote_cores_region_45.BCM88650=2 |
| 1063 | dtm_flow_nof_remote_cores_region_46.BCM88650=2 |
| 1064 | dtm_flow_nof_remote_cores_region_47.BCM88650=2 |
| 1065 | dtm_flow_nof_remote_cores_region_48.BCM88650=2 |
| 1066 | dtm_flow_nof_remote_cores_region_49.BCM88650=2 |
| 1067 | dtm_flow_nof_remote_cores_region_50.BCM88650=2 |
| 1068 | dtm_flow_nof_remote_cores_region_51.BCM88650=2 |
| 1069 | dtm_flow_nof_remote_cores_region_52.BCM88650=2 |
| 1070 | dtm_flow_nof_remote_cores_region_53.BCM88650=2 |
| 1071 | dtm_flow_nof_remote_cores_region_54.BCM88650=2 |
| 1072 | dtm_flow_nof_remote_cores_region_55.BCM88650=2 |
| 1073 | dtm_flow_nof_remote_cores_region_56.BCM88650=2 |
| 1074 | dtm_flow_nof_remote_cores_region_57.BCM88650=2 |
| 1075 | dtm_flow_nof_remote_cores_region_58.BCM88650=2 |
| 1076 | dtm_flow_nof_remote_cores_region_59.BCM88650=2 |
| 1077 | dtm_flow_nof_remote_cores_region_60.BCM88650=2 |
| 1078 | #dtm_flow_nof_remote_cores_region_core0_2.BCM88675=2 |
| 1079 | |
| 1080 | ## Configure number of symmetric cores each region supports ## |
| 1081 | #device_core_mode.BCM88470=SINGLE_CORE |
| 1082 | # IL region has offset of 63, i.e. region_1 here will show as region 64 in code |
| 1083 | ## Configure number of symmetric cores each region supports ## |
| 1084 | dtm_flow_nof_remote_cores_region_1.BCM88470=2 |
| 1085 | dtm_flow_nof_remote_cores_region_2.BCM88470=2 |
| 1086 | dtm_flow_nof_remote_cores_region_3.BCM88470=1 |
| 1087 | dtm_flow_nof_remote_cores_region_4.BCM88470=1 |
| 1088 | dtm_flow_nof_remote_cores_region_5.BCM88470=2 |
| 1089 | dtm_flow_nof_remote_cores_region_6.BCM88470=1 |
| 1090 | dtm_flow_nof_remote_cores_region_7.BCM88470=2 |
| 1091 | dtm_flow_nof_remote_cores_region_8.BCM88470=2 |
| 1092 | dtm_flow_nof_remote_cores_region_9.BCM88470=1 |
| 1093 | dtm_flow_nof_remote_cores_region_10.BCM88470=1 |
| 1094 | dtm_flow_nof_remote_cores_region_11.BCM88470=1 |
| 1095 | dtm_flow_nof_remote_cores_region_12.BCM88470=1 |
| 1096 | dtm_flow_nof_remote_cores_region_13.BCM88470=1 |
| 1097 | dtm_flow_nof_remote_cores_region_14.BCM88470=1 |
| 1098 | dtm_flow_nof_remote_cores_region_15.BCM88470=1 |
| 1099 | dtm_flow_nof_remote_cores_region_16.BCM88470=1 |
| 1100 | dtm_flow_nof_remote_cores_region_17.BCM88470=1 |
| 1101 | dtm_flow_nof_remote_cores_region_18.BCM88470=2 |
| 1102 | dtm_flow_nof_remote_cores_region_19.BCM88470=1 |
| 1103 | dtm_flow_nof_remote_cores_region_20.BCM88470=1 |
| 1104 | dtm_flow_nof_remote_cores_region_21.BCM88470=1 |
| 1105 | dtm_flow_nof_remote_cores_region_22.BCM88470=1 |
| 1106 | dtm_flow_nof_remote_cores_region_23.BCM88470=1 |
| 1107 | dtm_flow_nof_remote_cores_region_24.BCM88470=1 |
| 1108 | dtm_flow_nof_remote_cores_region_25.BCM88470=1 |
| 1109 | dtm_flow_nof_remote_cores_region_26.BCM88470=1 |
| 1110 | dtm_flow_nof_remote_cores_region_27.BCM88470=1 |
| 1111 | dtm_flow_nof_remote_cores_region_28.BCM88470=1 |
| 1112 | dtm_flow_nof_remote_cores_region_29.BCM88470=1 |
| 1113 | dtm_flow_nof_remote_cores_region_30.BCM88470=1 |
| 1114 | dtm_flow_nof_remote_cores_region_31.BCM88470=1 |
| 1115 | dtm_flow_nof_remote_cores_region_32.BCM88470=1 |
| 1116 | dtm_flow_nof_remote_cores_region_33.BCM88470=1 |
| 1117 | dtm_flow_nof_remote_cores_region_34.BCM88470=1 |
| 1118 | dtm_flow_nof_remote_cores_region_35.BCM88470=1 |
| 1119 | dtm_flow_nof_remote_cores_region_36.BCM88470=1 |
| 1120 | |
| 1121 | dtm_flow_nof_remote_cores_region_37.BCM88470=1 |
| 1122 | dtm_flow_nof_remote_cores_region_38.BCM88470=1 |
| 1123 | dtm_flow_nof_remote_cores_region_39.BCM88470=1 |
| 1124 | dtm_flow_nof_remote_cores_region_40.BCM88470=1 |
| 1125 | dtm_flow_nof_remote_cores_region_41.BCM88470=1 |
| 1126 | dtm_flow_nof_remote_cores_region_42.BCM88470=1 |
| 1127 | dtm_flow_nof_remote_cores_region_43.BCM88470=1 |
| 1128 | dtm_flow_nof_remote_cores_region_44.BCM88470=1 |
| 1129 | dtm_flow_nof_remote_cores_region_45.BCM88470=1 |
| 1130 | dtm_flow_nof_remote_cores_region_46.BCM88470=1 |
| 1131 | dtm_flow_nof_remote_cores_region_47.BCM88470=1 |
| 1132 | dtm_flow_nof_remote_cores_region_48.BCM88470=1 |
| 1133 | dtm_flow_nof_remote_cores_region_49.BCM88470=1 |
| 1134 | dtm_flow_nof_remote_cores_region_50.BCM88470=1 |
| 1135 | dtm_flow_nof_remote_cores_region_51.BCM88470=1 |
| 1136 | dtm_flow_nof_remote_cores_region_52.BCM88470=1 |
| 1137 | dtm_flow_nof_remote_cores_region_53.BCM88470=1 |
| 1138 | dtm_flow_nof_remote_cores_region_54.BCM88470=1 |
| 1139 | dtm_flow_nof_remote_cores_region_55.BCM88470=1 |
| 1140 | dtm_flow_nof_remote_cores_region_56.BCM88470=1 |
| 1141 | dtm_flow_nof_remote_cores_region_57.BCM88470=1 |
| 1142 | dtm_flow_nof_remote_cores_region_58.BCM88470=1 |
| 1143 | dtm_flow_nof_remote_cores_region_59.BCM88470=1 |
| 1144 | dtm_flow_nof_remote_cores_region_60.BCM88470=1 |
| 1145 | |
| 1146 | dtm_flow_mapping_mode_region_33.BCM88470=0 |
| 1147 | dtm_flow_mapping_mode_region_34.BCM88470=0 |
| 1148 | dtm_flow_mapping_mode_region_35.BCM88470=0 |
| 1149 | dtm_flow_mapping_mode_region_36.BCM88470=0 |
| 1150 | dtm_flow_mapping_mode_region_37.BCM88470=0 |
| 1151 | dtm_flow_mapping_mode_region_38.BCM88470=0 |
| 1152 | dtm_flow_mapping_mode_region_39.BCM88470=0 |
| 1153 | dtm_flow_mapping_mode_region_40.BCM88470=0 |
| 1154 | |
| 1155 | ## Configure number of symmetric cores each region supports ## |
| 1156 | dtm_flow_nof_remote_cores_region_1.BCM88270=2 |
| 1157 | dtm_flow_nof_remote_cores_region_2.BCM88270=2 |
| 1158 | dtm_flow_nof_remote_cores_region_3.BCM88270=2 |
| 1159 | dtm_flow_nof_remote_cores_region_4.BCM88270=2 |
| 1160 | dtm_flow_nof_remote_cores_region_5.BCM88270=2 |
| 1161 | dtm_flow_nof_remote_cores_region_6.BCM88270=2 |
| 1162 | dtm_flow_nof_remote_cores_region_7.BCM88270=2 |
| 1163 | dtm_flow_nof_remote_cores_region_8.BCM88270=2 |
| 1164 | dtm_flow_nof_remote_cores_region_9.BCM88270=2 |
| 1165 | dtm_flow_nof_remote_cores_region_10.BCM88270=2 |
| 1166 | dtm_flow_nof_remote_cores_region_11.BCM88270=2 |
| 1167 | dtm_flow_nof_remote_cores_region_12.BCM88270=2 |
| 1168 | dtm_flow_nof_remote_cores_region_13.BCM88270=2 |
| 1169 | dtm_flow_nof_remote_cores_region_14.BCM88270=2 |
| 1170 | dtm_flow_nof_remote_cores_region_15.BCM88270=2 |
| 1171 | dtm_flow_nof_remote_cores_region_16.BCM88270=2 |
| 1172 | dtm_flow_nof_remote_cores_region_17.BCM88270=2 |
| 1173 | dtm_flow_nof_remote_cores_region_18.BCM88270=2 |
| 1174 | dtm_flow_nof_remote_cores_region_19.BCM88270=1 |
| 1175 | dtm_flow_nof_remote_cores_region_20.BCM88270=1 |
| 1176 | dtm_flow_nof_remote_cores_region_21.BCM88270=1 |
| 1177 | dtm_flow_nof_remote_cores_region_22.BCM88270=1 |
| 1178 | dtm_flow_nof_remote_cores_region_23.BCM88270=1 |
| 1179 | dtm_flow_nof_remote_cores_region_24.BCM88270=1 |
| 1180 | dtm_flow_nof_remote_cores_region_25.BCM88270=1 |
| 1181 | dtm_flow_nof_remote_cores_region_26.BCM88270=1 |
| 1182 | dtm_flow_nof_remote_cores_region_27.BCM88270=1 |
| 1183 | dtm_flow_nof_remote_cores_region_28.BCM88270=1 |
| 1184 | dtm_flow_nof_remote_cores_region_29.BCM88270=1 |
| 1185 | dtm_flow_nof_remote_cores_region_30.BCM88270=1 |
| 1186 | dtm_flow_nof_remote_cores_region_31.BCM88270=1 |
| 1187 | dtm_flow_nof_remote_cores_region_32.BCM88270=1 |
| 1188 | |
| 1189 | dtm_flow_mapping_mode_region_17.BCM88270=0 |
| 1190 | dtm_flow_mapping_mode_region_18.BCM88270=0 |
| 1191 | dtm_flow_mapping_mode_region_19.BCM88270=0 |
| 1192 | dtm_flow_mapping_mode_region_20.BCM88270=0 |
| 1193 | |
| 1194 | ### Flow Control configuration ### |
| 1195 | # Set the Flow control type per Port. |
| 1196 | # Options: LL (Link-level) / CB2 (Class-Based - 2 classes) / |
| 1197 | # CB8 (Class-Based - 8 classes) |
| 1198 | # flow_control_type.BCM88650=LL |
| 1199 | |
| 1200 | ## Out-Of-Band Flow control configuration |
| 1201 | #spn_FC_OOB_TYPE, spn_FC_OOB_MODE, spn_FC_OOB_CALENDER_LENGTH, spn_FC_OOB_CALENDER_REP_COUNT, |
| 1202 | |
| 1203 | ## Set voltage mode for oob interfaces |
| 1204 | #HSTL_1.5V |
| 1205 | #3.3V |
| 1206 | #HSTL_1.5V_VDDO_DIV_2 |
| 1207 | ext_voltage_mode_oob=3.3V |
| 1208 | |
| 1209 | ## Inband Interlaken configuration |
| 1210 | # spn_FC_INBAND_INTLKN_MODE, spn_FC_INBAND_INTLKN_CALENDER_LENGTH, spn_FC_INBAND_INTLKN_CALENDER_REP_COUNT |
| 1211 | # spn_FC_INBAND_INTLKN_CALENDER_LLFC_MODE, spn_FC_INBAND_INTLKN_LLFC_MUB_ENABLE_MASK |
| 1212 | |
| 1213 | ### Meter engine configuration ### |
| 1214 | |
| 1215 | # Specify meter operation mode |
| 1216 | # 32 - Two meters per packet (32k total) |
| 1217 | # 64 - One meter per packet (64k total) or two meter per packet in dual core device configured as SINGLE_CORE (128K total) |
| 1218 | # 128 - One meter per packet in dual core device configured as SINGLE_CORE (128K total) |
| 1219 | # Options: 0, 32, 64, 128 |
| 1220 | policer_ingress_count.BCM88650=32 |
| 1221 | policer_ingress_count.BCM88470=32 |
| 1222 | policer_ingress_count.BCM88270=32 |
| 1223 | policer_ingress_count.BCM88680=32 |
| 1224 | |
| 1225 | |
| 1226 | # For meters in double 32k/64K mode, determine the sharing mode |
| 1227 | # Options: |
| 1228 | # 0 - NONE - For 64k or 128K (one meter per packet) |
| 1229 | # 1 - SERIAL - 32k mode only (two meters per packet) |
| 1230 | # 2 - PARALLEL - For 32k or 64k (two meter per packet) |
| 1231 | policer_ingress_sharing_mode.BCM88650=1 |
| 1232 | policer_ingress_sharing_mode.BCM88470=1 |
| 1233 | policer_ingress_sharing_mode.BCM88270=1 |
| 1234 | policer_ingress_sharing_mode.BCM88680=1 |
| 1235 | |
| 1236 | |
| 1237 | # Applies only to Arad+ (88660) |
| 1238 | # For meters in parallel mode, determine the mapping |
| 1239 | # Options: BEST, WORST |
| 1240 | # policer_result_parallel_color_map.BCM88650=WORST |
| 1241 | |
| 1242 | # Applies only to Arad+ (88660) |
| 1243 | # For meters in parallel mode, determine how the buckets are changed |
| 1244 | # Options: CONSTANT, TRANSPARENT, DEFERRED |
| 1245 | # policer_result_parallel_bucket_update.BCM88650=CONSTANT |
| 1246 | |
| 1247 | # Applies only to Arad+ (88660) |
| 1248 | # Set the Ethernet policer to work in color blind mode |
| 1249 | # rate_color_blind.BCM88650=1 |
| 1250 | |
| 1251 | # L2 learn limit mode |
| 1252 | # Options: VLAN, VLAN_PORT, TUNNEL or the numeric equivalent 0-2. |
| 1253 | # Default: VLAN |
| 1254 | # l2_learn_limit_mode = VLAN_PORT |
| 1255 | |
| 1256 | # Applies only to Arad+ (88660) |
| 1257 | # Determines the L2 learn limit ranges when l2_learn_limit_mode is set to VLAN_PORT |
| 1258 | # Two range bases can be selected, each of 16K size. |
| 1259 | # Options: 0, 16K, 32K, 48K. |
| 1260 | # Default: 0 & 16K |
| 1261 | # l2_learn_lif_range_base_0 = 0 |
| 1262 | # l2_learn_lif_range_base_1 = 16K |
| 1263 | |
| 1264 | # SW shadow mode for exact match tables. Required for SER support and DBAL diagnostics. |
| 1265 | # 0 - Disabled (Default) |
| 1266 | # 1 - Enabled |
| 1267 | # 2 - Disabled for LEM, enabled for other exact match tables |
| 1268 | exact_match_tables_shadow_enable.BCM88650 = 1 |
| 1269 | exact_match_tables_shadow_enable.BCM88675 = 2 |
| 1270 | |
| 1271 | # determine how many cmcs connected to the CPU. |
| 1272 | # default value = 1 |
| 1273 | # applies only to jericho and above. |
| 1274 | pci_cmcs_num.88675 = 3 |
| 1275 | pci_cmcs_num.88470 = 3 |
| 1276 | |
| 1277 | ### Counter engine configuration ### |
| 1278 | |
| 1279 | # Set the Counter source |
| 1280 | # Options: INGRESS_FIELD / INGRESS_VOQ / INGRESS_VSQ / INGRESS_CNM / |
| 1281 | # INGRESS_LATENCY / EGRESS_FIELD / EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM (per queue) / EGRESS_TM_PORT (per port) |
| 1282 | # EGRESS_RECEIVE_VSI / EGRESS_RECEIVE_OUT_LIF / EGRESS_RECEIVE_TM (per queue) / EGRESS_RECEIVE_TM_PORT (per port) |
| 1283 | # INGRESS_OAM / EGRESS_OAM |
| 1284 | # 2 Counter-Pointers can be set (with _0 and _1) for |
| 1285 | # INGRESS_FIELD / EGRESS_FIELD / EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM / EGRESS_TM_PORT |
| 1286 | # Range extension can be set (with _LSB and _MSB) for |
| 1287 | # INGRESS_FIELD / EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM / EGRESS_TM_PORT /EGRESS_RECEIVE_VSI / |
| 1288 | # EGRESS_RECEIVE_OUT_LIF / EGRESS_RECEIVE_TM / EGRESS_RECEIVE_TM_PORT |
| 1289 | counter_engine_source_0.BCM88650=INGRESS_FIELD_0 |
| 1290 | counter_engine_source_1.BCM88650=INGRESS_FIELD_1 |
| 1291 | counter_engine_source_2.BCM88650=INGRESS_VOQ |
| 1292 | counter_engine_source_3.BCM88650=EGRESS_FIELD |
| 1293 | |
| 1294 | # Configure the statistic interface egress transmit PP source and the ingress received PP source |
| 1295 | # Options for egress: EGRESS_VSI / EGRESS_OUT_LIF / EGRESS_TM / EGRESS_TM_PORT (the default is TM) |
| 1296 | # Options for ingress: INGRESS_VSI / INGRESS_IN_LIF / INGRESS_TM (the default is TM) |
| 1297 | # valid just when there is no conflict with the other counter engines |
| 1298 | #counter_engine_source_egress_pp_stat0.BCM88650=EGRESS_TM |
| 1299 | #counter_engine_source_egress_pp_stat1.BCM88650=EGRESS_VSI |
| 1300 | #counter_engine_source_ingress_pp_stat0.BCM88650=INGRESS_IN_LIF |
| 1301 | #counter_engine_source_ingress_pp_stat1.BCM88650=INGRESS_TM |
| 1302 | |
| 1303 | |
| 1304 | # Set the Counter engine resolution |
| 1305 | # SIMPLE_COLOR = green, not green |
| 1306 | # SIMPLE_COLOR_FWD = fwd green, fwd not green (BCM88660_A0 only) |
| 1307 | # SIMPLE_COLOR_DROP = drop green, drop not green (BCM88660_A0 only) |
| 1308 | # FWD_DROP = forwarded, dropped |
| 1309 | # GREEN_NOT_GREEN = fwd grn, drop grn, fwd not grn, drop not grn |
| 1310 | # FULL_COLOR = fwd grn, drop grn, fwd not grn, drop yel, drop red |
| 1311 | # ALL = received |
| 1312 | # FWD = forwarded, DROP = droped (not supported by ARAD_A0) |
| 1313 | # CONFIGURABLE = defined by counter_engine_map_ SOC properties (BCM88660_A0 only) |
| 1314 | counter_engine_statistics_0.BCM88650=FULL_COLOR |
| 1315 | counter_engine_statistics_1.BCM88650=FULL_COLOR |
| 1316 | counter_engine_statistics_2.BCM88650=FULL_COLOR |
| 1317 | counter_engine_statistics_3.BCM88650=FULL_COLOR |
| 1318 | |
| 1319 | # Set the Counter format |
| 1320 | # Options: PACKETS_AND_BYTES / PACKETS / BYTES |
| 1321 | # / MAX_QUEUE_SIZE / LATENCY / PACKETS_AND_PACKETS(supported just in FWD_DROP statistic in BCM88660_A0) |
| 1322 | # If not PACKETS_AND_BYTES or PACKETS_AND_PACKETS, the HW Counter width is 59 bits, thus |
| 1323 | # no background SW operation is performed |
| 1324 | counter_engine_format_0.BCM88650=PACKETS_AND_BYTES |
| 1325 | counter_engine_format_1.BCM88650=PACKETS_AND_BYTES |
| 1326 | counter_engine_format_2.BCM88650=PACKETS_AND_BYTES |
| 1327 | counter_engine_format_3.BCM88650=PACKETS_AND_BYTES |
| 1328 | |
| 1329 | # #enable/disable counter processor background thread (default:1-enable) |
| 1330 | # counter_engine_sampling_interval=1 |
| 1331 | |
| 1332 | |
| 1333 | ### Configurable mode configuration (BCM88660_A0 only)### |
| 1334 | # counter_engine_statistics_0.BCM88660_A0=CONFIGURABLE |
| 1335 | # counter_engine_map_enable_0.BCM88660_A0=1 |
| 1336 | # counter_engine_map_size_0.BCM88660_A0=4 |
| 1337 | # counter_engine_map_fwd_green_offset_0.BCM88660_A0=0 |
| 1338 | # counter_engine_map_fwd_yellow_offset_0.BCM88660_A0=1 |
| 1339 | # counter_engine_map_fwd_red_offset_0.BCM88660_A0=1 |
| 1340 | # counter_engine_map_fwd_black_offset_0.BCM88660_A0=2 |
| 1341 | # counter_engine_map_drop_green_offset_0.BCM88660_A0=3 |
| 1342 | # counter_engine_map_drop_yellow_offset_0.BCM88660_A0=3 |
| 1343 | # counter_engine_map_drop_red_offset_0.BCM88660_A0=3 |
| 1344 | # counter_engine_map_drop_black_offset_0.BCM88660_A0=3 |
| 1345 | |
| 1346 | ### Statistic-Report configuration ### |
| 1347 | # Enable the Statistic-Interface configuration |
| 1348 | # stat_if_enable_<port> - not supported by ARAD_A0 |
| 1349 | # stat_if_enable.BCM88650=1 |
| 1350 | |
| 1351 | # ## Statistic-Report Properties |
| 1352 | # # Set Statistic-Report interface rate in Mbps |
| 1353 | # # If Value is '0' the statistics port rate will be used. Default: 0. |
| 1354 | # stat_if_rate.BCM88650=0 |
| 1355 | # # Set the Statistic-Report mode |
| 1356 | # # Options: BILLING / BILLING_QUEUE_NUMBER (not supported by ARAD_A0)/ QSIZE |
| 1357 | # stat_if_report_mode.BCM88650=QSIZE |
| 1358 | # #Indicate if idle reports must be sent |
| 1359 | # #when the Statistic-report rate is too low |
| 1360 | # stat_if_idle_reports_present.BCM88650=0 |
| 1361 | # # Indicate if the reported packet size is the original packet size |
| 1362 | # stat_if_report_original_pkt_size.BCM88650=1 |
| 1363 | # #If set then a single ingress-billing report will be generated |
| 1364 | # #for the whole set of the multicast copies |
| 1365 | # stat_if_report_multicast_single_copy=1 |
| 1366 | # ## Statistic Packet configurations |
| 1367 | # # Set the Statistic Packet size (Bytes) |
| 1368 | # # Valid values: 65B/126B/248B/492B (Queue-Size), 64B/128B/256B/512B/1024B (Billing). |
| 1369 | # stat_if_pkt_size=64B |
| 1370 | # |
| 1371 | # ## Scrubber configuration |
| 1372 | # # Set the range of VOQs to scrub. Range: 0 - 96K-1. |
| 1373 | # stat_if_scrubber_queue_min.BCM88650=0 |
| 1374 | # stat_if_scrubber_queue_max.BCM88650=0 |
| 1375 | # |
| 1376 | # # Set the scrubber rate range |
| 1377 | # # If set to 0 (default), the scrubber is disabled. Units: nanoseconds |
| 1378 | # stat_if_scrubber_rate_min.BCM88650=0 |
| 1379 | # stat_if_scrubber_rate_max.BCM88650=0 |
| 1380 | # |
| 1381 | # # Set the thresholds (thresh_id 0 - 15) defining |
| 1382 | # # occupancy range per resource type: |
| 1383 | # # DRAM Buffers, Buffer descriptors, Buffer descriptors buffers |
| 1384 | # stat_if_scrubber_bdb_th.BCM88650=0 |
| 1385 | # stat_if_scrubber_buffer_descr_th.BCM88650=0 |
| 1386 | # stat_if_uc_dram_buffer_descr_th.BCM88650=0 |
| 1387 | # |
| 1388 | # #Relective report for queue size mode - not supported by ARAD_A0 |
| 1389 | # #Reports will be created for queue num range (stat_if_selective_report_queue_min -stat_if_selective_report_queue_max) |
| 1390 | # #Default - all range |
| 1391 | # stat_if_selective_report_queue_min.BCM88650_B0=0 |
| 1392 | # stat_if_selective_report_queue_max.BCM88650_B0=98303 |
| 1393 | |
| 1394 | ### Transaction - DMA configuration ### |
| 1395 | # Time to wait for SCHAN channel response (from CMIC). Units: microseconds. |
| 1396 | |
| 1397 | |
| 1398 | ### Counter threads ### |
| 1399 | # # set port bitmap on which statistics collection will be enabled (default all ports) |
| 1400 | # bcm_stat_pbmp.BCM88675=0xfffffffff000000000000000000000000000000000000000000000000000000000003e002 |
| 1401 | # |
| 1402 | # # set statistics collection interval in microseconds (default is 1000000) |
| 1403 | # bcm_stat_interval.BCM88675=1000000 |
| 1404 | |
| 1405 | ### Control optimization of cosq port initializations: speed for memory ### |
| 1406 | runtime_performance_optimize_enable_sched_allocation.BCM88650=1 |
| 1407 | runtime_performance_optimize_enable_sched_allocation.BCM88675=1 |
| 1408 | |
| 1409 | ### static tables initiation (Supported for Jericho) ### |
| 1410 | # Options: 1 - initiating static tables, 0 - doesn't initiate tables (Default Value for PCID/emulation) |
| 1411 | #custom_feature_static_tbl_full_init.BCM88675=1 |
| 1412 | #custom_feature_dynamic_tbl_full_init.BCM88675=1 |
| 1413 | |
| 1414 | ### Interrupts ### |
| 1415 | ## Set interrupts global parameters. |
| 1416 | # Options: 1 - Polling interrupt mode, 0 - Line/MSI interrupt mode. Default: 1. |
| 1417 | polled_irq_mode.BCM88650=0 |
| 1418 | polled_irq_mode.BCM88675=0 |
| 1419 | # Set the delay in microsecond between the polling, relevant only to Polling mode. Default: 0x0. |
| 1420 | polled_irq_delay.BCM88650=50000 |
| 1421 | |
| 1422 | ## CMIC interrupts: |
| 1423 | # Enable: Use interrupts completion instead of polling completion for the following operations. |
| 1424 | # Options: 1 - Enable, 0 - Disable. Default: 0. |
| 1425 | # Timeout: delay in Microsecond between the polling, relevant only to Polling completion mode. |
| 1426 | # SCHAN: |
| 1427 | #schan_intr_enable.0=1 |
| 1428 | schan_timeout_usec.BCM88650=300000 |
| 1429 | # TDMA |
| 1430 | tdma_intr_enable.BCM88650=1 |
| 1431 | tdma_intr_enable.BCM88675=0 |
| 1432 | tdma_timeout_usec.BCM88650=5000000 |
| 1433 | tdma_timeout_usec.BCM88675=560000000 |
| 1434 | # TSLAM |
| 1435 | tslam_intr_enable.BCM88650=1 |
| 1436 | tslam_intr_enable.BCM88675=0 |
| 1437 | tslam_timeout_usec.BCM88650=5000000 |
| 1438 | tslam_timeout_usec.BCM88675=560000000 |
| 1439 | # MIIM |
| 1440 | #miim_intr_enable.0=1 |
| 1441 | miim_timeout_usec.0=300000 |
| 1442 | |
| 1443 | ### DRAM configuration ### |
| 1444 | |
| 1445 | # DRAM buffer (Dbuff) size |
| 1446 | # Allowed values: 256/512/1024/2048. |
| 1447 | ext_ram_dbuff_size.BCM88650=1024 |
| 1448 | ext_ram_dbuff_size.BCM88470=4096 |
| 1449 | ext_ram_dbuff_size.BCM88270=4096 |
| 1450 | |
| 1451 | # Number of external DRAMs. |
| 1452 | # Allowed values for 88650: 0/2/3/4/6/8. |
| 1453 | # Allowed values for 88660: 0/1/2/3/4/6/8. A value of 1 is permitted only in ONE WAY BYPASS ocb mode. |
| 1454 | # Allowed values for 88675: 0/2/3/41/42/6/8. '41' - configure 4 drams in Single Side mode (A, B, C, D). |
| 1455 | # '42' - configure 4 drams in symmetric mode (A, C, F, H). |
| 1456 | # Value of 0 disables the DRAM. |
| 1457 | ext_ram_present.BCM88650=8 |
| 1458 | ## this soc is configured in per board soc file (bcm88x7x_board.soc) |
| 1459 | ext_ram_present.BCM88470=3 |
| 1460 | ext_ram_present.BCM88270=1 |
| 1461 | |
| 1462 | ### Dram Tuning (Shmoo) |
| 1463 | # 3 = Skip Dram Tuning (Shmoo). |
| 1464 | # 2 = Use Dram saved config Parameters, if no Parameters Perform Shmoo on init. Default option. |
| 1465 | # 1 = Perform Shmoo on init. |
| 1466 | # 0 = Use Dram saved config Parameters, if no Parameters do nothing. |
| 1467 | ddr3_auto_tune.BCM88650=2 |
| 1468 | ddr3_auto_tune.BCM88270=2 |
| 1469 | ddr3_auto_tune.BCM88470=2 |
| 1470 | |
| 1471 | ##### DDR Tuning parameters for IL SVK4 |
| 1472 | combo28_tune_dq_wr_min_vdl_byte3_ci1.0=0x00000004,0x00000003,0x00000007,0x00000003,0x00000002,0x00000000,0x00000006,0x00000004, |
| 1473 | combo28_tune_dq_rd_min_vdl_byte1_ci2.0=0x00000017,0x00000014,0x00000016,0x00000014,0x00000017,0x00000018,0x00000017,0x00000017, |
| 1474 | combo28_tune_common_macro_reserved_reg_ci0.0=0x00000000, |
| 1475 | combo28_tune_control_regs_reserved_reg_ci1.0=0x00000003, |
| 1476 | combo28_tune_control_regs_read_clock_config_ci0.0=0x00000002, |
| 1477 | combo28_tune_dq_rd_min_vdl_byte2_ci0.0=0x00000018,0x00000017,0x00000017,0x00000018,0x00000017,0x00000014,0x00000015,0x00000017, |
| 1478 | combo28_tune_dq_read_max_vdl_fsm_ci1.0=0x0000004c,0x0000004c,0x0000004c,0x0000004c, |
| 1479 | combo28_tune_aq_u_max_vdl_ctrl_ci1.0=0x00000214, |
| 1480 | combo28_tune_dq_rd_max_vdl_dqsn_ci1.0=0x00000017,0x00000019,0x0000002d,0x0000002d, |
| 1481 | combo28_tune_dq_ren_fifo_config_ci0.0=0x00000090,0x00000090,0x00000090,0x00000090, |
| 1482 | combo28_tune_dq_wr_min_vdl_dbi_ci1.0=0x00000001,0x00000004,0x00000002,0x00000003, |
| 1483 | combo28_tune_aq_u_macro_reserved_reg_ci0.0=0x00000000, |
| 1484 | combo28_tune_dq_rd_min_vdl_edc_ci1.0=0x00000016,0x00000016,0x00000017,0x0000001a, |
| 1485 | combo28_tune_aq_l_max_vdl_addr_ci1.0=0x00000214, |
| 1486 | combo28_tune_dq_wr_max_vdl_data_ci2.0=0x00000238,0x00000406,0x00000247,0x00000416, |
| 1487 | combo28_tune_dq_wr_min_vdl_byte3_ci2.0=0x00000000,0x00000003,0x00000000,0x00000000,0x00000000,0x00000003,0x00000001,0x00000001, |
| 1488 | combo28_tune_common_macro_reserved_reg_ci1.0=0x00000000, |
| 1489 | combo28_tune_control_regs_reserved_reg_ci2.0=0x00000003, |
| 1490 | combo28_tune_control_regs_read_clock_config_ci1.0=0x00000002, |
| 1491 | combo28_tune_dq_rd_min_vdl_byte2_ci1.0=0x00000015,0x00000015,0x00000019,0x00000017,0x00000014,0x00000016,0x00000018,0x00000016, |
| 1492 | combo28_tune_dq_read_max_vdl_fsm_ci2.0=0x0000004d,0x0000004d,0x0000004d,0x0000004d, |
| 1493 | combo28_tune_aq_u_max_vdl_ctrl_ci2.0=0x00000048, |
| 1494 | combo28_tune_dq_rd_max_vdl_dqsn_ci2.0=0x00000023,0x00000022,0x0000002c,0x00000020, |
| 1495 | combo28_tune_dq_ren_fifo_config_ci1.0=0x00000090,0x00000090,0x00000090,0x00000090, |
| 1496 | combo28_tune_dq_wr_min_vdl_dbi_ci2.0=0x00000002,0x00000001,0x00000003,0x00000001, |
| 1497 | combo28_tune_aq_u_macro_reserved_reg_ci1.0=0x00000000, |
| 1498 | combo28_tune_dq_rd_min_vdl_edc_ci2.0=0x00000016,0x00000017,0x00000016,0x00000017, |
| 1499 | combo28_tune_aq_l_max_vdl_addr_ci2.0=0x00000048, |
| 1500 | combo28_tune_control_regs_ren_fifo_central_initializer_ci0.0=0x0000000f, |
| 1501 | combo28_tune_common_macro_reserved_reg_ci2.0=0x00000000, |
| 1502 | combo28_tune_control_regs_read_clock_config_ci2.0=0x00000002, |
| 1503 | combo28_tune_dq_rd_min_vdl_byte2_ci2.0=0x00000018,0x00000016,0x00000015,0x00000014,0x00000015,0x00000015,0x00000014,0x00000015, |
| 1504 | combo28_tune_dq_wr_min_vdl_byte0_ci0.0=0x00000001,0x00000002,0x00000000,0x00000002,0x00000002,0x00000003,0x00000004,0x00000001, |
| 1505 | combo28_tune_dq_ren_fifo_config_ci2.0=0x00000090,0x00000090,0x00000090,0x00000090, |
| 1506 | combo28_tune_dq_rd_min_vdl_byte3_ci0.0=0x00000019,0x00000017,0x0000001a,0x0000001c,0x00000017,0x00000018,0x00000014,0x00000014, |
| 1507 | combo28_tune_aq_u_macro_reserved_reg_ci2.0=0x00000000, |
| 1508 | combo28_tune_control_regs_ren_fifo_central_initializer_ci1.0=0x0000000f, |
| 1509 | combo28_tune_aq_l_max_vdl_ctrl_ci0.0=0x00000201, |
| 1510 | combo28_tune_control_regs_input_shift_ctrl_ci0.0=0x00000070, |
| 1511 | combo28_tune_dq_wr_min_vdl_byte0_ci1.0=0x00000005,0x00000001,0x00000000,0x00000000,0x00000001,0x00000000,0x00000000,0x00000003, |
| 1512 | combo28_tune_dq_rd_min_vdl_byte3_ci1.0=0x00000018,0x00000017,0x0000001c,0x0000001d,0x00000014,0x00000017,0x0000001e,0x0000001d, |
| 1513 | combo28_tune_control_regs_ren_fifo_central_initializer_ci2.0=0x0000000f, |
| 1514 | combo28_tune_dq_rd_max_vdl_dqsp_ci0.0=0x00000018,0x00000019,0x00000025,0x0000002b, |
| 1515 | combo28_tune_aq_l_max_vdl_ctrl_ci1.0=0x00000214, |
| 1516 | combo28_tune_control_regs_input_shift_ctrl_ci1.0=0x00000070, |
| 1517 | combo28_tune_dq_wr_min_vdl_byte0_ci2.0=0x00000000,0x00000005,0x00000003,0x00000003,0x00000003,0x00000003,0x00000003,0x00000002, |
| 1518 | combo28_tune_dq_wr_min_vdl_edc_ci0.0=0x00000000,0x00000000,0x00000000,0x00000000, |
| 1519 | combo28_tune_dq_rd_min_vdl_byte3_ci2.0=0x00000015,0x00000017,0x00000014,0x00000015,0x00000016,0x00000018,0x00000018,0x00000019, |
| 1520 | combo28_tune_dq_wr_min_vdl_byte1_ci0.0=0x00000002,0x00000002,0x00000002,0x00000003,0x00000002,0x00000001,0x00000002,0x00000000, |
| 1521 | combo28_tune_control_regs_edcen_fifo_central_init_ci0.0=0x00000000, |
| 1522 | combo28_tune_dq_macro_reserved_reg_ci0.0=0x00000026,0x00000026,0x00000025,0x00000026, |
| 1523 | combo28_tune_dq_rd_max_vdl_dqsp_ci1.0=0x00000017,0x00000019,0x0000002d,0x0000002d, |
| 1524 | combo28_tune_aq_l_max_vdl_ctrl_ci2.0=0x00000048, |
| 1525 | combo28_tune_control_regs_input_shift_ctrl_ci2.0=0x00000070, |
| 1526 | combo28_tune_dq_rd_min_vdl_dbi_ci0.0=0x00000016,0x00000017,0x00000017,0x00000018, |
| 1527 | combo28_tune_dq_wr_min_vdl_edc_ci1.0=0x00000000,0x00000000,0x00000000,0x00000000, |
| 1528 | combo28_tune_dq_wr_min_vdl_byte1_ci1.0=0x00000006,0x00000007,0x00000005,0x00000005,0x00000000,0x00000001,0x00000007,0x00000005, |
| 1529 | combo28_tune_dq_edcen_fifo_config_ci0.0=0x00000080,0x00000080,0x00000080,0x00000080, |
| 1530 | combo28_tune_control_regs_edcen_fifo_central_init_ci1.0=0x00000000, |
| 1531 | combo28_tune_dq_vref_dac_config_ci0.0=0x00760000,0x00740000,0x00800000,0x007c0000, |
| 1532 | combo28_tune_dq_macro_reserved_reg_ci1.0=0x00000026,0x0000002a,0x00000028,0x00000029, |
| 1533 | combo28_tune_dq_rd_max_vdl_dqsp_ci2.0=0x00000023,0x00000022,0x0000002c,0x00000020, |
| 1534 | combo28_tune_dq_rd_min_vdl_byte0_ci0.0=0x00000016,0x00000014,0x00000014,0x00000016,0x00000015,0x00000015,0x00000016,0x00000016, |
| 1535 | combo28_tune_dq_rd_min_vdl_dbi_ci1.0=0x00000016,0x00000016,0x00000017,0x0000001a, |
| 1536 | combo28_tune_aq_u_max_vdl_addr_ci0.0=0x00000201, |
| 1537 | combo28_tune_dq_wr_max_vdl_dqs_ci0.0=0x00000440,0x0000044a,0x00000422,0x00000430, |
| 1538 | combo28_tune_dq_wr_min_vdl_edc_ci2.0=0x00000000,0x00000000,0x00000000,0x00000000, |
| 1539 | combo28_tune_dq_wr_min_vdl_byte1_ci2.0=0x00000003,0x00000000,0x00000002,0x00000001,0x00000002,0x00000001,0x00000004,0x00000001, |
| 1540 | combo28_tune_dq_edcen_fifo_config_ci1.0=0x00000080,0x00000080,0x00000080,0x00000080, |
| 1541 | combo28_tune_control_regs_edcen_fifo_central_init_ci2.0=0x00000000, |
| 1542 | combo28_tune_dq_vref_dac_config_ci1.0=0x007e0000,0x007a0000,0x00820000,0x00820000, |
| 1543 | combo28_tune_dq_macro_reserved_reg_ci2.0=0x00000028,0x00000028,0x0000002a,0x0000002b, |
| 1544 | combo28_tune_dq_wr_min_vdl_byte2_ci0.0=0x00000001,0x00000000,0x00000003,0x00000002,0x00000005,0x00000005,0x00000003,0x00000005, |
| 1545 | combo28_tune_dq_rd_min_vdl_byte0_ci1.0=0x00000015,0x00000017,0x00000017,0x00000017,0x00000017,0x00000015,0x00000014,0x00000015, |
| 1546 | combo28_tune_dq_rd_min_vdl_dbi_ci2.0=0x00000016,0x00000017,0x00000016,0x00000017, |
| 1547 | combo28_tune_control_regs_shared_vref_dac_config_ci0.0=0x00920000, |
| 1548 | combo28_tune_aq_u_max_vdl_addr_ci1.0=0x00000214, |
| 1549 | combo28_tune_dq_wr_max_vdl_dqs_ci1.0=0x00000440,0x00000446,0x0000042d,0x00000434, |
| 1550 | combo28_tune_dq_edcen_fifo_config_ci2.0=0x00000080,0x00000080,0x00000080,0x00000080, |
| 1551 | combo28_tune_aq_l_macro_reserved_reg_ci0.0=0x00000000, |
| 1552 | combo28_tune_dq_vref_dac_config_ci2.0=0x00840000,0x007e0000,0x008a0000,0x00820000, |
| 1553 | combo28_tune_dq_wr_min_vdl_byte2_ci1.0=0x00000000,0x00000001,0x00000002,0x00000004,0x00000003,0x00000000,0x00000004,0x00000007, |
| 1554 | combo28_tune_dq_rd_min_vdl_byte0_ci2.0=0x00000014,0x00000015,0x00000015,0x00000014,0x00000016,0x00000017,0x00000015,0x00000016, |
| 1555 | combo28_tune_control_regs_shared_vref_dac_config_ci1.0=0x00920000, |
| 1556 | combo28_tune_aq_u_max_vdl_addr_ci2.0=0x00000048, |
| 1557 | combo28_tune_dq_wr_max_vdl_dqs_ci2.0=0x00000424,0x00000435,0x0000043c,0x00000444, |
| 1558 | combo28_tune_dq_rd_min_vdl_byte1_ci0.0=0x00000017,0x00000017,0x00000018,0x00000018,0x00000014,0x00000015,0x00000015,0x00000015, |
| 1559 | combo28_tune_aq_l_macro_reserved_reg_ci1.0=0x00000000, |
| 1560 | combo28_tune_dq_wr_min_vdl_byte2_ci2.0=0x00000004,0x00000000,0x00000004,0x00000005,0x00000002,0x00000003,0x00000004,0x00000004, |
| 1561 | combo28_tune_dq_wr_max_vdl_data_ci0.0=0x00000416,0x00000428,0x00000232,0x00000241, |
| 1562 | combo28_tune_control_regs_shared_vref_dac_config_ci2.0=0x00920000, |
| 1563 | combo28_tune_dq_wr_min_vdl_byte3_ci0.0=0x00000005,0x00000005,0x00000005,0x00000004,0x00000003,0x00000003,0x00000003,0x00000000, |
| 1564 | combo28_tune_dq_rd_min_vdl_byte1_ci1.0=0x00000018,0x00000018,0x00000018,0x00000014,0x00000014,0x00000014,0x00000018,0x00000014, |
| 1565 | combo28_tune_aq_l_macro_reserved_reg_ci2.0=0x00000000, |
| 1566 | combo28_tune_control_regs_reserved_reg_ci0.0=0x00000003, |
| 1567 | combo28_tune_dq_read_max_vdl_fsm_ci0.0=0x0000004b,0x0000004b,0x0000004b,0x0000004b, |
| 1568 | combo28_tune_aq_u_max_vdl_ctrl_ci0.0=0x00000201, |
| 1569 | combo28_tune_dq_rd_max_vdl_dqsn_ci0.0=0x00000018,0x00000019,0x00000025,0x0000002b, |
| 1570 | combo28_tune_dq_wr_min_vdl_dbi_ci0.0=0x00000001,0x00000001,0x00000003,0x00000003, |
| 1571 | combo28_tune_dq_rd_min_vdl_edc_ci0.0=0x00000016,0x00000017,0x00000017,0x00000018, |
| 1572 | combo28_tune_aq_l_max_vdl_addr_ci0.0=0x00000201, |
| 1573 | combo28_tune_dq_wr_max_vdl_data_ci1.0=0x00000414,0x0000041e,0x00000234,0x00000245, |
| 1574 | |
| 1575 | ### Enable BIST |
| 1576 | # Run Dram BIST on initialization, if BIST fail the initialization will fail. Defult: 1. |
| 1577 | # bist_enable_dram.BCM88650=1 |
| 1578 | bist_enable_dram.BCM88270=1 |
| 1579 | bist_enable_dram.BCM88470=1 |
| 1580 | |
| 1581 | ### Example for Dram Saved config Parameters. |
| 1582 | ## This example is for ci=14 (Dram=7). |
| 1583 | #ddr3_tune_addrc_ci14=0x000000ae |
| 1584 | #ddr3_tune_wr_dq_wl1_ci14=0x92929292,0x92929292,0x92929292,0x92929292 |
| 1585 | #ddr3_tune_wr_dq_wl0_ci14=0x93939393,0x93939393,0x92929292,0x92929292 |
| 1586 | #ddr3_tune_wr_dq_ci14=0x80808080 |
| 1587 | #ddr3_tune_vref_ci14=0x000007df |
| 1588 | #ddr3_tune_rd_dqs_ci14=0x96969191,0x90909191 |
| 1589 | #ddr3_tune_rd_dq_wl1_rn_ci14=0x82828282,0x82828282,0x82828282,0x82828282 |
| 1590 | #ddr3_tune_rd_dq_wl0_rn_ci14=0x82828282,0x82828282,0x89898989,0x89898989 |
| 1591 | #ddr3_tune_rd_dq_wl1_rp_ci14=0x82828282,0x82828282,0x82828282,0x82828282 |
| 1592 | #ddr3_tune_rd_dq_wl0_rp_ci14=0x82828282,0x82828282,0x89898989,0x89898989 |
| 1593 | #ddr3_tune_rd_en_ci14=0x009d9e9d,0x00a2a3a1 |
| 1594 | #ddr3_tune_rd_data_dly_ci14=0x00000505 |
| 1595 | |
| 1596 | |
| 1597 | ### Dram type: Select ONLY ONE of the following DRAM types, to configure all dram related parameteres per type. |
| 1598 | |
| 1599 | # Dram Type for Arad: |
| 1600 | #dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_1066=1 |
| 1601 | #dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_933=1 |
| 1602 | #dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_800=1 |
| 1603 | #dram_type_DDR3_MICRON_MT41J256M16_4GBIT_1066=1 |
| 1604 | #dram_type_DDR3_MICRON_MT41J128M16HA_125_1066=1 |
| 1605 | #dram_type_DDR3_MICRON_MT41J128M16HA_125_933=1 |
| 1606 | #dram_type_DDR3_MICRON_MT41J128M16HA_125_800=1 |
| 1607 | #dram_type_DDR3_MICRON_MT42J64M16LA_15E_667=1 |
| 1608 | #dram_type_DDR3_SAMSUNG_K4B4G1646B_4GBIT_1066=1 |
| 1609 | #dram_type_DDR3_SAMSUNG_K4B1G1646G_933=1 |
| 1610 | #dram_type_DDR3_SAMSUNG_K4B1G1646G_800=1 |
| 1611 | |
| 1612 | # Dram Type for Jericho: |
| 1613 | ## this soc is configured in per board soc file (bcm88x7x_board.soc) |
| 1614 | #dram_type_DDR4_MICRON_Y4016AABG_JD_F_4GBIT=1 |
| 1615 | dram_type_DDR4_MICRON_MT40A256M16HA_083EA_4GBIT=1 |
| 1616 | #dram_type_DDR4_HYNIX_H5AN4G6NMFR_VJC_4GBIT=1 |
| 1617 | #dram_type_GDDR5_SAMSUNG_K4G20325FD_2GBIT=1 |
| 1618 | #dram_type_GDDR5_SAMSUNG_K4G41325FC_4GBIT=1 |
| 1619 | #dram_type_GDDR5_MICRON_EDW4032CABG_4GBIT=1 |
| 1620 | #dram_type_GDDR5_HYNIX_H5GC4H24MFR_T2C_4GBIT=1 |
| 1621 | |
| 1622 | # Dram Type for Ardon: |
| 1623 | #dram_type_DDR4_MICRON_EDY4016AABG_DRFR_4GBIT=1 |
| 1624 | |
| 1625 | # DRAM frequency |
| 1626 | ext_ram_freq.BCM88675=1600 |
| 1627 | |
| 1628 | ### Setting dram_type_DDR3_HYNIX_H5TQ2G63BFR_TEC_1066 Parameters as Default: |
| 1629 | ## All other dram types parameter resides in arad.soc. choosing another Dram Type will override the following parameters. |
| 1630 | ext_ram_t_rrd=6000 |
| 1631 | ext_ram_columns=1024 |
| 1632 | ext_ram_banks=8 |
| 1633 | ext_ram_ap_bit_pos=10 |
| 1634 | ext_ram_burst_size=32 |
| 1635 | ext_ram_t_ref=3900000 |
| 1636 | ext_ram_t_wr=15000 |
| 1637 | ext_ram_t_wtr=7500 |
| 1638 | ext_ram_t_rtp=7500 |
| 1639 | ext_ram_freq=1066 |
| 1640 | ext_ram_rows=16384 |
| 1641 | ext_ram_jedec=29 |
| 1642 | ext_ram_t_rc=46090 |
| 1643 | ext_ram_t_rcd_rd=13090 |
| 1644 | ext_ram_t_rcd_wr=13090 |
| 1645 | ext_ram_t_rp=13090 |
| 1646 | ext_ram_t_rfc=160000 |
| 1647 | ext_ram_t_ras=33000 |
| 1648 | ext_ram_c_wr_latency=10 |
| 1649 | ext_ram_t_faw=35000 |
| 1650 | ext_ram_c_cas_latency=14 |
| 1651 | ddr3_mem_grade=0x141414 |
| 1652 | |
| 1653 | ## address or bank address swap example |
| 1654 | #swaps are found in bcm88xxx_board.soc |
| 1655 | #ext_ram_addr_bank_swap_dramX_bitY=M |
| 1656 | |
| 1657 | ## dq swap example |
| 1658 | #swaps are found in bcm88xxx_board.soc |
| 1659 | #bit swap example: |
| 1660 | #ext_ram_dq_swap_dramX_byteY_bitZ=M |
| 1661 | #byte swap example: |
| 1662 | #ext_ram_dq_swap_dramX_byteY=M |
| 1663 | |
| 1664 | ## Dram Gear down mode. Valid values: 0 - Enable, 1 - Disable. Default: 0x0. |
| 1665 | ext_ram_gear_down_mode.BCM88675=0 |
| 1666 | |
| 1667 | ## Alert_n de-assertion period above which error is considered parity error |
| 1668 | #ext_ram_alert_n_period_thrs.BCM88675=20 |
| 1669 | |
| 1670 | ## Dram Address bus inversion. Valid values: 0 - Enable, 1 - Disable. Default: 0x0. |
| 1671 | ## this soc is configured in per board soc file (bcm88x7x_board.soc) |
| 1672 | #ext_ram_abi.BCM88675=0 |
| 1673 | |
| 1674 | ## Data bus inversion on write/read direction. Valid values: 0 - Disable, 1 - Enable. Default: 0x0. |
| 1675 | ## those socs are configured in per board soc file (bcm88x7x_board.soc) |
| 1676 | #ext_ram_write_dbi.BCM88675=0 |
| 1677 | #ext_ram_read_dbi.BCM88675=0 |
| 1678 | |
| 1679 | ## Enable write/read CRC (DDR4 does not support read CRC). Default: 0x0. |
| 1680 | ## those socs are configured in per board soc file (bcm88x7x_board.soc) |
| 1681 | #ext_ram_write_crc.BCM88675=1 |
| 1682 | #ext_ram_read_crc.BCM88675=0 |
| 1683 | |
| 1684 | ## Command parity latency. Valid values: 0 - Disable, 4,5 or 6 - Valid values. Default: 0x0. |
| 1685 | ## this soc is configured in per board soc file (bcm88x7x_board.soc) |
| 1686 | #ext_ram_cmd_par_latency.BCM88675=6 |
| 1687 | |
| 1688 | # DRAM pre-configurations according to config variables which defines |
| 1689 | # Dram Type. BCM88650 supports only DDR3. |
| 1690 | # Dram Type. BCM88675 supports DDR4 and GDDR5. |
| 1691 | ext_ram_type.BCM88650=DDR3 |
| 1692 | ## this soc is configured in per board soc file (bcm88x7x_board.soc) |
| 1693 | #ext_ram_type.BCM88675=DDR4 |
| 1694 | |
| 1695 | # Total Dram Size (MBytes) |
| 1696 | # For 8 drams interfaces, 2 channel each, Each channel 2Gbit Dram. the total DRAM size is 32GBits=4000MBytes. |
| 1697 | ext_ram_total_size.BCM88650=4000 |
| 1698 | ## this soc is configured in per board soc file (bcm88x7x_board.soc) |
| 1699 | #ext_ram_total_size.BCM88675=8000 |
| 1700 | |
| 1701 | # Total buffer size allocated for User buffer. Units: Mbytes. Default: '0x0'. |
| 1702 | # Supported suffix: |
| 1703 | # dram - the buffer size will be subtracted from the DRAM size available for packet memory. |
| 1704 | #user_buffer_size=0 |
| 1705 | #user_buffer_size_dram=50 |
| 1706 | |
| 1707 | # DRAM ClamShell (interface swap its HW PIN pairs during init.) |
| 1708 | # Note: Only one of DRAMs can have its PIN swapped |
| 1709 | # Valid values: 0/1 |
| 1710 | #dram0_clamshell_enable.BCM88650=1 |
| 1711 | #dram1_clamshell_enable.BCM88650=1 |
| 1712 | |
| 1713 | # DRAM maximum number of crc error per buffer, buffer deleted by interrupt application. |
| 1714 | #dram_crc_del_buffer_max_reclaims=0 |
| 1715 | |
| 1716 | ############################## |
| 1717 | # Config variable below are only accessed from dune.soc, and are used to |
| 1718 | # configure BSP / example application / group of formal config variables. |
| 1719 | ############################## |
| 1720 | |
| 1721 | ## If set, always configures synthesizers, even if the configured rate is equal to |
| 1722 | ## their nominal rate. Can be disabled to speedup bringup time (keep in mind that if |
| 1723 | ## disabled, changing a synt to a non-nominal freq and than back to nominal will not |
| 1724 | ## work |
| 1725 | #synt_over.BCM88650=1 |
| 1726 | |
| 1727 | # Local variables for board synthesizers freq. Fabric, combo and nif also configure |
| 1728 | # the *_ref_clock soc properties for these frequencies. core, ddr and phy only |
| 1729 | # configures the synthesizer |
| 1730 | synt_core.BCM88650=100000000 |
| 1731 | synt_ddr.BCM88650=125000000 |
| 1732 | synt_phy.BCM88650=156250000 |
| 1733 | # in Jericho, this freq is used only for the core synth |
| 1734 | synth_dram_freq.BCM88650=25 |
| 1735 | |
| 1736 | #Configure the reference clock frequencies for NIF and Fabric SerDes |
| 1737 | # Options: 0 - 125MHz, 1 - 156.25MHz, -1 - Disable |
| 1738 | serdes_nif_clk_freq.BCM88650=1 |
| 1739 | serdes_fabric_clk_freq.BCM88650=1 |
| 1740 | #serdes_nif_clk_freq.BCM88270=-1 |
| 1741 | #serdes_fabric_clk_freq.BCM88270=-1 |
| 1742 | serdes_nif_clk_freq.BCM8206=-1 |
| 1743 | serdes_fabric_clk_freq.BCM8206=-1 |
| 1744 | #serdes_nif_clk_freq_out0.BCM88675=1 |
| 1745 | #serdes_nif_clk_freq_out1.BCM88675=1 |
| 1746 | #serdes_nif_clk_freq_out2.BCM88675=1 |
| 1747 | #serdes_nif_clk_freq_in0.BCM88675=1 |
| 1748 | #serdes_nif_clk_freq_in1.BCM88675=1 |
| 1749 | #serdes_nif_clk_freq_in2.BCM88675=1 |
| 1750 | #serdes_fabric_clk_freq_out0.BCM88675=1 |
| 1751 | #serdes_fabric_clk_freq_out1.BCM88675=1 |
| 1752 | #serdes_fabric_clk_freq_in0.BCM88675=1 |
| 1753 | #serdes_fabric_clk_freq_in1.BCM88675=1 |
| 1754 | |
| 1755 | |
| 1756 | # IEEE 1588 / Broadsync - |
| 1757 | # configure clock : |
| 1758 | # DPLL mode/lock: 0 - eci ts pll clk disabled, 1 - configure eci ts pll clk |
| 1759 | # DPLL phase/freq. Default initial: lo = 0x40000000, hi = 0x10000000. |
| 1760 | #phy_1588_dpll_frequency_lock.BCM88650=1 |
| 1761 | #phy_1588_dpll_phase_initial_lo.BCM88650=0x40000000 |
| 1762 | #phy_1588_dpll_phase_initial_hi.BCM88650=0x10000000 |
| 1763 | # IEEE 1588 - |
| 1764 | # port external MAC |
| 1765 | # indication whether external MAC exists or not. |
| 1766 | # 0: 1588 external MAC does not exist |
| 1767 | # 1: 1588 external MAC exists |
| 1768 | # the external MAC substracts the RX time from the correction field |
| 1769 | # and adds the TX time to the correction field. |
| 1770 | #ext_1588_mac_enable_14.BCM88650=1 |
| 1771 | # If set, 48 bits stamping is used for 1588 packets. otherwise 32 bit stamping is used |
| 1772 | # 0: 1588 32b stamping (Default) |
| 1773 | # 1: 1588 48b stamping |
| 1774 | #bcm88660_1588_48b_stamping_enable.BCM88660=1 |
| 1775 | |
| 1776 | ## Trill configurations |
| 1777 | # Trill mode: 0 (disabled) / 1 (coarse-grained) / 2 (fine-grained) |
| 1778 | #trill_mode.BCM88650=1 |
| 1779 | |
| 1780 | # Trill multicast prunning mode: |
| 1781 | # 0: no prunning - vsi is not part of the key |
| 1782 | # 1: VSI prunning: Key is dist-tree,esadit-bit,VSI. |
| 1783 | trill_mc_prune_mode.BCM88650=0 |
| 1784 | |
| 1785 | # Enable SA authentication |
| 1786 | #sa_auth_enabled=1 |
| 1787 | |
| 1788 | # Bridge default logical interfaces allocation IDS |
| 1789 | logical_port_l2_bridge.BCM88650=0 |
| 1790 | logical_port_drop.BCM88650=1 |
| 1791 | |
| 1792 | #logical_port_mim_in.BCM88650=2 |
| 1793 | #logical_port_mim_out.BCM88650=4096 |
| 1794 | |
| 1795 | # Enable EVB application |
| 1796 | #evb_enable=1 |
| 1797 | |
| 1798 | # Enable Flexible QinQ application |
| 1799 | #vlan_translation_match_ipv4=1 |
| 1800 | |
| 1801 | # Enable presel mgmt advance mode |
| 1802 | #field_presel_mgmt_advanced_mode=1 |
| 1803 | |
| 1804 | # Enable ITMH programmable mode |
| 1805 | # ITMH processing fully programmable (not fixed) by using the FP APIs. |
| 1806 | # In this mode ITMH processing uses the TCAM/direct table for TM programs lookup, in same manner as Ethernet frames. |
| 1807 | itmh_programmable_mode_enable.BCM88675=1 |
| 1808 | itmh_programmable_mode_enable.BCM88470=1 |
| 1809 | itmh_programmable_mode_enable.BCM88270=1 |
| 1810 | itmh_programmable_mode_enable.BCM88680=1 |
| 1811 | |
| 1812 | |
| 1813 | |
| 1814 | # Prepend tag to be 4 bytes or 8 bytes. Default: 4B. |
| 1815 | # Applicable only from ARAD+ |
| 1816 | #prepend_tag_bytes=4B |
| 1817 | |
| 1818 | # The Prepend Tag is located at (12 + 2*offset) bytes from the start of the packet. |
| 1819 | # Range: 0-7. Default: 0 |
| 1820 | #prepend_tag_offset=0 |
| 1821 | |
| 1822 | # Enable ARP (next hop mac extension) feature |
| 1823 | bcm886xx_next_hop_mac_extension_enable.BCM88650=1 |
| 1824 | |
| 1825 | # Set VLAN translate mode. |
| 1826 | # 0: normal |
| 1827 | # 1: advanced mode. Enable vlan edit settings with enhanced user control |
| 1828 | #bcm886xx_vlan_translate_mode=0 |
| 1829 | |
| 1830 | # Set MPLS termination database mode |
| 1831 | # Set MPLS databases location for each MPLS namespace (L1,L2,L3) |
| 1832 | #bcm886xx_mpls_termination_database_mode=0 |
| 1833 | |
| 1834 | # Enable , Disable MPLS indexed. |
| 1835 | # MPLS termination with known label stack location. |
| 1836 | # Must be enabled in case device supports more than 2 MPLS label terminations (L1,L2,L3) |
| 1837 | #mpls_termination_label_index_enable=1 |
| 1838 | |
| 1839 | # Enable FastReRoute labels in device. |
| 1840 | #fast_reroute_labels_enable=0 |
| 1841 | |
| 1842 | # Enable MPLS Context specific. Upstream label assignment in device. |
| 1843 | #mpls_context_specific_label_enable=0 |
| 1844 | |
| 1845 | # MPLS context. |
| 1846 | # Can be global, per port , per interface or per port,interface. |
| 1847 | #mpls_context=global |
| 1848 | |
| 1849 | # MPLS TP MC reserved mac address (01-00-5E-90-00-00). |
| 1850 | # If set device will support My-MAC termination of reserved MC Ethernet |
| 1851 | #mpls_tp_mymac_reserved_address=0 |
| 1852 | |
| 1853 | # MPLS ELI enable disable |
| 1854 | mpls_entropy_label_indicator_enable=0 |
| 1855 | |
| 1856 | ######################################### |
| 1857 | ##cfg for BCM88202 - Ardon |
| 1858 | ######################################### |
| 1859 | |
| 1860 | #Core clock and system reference clock (KHz) |
| 1861 | core_clock_speed_khz.BCM88202=450000 |
| 1862 | system_ref_core_clock_khz.BCM88202=1200000 |
| 1863 | |
| 1864 | ## Set TM as device mode |
| 1865 | fap_device_mode.BCM88202=TM |
| 1866 | |
| 1867 | ## Set CPU ports header type |
| 1868 | tm_port_header_type_in_0.BCM88202=TM |
| 1869 | tm_port_header_type_out_0.BCM88202=TM |
| 1870 | tm_port_header_type_in_200.BCM88202=TM |
| 1871 | tm_port_header_type_out_200.BCM88202=TM |
| 1872 | tm_port_header_type_in_201.BCM88202=TM |
| 1873 | tm_port_header_type_out_201.BCM88202=TM |
| 1874 | tm_port_header_type_in_202.BCM88202=TM |
| 1875 | tm_port_header_type_out_202.BCM88202=TM |
| 1876 | tm_port_header_type_in_203.BCM88202=TM |
| 1877 | tm_port_header_type_out_203.BCM88202=TM |
| 1878 | |
| 1879 | ##### Application configuration |
| 1880 | ### Default SDK Application |
| 1881 | ucode_port_1.BCM88202=TM_INTERNAL_PKT.0 |
| 1882 | ucode_port_13.BCM88202=TM_INTERNAL_PKT.1 |
| 1883 | ucode_port_14.BCM88202=TM_INTERNAL_PKT.2 |
| 1884 | ucode_port_15.BCM88202=TM_INTERNAL_PKT.3 |
| 1885 | ucode_port_16.BCM88202=TM_INTERNAL_PKT.4 |
| 1886 | ucode_port_17.BCM88202=TM_INTERNAL_PKT.5 |
| 1887 | |
| 1888 | ### PortOpriority (additonal ports can be added) |
| 1889 | #diag_cosq_disable.BCM88202=1 |
| 1890 | #ucode_port_1.BCM88202=IGNORE |
| 1891 | #ucode_port_13.BCM88202=IGNORE |
| 1892 | #ucode_port_14.BCM88202=IGNORE |
| 1893 | #ucode_port_15.BCM88202=IGNORE |
| 1894 | #ucode_port_16.BCM88202=IGNORE |
| 1895 | #ucode_port_17.BCM88202=IGNORE |
| 1896 | #ucode_port_1.BCM88202=TM_INTERNAL_PKT.0 |
| 1897 | #ucode_port_2.BCM88202=TM_INTERNAL_PKT.1 |
| 1898 | #ucode_port_3.BCM88202=TM_INTERNAL_PKT.2 |
| 1899 | #ucode_port_4.BCM88202=TM_INTERNAL_PKT.3 |
| 1900 | #ucode_port_5.BCM88202=TM_INTERNAL_PKT.4 |
| 1901 | #ucode_port_6.BCM88202=TM_INTERNAL_PKT.5 |
| 1902 | #ucode_port_7.BCM88202=TM_INTERNAL_PKT.6 |
| 1903 | #ucode_port_8.BCM88202=TM_INTERNAL_PKT.7 |
| 1904 | #ucode_port_9.BCM88202=TM_INTERNAL_PKT.8 |
| 1905 | #ucode_port_10.BCM88202=TM_INTERNAL_PKT.9 |
| 1906 | #ucode_port_11.BCM88202=TM_INTERNAL_PKT.10 |
| 1907 | #ucode_port_12.BCM88202=TM_INTERNAL_PKT.11 |
| 1908 | #ucode_port_13.BCM88202=TM_INTERNAL_PKT.12 |
| 1909 | #ucode_port_14.BCM88202=TM_INTERNAL_PKT.13 |
| 1910 | #ucode_port_15.BCM88202=TM_INTERNAL_PKT.14 |
| 1911 | #ucode_port_16.BCM88202=TM_INTERNAL_PKT.15 |
| 1912 | #ucode_port_17.BCM88202=TM_INTERNAL_PKT.16 |
| 1913 | #ucode_port_18.BCM88202=TM_INTERNAL_PKT.17 |
| 1914 | #ucode_port_19.BCM88202=TM_INTERNAL_PKT.18 |
| 1915 | #ucode_port_20.BCM88202=TM_INTERNAL_PKT.19 |
| 1916 | #ucode_port_21.BCM88202=TM_INTERNAL_PKT.20 |
| 1917 | #ucode_port_22.BCM88202=TM_INTERNAL_PKT.21 |
| 1918 | #ucode_port_23.BCM88202=TM_INTERNAL_PKT.22 |
| 1919 | #ucode_port_24.BCM88202=TM_INTERNAL_PKT.23 |
| 1920 | #ucode_port_25.BCM88202=TM_INTERNAL_PKT.24 |
| 1921 | |
| 1922 | #dtm_flow_nof_remote_cores_region_1.BCM88202=1 |
| 1923 | #dtm_flow_nof_remote_cores_region_2.BCM88202=1 |
| 1924 | #dtm_flow_nof_remote_cores_region_3.BCM88202=1 |
| 1925 | #dtm_flow_nof_remote_cores_region_4.BCM88202=1 |
| 1926 | #dtm_flow_nof_remote_cores_region_5.BCM88202=1 |
| 1927 | #dtm_flow_nof_remote_cores_region_6.BCM88202=1 |
| 1928 | #dtm_flow_nof_remote_cores_region_7.BCM88202=1 |
| 1929 | #dtm_flow_nof_remote_cores_region_8.BCM88202=1 |
| 1930 | #dtm_flow_nof_remote_cores_region_9.BCM88202=1 |
| 1931 | #dtm_flow_nof_remote_cores_region_10.BCM88202=1 |
| 1932 | |
| 1933 | ### PriorityOPort |
| 1934 | #diag_cosq_disable.BCM88202=1 |
| 1935 | #stack_enable.BCM88202=0 |
| 1936 | #ucode_port_17.BCM88202=IGNORE |
| 1937 | #ucode_port_16.BCM88202=IGNORE |
| 1938 | #ucode_port_15.BCM88202=IGNORE |
| 1939 | #ucode_port_14.BCM88202=IGNORE |
| 1940 | #ucode_port_13.BCM88202=IGNORE |
| 1941 | #ucode_port_1.BCM88202=TM_INTERNAL_PKT.0 |
| 1942 | |
| 1943 | ## Credit worth resolution (Fix the Interface rate) |
| 1944 | credit_worth_resolution.BCM88202=medium |
| 1945 | |
| 1946 | ### Interrupts |
| 1947 | polled_irq_mode.BCM88202=1 |
| 1948 | |
| 1949 | ## To use MC-ID in the range of < 255 |
| 1950 | egress_multicast_direct_bitmap_max.BCM88202=255 |
| 1951 | |
| 1952 | ### Flow Control |
| 1953 | ## Enable Flow Control to CL SCH. Relevant only to Priority Over Port application |
| 1954 | ## Valid values: 1 - Enable, 0 - Disable. Default: 0x0. |
| 1955 | custom_feature_cl_scheduler_fc.BCM88202=1 |
| 1956 | |
| 1957 | ## Valid values: 1 - Enable, 0 - Disable. Default: 0x0. |
| 1958 | #custom_feature_high_vsi_fp.BCM88660=0 |
| 1959 | |
| 1960 | ## Use lower CL. Ardon FC is mapped to CL 0-255. |
| 1961 | dtm_flow_mapping_mode_region_65.BCM88202=1 |
| 1962 | dtm_flow_mapping_mode_region_66.BCM88202=1 |
| 1963 | |
| 1964 | ### Statistic-Report Properties |
| 1965 | stat_if_enable.BCM88202=1 |
| 1966 | stat_if_rate.BCM88202=10000 |
| 1967 | stat_if_pkt_size.BCM88202=126B |
| 1968 | ## Set the Statistic-Report mode |
| 1969 | stat_if_report_mode.BCM88202=QSIZE |
| 1970 | ## Enable statistics reports on EnQueue. Valid valued: 0/1. Default: '1'. |
| 1971 | stat_if_report_enqueue_enable.BCM88202=1 |
| 1972 | ## Enable statistics reports on DeQueue. Valid valued: 0/1. Default: '1'. |
| 1973 | stat_if_report_dequeue_enable.BCM88202=1 |
| 1974 | |
| 1975 | ## Disable removed features |
| 1976 | phy_1588_dpll_frequency_lock.BCM88202=0 |
| 1977 | low_power_nif_mac.BCM88202=0 |
| 1978 | low_power_fabric_mac.BCM88202=0 |
| 1979 | custom_feature_nif_recovery_enable.BCM88202=0 |
| 1980 | phy_null.BCM88202=0 |
| 1981 | |
| 1982 | ## Disable counter thread |
| 1983 | bcm_stat_interval.BCM88202=0 |
| 1984 | #bcm_stat_sync_timeout.BCM88202=0xfffffff |
| 1985 | |
| 1986 | ### EMUL changes |
| 1987 | #diag_emulator_partial_init.BCM88202=1 |
| 1988 | #schan_timeout_usec.BCM88202=0x7fffffff |
| 1989 | #tdma_timeout_usec.BCM88202=0x7fffffff |
| 1990 | #tslam_timeout_usec.BCM88202=0x7fffffff |
| 1991 | #phy_null.BCM88202=0 |
| 1992 | |
| 1993 | ### Disable DMA |
| 1994 | #tdma_timeout_usec.BCM88202=0 |
| 1995 | #tslam_timeout_usec.BCM88202=0 |
| 1996 | #table_dma_enable.BCM88202=0 |
| 1997 | #tslam_dma_enable.BCM88202=0 |
| 1998 | |
| 1999 | ### Dram setup |
| 2000 | # Number of external DRAMs. |
| 2001 | # Allowed values for 88202: 0 / 1 (Dram D) / 2 (Dram's C, D) / 3 (Dram's B, C, D) / 4 (Dram's A, B, C, D) / |
| 2002 | ext_ram_present.BCM88202=0 |
| 2003 | |
| 2004 | ### Total size of ram |
| 2005 | ext_ram_total_size.BCM88202=2000 |
| 2006 | |
| 2007 | ### OCB |
| 2008 | bcm886xx_ocb_databuffer_size.BCM88202=1024 |
| 2009 | |
| 2010 | # DRAM frequency (DQ/2) |
| 2011 | ext_ram_freq.BCM88202=1200 |
| 2012 | |
| 2013 | # Dram Type. Ardon supports only DDR4. |
| 2014 | ext_ram_type.BCM88202=DDR4 |
| 2015 | |
| 2016 | ### Dram Features |
| 2017 | |
| 2018 | ## Dram Gear down mode. Valid values: 0 - Enable, 1 - Disable. Default: 0x0. |
| 2019 | #ext_ram_gear_down_mode.BCM88202=1 |
| 2020 | |
| 2021 | ## Alert_n de-assertion period above which error is considered parity error |
| 2022 | #ext_ram_alert_n_period_thrs.BCM88202=0 |
| 2023 | |
| 2024 | ## Dram Address bus inversion. Valid values: 0 - Enable, 1 - Disable. Default: 0x0. |
| 2025 | ext_ram_abi.BCM88202=0 |
| 2026 | |
| 2027 | ## Data bus inversion on write/read direction. Valid values: 0 - Disable, 1 - Enable. Default: 0x0. |
| 2028 | ext_ram_write_dbi.BCM88202=0 |
| 2029 | ext_ram_read_dbi.BCM88202=0 |
| 2030 | |
| 2031 | ## Enable write/read CRC (DDR4 does not support read CRC). Default: 0x0. |
| 2032 | #ext_ram_write_crc=.BCM882021 |
| 2033 | #ext_ram_read_crc=.BCM882021 |
| 2034 | |
| 2035 | ## Command parity latency. Valid values: 0 - Enable, 1 - Disable. Default: 0x0. |
| 2036 | ext_ram_cmd_par_latency.BCM88202=6 |
| 2037 | |
| 2038 | ## DRAM ClamShell (interface swap its HW PIN pairs during init.) |
| 2039 | # Note: Only one of DRAMs can have its PIN swapped). Valid values: 0/1. |
| 2040 | dram1_clamshell_enable_0.BCM88202=1 |
| 2041 | dram1_clamshell_enable_1.BCM88202=1 |
| 2042 | dram1_clamshell_enable_2.BCM88202=1 |
| 2043 | dram1_clamshell_enable_3.BCM88202=1 |
| 2044 | |
| 2045 | ## Dram DQ Swap. |
| 2046 | ## Format: ext_ram_dq_swap_dramX_byteY_bitZ=M. Means, In dram X, Byte Y swap DQ Z and M. Default: No swapping. |
| 2047 | #ext_ram_dq_swap_dram1_byte2_bit3.BCM88202=4 |
| 2048 | #ext_ram_dq_swap_dram4_byte3_bit2.BCM88202=1 |
| 2049 | |
| 2050 | ### Dram Tuning (Shmoo) |
| 2051 | ddr3_auto_tune.BCM88202=2 |
| 2052 | |
| 2053 | ### Enable BIST |
| 2054 | # Run Dram BIST on initialization, if BIST fail the initialization will fail. Default: 1. |
| 2055 | bist_enable_dram.BCM88202=1 |
| 2056 | |
| 2057 | ### Fabric |
| 2058 | ## Enable fabric links |
| 2059 | serdes_qrtt_active_0.BCM88202=1 |
| 2060 | serdes_qrtt_active_1.BCM88202=1 |
| 2061 | serdes_qrtt_active_2.BCM88202=1 |
| 2062 | serdes_qrtt_active_3.BCM88202=1 |
| 2063 | |
| 2064 | ## Firmware Load Method |
| 2065 | load_firmware.BCM88202=2 |
| 2066 | |
| 2067 | #SFI speed rate |
| 2068 | port_init_speed_sfi.BCM88202=11500 |
| 2069 | |
| 2070 | #LC PLL in. Default: 156.25MHz. |
| 2071 | #xgxs_lcpll_xtal_refclk=125 |
| 2072 | |
| 2073 | ######################################### |
| 2074 | ##cfg for BCM88640_A0 - Petra |
| 2075 | ######################################### |
| 2076 | |
| 2077 | force_clk_m_n_divisors_zero_nif0.BCM88640_A0=0 |
| 2078 | force_clk_m_n_divisors_zero_fabric0.BCM88640_A0=1 |
| 2079 | force_clk_m_n_divisors_zero_comb0.BCM88640_A0=0 |
| 2080 | |
| 2081 | combo_ref_clock.BCM88640=312500 |
| 2082 | |
| 2083 | nif_ref_clock.BCM88640_A0=312500 |
| 2084 | |
| 2085 | # Use variable cell size |
| 2086 | system_cell_format.BCM88640_A0=VCS128 |
| 2087 | |
| 2088 | # Core clock speed (MHz) |
| 2089 | core_clock_speed.BCM88640_A0=300 |
| 2090 | |
| 2091 | # Map bcm local port to CPU/NIF interfaces |
| 2092 | ucode_port_0.BCM88640_A0=CPU.0 |
| 2093 | ucode_port_73.BCM88640_A0=CPU.1 |
| 2094 | ucode_port_74.BCM88640_A0=CPU.2 |
| 2095 | ucode_port_75.BCM88640_A0=CPU.3 |
| 2096 | ucode_port_76.BCM88640_A0=CPU.4 |
| 2097 | ucode_port_77.BCM88640_A0=CPU.5 |
| 2098 | ucode_port_78.BCM88640_A0=CPU.6 |
| 2099 | |
| 2100 | # Interlaken ports basic configuration (temporary). |
| 2101 | # This configuration replaces the above XAUI/RXAUI ports config |
| 2102 | # The following PB design constraint is not enforced in SW, so must be taken |
| 2103 | # care of here, when mapping ports to interfaces: |
| 2104 | # If using ilkn0, port 1 (if used) must be mapped to ilkn0 |
| 2105 | # If using ilkn1, port 2 (if used) must be mapped to ilkn1 |
| 2106 | # Note that in our default mapping, port 2 is mapped to RXAUI 6, thus won't |
| 2107 | # work. If one wants to use front panel port 2 with ilkn1, he should be map |
| 2108 | # RAXUI6 to a port != 2. |
| 2109 | #ilkn_num_lanes_0.BCM88640_A0=12 |
| 2110 | #ucode_port_1.BCM88640_A0=ILKN0.0 |
| 2111 | #ucode_port_2.BCM88640_A0=ILKN0.1 |
| 2112 | #ucode_port_3.BCM88640_A0=ILKN0.2 |
| 2113 | #ilkn_num_lanes_1.BCM88640_A0=12 |
| 2114 | #ucode_port_4.BCM88640_A0=RXAUI6 |
| 2115 | #ucode_port_5.BCM88640_A0=ILKN1.0 |
| 2116 | #ucode_port_6.BCM88640_A0=ILKN1.1 |
| 2117 | #ucode_port_7.BCM88640_A0=ILKN1.2 |
| 2118 | |
| 2119 | # Default header type is derived from fap_device_mode: If fap_device_mode is |
| 2120 | # PP, default header type is ETH. Otherwise, defualt header type is TM. |
| 2121 | # Header type per port can be overriden. |
| 2122 | # All options: ETH/RAW/TM/PROG/CPU/STACKING/TDM/TDM_RAW/INJECTED |
| 2123 | |
| 2124 | # Set CPU to work with TM header (ITMH) |
| 2125 | #tm_port_header_type_0.BCM88640_A0=TM |
| 2126 | tm_port_header_type_in_0.BCM88640_A0=TM |
| 2127 | tm_port_header_type_out_0.BCM88640_A0=CPU |
| 2128 | tm_port_header_type_73.BCM88640_A0=TM |
| 2129 | tm_port_header_type_74.BCM88640_A0=TM |
| 2130 | tm_port_header_type_75.BCM88640_A0=TM |
| 2131 | tm_port_header_type_76.BCM88640_A0=TM |
| 2132 | tm_port_header_type_77.BCM88640_A0=TM |
| 2133 | tm_port_header_type_78.BCM88640_A0=TM |
| 2134 | # recycling port |
| 2135 | tm_port_header_type_40.BCM88640_A0=RAW |
| 2136 | ucode_port_40.BCM88640_A0=RCY.0 |
| 2137 | |
| 2138 | # Enable ERP and OLP ports |
| 2139 | num_erp_tm_ports.BCM88640_A0=1 |
| 2140 | num_olp_tm_ports.BCM88640_A0=1 |
| 2141 | num_recycle_tm_ports.BCM88640_A0=1 |
| 2142 | |
| 2143 | # Dram configuration |
| 2144 | # 600 Mhz |
| 2145 | ext_ram_pll_r.BCM88640_A0=4 |
| 2146 | ext_ram_pll_f.BCM88640_A0=47 |
| 2147 | ext_ram_pll_q.BCM88640_A0=1 |
| 2148 | ext_ram_freq.BCM88640_A0=600 |
| 2149 | |
| 2150 | # Dbuff size |
| 2151 | # Allowed values: 256/512/1024/2048. |
| 2152 | ext_ram_dbuff_size.BCM88640_A0=1024 |
| 2153 | |
| 2154 | # Number of external DRAMs. |
| 2155 | # Allowed values for 88x4x: 0/2/3/4/6. |
| 2156 | # Allowed values for 88650: 0/2/3/4/6/8. |
| 2157 | # ext_ram_total_size below assumed this value is 6 for 88x4x and 8 for |
| 2158 | ext_ram_present.BCM88640_A0=6 |
| 2159 | |
| 2160 | # Dram type: Select ONLY ONE of the following DRAM types, to configure all dram |
| 2161 | # related parameteres per type. |
| 2162 | # Dram Type for Pb: |
| 2163 | #dram_type_DDR3_MICRON_MT41J64M16_15E.BCM88640_A0=1 |
| 2164 | #dram_type_DDR2_MICRON_K4T51163QE_ZC_LF7.BCM88640_A0=1 |
| 2165 | #dram_type_DDR3_SAMSUNG_K4B1G1646E_HCK0_1333.BCM88640_A0=1 |
| 2166 | #dram_type_DDR3_SAMSUNG_K4B1G1646E_HCK0_1600.BCM88640_A0=1 |
| 2167 | #dram_type_GDDR3_SAMSUNG_K4J52324QE.BCM88640_A0=1 |
| 2168 | dram_type_DDR3_MICRON_MT41J128M16HA_15E_2G.BCM88640_A0=1 |
| 2169 | |
| 2170 | # QDR configuration |
| 2171 | # Parity. Allowed values: PARITY/ECC. |
| 2172 | ext_qdr_protection_type.BCM88640_A0=PARITY |
| 2173 | ext_qdr_size_mbit.BCM88640_A0=72 |
| 2174 | #QDR type: QDR/QDR2P/QDR3/NONE. |
| 2175 | ext_qdr_type.BCM88640_A0=QDR |
| 2176 | |
| 2177 | # QDR can use the core clock, or using it's own pll. Current example is for 250MHz pll (if used). |
| 2178 | # QDR using own pll configuration |
| 2179 | #ext_qdr_use_core_clock_freq.BCM88640_A0=0 |
| 2180 | #ext_qdr_pll_m.BCM88640_A0=4 |
| 2181 | #ext_qdr_pll_n.BCM88640_A0=4 |
| 2182 | #ext_qdr_pll_p.BCM88640_A0=0 |
| 2183 | |
| 2184 | # QDR using core clock |
| 2185 | ext_qdr_use_core_clock_freq.BCM88640_A0=1 |
| 2186 | |
| 2187 | #Configure MDIO. If parameter is not defined, MDIO is disabled. |
| 2188 | mdio_clock_freq_khz.BCM88640_A0=1000 |
| 2189 | |
| 2190 | # Streaming interface configuration |
| 2191 | streaming_if_enable_timeoutcnt.BCM88640_A0=1 |
| 2192 | streaming_if_timeout_prd.BCM88640_A0=70 |
| 2193 | streaming_if_quiet_mode.BCM88640_A0=0 |
| 2194 | streaming_if_discard_bad_parity.BCM88640_A0=0 |
| 2195 | |
| 2196 | # maximum packet size for WRED tests. 0 - means ignore max packet size. |
| 2197 | discard_mtu_size.BCM88640_A0=0 |
| 2198 | |
| 2199 | # multicast egress vlan membership range. By default: 0-4095. |
| 2200 | egress_multicast_direct_bitmap_max.BCM88640_A0=4095 |
| 2201 | |
| 2202 | # configure flow mapping base to 0 |
| 2203 | flow_mapping_queue_base.BCM88640_A0=0 |
| 2204 | |
| 2205 | dtm_flow_mapping_mode_region_25.BCM88640_A0=0 |
| 2206 | dtm_flow_mapping_mode_region_26.BCM88640_A0=0 |
| 2207 | dtm_flow_mapping_mode_region_27.BCM88640_A0=0 |
| 2208 | dtm_flow_mapping_mode_region_28.BCM88640_A0=0 |
| 2209 | dtm_flow_mapping_mode_region_29.BCM88640_A0=0 |
| 2210 | dtm_flow_mapping_mode_region_30.BCM88640_A0=0 |
| 2211 | dtm_flow_mapping_mode_region_31.BCM88640_A0=0 |
| 2212 | dtm_flow_mapping_mode_region_32.BCM88640_A0=0 |
| 2213 | dtm_flow_mapping_mode_region_33.BCM88640_A0=1 |
| 2214 | dtm_flow_mapping_mode_region_34.BCM88640_A0=1 |
| 2215 | dtm_flow_mapping_mode_region_35.BCM88640_A0=1 |
| 2216 | dtm_flow_mapping_mode_region_36.BCM88640_A0=1 |
| 2217 | dtm_flow_mapping_mode_region_37.BCM88640_A0=1 |
| 2218 | dtm_flow_mapping_mode_region_38.BCM88640_A0=1 |
| 2219 | dtm_flow_mapping_mode_region_39.BCM88640_A0=1 |
| 2220 | dtm_flow_mapping_mode_region_40.BCM88640_A0=1 |
| 2221 | dtm_flow_mapping_mode_region_41.BCM88640_A0=1 |
| 2222 | dtm_flow_mapping_mode_region_42.BCM88640_A0=2 |
| 2223 | dtm_flow_mapping_mode_region_43.BCM88640_A0=2 |
| 2224 | dtm_flow_mapping_mode_region_44.BCM88640_A0=2 |
| 2225 | dtm_flow_mapping_mode_region_45.BCM88640_A0=2 |
| 2226 | dtm_flow_mapping_mode_region_46.BCM88640_A0=2 |
| 2227 | dtm_flow_mapping_mode_region_47.BCM88640_A0=2 |
| 2228 | dtm_flow_mapping_mode_region_48.BCM88640_A0=2 |
| 2229 | dtm_flow_mapping_mode_region_49.BCM88640_A0=2 |
| 2230 | dtm_flow_mapping_mode_region_50.BCM88640_A0=2 |
| 2231 | dtm_flow_mapping_mode_region_51.BCM88640_A0=2 |
| 2232 | dtm_flow_mapping_mode_region_52.BCM88640_A0=2 |
| 2233 | dtm_flow_mapping_mode_region_53.BCM88640_A0=2 |
| 2234 | dtm_flow_mapping_mode_region_54.BCM88640_A0=2 |
| 2235 | dtm_flow_mapping_mode_region_55.BCM88640_A0=2 |
| 2236 | |
| 2237 | # Power up state (DOWN/UP/UP_AND_RELOCK). Can be configured per lane. |
| 2238 | pb_serdes_lane_power_state.BCM88640_A0=UP_AND_RELOCK |
| 2239 | |
| 2240 | # SeDes media type: Pre-configuration for tx params, according to |
| 2241 | # media type. |
| 2242 | # Allowed values: SHORT_BACKPLANE/LONG_BACKPLANE/CHIP2CHIP |
| 2243 | pb_serdes_lane_tx_phys_media_type.BCM88640_A0=SHORT_BACKPLANE |
| 2244 | pb_serdes_lane_tx_phys_media_type_28.BCM88640_A0=CHIP2CHIP |
| 2245 | pb_serdes_lane_tx_phys_media_type_29.BCM88640_A0=CHIP2CHIP |
| 2246 | pb_serdes_lane_tx_phys_media_type_30.BCM88640_A0=CHIP2CHIP |
| 2247 | pb_serdes_lane_tx_phys_media_type_31.BCM88640_A0=CHIP2CHIP |
| 2248 | |
| 2249 | system_is_fe1600_in_system.BCM88640_A0=0 |
| 2250 | |
| 2251 | # Counter engine configuration |
| 2252 | counter_engine_source_1.BCM88640_A0=0 |
| 2253 | counter_engine_statistics_1.BCM88640_A0=4 |
| 2254 | counter_engine_source_2.BCM88640_A0=1 |
| 2255 | counter_engine_statistics_2.BCM88640_A0=4 |
| 2256 | |
| 2257 | # Statistic Reporting |
| 2258 | stat_if_enable=0 |
| 2259 | |
| 2260 | # Clock Phases: 0/90/180/270 |
| 2261 | stat_if_phase=0 |
| 2262 | |
| 2263 | # Rate in nm |
| 2264 | stat_if_sync_rate=0 |
| 2265 | |
| 2266 | # TRUE/FALSE |
| 2267 | stat_if_parity_enable=FALSE |
| 2268 | |
| 2269 | # BILLING/FAP20V |
| 2270 | stat_if_report_mode=BILLING |
| 2271 | |
| 2272 | # Billing Mode |
| 2273 | # EGR_Q_NB/CUD/VSI_VLAN/BOTH_LIFS |
| 2274 | stat_if_report_billing_mode=VSI_VLAN |
| 2275 | |
| 2276 | # Fap20V Mode |
| 2277 | # QUEUE/PACKET |
| 2278 | stat_if_report_fap20v_mode=QUEUE |
| 2279 | |
| 2280 | # QUEUE_NUM/MC_ID (only valid in Fap20V PACKET mode) |
| 2281 | stat_if_report_fap20v_fabric_mc=QUEUE_NUM |
| 2282 | stat_if_report_fap20v_ing_mc=QUEUE_NUM |
| 2283 | |
| 2284 | # TRUE/FALSE (only valid in Fap20V PACKET mode) |
| 2285 | stat_if_report_fap20v_cnm_report=FALSE |
| 2286 | |
| 2287 | # TRUE/FALSE |
| 2288 | stat_if_report_fap20v_count_snoop=FALSE |
| 2289 | stat_if_report_original_pkt_size=FALSE |
| 2290 | stat_if_report_fap20v_single_copy_reported=FALSE |
| 2291 | |
| 2292 | schan_timeout_usec.BCM88640_A0=300000 |
| 2293 | |
| 2294 | |
| 2295 | polled_irq_mode.BCM88640_A0=0 |
| 2296 | polled_irq_delay.BCM88640_A0=1000 |
| 2297 | |
| 2298 | # Set the FTMH Load-Balancing Key extension mode |
| 2299 | # Options for 88650: ENABLED |
| 2300 | # Options for 88640 compatible: |
| 2301 | # DISABLED / 8B_LB_KEY_8B_STACKING_ROUTE_HISTORY / 16B_STACKING_ROUTE_HISTORY |
| 2302 | # Default: DISABLED |
| 2303 | system_ftmh_load_balancing_ext_mode.BCM88640=DISABLED |
| 2304 | |
| 2305 | ######################################### |
| 2306 | ##cfg for BCM88750 (FE1600) |
| 2307 | ######################################### |
| 2308 | |
| 2309 | fabric_device_mode.BCM88750=SINGLE_STAGE_FE2 |
| 2310 | |
| 2311 | is_dual_mode.BCM88750=0 |
| 2312 | system_is_vcs_128_in_system.BCM88750=0 |
| 2313 | |
| 2314 | system_is_dual_mode_in_system.BCM88750=0 |
| 2315 | system_is_single_mode_in_system.BCM88750=1 |
| 2316 | |
| 2317 | system_is_fe600_in_system.BCM88750=0 |
| 2318 | |
| 2319 | system_ref_core_clock_khz.BCM88750=1200000 |
| 2320 | |
| 2321 | fabric_merge_cells.BCM88750=0 |
| 2322 | fabric_multicast_mode.BCM88750=DIRECT |
| 2323 | fabric_load_balancing_mode.BCM88750=NORMAL_LOAD_BALANCE |
| 2324 | fabric_tdm_fragment.BCM88750=0x180 |
| 2325 | ##Allows single pipe device to send TDM traffic over the fabric primary pipe - available for Fe1600_B0 only |
| 2326 | #change vcs128_unicast_priority to be lower than 2 - when enabling |
| 2327 | fabric_tdm_over_primary_pipe.BCM88750=0 |
| 2328 | fabric_optimize_partial_links.BCM88750=0 |
| 2329 | vcs128_unicast_priority.BCM88750=2 |
| 2330 | |
| 2331 | polled_irq_mode.BCM88750=0 |
| 2332 | polled_irq_delay.BCM88750=1000 |
| 2333 | |
| 2334 | #Selects if to run MBIST (Memory Built In Self Test) of internal memory (tables) during startup. |
| 2335 | #Supported values: 0=don't run, 1=run, 2=run with extra logs |
| 2336 | #bist_enable.BCM88650=1 |
| 2337 | bist_enable.BCM88750=1 |
| 2338 | bist_enable.BCM88470=0 |
| 2339 | #High voltage driver strap. If 0, connected to 1.4V supply; if 1, connected to 1V mode. |
| 2340 | #for specific quad use srd_tx_drv_hv_disable_quad_X where X is (FSRD num * 4 + internal quad) |
| 2341 | srd_tx_drv_hv_disable.BCM88750=0 |
| 2342 | load_firmware.BCM88750=2 |
| 2343 | |
| 2344 | #0-LFEC 1-8b\10b 2-FEC 3-BEC |
| 2345 | backplane_serdes_encoding.BCM88750=2 |
| 2346 | |
| 2347 | #enable\disable CL72 |
| 2348 | port_init_cl72.BCM88750=1 |
| 2349 | #Avaliable speeds for BCM88750: 5750, 6250, 10312, 11500, 12500 |
| 2350 | port_init_speed.BCM88750=10312 |
| 2351 | #LC PLL in\out 0=125MHz 1=156.25MHz |
| 2352 | serdes_fabric_clk_freq_in.BCM88750=1 |
| 2353 | serdes_fabric_clk_freq_out.BCM88750=1 |
| 2354 | serdes_mixed_rate_enable.BCM88750_B0=0 |
| 2355 | |
| 2356 | # VSC128 or VSC256 |
| 2357 | fabric_cell_format.BCM88750=VSC256 |
| 2358 | |
| 2359 | # Core clock speed (MHz) |
| 2360 | core_clock_speed_khz.BCM88750=533333 |
| 2361 | |
| 2362 | ## CMIC interrupts: |
| 2363 | # Enable: Use interrupts completion instead of polling completion for the following operations. |
| 2364 | # Options: 1 - Enable, 0 - Disable. Default: 0. |
| 2365 | # Timeout: delay in Microsecond between the polling, |
| 2366 | # SCHAN: |
| 2367 | schan_intr_enable.BCM88750=0 |
| 2368 | schan_timeout_usec.BCM88750=300000 |
| 2369 | # TDMA |
| 2370 | tdma_intr_enable.BCM88750=0 |
| 2371 | tdma_timeout_usec.BCM88750=5000000 |
| 2372 | # TSLAM |
| 2373 | tslam_intr_enable.BCM88750=0 |
| 2374 | tslam_timeout_usec.BCM88750=5000000 |
| 2375 | # MIIM |
| 2376 | miim_intr_enable.BCM88750=0 |
| 2377 | miim_timeout_usec.BCM88750=300000 |
| 2378 | |
| 2379 | ######################################### |
| 2380 | ##cfg for BCM88950 (FE3200) |
| 2381 | ######################################### |
| 2382 | #Device operation |
| 2383 | fabric_device_mode.BCM88950=SINGLE_STAGE_FE2 |
| 2384 | fabric_load_balancing_mode.BCM88950=NORMAL_LOAD_BALANCE |
| 2385 | |
| 2386 | #Cell format |
| 2387 | system_is_vcs_128_in_system.BCM88950=0 |
| 2388 | |
| 2389 | #Fabric pipe configuration |
| 2390 | |
| 2391 | fabric_num_pipes.BCM88950=1 |
| 2392 | fabric_pipe_map.BCM88950=0 |
| 2393 | system_contains_multiple_pipe_device.BCM88950=0 |
| 2394 | |
| 2395 | #multicast table mode |
| 2396 | fabric_multicast_mode.BCM88950=DIRECT |
| 2397 | fe_mc_id_range.BCM88950=128K_HALF |
| 2398 | |
| 2399 | #Core clock and system reference clock (KHz) |
| 2400 | system_ref_core_clock_khz.BCM88950=1200000 |
| 2401 | core_clock_speed_khz.BCM88950=720000 |
| 2402 | |
| 2403 | #LC PLL in\out 0=125MHz 1=156.25MHz |
| 2404 | serdes_fabric_clk_freq_in.BCM88950=0 |
| 2405 | serdes_fabric_clk_freq_out.BCM88950=1 |
| 2406 | |
| 2407 | #TODO |
| 2408 | polled_irq_mode.BCM88950=1 |
| 2409 | polled_irq_delay.BCM88950=1000 |
| 2410 | |
| 2411 | #Memory Bist |
| 2412 | bist_enable.BCM88950=0 |
| 2413 | |
| 2414 | #High voltage driver strap. If 0, connected to 1.25V supply; |
| 2415 | #if 1, connected to 1V mode (For unused Falcon Quads that are connected to 1.0V). |
| 2416 | #for specific quad use srd_tx_drv_hv_disable_quad_X where X is (FSRD num * 4 + internal quad) |
| 2417 | srd_tx_drv_hv_disable.BCM88950=0 |
| 2418 | load_firmware.BCM88950=0x102 |
| 2419 | |
| 2420 | |
| 2421 | ##Per port properties |
| 2422 | #Possible values - KR_FEC, 64_66, RS_FEC, LL_RS_FEC |
| 2423 | backplane_serdes_encoding.BCM88950=RS_FEC |
| 2424 | |
| 2425 | #enable\disable CL72 |
| 2426 | port_init_cl72.BCM88950=1 |
| 2427 | |
| 2428 | #link speed |
| 2429 | port_init_speed.BCM88950=25000 |
| 2430 | |
| 2431 | #Link connected to a reapter |
| 2432 | #Values: 0/1. Default: 0 |
| 2433 | #repeater_link_enable_<port>.BCM88950=0 |
| 2434 | |
| 2435 | ##Fabric cell FIFO DMA |
| 2436 | fabric_cell_fifo_dma_enable.BCM88950=1 |
| 2437 | |
| 2438 | ## CMIC interrupts: |
| 2439 | # Enable: Use interrupts completion instead of polling completion for the following operations. |
| 2440 | # Options: 1 - Enable, 0 - Disable. Default: 0. |
| 2441 | # Timeout: delay in Microsecond between the polling, |
| 2442 | # SCHAN: |
| 2443 | schan_intr_enable.BCM88950=0 |
| 2444 | schan_timeout_usec.BCM88950=300000 |
| 2445 | # TDMA |
| 2446 | tdma_intr_enable.BCM88950=0 |
| 2447 | tdma_timeout_usec.BCM88950=5000000 |
| 2448 | # TSLAM |
| 2449 | tslam_intr_enable.BCM88950=0 |
| 2450 | tslam_timeout_usec.BCM88950=5000000 |
| 2451 | # MIIM |
| 2452 | miim_intr_enable.BCM88950=0 |
| 2453 | miim_timeout_usec.BCM88950=300000 |
| 2454 | |
| 2455 | ############################## |
| 2456 | # Configuration for devices run in emulation |
| 2457 | ############################## |
| 2458 | #diag_emulator_partial_init.BCM88470=2 |
| 2459 | #phy_simul.BCM88470=1 |
| 2460 | #system_ref_core_clock_khz.BCM88470=250000 |
| 2461 | #system_ref_core_clock_khz.BCM88470=600000 |
| 2462 | #phy_simul.BCM88270=1 |
| 2463 | |
| 2464 | polled_irq_mode.BCM88470=1 |
| 2465 | polled_irq_mode.BCM88270=1 |
| 2466 | |
| 2467 | schan_intr_enable.BCM88470=0 |
| 2468 | schan_intr_enable.BCM88270=0 |
| 2469 | |
| 2470 | # For emulation use: |
| 2471 | #schan_timeout_usec.BCM88470=600000000 |
| 2472 | schan_timeout_usec.BCM88470=300000 |
| 2473 | schan_timeout_usec.BCM88270=200000 |
| 2474 | |
| 2475 | # TDMA |
| 2476 | tdma_intr_enable.BCM88470=0 |
| 2477 | #tdma_intr_enable.BCM88270=0 |
| 2478 | |
| 2479 | # For emulation use: |
| 2480 | #tdma_timeout_usec.BCM88470=600000000 |
| 2481 | tdma_timeout_usec.BCM88470=60000000 |
| 2482 | tdma_timeout_usec.BCM88270=500000 |
| 2483 | |
| 2484 | # TSLAM |
| 2485 | tslam_intr_enable.BCM88470=0 |
| 2486 | tslam_intr_enable.BCM88270=0 |
| 2487 | |
| 2488 | # For emulation use: |
| 2489 | #tslam_timeout_usec.BCM88470=600000000 |
| 2490 | tslam_timeout_usec.BCM88470=60000000 |
| 2491 | tslam_timeout_usec.BCM88270=500000 |
| 2492 | |
| 2493 | #otm_base_q_pair.BCM88470=2 |
| 2494 | |
| 2495 | ############################## |
| 2496 | # Config variable below are only accessed from dune.soc, and are used to |
| 2497 | # configure BSP / example application / group of formal config variables. |
| 2498 | ############################## |
| 2499 | |
| 2500 | # Support (and configure on init) packet processing features. |
| 2501 | # If not defined - only traffic management capabilities are enabled. |
| 2502 | packet_processing=1 |
| 2503 | |
| 2504 | ## PCP (Petra Co-Processor) features |
| 2505 | #pcp_elk.BCM88640_A0=1 |
| 2506 | #pcp_oam.BCM88640_A0=1 |
| 2507 | #pcp_dma.BCM88640_A0=1 |
| 2508 | |
| 2509 | ## Set/Override TDM related config variables |
| 2510 | #tdm.BCM88640_A0=1 |
| 2511 | |
| 2512 | # If set, always configures synthesizers, even if the configured rate is |
| 2513 | # equal to |
| 2514 | # their nominal rate. Can be disabled to speedup bringup time |
| 2515 | # (keep in mind that if disabled, changing a synt to a non-nominal freq and |
| 2516 | # than back to nominal will not work |
| 2517 | #synt_over.BCM88640_A0=1 |
| 2518 | |
| 2519 | # Local variables for board synthesizers freq. Fabric, combo and nif also configure |
| 2520 | # the *_ref_clock soc properties for these frequencies. core, ddr and phy only |
| 2521 | # configures the synthesizer |
| 2522 | synt_core.BCM88640_A0=100000000 |
| 2523 | synt_ddr.BCM88640_A0=125000000 |
| 2524 | synt_phy.BCM88640_A0=156250000 |
| 2525 | |
| 2526 | |
| 2527 | ############################ |
| 2528 | ### Warmboot & SW State #### |
| 2529 | ############################ |
| 2530 | # |
| 2531 | #HW journal working mode. Allowed values: 0-2. |
| 2532 | # 0 : Disabled |
| 2533 | # 1 : Commit After Each Api |
| 2534 | # 2 : Commit Upon User Request |
| 2535 | ha_hw_journal_mode=0 |
| 2536 | |
| 2537 | ha_hw_journal_size=15728640 |
| 2538 | ha_sw_journal_size=15728640 |
| 2539 | ha_crash_recovery=1 |
| 2540 | |
| 2541 | |
| 2542 | # stable_size - a strict bound on the application's external storage size |
| 2543 | stable_size.BCM88950=200000 |
| 2544 | stable_size.BCM88750=200000 |
| 2545 | stable_size.BCM88650=281000000 |
| 2546 | stable_size.BCM88675=500000000 |
| 2547 | stable_size.BCM88680=500000000 |
| 2548 | stable_size.BCM88690=500000000 |
| 2549 | stable_size.BCM88470=350000000 |
| 2550 | stable_size.BCM88270=650000000 |
| 2551 | stable_size=420000000 |
| 2552 | |
| 2553 | # determine the memory size pre-allocated for the SDK's SW State |
| 2554 | sw_state_max_size.BCM88650=210000000 |
| 2555 | sw_state_max_size.BCM88675=350000000 |
| 2556 | sw_state_max_size.BCM88680=350000000 |
| 2557 | sw_state_max_size.BCM88470=300000000 |
| 2558 | sw_state_max_size.BCM88270=210000000 |
| 2559 | sw_state_max_size=350000000 |
| 2560 | |
| 2561 | # stable location |
| 2562 | ## part of scache initialization for warmboot persistent storage. |
| 2563 | ## values: 1-2:Not Valid for dnx 3: Store in a file 4: Use Shared Mem. |
| 2564 | # 4 is the preffered option, using 3 for Arad and FE in order to regress both modes. |
| 2565 | stable_location.BCM88950=3 |
| 2566 | stable_location.BCM88750=3 |
| 2567 | stable_location.BCM88650=3 |
| 2568 | stable_location.BCM88660=3 |
| 2569 | stable_location.BCM88675=3 |
| 2570 | stable_location=3 |
| 2571 | |
| 2572 | # stable_filename - the warmboot file name (if stored on a file) |
| 2573 | stable_filename=/tmp/warmboot_data |
| 2574 | |
| 2575 | # emulation file name |
| 2576 | stable_filename.BCM88470=/tmp/warmboot_data |
| 2577 | |
| 2578 | |
| 2579 | # create the file in memory for a faster warmboot debug |
| 2580 | #stable_filename=/dev/shm/warmboot_data |
| 2581 | |
| 2582 | # stable_flags - not in use |
| 2583 | stable_flags=0 |
| 2584 | |
| 2585 | ############################ |
| 2586 | ############################ |
| 2587 | |
| 2588 | |
| 2589 | # Bridge default logical interfaces allocation IDS |
| 2590 | logical_port_l2_bridge.BCM88640=1 |
| 2591 | logical_port_drop.BCM88640=-1 |
| 2592 | |
| 2593 | #logical_port_mim_in.BCM88640=2 |
| 2594 | #logical_port_mim_out.BCM88640=3 |
| 2595 | |
| 2596 | ## IPV6 tunnel |
| 2597 | bcm886xx_ipv6_tunnel_enable=1 |
| 2598 | |
| 2599 | ## Inlif Profile Management Mode - QoS L3 L2 marking mode |
| 2600 | # |
| 2601 | # BCM88660 ONLY |
| 2602 | # |
| 2603 | # QoS L3 L2 marking allows changing the DSCP and/or EXP values |
| 2604 | # of IP and/or MPLS packets according to the incoming port |
| 2605 | # (or inlif), and the Traffic Class/Drop Precedence. |
| 2606 | # |
| 2607 | # The inlif profile is used to control the DSCP/EXP marking. |
| 2608 | # This SOC property controls which mode is used for the inlif profile: |
| 2609 | # 1: Basic mode (1 bit of the inlif profile is reserved and is used for the DSCP/EXP marking). |
| 2610 | # 0: Advanced mode (the user controls which inlif profile values perform DSCP/EXP marking directly). |
| 2611 | #bcm886xx_qos_l3_l2_marking=1 |
| 2612 | |
| 2613 | ## Unicast RPF mode per RIF |
| 2614 | # |
| 2615 | # This SOC property allows the user to set the unicast RPF mode - loose, strict or disabled - per RIF. |
| 2616 | # If disabled, the unicast RPF mode of a RIF is set globally. |
| 2617 | # Options: 0 / 1 |
| 2618 | |
| 2619 | ##Jericho only, number of inrif mac termination combinations. Legal values 0 - 16, default value 16 */ |
| 2620 | #Note: Two sets of identical mac termination combinations with different RPF modes (loose and strict) |
| 2621 | #will consume two termination combinations resources. |
| 2622 | #Two sets of identical mac termination combinations with and without loose RPF will consume only one resource. |
| 2623 | number_of_inrif_mac_termination_combinations=8 |
| 2624 | |
| 2625 | ##Jericho only, ipmc_l3mcastl2_mode SOC allows a per RIF program selection in the case of ipv4 MC with IPMC disable |
| 2626 | #instead of the global bcmSwitchL3McastL2 switch control selection. |
| 2627 | #Legal values: |
| 2628 | #0: bcmSwitchL3McastL2 switch control. |
| 2629 | #1: PER In-RIF selection. |
| 2630 | #Note that enabling this SOC will reduce the number of In-RIF mac termination combinations bits by one to a maximum of 3 bits |
| 2631 | #so it can't be enabled with number_of_inrif_mac_termination_combinations larger than 8. |
| 2632 | ipmc_l3mcastl2_mode = 1 |
| 2633 | |
| 2634 | # The bcm_ipmc_add adds bridge or route entries according to the BCM_IPMC_L2 flag. |
| 2635 | # Setting custom_feature_ipmc_set_entry_type_by_rif=1 will use the related IN-RIF IPMC state (enable/disable) |
| 2636 | # to select the bcm_ipmc_add entry type (bridge/route). |
| 2637 | #custom_feature_ipmc_set_entry_type_by_rif=0 |
| 2638 | |
| 2639 | # bcm886xx_l3_ingress_urpf_enable=1 |
| 2640 | |
| 2641 | ## BOS handling mode |
| 2642 | # BCM8866X ONLY |
| 2643 | # |
| 2644 | # There are two ways to handle BOS, controlled by bcm886xx_mpls_termination_mode: |
| 2645 | # 0 - Use BOS as key in lookup. |
| 2646 | # 1 - Don't use it (except for reserved labels). |
| 2647 | # |
| 2648 | #bcm886xx_mpls_termination_key_mode=0 |
| 2649 | |
| 2650 | # Color resolution mode allows the user to have more detailed metering color information. |
| 2651 | # BCM88660 ONLY |
| 2652 | # |
| 2653 | # Options: 0-2 |
| 2654 | # 0: A red result from both Ethernet policer and meter implies DP=3. |
| 2655 | # 1: A red result from meter implies that DP=2, while a red result from rate (Ethernet policer) implies DP=3. |
| 2656 | #policer_color_resolution_mode=1 |
| 2657 | |
| 2658 | ## Inlif Profile Management Mode - Disable Same Interface Filter |
| 2659 | # BCM8866X ONLY |
| 2660 | # |
| 2661 | # Controls which mode is used for the inlif profile management. |
| 2662 | # 1: Basic mode (1 bit of the inlif profile is reserved and is used for the same-interface filter). |
| 2663 | # 0: Advanced mode (the user controls which inlif profile values have the same-interface filter disabled for them). |
| 2664 | #bcm886xx_logical_interface_bridge_filter_enable=1 |
| 2665 | |
| 2666 | ## Default Block Forwarding Strength |
| 2667 | # |
| 2668 | # Configure the default forwarding strength of blocks. |
| 2669 | # |
| 2670 | # SOC Properties: |
| 2671 | #block_trap_strength_vtt - VTT block forwarding strength |
| 2672 | #block_trap_strength_flp - FLP block forwarding strength |
| 2673 | #block_trap_strength_hash - SLB block forwarding strength (BCM8866X ONLY) |
| 2674 | #block_trap_strength_pmf_0 - PMF 1st lookup forwarding strength |
| 2675 | #block_trap_strength_pmf_1 - PMF 2nd lookup forwarding strength |
| 2676 | # |
| 2677 | # Options: 0-7 |
| 2678 | |
| 2679 | ## Stateful Load Balancing |
| 2680 | # BCM8866X ONLY |
| 2681 | # |
| 2682 | # Stateful Load Balancing (SLB) allows the load balancing of ECMP and LAG |
| 2683 | # groups to become stateful. |
| 2684 | # In standard load balancing, removing a member from the ECMP/LAG |
| 2685 | # group may affect the selected member, since the formula |
| 2686 | # depends on group size. |
| 2687 | # In stateful load balancing the member is selected once and saved. |
| 2688 | # Later, the member is always retrieved, and does not depend on |
| 2689 | # the size of the LAG/ECMP group. |
| 2690 | # |
| 2691 | # resilient_hash_enable - Enable/disable SLB. Values: |
| 2692 | # 1 - Enable SLB. |
| 2693 | # 0 - Disable SLB. |
| 2694 | #resilient_hash_enable=1 |
| 2695 | |
| 2696 | # When this flag is set (and speculative parsing is used) it is possible for a packet of L4oIPv4/6oMPLS(1-3 labels)oETH |
| 2697 | # with MPLS forwarding to use the L4 header, otherwise the IPv4/6 is the last known header. |
| 2698 | #Note: setting this flag can cause unexpected behavior when BOS is used in the scenario above. |
| 2699 | #custom_feature_speculative_L4_support=0 |
| 2700 | |
| 2701 | #Make Arad SOC properties work for Arad+, by mapping the BCM88660 suffix to BCM88650 |
| 2702 | soc_family.BCM88660=BCM88650 |
| 2703 | #Make Arad SOC properties work for Jericho, by mapping the BCM88675 suffix to BCM88650 |
| 2704 | soc_family.BCM88675=BCM88650 |
| 2705 | #Make Arad SOC properties work for QMX, by mapping the BCM88375 suffix to BCM88650 |
| 2706 | soc_family.BCM88375=BCM88650 |
| 2707 | #Make Arad SOC properties work for Ardon, by mapping the BCM88202 suffix to BCM88650 |
| 2708 | soc_family.BCM88202=BCM88650 |
| 2709 | #Make FE3200 SOC properties work for FE3200 SKU 8952, by mapping the BCM88952 suffix to BCM88950 |
| 2710 | soc_family.BCM88952=BCM88950 |
| 2711 | #Make FE1600 SOC properties work for FE1600 SKU 8753, by mapping the BCM88753 suffix to BCM88750 |
| 2712 | soc_family.BCM88753=BCM88750 |
| 2713 | #Make FE1600 SOC properties work for FE1600 SKU 8752, by mapping the BCM88752 suffix to BCM88750 |
| 2714 | soc_family.BCM88752=BCM88750 |
| 2715 | #Make Arad SOC properties work for QAX, by mapping the BCM88470 suffix to BCM88650 |
| 2716 | soc_family.BCM88470=BCM88650 |
| 2717 | |
| 2718 | #Make Arad SOC properties work for QUX, by mapping the BCM88270 suffix to BCM88650 |
| 2719 | soc_family.BCM88270=BCM88650 |
| 2720 | #Make Arad SOC properties work for FLAIR, by mapping the BCM8206 suffix to BCM88650 |
| 2721 | soc_family.BCM8206=BCM88650 |
| 2722 | #Make Arad SOC properties work for JERICHO_PLUS, by mapping the BCM88470 suffix to BCM88650 |
| 2723 | soc_family.BCM88680=BCM88650 |
| 2724 | |
| 2725 | # Use different mymac addresses for ipv4 and ipv6 when using vrrp for mymac termination. |
| 2726 | #l3_vrrp_ipv6_distinct=1 |
| 2727 | |
| 2728 | # Enable multiple mymac termination mode. |
| 2729 | # In order to enable it, also set l3_vrrp_ipv6_distinct=0 and l3_vrrp_max_vid=0 since vrrp and |
| 2730 | # multiple mymac mode can't co exist. |
| 2731 | #l3_multiple_mymac_termination_enable=1 |
| 2732 | |
| 2733 | # Distinguish between ipv4 and all other l3 protocols when multiple mymac terminating |
| 2734 | #l3_multiple_mymac_termination_mode=1 |
| 2735 | |
| 2736 | # Usually the final DP given by the meter (or the In-DP) is unchanged, and can be from 0-3. |
| 2737 | # When this SOC property is set to 1, when the final INGRESS DP is 2, |
| 2738 | # it is mapped to 1 instead, and thus only the values 0-1 and 3 can be output. |
| 2739 | # This has no effect when policer_color_resolution_mode=1. |
| 2740 | #custom_feature_always_map_result_dp_2_to_1=1 |
| 2741 | |
| 2742 | # Dynamic port feature |
| 2743 | #custom_feature_dynamic_port=1 |
| 2744 | |
| 2745 | # low power nif mac |
| 2746 | #low_power_nif_mac=0 |
| 2747 | |
| 2748 | # allow modifications during traffic |
| 2749 | #custom_feature_allow_modifications_during_traffic=1 |
| 2750 | |
| 2751 | # mem_cache_enable property |
| 2752 | # Cache memory mode - enable memory caching during init. |
| 2753 | # Note: The user MUST add the property name with suffix '_specific' before providing the list of the cached memories. |
| 2754 | # Possible options (suffixes): |
| 2755 | # _all - enable all tables (excluding read-only/write-only/dynamic/signal) |
| 2756 | # _predefined - enable predefined list of tables |
| 2757 | # _parity - enable tables protected by parity field |
| 2758 | # _ecc - enable tables protected by ecc field |
| 2759 | # _specific - enable specific tables - MUST add this suffix if specific tables should be cached |
| 2760 | # _specific_X - enable caching for memory X, where X is memory name. Note: will not work without the previous suffix |
| 2761 | # Example: (this example will enable caching of the IHP_RECYCLE_COMMAND table) |
| 2762 | # mem_cache_enable_specific.BCM88650=1 #(MUST be added in case specific tables should be cached) |
| 2763 | # mem_cache_enable_specific_IHP_RECYCLE_COMMAND.BCM88650=1 |
| 2764 | # mem_cache_enable_specific.BCM88675=1 |
| 2765 | # mem_cache_enable_specific_IPS_QUEUE_PRIORITY_TABLE.BCM88675=1 |
| 2766 | |
| 2767 | mem_cache_enable_parity.BCM88650=1 |
| 2768 | mem_cache_enable_parity.BCM88675=1 |
| 2769 | mem_cache_enable_parity.BCM88202=1 |
| 2770 | mem_cache_enable_parity.BCM88750=1 |
| 2771 | mem_cache_enable_parity.BCM88950=1 |
| 2772 | mem_cache_enable_ecc=0 |
| 2773 | |
| 2774 | # mem_nocache property |
| 2775 | # Cache memory mode - disable memory caching for specific table during init. |
| 2776 | # Note: the user MUST add the default property name before providing the list of the uncached memories. |
| 2777 | # Possible options (suffixes): |
| 2778 | # specific_X - disable caching for memory X, where X is memory name. Note: will not work without the previous suffix |
| 2779 | # Example: (this example will enable caching of the IHP_TERMINATION_PROFILE_TABLE table) |
| 2780 | # mem_nocache.BCM88660=1 #(MUST be added in case there are uncached memories) |
| 2781 | # mem_nocache_IHP_TERMINATION_PROFILE_TABLE.BCM88660=1 |
| 2782 | #mem_nocache.BCM88680=1 |
| 2783 | #mem_nocache_PPDB_B_LIF_TABLE_LABEL_PROTOCOL_OR_LSP.BCM88680=1 |
| 2784 | #mem_nocache_PPDB_B_LIF_TABLE.BCM88680=1 |
| 2785 | |
| 2786 | |
| 2787 | custom_feature_no_backdoor=1 |
| 2788 | |
| 2789 | # Jericho split horizon mode |
| 2790 | # 0 - Use 0-1 range for lif orientation. |
| 2791 | # 1 (default) - Use 0-1 range for lif orientation in AC lifs and 0-3 range for orientation in other lif types. |
| 2792 | split_horizon_forwarding_groups_mode.BCM88675=1 |
| 2793 | split_horizon_forwarding_groups_mode.BCM88470=1 |
| 2794 | split_horizon_forwarding_groups_mode.BCM88680=1 |
| 2795 | |
| 2796 | |
| 2797 | # Entries capacities for public and private IP forwarding tables |
| 2798 | private_ip_frwrd_table_size=500000 |
| 2799 | public_ip_frwrd_table_size=500000 |
| 2800 | |
| 2801 | |
| 2802 | #Enable KAPS ARM and Descriptor-DMA |
| 2803 | dma_desc_aggregator_chain_length_max=500 |
| 2804 | dma_desc_aggregator_buff_size_kb=100 |
| 2805 | dma_desc_aggregator_timeout_usec=1000 |
| 2806 | dma_desc_aggregator_enable_specific_KAPS=1 |
| 2807 | |
| 2808 | #In Jericho the KAPS ARM DMA already consumes 64KB of buffer memory |
| 2809 | dma_desc_aggregator_buff_size_kb.BCM88675=40 |
| 2810 | |
| 2811 | # Entries capacities for direct access tables in KAPS (8K granularity) |
| 2812 | #pmf_kaps_large_db_size=8096 |
| 2813 | |
| 2814 | #enable expose of HW id instead of SW id in Traps. |
| 2815 | bcm886xx_rx_use_hw_trap_id.BCM88675=1 |
| 2816 | |
| 2817 | # Jericho - maximum RIF Id ( valid range is 0 to 32*1024-1) |
| 2818 | #rif_id_max=20000 |
| 2819 | |
| 2820 | #If set, never add the PPH learn extension (unless explictly required in FP action). |
| 2821 | #bcm886xx_pph_learn_extension_disable.BCM88650=0 |
| 2822 | #bcm886xx_pph_learn_extension_disable.BCM88660=0 |
| 2823 | #bcm886xx_pph_learn_extension_disable.BCM88675=0 |
| 2824 | |
| 2825 | # Jericho - field_ip_first_fragment_parsed |
| 2826 | #field_ip_first_fragment_parsed=0 |
| 2827 | |
| 2828 | # learning_fifo_dma_buffer_size in bytes (host memory size). Valid range is 20-327680 |
| 2829 | learning_fifo_dma_buffer_size=200000 |
| 2830 | # learning_fifo_dma_timeout in microseconds. Valid range is 0-65535. 0 means no timeout. |
| 2831 | learning_fifo_dma_timeout=32767 |
| 2832 | # learning_fifo_dma_threshold valid range is 1-16384 (0x4000) |
| 2833 | learning_fifo_dma_threshold=4 |
| 2834 | |
| 2835 | ################################### |
| 2836 | ########### OAM and BFD ########### |
| 2837 | ################################### |
| 2838 | |
| 2839 | # OAM / BFD initialization |
| 2840 | # To enable OAM set oam_enable to 1 |
| 2841 | # To enable BFD set bfd_enable to 1 |
| 2842 | # Be aware that OAM requires more settings (Configuring OAMP and Recycle port) |
| 2843 | |
| 2844 | # oam_enable=1 |
| 2845 | # bfd_enable=1 |
| 2846 | |
| 2847 | # Set OAMP port |
| 2848 | num_oamp_ports.BCM88650=0 |
| 2849 | |
| 2850 | # If BFD is used, runtime_performance_optimize_enable_sched_allocation should be set to 0 |
| 2851 | # to prevent high memory consumption |
| 2852 | |
| 2853 | # Disable the following: |
| 2854 | # bcm886xx_next_hop_mac_extension_enable |
| 2855 | # bcm886xx_ipv6_tunnel_enable |
| 2856 | |
| 2857 | # To use IEEE 1588, configure DPLL clock |
| 2858 | |
| 2859 | # Configure recycle port (assuming ucode_port_40=RCY.0) |
| 2860 | |
| 2861 | #oam_rcy_port.BCM88650=40 |
| 2862 | #tm_port_header_type_in_40.BCM88650=TM |
| 2863 | #tm_port_header_type_out_40.BCM88650=ETH |
| 2864 | #ucode_port_40.0=RCY.0:core_0.40 |
| 2865 | |
| 2866 | # MPLS-TP channel types for OAM/BFD - If MPLS-TP used, channel should be specified |
| 2867 | # Available types: mplstp_bfd_control_channel_type |
| 2868 | # mplstp_pw_ach_channel_type |
| 2869 | # mplstp_dlm_channel_type |
| 2870 | # mplstp_ilm_channel_type |
| 2871 | # mplstp_dm_channel_type |
| 2872 | # mplstp_ipv4_channel_type |
| 2873 | # mplstp_cc_channel_type |
| 2874 | # mplstp_cv_channel_type |
| 2875 | # mplstp_on_demand_cv_channel_type |
| 2876 | # mplstp_pwe_oam_channel_type |
| 2877 | # mplstp_ipv6_channel_type |
| 2878 | # mplstp_fault_oam_channel_type |
| 2879 | # mplstp_g8113_channel_type |
| 2880 | #mplstp_g8113_channel_type=0x8902 |
| 2881 | #mplstp_fault_oam_channel_type=0x5678 |
| 2882 | |
| 2883 | # Use BFD MPLS TP |
| 2884 | #bfd_encapsulation_mode=1 |
| 2885 | |
| 2886 | # Use 1711 protocol |
| 2887 | #custom_feature_y1711_enabled=1 |
| 2888 | |
| 2889 | # OAM DMA threshold |
| 2890 | #oamp_fifo_dma_event_interface_enable=1 |
| 2891 | #oamp_fifo_dma_event_interface_timeout=0 |
| 2892 | #oamp_fifo_dma_event_interface_buffer_size=0x1000 |
| 2893 | #oamp_fifo_dma_event_interface_threshold=10 |
| 2894 | |
| 2895 | # PORT BASED PWE TERMINATION |
| 2896 | #pwe_termination_port_mode_enable =1 |
| 2897 | |
| 2898 | # Walk around for Inlif data Errata, for GAL packets, lookup mpls table with valid mpls label |
| 2899 | # it's not offical solution, just for some dedicated customer. |
| 2900 | # offical solution will be PMF. please refer the relevant doc. |
| 2901 | #custom_feature_gal_lookup_exactly=1 |
| 2902 | |
| 2903 | custom_feature_cmodel_loopback=1 |
| 2904 | |
| 2905 | #for IPv6UC: use Tcam instead of KAPS |
| 2906 | #custom_feature_l3_ipv6_uc_use_tcam=0 |
| 2907 | # ipv6_mc need KPB library |
| 2908 | custom_feature_ipv6_mc_forwarding_disable = 1 |
| 2909 | vlan_match_criteria_mode=PON_PCP_ETHERTYPE |
| 2910 | |