Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 1 | menu "Reset Configuration Word" |
| 2 | |
| 3 | choice |
| 4 | prompt "Local bus memory controller clock mode" |
| 5 | |
| 6 | config LBMC_CLOCK_MODE_1_1 |
| 7 | bool "1 : 1" |
| 8 | |
| 9 | config LBMC_CLOCK_MODE_1_2 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 10 | depends on ARCH_MPC8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 11 | bool "1 : 2" |
| 12 | |
| 13 | endchoice |
| 14 | |
| 15 | choice |
| 16 | prompt "DDR SDRAM memory controller clock mode" |
| 17 | |
| 18 | config DDR_MC_CLOCK_MODE_1_2 |
| 19 | bool "1 : 2" |
| 20 | |
| 21 | config DDR_MC_CLOCK_MODE_1_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 22 | depends on ARCH_MPC8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 23 | bool "1 : 1" |
| 24 | |
| 25 | endchoice |
| 26 | |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 27 | if !ARCH_MPC8313 && !ARCH_MPC832X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 28 | |
| 29 | choice |
| 30 | prompt "System PLL VCO division" |
| 31 | |
| 32 | config SYSTEM_PLL_VCO_DIV_1 |
| 33 | depends on !ARCH_MPC837X |
| 34 | bool "1" |
| 35 | |
| 36 | config SYSTEM_PLL_VCO_DIV_2 |
| 37 | bool "2" |
| 38 | |
| 39 | config SYSTEM_PLL_VCO_DIV_4 |
| 40 | depends on !ARCH_MPC831X |
| 41 | bool "4" |
| 42 | |
| 43 | config SYSTEM_PLL_VCO_DIV_8 |
| 44 | depends on !ARCH_MPC831X |
| 45 | bool "8" |
| 46 | |
| 47 | endchoice |
| 48 | |
| 49 | endif |
| 50 | |
| 51 | choice |
| 52 | prompt "System PLL multiplication factor" |
| 53 | |
| 54 | config SYSTEM_PLL_FACTOR_2_1 |
| 55 | bool "2 : 1" |
| 56 | |
| 57 | config SYSTEM_PLL_FACTOR_3_1 |
| 58 | bool "3 : 1" |
| 59 | |
| 60 | config SYSTEM_PLL_FACTOR_4_1 |
| 61 | bool "4 : 1" |
| 62 | |
| 63 | config SYSTEM_PLL_FACTOR_5_1 |
| 64 | bool "5 : 1" |
| 65 | |
| 66 | config SYSTEM_PLL_FACTOR_6_1 |
| 67 | bool "6 : 1" |
| 68 | |
| 69 | config SYSTEM_PLL_FACTOR_7_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 70 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 71 | bool "7 : 1" |
| 72 | |
| 73 | config SYSTEM_PLL_FACTOR_8_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 74 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 75 | bool "8 : 1" |
| 76 | |
| 77 | config SYSTEM_PLL_FACTOR_9_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 78 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 79 | bool "9 : 1" |
| 80 | |
| 81 | config SYSTEM_PLL_FACTOR_10_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 82 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 83 | bool "10 : 1" |
| 84 | |
| 85 | config SYSTEM_PLL_FACTOR_11_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 86 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 87 | bool "11 : 1" |
| 88 | |
| 89 | config SYSTEM_PLL_FACTOR_12_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 90 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 91 | bool "12 : 1" |
| 92 | |
| 93 | config SYSTEM_PLL_FACTOR_13_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 94 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 95 | bool "13 : 1" |
| 96 | |
| 97 | config SYSTEM_PLL_FACTOR_14_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 98 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 99 | bool "14 : 1" |
| 100 | |
| 101 | config SYSTEM_PLL_FACTOR_15_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 102 | depends on ARCH_MPV8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 103 | bool "15 : 1" |
| 104 | |
| 105 | config SYSTEM_PLL_FACTOR_16_1 |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 106 | depends on ARCH_MPV8360 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 107 | bool "16 : 1" |
| 108 | |
| 109 | endchoice |
| 110 | |
| 111 | config CORE_PLL_BYPASS |
| 112 | bool "Core PLL bypassed" |
| 113 | |
| 114 | if !CORE_PLL_BYPASS |
| 115 | |
| 116 | choice |
| 117 | prompt "Core PLL Ratio" |
| 118 | |
| 119 | config CORE_PLL_RATIO_1_1 |
| 120 | bool "1 : 1" |
| 121 | |
| 122 | config CORE_PLL_RATIO_15_1 |
| 123 | bool "1.5 : 1" |
| 124 | |
| 125 | config CORE_PLL_RATIO_2_1 |
| 126 | bool "2 : 1" |
| 127 | |
| 128 | config CORE_PLL_RATIO_25_1 |
| 129 | bool "2.5 : 1" |
| 130 | |
| 131 | config CORE_PLL_RATIO_3_1 |
| 132 | bool "3 : 1" |
| 133 | |
| 134 | endchoice |
| 135 | |
| 136 | choice |
| 137 | prompt "Core PLL VCO Divider" |
| 138 | |
| 139 | config CORE_PLL_VCO_DIVIDER_2 |
| 140 | bool "2" |
| 141 | |
| 142 | config CORE_PLL_VCO_DIVIDER_4 |
| 143 | bool "4" |
| 144 | |
| 145 | config CORE_PLL_VCO_DIVIDER_8 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 146 | bool "8" |
| 147 | |
| 148 | endchoice |
| 149 | |
| 150 | endif |
| 151 | |
| 152 | if MPC83XX_QUICC_ENGINE |
| 153 | |
| 154 | choice |
| 155 | prompt "QUICC Engine PLL VCO Divider" |
| 156 | |
| 157 | config QUICC_VCO_DIVIDER_2 |
| 158 | bool "2" |
| 159 | |
| 160 | config QUICC_VCO_DIVIDER_4 |
| 161 | bool "4" |
| 162 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 163 | endchoice |
| 164 | |
| 165 | choice |
| 166 | prompt "QUICC Engine PLL division factor" |
| 167 | |
| 168 | config QUICC_DIV_FACTOR_1 |
| 169 | bool "1" |
| 170 | |
| 171 | config QUICC_DIV_FACTOR_2 |
| 172 | bool "2" |
| 173 | |
| 174 | endchoice |
| 175 | |
| 176 | choice |
| 177 | prompt "QUICC Engine PLL multiplication factor" |
| 178 | |
| 179 | config QUICC_MULT_FACTOR_2 |
| 180 | bool "2" |
| 181 | |
| 182 | config QUICC_MULT_FACTOR_3 |
| 183 | bool "3" |
| 184 | |
| 185 | config QUICC_MULT_FACTOR_4 |
| 186 | bool "4" |
| 187 | |
| 188 | config QUICC_MULT_FACTOR_5 |
| 189 | bool "5" |
| 190 | |
| 191 | config QUICC_MULT_FACTOR_6 |
| 192 | bool "6" |
| 193 | |
| 194 | config QUICC_MULT_FACTOR_7 |
| 195 | bool "7" |
| 196 | |
| 197 | config QUICC_MULT_FACTOR_8 |
| 198 | bool "8" |
| 199 | |
| 200 | config QUICC_MULT_FACTOR_9 |
| 201 | depends on ARCH_MPC8360 |
| 202 | bool "9" |
| 203 | |
| 204 | config QUICC_MULT_FACTOR_10 |
| 205 | depends on ARCH_MPC8360 |
| 206 | bool "10" |
| 207 | |
| 208 | config QUICC_MULT_FACTOR_11 |
| 209 | depends on ARCH_MPC8360 |
| 210 | bool "11" |
| 211 | |
| 212 | config QUICC_MULT_FACTOR_12 |
| 213 | depends on ARCH_MPC8360 |
| 214 | bool "12" |
| 215 | |
| 216 | config QUICC_MULT_FACTOR_13 |
| 217 | depends on ARCH_MPC8360 |
| 218 | bool "13" |
| 219 | |
| 220 | config QUICC_MULT_FACTOR_14 |
| 221 | depends on ARCH_MPC8360 |
| 222 | bool "14" |
| 223 | |
| 224 | config QUICC_MULT_FACTOR_15 |
| 225 | depends on ARCH_MPC8360 |
| 226 | bool "15" |
| 227 | |
| 228 | config QUICC_MULT_FACTOR_16 |
| 229 | depends on ARCH_MPC8360 |
| 230 | bool "16" |
| 231 | |
| 232 | config QUICC_MULT_FACTOR_17 |
| 233 | depends on ARCH_MPC8360 |
| 234 | bool "17" |
| 235 | |
| 236 | config QUICC_MULT_FACTOR_18 |
| 237 | depends on ARCH_MPC8360 |
| 238 | bool "18" |
| 239 | |
| 240 | config QUICC_MULT_FACTOR_19 |
| 241 | depends on ARCH_MPC8360 |
| 242 | bool "19" |
| 243 | |
| 244 | config QUICC_MULT_FACTOR_20 |
| 245 | depends on ARCH_MPC8360 |
| 246 | bool "20" |
| 247 | |
| 248 | config QUICC_MULT_FACTOR_21 |
| 249 | depends on ARCH_MPC8360 |
| 250 | bool "21" |
| 251 | |
| 252 | config QUICC_MULT_FACTOR_22 |
| 253 | depends on ARCH_MPC8360 |
| 254 | bool "22" |
| 255 | |
| 256 | config QUICC_MULT_FACTOR_23 |
| 257 | depends on ARCH_MPC8360 |
| 258 | bool "23" |
| 259 | |
| 260 | config QUICC_MULT_FACTOR_24 |
| 261 | depends on ARCH_MPC8360 |
| 262 | bool "24" |
| 263 | |
| 264 | config QUICC_MULT_FACTOR_25 |
| 265 | depends on ARCH_MPC8360 |
| 266 | bool "25" |
| 267 | |
| 268 | config QUICC_MULT_FACTOR_26 |
| 269 | depends on ARCH_MPC8360 |
| 270 | bool "26" |
| 271 | |
| 272 | config QUICC_MULT_FACTOR_27 |
| 273 | depends on ARCH_MPC8360 |
| 274 | bool "27" |
| 275 | |
| 276 | config QUICC_MULT_FACTOR_28 |
| 277 | depends on ARCH_MPC8360 |
| 278 | bool "28" |
| 279 | |
| 280 | config QUICC_MULT_FACTOR_29 |
| 281 | depends on ARCH_MPC8360 |
| 282 | bool "29" |
| 283 | |
| 284 | config QUICC_MULT_FACTOR_30 |
| 285 | depends on ARCH_MPC8360 |
| 286 | bool "30" |
| 287 | |
| 288 | config QUICC_MULT_FACTOR_31 |
| 289 | depends on ARCH_MPC8360 |
| 290 | bool "31" |
| 291 | |
| 292 | endchoice |
| 293 | |
| 294 | endif |
| 295 | |
| 296 | if MPC83XX_PCI_SUPPORT |
| 297 | |
| 298 | choice |
| 299 | prompt "PCI host mode" |
| 300 | |
| 301 | config PCI_HOST_MODE_DISABLE |
| 302 | bool "Disabled" |
| 303 | |
| 304 | config PCI_HOST_MODE_ENABLE |
| 305 | bool "Enabled" |
| 306 | |
| 307 | endchoice |
| 308 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 309 | choice |
| 310 | prompt "PCI internal arbiter 1 mode" |
| 311 | |
| 312 | config PCI_INT_ARBITER1_DISABLE |
| 313 | bool "Disabled" |
| 314 | |
| 315 | config PCI_INT_ARBITER1_ENABLE |
| 316 | bool "Enabled" |
| 317 | |
| 318 | endchoice |
| 319 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 320 | if ARCH_MPC8360 |
| 321 | |
| 322 | choice |
| 323 | prompt "PCI clock output drive" |
| 324 | |
| 325 | config PCI_CLOCK_OUTPUT_DRIVE_DISABLE |
| 326 | bool "Disabled" |
| 327 | |
| 328 | config PCI_CLOCK_OUTPUT_DRIVE_ENABLE |
| 329 | bool "Enabled" |
| 330 | |
| 331 | endchoice |
| 332 | |
| 333 | endif |
| 334 | |
| 335 | endif |
| 336 | |
| 337 | choice |
| 338 | prompt "Core disable mode" |
| 339 | |
| 340 | config CORE_DISABLE_MODE_OFF |
| 341 | bool "Off" |
| 342 | |
| 343 | config CORE_DISABLE_MODE_ON |
| 344 | bool "On" |
| 345 | |
| 346 | endchoice |
| 347 | |
| 348 | choice |
| 349 | prompt "Boot Memory Space" |
| 350 | |
| 351 | config BOOT_MEMORY_SPACE_HIGH |
| 352 | bool "High" |
| 353 | |
| 354 | config BOOT_MEMORY_SPACE_LOW |
| 355 | bool "Low" |
| 356 | |
| 357 | endchoice |
| 358 | |
| 359 | choice |
| 360 | prompt "Boot Sequencer Configuration" |
| 361 | |
| 362 | config BOOT_SEQUENCER_DISABLED |
| 363 | bool "Disabled" |
| 364 | |
| 365 | config BOOT_SEQUENCER_NORMAL_I2C |
| 366 | bool "Normal I2C" |
| 367 | |
| 368 | config BOOT_SEQUENCER_EXTENDED_I2C |
| 369 | bool "Extended I2C" |
| 370 | |
| 371 | endchoice |
| 372 | |
| 373 | choice |
| 374 | prompt "Software Watchdog" |
| 375 | |
| 376 | config SOFTWARE_WATCHDOG_DISABLED |
| 377 | bool "Disabled" |
| 378 | |
| 379 | config SOFTWARE_WATCHDOG_ENABLED |
| 380 | bool "Enabled" |
| 381 | |
| 382 | endchoice |
| 383 | |
| 384 | choice |
| 385 | prompt "Boot ROM interface location" |
| 386 | |
| 387 | config BOOT_ROM_INTERFACE_DDR_SDRAM |
| 388 | bool "DDR_SDRAM" |
| 389 | |
| 390 | config BOOT_ROM_INTERFACE_PCI1 |
| 391 | depends on MPC83XX_PCI_SUPPORT |
| 392 | bool "PCI1" |
| 393 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 394 | config BOOT_ROM_INTERFACE_ON_CHIP_BOOT_ROM |
| 395 | depends on ARCH_MPC837X |
| 396 | bool "PCI2" |
| 397 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 398 | config BOOT_ROM_INTERFACE_GPCM_8BIT |
| 399 | bool "Local bus GPCM - 8-bit ROM" |
| 400 | |
| 401 | config BOOT_ROM_INTERFACE_GPCM_16BIT |
| 402 | bool "Local bus GPCM - 16-bit ROM" |
| 403 | |
| 404 | config BOOT_ROM_INTERFACE_GPCM_32BIT |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 405 | depends on ARCH_MPC8360 || ARCH_MPC837X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 406 | bool "Local bus GPCM - 32-bit ROM" |
| 407 | |
| 408 | config BOOT_ROM_INTERFACE_NAND_FLASH_8BIT_SMALL |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 409 | depends on !ARCH_MPC832X && !ARCH_MPC8360 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 410 | bool "Local bus NAND Flash- 8-bit small page ROM" |
| 411 | |
| 412 | config BOOT_ROM_INTERFACE_NAND_FLASH_8BIT_LARGE |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 413 | depends on !ARCH_MPC832X && !ARCH_MPC8360 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 414 | bool "Local bus NAND Flash- 8-bit large page ROM" |
| 415 | |
| 416 | endchoice |
| 417 | |
| 418 | if MPC83XX_TSEC1_SUPPORT |
| 419 | |
| 420 | choice |
| 421 | prompt "TSEC1 mode" |
| 422 | |
| 423 | config TSEC1_MODE_MII |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 424 | bool "MII" |
| 425 | |
| 426 | config TSEC1_MODE_RMII |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 427 | depends on ARCH_MPC831X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 428 | bool "RMII" |
| 429 | |
| 430 | config TSEC1_MODE_RGMII |
| 431 | bool "RGMII" |
| 432 | |
| 433 | config TSEC1_MODE_RTBI |
| 434 | depends on ARCH_MPC831X || ARCH_MPC837X |
| 435 | bool "RTBI" |
| 436 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 437 | config TSEC1_MODE_SGMII |
| 438 | depends on ARCH_MPC831X || ARCH_MPC837X |
| 439 | bool "SGMII" |
| 440 | |
| 441 | endchoice |
| 442 | |
| 443 | endif |
| 444 | |
| 445 | if MPC83XX_TSEC2_SUPPORT |
| 446 | |
| 447 | choice |
| 448 | prompt "TSEC2 mode" |
| 449 | |
| 450 | config TSEC2_MODE_MII |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 451 | bool "MII" |
| 452 | |
| 453 | config TSEC2_MODE_RMII |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 454 | depends on ARCH_MPC831X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 455 | bool "RMII" |
| 456 | |
| 457 | config TSEC2_MODE_RGMII |
| 458 | bool "RGMII" |
| 459 | |
| 460 | config TSEC2_MODE_RTBI |
| 461 | depends on ARCH_MPC831X || ARCH_MPC837X |
| 462 | bool "RTBI" |
| 463 | |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 464 | config TSEC2_MODE_SGMII |
| 465 | depends on ARCH_MPC831X || ARCH_MPC837X |
| 466 | bool "SGMII" |
| 467 | |
| 468 | endchoice |
| 469 | |
| 470 | endif |
| 471 | |
| 472 | choice |
| 473 | prompt "True litle-endian mode" |
| 474 | |
| 475 | config TRUE_LITTLE_ENDIAN_BIG_ENDIAN |
| 476 | bool "Big-endian" |
| 477 | |
| 478 | config TRUE_LITTLE_ENDIAN_LITTLE_ENDIAN |
| 479 | bool "Little-endian" |
| 480 | |
| 481 | endchoice |
| 482 | |
| 483 | if ARCH_MPC8360 |
| 484 | |
| 485 | choice |
| 486 | prompt "Secondary DDR IO" |
| 487 | |
| 488 | config SECONDARY_DDR_IO_DISABLE |
| 489 | bool "Disable" |
| 490 | |
| 491 | config SECONDARY_DDR_IO_ENABLE |
| 492 | bool "Enable" |
| 493 | |
| 494 | endchoice |
| 495 | |
| 496 | endif |
| 497 | |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 498 | if ARCH_MPC831X || ARCH_MPC832X || ARCH_MPC8360 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 499 | |
| 500 | choice |
| 501 | prompt "LALE timing" |
| 502 | |
| 503 | config LALE_TIMING_NORMAL |
| 504 | bool "Normal" |
| 505 | |
| 506 | config LALE_TIMING_EARLIER |
| 507 | bool "Earlier" |
| 508 | |
| 509 | endchoice |
| 510 | |
| 511 | endif |
| 512 | |
| 513 | if MPC83XX_LDP_PIN |
| 514 | |
| 515 | choice |
| 516 | prompt "LDP pin mux state" |
| 517 | |
| 518 | config LDP_PIN_MUX_STATE_1 |
| 519 | bool "Inital value 1" |
| 520 | |
| 521 | config LDP_PIN_MUX_STATE_0 |
| 522 | bool "Inital value 0" |
| 523 | |
| 524 | endchoice |
| 525 | |
| 526 | endif |
| 527 | |
| 528 | endmenu |
| 529 | |
| 530 | config LBMC_CLOCK_MODE |
| 531 | int |
| 532 | default 0 if LBMC_CLOCK_MODE_1_1 |
| 533 | default 1 if LBMC_CLOCK_MODE_1_2 |
| 534 | |
| 535 | config DDR_MC_CLOCK_MODE |
| 536 | int |
| 537 | default 1 if DDR_MC_CLOCK_MODE_1_2 |
| 538 | default 0 if DDR_MC_CLOCK_MODE_1_1 |
| 539 | |
| 540 | config SYSTEM_PLL_VCO_DIV |
| 541 | int |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 542 | default 0 if ARCH_MPC832X |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 543 | default 2 if ARCH_MPC8313 |
| 544 | default 0 if SYSTEM_PLL_VCO_DIV_2 && !ARCH_MPC8360 && !ARCH_MPC837X |
| 545 | default 1 if SYSTEM_PLL_VCO_DIV_4 && !ARCH_MPC8360 && !ARCH_MPC837X |
| 546 | default 2 if SYSTEM_PLL_VCO_DIV_8 && !ARCH_MPC8360 && !ARCH_MPC837X |
| 547 | default 0 if SYSTEM_PLL_VCO_DIV_4 && (ARCH_MPC8360 || ARCH_MPC837X) |
| 548 | default 1 if SYSTEM_PLL_VCO_DIV_8 && (ARCH_MPC8360 || ARCH_MPC837X) |
| 549 | default 2 if SYSTEM_PLL_VCO_DIV_2 && (ARCH_MPC8360 || ARCH_MPC837X) |
| 550 | default 3 if SYSTEM_PLL_VCO_DIV_1 |
| 551 | |
| 552 | config SYSTEM_PLL_FACTOR |
| 553 | int |
| 554 | default 2 if SYSTEM_PLL_FACTOR_2_1 |
| 555 | default 3 if SYSTEM_PLL_FACTOR_3_1 |
| 556 | default 4 if SYSTEM_PLL_FACTOR_4_1 |
| 557 | default 5 if SYSTEM_PLL_FACTOR_5_1 |
| 558 | default 6 if SYSTEM_PLL_FACTOR_6_1 |
| 559 | default 7 if SYSTEM_PLL_FACTOR_7_1 |
| 560 | default 8 if SYSTEM_PLL_FACTOR_8_1 |
| 561 | default 9 if SYSTEM_PLL_FACTOR_9_1 |
| 562 | default 10 if SYSTEM_PLL_FACTOR_10_1 |
| 563 | default 11 if SYSTEM_PLL_FACTOR_11_1 |
| 564 | default 12 if SYSTEM_PLL_FACTOR_12_1 |
| 565 | default 13 if SYSTEM_PLL_FACTOR_13_1 |
| 566 | default 14 if SYSTEM_PLL_FACTOR_14_1 |
| 567 | default 15 if SYSTEM_PLL_FACTOR_15_1 |
| 568 | default 0 if SYSTEM_PLL_FACTOR_16_1 |
| 569 | |
| 570 | config CORE_PLL_RATIO |
| 571 | hex |
| 572 | default 0x0 if CORE_PLL_BYPASS |
| 573 | default 0x02 if CORE_PLL_RATIO_1_1 && CORE_PLL_VCO_DIVIDER_2 |
| 574 | default 0x22 if CORE_PLL_RATIO_1_1 && CORE_PLL_VCO_DIVIDER_4 |
| 575 | default 0x42 if CORE_PLL_RATIO_1_1 && CORE_PLL_VCO_DIVIDER_8 |
| 576 | default 0x03 if CORE_PLL_RATIO_15_1 && CORE_PLL_VCO_DIVIDER_2 |
| 577 | default 0x23 if CORE_PLL_RATIO_15_1 && CORE_PLL_VCO_DIVIDER_4 |
| 578 | default 0x43 if CORE_PLL_RATIO_15_1 && CORE_PLL_VCO_DIVIDER_8 |
| 579 | default 0x04 if CORE_PLL_RATIO_2_1 && CORE_PLL_VCO_DIVIDER_2 |
| 580 | default 0x24 if CORE_PLL_RATIO_2_1 && CORE_PLL_VCO_DIVIDER_4 |
| 581 | default 0x44 if CORE_PLL_RATIO_2_1 && CORE_PLL_VCO_DIVIDER_8 |
| 582 | default 0x05 if CORE_PLL_RATIO_25_1 && CORE_PLL_VCO_DIVIDER_2 |
| 583 | default 0x25 if CORE_PLL_RATIO_25_1 && CORE_PLL_VCO_DIVIDER_4 |
| 584 | default 0x45 if CORE_PLL_RATIO_25_1 && CORE_PLL_VCO_DIVIDER_8 |
| 585 | default 0x06 if CORE_PLL_RATIO_3_1 && CORE_PLL_VCO_DIVIDER_2 |
| 586 | default 0x26 if CORE_PLL_RATIO_3_1 && CORE_PLL_VCO_DIVIDER_4 |
| 587 | default 0x46 if CORE_PLL_RATIO_3_1 && CORE_PLL_VCO_DIVIDER_8 |
| 588 | |
| 589 | config CORE_DISABLE_MODE |
| 590 | int |
| 591 | default 0 if CORE_DISABLE_MODE_OFF |
| 592 | default 1 if CORE_DISABLE_MODE_ON |
| 593 | |
| 594 | config BOOT_MEMORY_SPACE |
| 595 | int |
| 596 | default 0 if BOOT_MEMORY_SPACE_LOW |
| 597 | default 1 if BOOT_MEMORY_SPACE_HIGH |
| 598 | |
| 599 | config BOOT_SEQUENCER |
| 600 | int |
| 601 | default 0 if BOOT_SEQUENCER_DISABLED |
| 602 | default 1 if BOOT_SEQUENCER_NORMAL_I2C |
| 603 | default 2 if BOOT_SEQUENCER_EXTENDED_I2C |
| 604 | |
| 605 | config SOFTWARE_WATCHDOG |
| 606 | int |
| 607 | default 0 if SOFTWARE_WATCHDOG_DISABLED |
| 608 | default 1 if SOFTWARE_WATCHDOG_ENABLED |
| 609 | |
| 610 | config BOOT_ROM_INTERFACE |
| 611 | hex |
| 612 | default 0x0 if BOOT_ROM_INTERFACE_DDR_SDRAM |
| 613 | default 0x4 if BOOT_ROM_INTERFACE_PCI1 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 614 | default 0xc if BOOT_ROM_INTERFACE_ON_CHIP_BOOT_ROM |
| 615 | default 0x14 if BOOT_ROM_INTERFACE_GPCM_8BIT |
| 616 | default 0x18 if BOOT_ROM_INTERFACE_GPCM_16BIT |
| 617 | default 0x1c if BOOT_ROM_INTERFACE_GPCM_32BIT |
| 618 | default 0x5 if BOOT_ROM_INTERFACE_NAND_FLASH_8BIT_SMALL |
| 619 | default 0x15 if BOOT_ROM_INTERFACE_NAND_FLASH_8BIT_LARGE |
| 620 | |
| 621 | config TSEC1_MODE |
| 622 | hex |
| 623 | default 0x0 if !MPC83XX_TSEC1_SUPPORT |
| 624 | default 0x0 if TSEC1_MODE_MII |
| 625 | default 0x1 if TSEC1_MODE_RMII |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 626 | default 0x3 if TSEC1_MODE_RGMII |
| 627 | default 0x5 if TSEC1_MODE_RTBI |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 628 | default 0x6 if TSEC1_MODE_SGMII |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 629 | |
| 630 | config TSEC2_MODE |
| 631 | hex |
| 632 | default 0x0 if !MPC83XX_TSEC2_SUPPORT |
| 633 | default 0x0 if TSEC2_MODE_MII |
| 634 | default 0x1 if TSEC2_MODE_RMII |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 635 | default 0x3 if TSEC2_MODE_RGMII |
| 636 | default 0x5 if TSEC2_MODE_RTBI |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 637 | default 0x6 if TSEC2_MODE_SGMII |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 638 | |
| 639 | config SECONDARY_DDR_IO |
| 640 | int |
| 641 | default 0 if !ARCH_MPC8360 |
| 642 | default 0 if SECONDARY_DDR_IO_DISABLE |
| 643 | default 1 if SECONDARY_DDR_IO_ENABLE |
| 644 | |
| 645 | config TRUE_LITTLE_ENDIAN |
| 646 | int |
| 647 | default 0 if TRUE_LITTLE_ENDIAN_BIG_ENDIAN |
| 648 | default 1 if TRUE_LITTLE_ENDIAN_LITTLE_ENDIAN |
| 649 | |
| 650 | config LALE_TIMING |
| 651 | int |
| 652 | default 0 if ARCH_MPC830X || ARCH_MPC837X |
| 653 | default 0 if LALE_TIMING_NORMAL |
| 654 | default 1 if LALE_TIMING_EARLIER |
| 655 | |
| 656 | config LDP_PIN_MUX_STATE |
| 657 | int |
| 658 | default 0 if !MPC83XX_LDP_PIN |
| 659 | default 0 if LDP_PIN_MUX_STATE_1 |
| 660 | default 1 if LDP_PIN_MUX_STATE_0 |
| 661 | |
| 662 | config QUICC_VCO_DIVIDER |
| 663 | int |
| 664 | default 0 if !MPC83XX_QUICC_ENGINE |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 665 | default 2 if QUICC_VCO_DIVIDER_2 && (ARCH_MPC832X || ARCH_MPC8360) |
| 666 | default 0 if QUICC_VCO_DIVIDER_4 && (ARCH_MPC832X || ARCH_MPC8360) |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 667 | |
| 668 | config QUICC_DIV_FACTOR |
| 669 | int |
| 670 | default 0 if !MPC83XX_QUICC_ENGINE |
| 671 | default 0 if QUICC_DIV_FACTOR_1 |
| 672 | default 1 if QUICC_DIV_FACTOR_2 |
| 673 | |
| 674 | config QUICC_MULT_FACTOR |
| 675 | int |
| 676 | default 0 if !MPC83XX_QUICC_ENGINE |
| 677 | default 2 if QUICC_MULT_FACTOR_2 |
| 678 | default 3 if QUICC_MULT_FACTOR_3 |
| 679 | default 4 if QUICC_MULT_FACTOR_4 |
| 680 | default 5 if QUICC_MULT_FACTOR_5 |
| 681 | default 6 if QUICC_MULT_FACTOR_6 |
| 682 | default 7 if QUICC_MULT_FACTOR_7 |
| 683 | default 8 if QUICC_MULT_FACTOR_8 |
| 684 | default 9 if QUICC_MULT_FACTOR_9 |
| 685 | default 10 if QUICC_MULT_FACTOR_10 |
| 686 | default 11 if QUICC_MULT_FACTOR_11 |
| 687 | default 12 if QUICC_MULT_FACTOR_12 |
| 688 | default 13 if QUICC_MULT_FACTOR_13 |
| 689 | default 14 if QUICC_MULT_FACTOR_14 |
| 690 | default 15 if QUICC_MULT_FACTOR_15 |
| 691 | default 16 if QUICC_MULT_FACTOR_16 |
| 692 | default 17 if QUICC_MULT_FACTOR_17 |
| 693 | default 18 if QUICC_MULT_FACTOR_18 |
| 694 | default 19 if QUICC_MULT_FACTOR_19 |
| 695 | default 20 if QUICC_MULT_FACTOR_20 |
| 696 | default 21 if QUICC_MULT_FACTOR_21 |
| 697 | default 22 if QUICC_MULT_FACTOR_22 |
| 698 | default 23 if QUICC_MULT_FACTOR_23 |
| 699 | default 24 if QUICC_MULT_FACTOR_24 |
| 700 | default 25 if QUICC_MULT_FACTOR_25 |
| 701 | default 26 if QUICC_MULT_FACTOR_26 |
| 702 | default 27 if QUICC_MULT_FACTOR_27 |
| 703 | default 28 if QUICC_MULT_FACTOR_28 |
| 704 | default 29 if QUICC_MULT_FACTOR_29 |
| 705 | default 30 if QUICC_MULT_FACTOR_30 |
| 706 | default 31 if QUICC_MULT_FACTOR_31 |
| 707 | |
| 708 | config PCI_HOST_MODE |
| 709 | int |
| 710 | default 0 if !MPC83XX_PCI_SUPPORT && !ARCH_MPC8308 |
| 711 | default 0 if PCI_HOST_MODE_DISABLE |
| 712 | default 1 if PCI_HOST_MODE_ENABLE || ARCH_MPC8308 # MPC8308 needs this bit set regardless |
| 713 | |
| 714 | config PCI_64BIT_MODE |
| 715 | int |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 716 | default 0 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 717 | |
| 718 | config PCI_INT_ARBITER1 |
| 719 | int |
| 720 | default 0 if !MPC83XX_PCI_SUPPORT && !ARCH_MPC8308 |
| 721 | default 0 if PCI_INT_ARBITER1_DISABLE |
| 722 | default 1 if PCI_INT_ARBITER1_ENABLE || ARCH_MPC8308 # MPC8308 needs this bit set regardless |
| 723 | |
| 724 | config PCI_INT_ARBITER2 |
| 725 | int |
Tom Rini | 291ab56 | 2021-09-09 07:54:53 -0400 | [diff] [blame] | 726 | default 0 |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 727 | |
| 728 | config PCI_CLOCK_OUTPUT_DRIVE |
| 729 | int |
| 730 | default 0 if !ARCH_MPC8360 |
| 731 | default 0 if PCI_CLOCK_OUTPUT_DRIVE_DISABLE |
| 732 | default 1 if PCI_CLOCK_OUTPUT_DRIVE_ENABLE |