162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig ARCH_MMP
362306a36Sopenharmony_ci	bool "Marvell PXA168/910/MMP2/MMP3"
462306a36Sopenharmony_ci	depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7
562306a36Sopenharmony_ci	select GPIO_PXA
662306a36Sopenharmony_ci	select GPIOLIB
762306a36Sopenharmony_ci	select PINCTRL
862306a36Sopenharmony_ci	select PLAT_PXA
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Support for Marvell's PXA168/PXA910(MMP), MMP2, and MMP3 processor lines.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciif ARCH_MMP
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cimenu "Marvell PXA168/910/MMP2 Implementations"
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig MACH_MMP_DT
1762306a36Sopenharmony_ci	bool "Support MMP (ARMv5) platforms from device tree"
1862306a36Sopenharmony_ci	depends on ARCH_MULTI_V5
1962306a36Sopenharmony_ci	select PINCTRL
2062306a36Sopenharmony_ci	select PINCTRL_SINGLE
2162306a36Sopenharmony_ci	select ARCH_HAS_RESET_CONTROLLER
2262306a36Sopenharmony_ci	select CPU_MOHAWK
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Include support for Marvell MMP2 based platforms using
2562306a36Sopenharmony_ci	  the device tree. Needn't select any other machine while
2662306a36Sopenharmony_ci	  MACH_MMP_DT is enabled.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig MACH_MMP2_DT
2962306a36Sopenharmony_ci	bool "Support MMP2 (ARMv7) platforms from device tree"
3062306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
3162306a36Sopenharmony_ci	select PINCTRL
3262306a36Sopenharmony_ci	select PINCTRL_SINGLE
3362306a36Sopenharmony_ci	select ARCH_HAS_RESET_CONTROLLER
3462306a36Sopenharmony_ci	select CPU_PJ4
3562306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
3662306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS_OF if PM && OF
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  Include support for Marvell MMP2 based platforms using
3962306a36Sopenharmony_ci	  the device tree.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig MACH_MMP3_DT
4262306a36Sopenharmony_ci	bool "Support MMP3 (ARMv7) platforms"
4362306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
4462306a36Sopenharmony_ci	select ARM_GIC
4562306a36Sopenharmony_ci	select HAVE_ARM_SCU if SMP
4662306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
4762306a36Sopenharmony_ci	select CACHE_L2X0
4862306a36Sopenharmony_ci	select PINCTRL
4962306a36Sopenharmony_ci	select PINCTRL_SINGLE
5062306a36Sopenharmony_ci	select ARCH_HAS_RESET_CONTROLLER
5162306a36Sopenharmony_ci	select CPU_PJ4B
5262306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
5362306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS_OF if PM && OF
5462306a36Sopenharmony_ci	help
5562306a36Sopenharmony_ci	  Say 'Y' here if you want to include support for platforms
5662306a36Sopenharmony_ci	  with Marvell MMP3 processor, also known as PXA2128 or
5762306a36Sopenharmony_ci	  Armada 620.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciendmenu
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciconfig CPU_PXA168
6262306a36Sopenharmony_ci	bool
6362306a36Sopenharmony_ci	select CPU_MOHAWK
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Select code specific to PXA168
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciconfig CPU_PXA910
6862306a36Sopenharmony_ci	bool
6962306a36Sopenharmony_ci	select CPU_MOHAWK
7062306a36Sopenharmony_ci	help
7162306a36Sopenharmony_ci	  Select code specific to PXA910
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ciconfig CPU_MMP2
7462306a36Sopenharmony_ci	bool
7562306a36Sopenharmony_ci	select CPU_PJ4
7662306a36Sopenharmony_ci	help
7762306a36Sopenharmony_ci	  Select code specific to MMP2. MMP2 is ARMv7 compatible.
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ciendif
80