xref: /linux/arch/arm/mach-mmp/Kconfig (revision 9a6b55ac)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_MMP
3	bool "Marvell PXA168/910/MMP2/MMP3"
4	depends on 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
16if ATAGS
17
18config MACH_ASPENITE
19	bool "Marvell's PXA168 Aspenite Development Board"
20	depends on ARCH_MULTI_V5
21	select CPU_PXA168
22	help
23	  Say 'Y' here if you want to support the Marvell PXA168-based
24	  Aspenite Development Board.
25
26config MACH_ZYLONITE2
27	bool "Marvell's PXA168 Zylonite2 Development Board"
28	depends on ARCH_MULTI_V5
29	select CPU_PXA168
30	help
31	  Say 'Y' here if you want to support the Marvell PXA168-based
32	  Zylonite2 Development Board.
33
34config MACH_AVENGERS_LITE
35	bool "Marvell's PXA168 Avengers Lite Development Board"
36	depends on ARCH_MULTI_V5
37	select CPU_PXA168
38	help
39	  Say 'Y' here if you want to support the Marvell PXA168-based
40	  Avengers Lite Development Board.
41
42config MACH_TAVOREVB
43	bool "Marvell's PXA910 TavorEVB Development Board"
44	depends on ARCH_MULTI_V5
45	select CPU_PXA910
46	help
47	  Say 'Y' here if you want to support the Marvell PXA910-based
48	  TavorEVB Development Board.
49
50config MACH_TTC_DKB
51	bool "Marvell's PXA910 TavorEVB Development Board"
52	depends on ARCH_MULTI_V5
53	select CPU_PXA910
54	help
55	  Say 'Y' here if you want to support the Marvell PXA910-based
56	  TTC_DKB Development Board.
57
58config MACH_BROWNSTONE
59	bool "Marvell's Brownstone Development Platform"
60	depends on ARCH_MULTI_V7
61	select CPU_MMP2
62	help
63	  Say 'Y' here if you want to support the Marvell MMP2-based
64	  Brown Development Platform.
65	  MMP2-based board can't be co-existed with PXA168-based &
66	  PXA910-based development board. Since MMP2 is compatible to
67	  ARMv7 architecture.
68
69config MACH_FLINT
70	bool "Marvell's Flint Development Platform"
71	depends on ARCH_MULTI_V7
72	select CPU_MMP2
73	help
74	  Say 'Y' here if you want to support the Marvell MMP2-based
75	  Flint Development Platform.
76	  MMP2-based board can't be co-existed with PXA168-based &
77	  PXA910-based development board. Since MMP2 is compatible to
78	  ARMv7 architecture.
79
80config MACH_MARVELL_JASPER
81	bool "Marvell's Jasper Development Platform"
82	depends on ARCH_MULTI_V7
83	select CPU_MMP2
84	help
85	  Say 'Y' here if you want to support the Marvell MMP2-base
86	  Jasper Development Platform.
87	  MMP2-based board can't be co-existed with PXA168-based &
88	  PXA910-based development board. Since MMP2 is compatible to
89	  ARMv7 architecture.
90
91config MACH_TETON_BGA
92	bool "Marvell's PXA168 Teton BGA Development Board"
93	depends on ARCH_MULTI_V5
94	select CPU_PXA168
95	help
96	  Say 'Y' here if you want to support the Marvell PXA168-based
97	  Teton BGA Development Board.
98
99config MACH_GPLUGD
100	bool "Marvell's PXA168 GuruPlug Display (gplugD) Board"
101	depends on ARCH_MULTI_V5
102	select CPU_PXA168
103	help
104	  Say 'Y' here if you want to support the Marvell PXA168-based
105	  GuruPlug Display (gplugD) Board
106endif
107
108config MACH_MMP_DT
109	bool "Support MMP (ARMv5) platforms from device tree"
110	depends on ARCH_MULTI_V5
111	select PINCTRL
112	select PINCTRL_SINGLE
113	select COMMON_CLK
114	select ARCH_HAS_RESET_CONTROLLER
115	select CPU_MOHAWK
116	help
117	  Include support for Marvell MMP2 based platforms using
118	  the device tree. Needn't select any other machine while
119	  MACH_MMP_DT is enabled.
120
121config MACH_MMP2_DT
122	bool "Support MMP2 (ARMv7) platforms from device tree"
123	depends on ARCH_MULTI_V7
124	select PINCTRL
125	select PINCTRL_SINGLE
126	select ARCH_HAS_RESET_CONTROLLER
127	select CPU_PJ4
128	help
129	  Include support for Marvell MMP2 based platforms using
130	  the device tree.
131
132config MACH_MMP3_DT
133	bool "Support MMP3 (ARMv7) platforms"
134	depends on ARCH_MULTI_V7
135	select ARM_GIC
136	select HAVE_ARM_SCU if SMP
137	select HAVE_ARM_TWD if SMP
138	select CACHE_L2X0
139	select PINCTRL
140	select PINCTRL_SINGLE
141	select ARCH_HAS_RESET_CONTROLLER
142	select CPU_PJ4B
143	select PM_GENERIC_DOMAINS if PM
144	select PM_GENERIC_DOMAINS_OF if PM && OF
145	help
146	  Say 'Y' here if you want to include support for platforms
147	  with Marvell MMP3 processor, also known as PXA2128 or
148	  Armada 620.
149
150endmenu
151
152config CPU_PXA168
153	bool
154	select CPU_MOHAWK
155	help
156	  Select code specific to PXA168
157
158config CPU_PXA910
159	bool
160	select CPU_MOHAWK
161	help
162	  Select code specific to PXA910
163
164config CPU_MMP2
165	bool
166	select CPU_PJ4
167	help
168	  Select code specific to MMP2. MMP2 is ARMv7 compatible.
169
170config USB_EHCI_MV_U2O
171        bool "EHCI support for PXA USB OTG controller"
172	depends on USB_EHCI_MV
173	help
174	  Enables support for OTG controller which can be switched to host mode.
175
176config MMP_SRAM
177	bool
178
179endif
180