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