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