xref: /linux/arch/arm/mach-mmp/Kconfig (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2377524dcSArnd Bergmannmenuconfig ARCH_MMP
3a9372a5fSLubomir Rintel	bool "Marvell PXA168/910/MMP2/MMP3"
4*5d6f5267SArnd Bergmann	depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7
5377524dcSArnd Bergmann	select GPIO_PXA
65c34a4e8SLinus Walleij	select GPIOLIB
7377524dcSArnd Bergmann	select PINCTRL
8377524dcSArnd Bergmann	select PLAT_PXA
9377524dcSArnd Bergmann	help
10a9372a5fSLubomir Rintel	  Support for Marvell's PXA168/PXA910(MMP), MMP2, and MMP3 processor lines.
11377524dcSArnd Bergmann
1249cbe786SEric Miaoif ARCH_MMP
1349cbe786SEric Miao
14377524dcSArnd Bergmannmenu "Marvell PXA168/910/MMP2 Implementations"
15377524dcSArnd Bergmann
163f4dd322SHaojian Zhuangconfig MACH_MMP_DT
173f4dd322SHaojian Zhuang	bool "Support MMP (ARMv5) platforms from device tree"
18377524dcSArnd Bergmann	depends on ARCH_MULTI_V5
19b57870e2SHaojian Zhuang	select PINCTRL
20b57870e2SHaojian Zhuang	select PINCTRL_SINGLE
21d41ef540SChao Xie	select ARCH_HAS_RESET_CONTROLLER
22d41ef540SChao Xie	select CPU_MOHAWK
233f4dd322SHaojian Zhuang	help
243f4dd322SHaojian Zhuang	  Include support for Marvell MMP2 based platforms using
253f4dd322SHaojian Zhuang	  the device tree. Needn't select any other machine while
263f4dd322SHaojian Zhuang	  MACH_MMP_DT is enabled.
273f4dd322SHaojian Zhuang
283f4dd322SHaojian Zhuangconfig MACH_MMP2_DT
293f4dd322SHaojian Zhuang	bool "Support MMP2 (ARMv7) platforms from device tree"
30377524dcSArnd Bergmann	depends on ARCH_MULTI_V7
31b57870e2SHaojian Zhuang	select PINCTRL
32b57870e2SHaojian Zhuang	select PINCTRL_SINGLE
33d41ef540SChao Xie	select ARCH_HAS_RESET_CONTROLLER
34d41ef540SChao Xie	select CPU_PJ4
35ee4df236SLubomir Rintel	select PM_GENERIC_DOMAINS if PM
36ee4df236SLubomir Rintel	select PM_GENERIC_DOMAINS_OF if PM && OF
373f4dd322SHaojian Zhuang	help
383f4dd322SHaojian Zhuang	  Include support for Marvell MMP2 based platforms using
393f4dd322SHaojian Zhuang	  the device tree.
403f4dd322SHaojian Zhuang
41a9372a5fSLubomir Rintelconfig MACH_MMP3_DT
42a9372a5fSLubomir Rintel	bool "Support MMP3 (ARMv7) platforms"
43a9372a5fSLubomir Rintel	depends on ARCH_MULTI_V7
44a9372a5fSLubomir Rintel	select ARM_GIC
45a9372a5fSLubomir Rintel	select HAVE_ARM_SCU if SMP
46a9372a5fSLubomir Rintel	select HAVE_ARM_TWD if SMP
47a9372a5fSLubomir Rintel	select CACHE_L2X0
48a9372a5fSLubomir Rintel	select PINCTRL
49a9372a5fSLubomir Rintel	select PINCTRL_SINGLE
50a9372a5fSLubomir Rintel	select ARCH_HAS_RESET_CONTROLLER
51a9372a5fSLubomir Rintel	select CPU_PJ4B
52a9372a5fSLubomir Rintel	select PM_GENERIC_DOMAINS if PM
53a9372a5fSLubomir Rintel	select PM_GENERIC_DOMAINS_OF if PM && OF
54a9372a5fSLubomir Rintel	help
55a9372a5fSLubomir Rintel	  Say 'Y' here if you want to include support for platforms
56a9372a5fSLubomir Rintel	  with Marvell MMP3 processor, also known as PXA2128 or
57a9372a5fSLubomir Rintel	  Armada 620.
58a9372a5fSLubomir Rintel
5949cbe786SEric Miaoendmenu
6049cbe786SEric Miao
6149cbe786SEric Miaoconfig CPU_PXA168
6249cbe786SEric Miao	bool
63b1b3f49cSRussell King	select CPU_MOHAWK
6449cbe786SEric Miao	help
6549cbe786SEric Miao	  Select code specific to PXA168
6649cbe786SEric Miao
6714c6b5e7SEric Miaoconfig CPU_PXA910
6814c6b5e7SEric Miao	bool
69b1b3f49cSRussell King	select CPU_MOHAWK
7014c6b5e7SEric Miao	help
7114c6b5e7SEric Miao	  Select code specific to PXA910
7214c6b5e7SEric Miao
732f7e8faeSHaojian Zhuangconfig CPU_MMP2
742f7e8faeSHaojian Zhuang	bool
75b1b3f49cSRussell King	select CPU_PJ4
762f7e8faeSHaojian Zhuang	help
773f408fa0SHaojian Zhuang	  Select code specific to MMP2. MMP2 is ARMv7 compatible.
7875b1bdf5SNeil Zhang
7949cbe786SEric Miaoendif
80