xref: /linux/arch/arm/mach-mmp/Kconfig (revision 122333d6bd229af279cdb35d1b874b71b3b9ccfb)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_MMP
3	bool "Marvell PXA168/910/MMP2/MMP3"
4	depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7
5	select GPIO_PXA
6	select GPIOLIB
7	select PINCTRL
8	select PLAT_PXA
9	help
10	  Support for Marvell's PXA168/PXA910(MMP), MMP2, and MMP3 processor lines.
11
12if ARCH_MMP
13
14menu "Marvell PXA168/910/MMP2 Implementations"
15
16config MACH_MMP_DT
17	bool "Support MMP (ARMv5) platforms from device tree"
18	depends on ARCH_MULTI_V5
19	select PINCTRL
20	select PINCTRL_SINGLE
21	select ARCH_HAS_RESET_CONTROLLER
22	select CPU_MOHAWK
23	help
24	  Include support for Marvell MMP2 based platforms using
25	  the device tree. Needn't select any other machine while
26	  MACH_MMP_DT is enabled.
27
28config MACH_MMP2_DT
29	bool "Support MMP2 (ARMv7) platforms from device tree"
30	depends on ARCH_MULTI_V7
31	select PINCTRL
32	select PINCTRL_SINGLE
33	select ARCH_HAS_RESET_CONTROLLER
34	select CPU_PJ4
35	select PM_GENERIC_DOMAINS if PM
36	select PM_GENERIC_DOMAINS_OF if PM && OF
37	help
38	  Include support for Marvell MMP2 based platforms using
39	  the device tree.
40
41config MACH_MMP3_DT
42	bool "Support MMP3 (ARMv7) platforms"
43	depends on ARCH_MULTI_V7
44	select ARM_GIC
45	select HAVE_ARM_SCU if SMP
46	select HAVE_ARM_TWD if SMP
47	select CACHE_L2X0
48	select PINCTRL
49	select PINCTRL_SINGLE
50	select ARCH_HAS_RESET_CONTROLLER
51	select CPU_PJ4B
52	select PM_GENERIC_DOMAINS if PM
53	select PM_GENERIC_DOMAINS_OF if PM && OF
54	help
55	  Say 'Y' here if you want to include support for platforms
56	  with Marvell MMP3 processor, also known as PXA2128 or
57	  Armada 620.
58
59endmenu
60
61config CPU_PXA168
62	bool
63	select CPU_MOHAWK
64	help
65	  Select code specific to PXA168
66
67config CPU_PXA910
68	bool
69	select CPU_MOHAWK
70	help
71	  Select code specific to PXA910
72
73config CPU_MMP2
74	bool
75	select CPU_PJ4
76	help
77	  Select code specific to MMP2. MMP2 is ARMv7 compatible.
78
79endif
80