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