^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig ARCH_REALVIEW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) bool "ARM Ltd. RealView family"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on ARCH_MULTI_V5 || ARCH_MULTI_V6 || ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) select ARM_AMBA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) select ARM_GIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) select ARM_TIMER_SP804
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select CLK_SP810
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select GPIO_PL061 if GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select HAVE_ARM_SCU if SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select HAVE_ARM_TWD if SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select HAVE_PATA_PLATFORM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select HAVE_TCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) select ICST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select MACH_REALVIEW_EB if ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) select PLAT_VERSATILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select POWER_RESET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select POWER_RESET_VERSATILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select POWER_SUPPLY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select SOC_REALVIEW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) This enables support for ARM Ltd RealView boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) if ARCH_REALVIEW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) config MACH_REALVIEW_EB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) bool "Support RealView(R) Emulation Baseboard"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select ARM_GIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) select CPU_ARM926T if ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Include support for the ARM(R) RealView(R) Emulation Baseboard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) platform. On an ARMv5 kernel, this will include support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) the ARM926EJ-S core tile, while on an ARMv6/v7 kernel, at least
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) one of the ARM1136, ARM1176, ARM11MPCore or Cortex-A9MPCore
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) core tile options should be enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) config REALVIEW_EB_ARM1136
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) bool "Support ARM1136J(F)-S Tile"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) select CPU_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Enable support for the ARM1136 tile fitted to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Realview(R) Emulation Baseboard platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) config REALVIEW_EB_ARM1176
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) bool "Support ARM1176JZ(F)-S Tile"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Enable support for the ARM1176 tile fitted to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Realview(R) Emulation Baseboard platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) config REALVIEW_EB_A9MP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) bool "Support Multicore Cortex-A9 Tile"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Enable support for the Cortex-A9MPCore tile fitted to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Realview(R) Emulation Baseboard platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) config REALVIEW_EB_ARM11MP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) bool "Support ARM11MPCore Tile"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) select HAVE_SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Enable support for the ARM11MPCore tile fitted to the Realview(R)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) Emulation Baseboard platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) config MACH_REALVIEW_PB11MP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) depends on ARCH_MULTI_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) select HAVE_SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Include support for the ARM(R) RealView(R) Platform Baseboard for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) the ARM11MPCore. This platform has an on-board ARM11MPCore and has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) support for PCI-E and Compact Flash.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) # ARMv6 CPU without K extensions, but does have the new exclusive ops
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) config MACH_REALVIEW_PB1176
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) depends on ARCH_MULTI_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) select CPU_V6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) select HAVE_TCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Include support for the ARM(R) RealView(R) Platform Baseboard for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) ARM1176JZF-S.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) config MACH_REALVIEW_PBA8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) Include support for the ARM(R) RealView Platform Baseboard for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) Cortex(tm)-A8. This platform has an on-board Cortex-A8 and has
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) support for PCI-E and Compact Flash.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) config MACH_REALVIEW_PBX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) select ZONE_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Include support for the ARM(R) RealView(R) Platform Baseboard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) Explore.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) endif