xref: /openbmc/linux/arch/arm/mach-mmp/Kconfig (revision 11c416e3)
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 ARCH_HAS_RESET_CONTROLLER
114	select CPU_MOHAWK
115	help
116	  Include support for Marvell MMP2 based platforms using
117	  the device tree. Needn't select any other machine while
118	  MACH_MMP_DT is enabled.
119
120config MACH_MMP2_DT
121	bool "Support MMP2 (ARMv7) platforms from device tree"
122	depends on ARCH_MULTI_V7
123	select PINCTRL
124	select PINCTRL_SINGLE
125	select ARCH_HAS_RESET_CONTROLLER
126	select CPU_PJ4
127	select PM_GENERIC_DOMAINS if PM
128	select PM_GENERIC_DOMAINS_OF if PM && OF
129	help
130	  Include support for Marvell MMP2 based platforms using
131	  the device tree.
132
133config MACH_MMP3_DT
134	bool "Support MMP3 (ARMv7) platforms"
135	depends on ARCH_MULTI_V7
136	select ARM_GIC
137	select HAVE_ARM_SCU if SMP
138	select HAVE_ARM_TWD if SMP
139	select CACHE_L2X0
140	select PINCTRL
141	select PINCTRL_SINGLE
142	select ARCH_HAS_RESET_CONTROLLER
143	select CPU_PJ4B
144	select PM_GENERIC_DOMAINS if PM
145	select PM_GENERIC_DOMAINS_OF if PM && OF
146	help
147	  Say 'Y' here if you want to include support for platforms
148	  with Marvell MMP3 processor, also known as PXA2128 or
149	  Armada 620.
150
151endmenu
152
153config CPU_PXA168
154	bool
155	select CPU_MOHAWK
156	help
157	  Select code specific to PXA168
158
159config CPU_PXA910
160	bool
161	select CPU_MOHAWK
162	help
163	  Select code specific to PXA910
164
165config CPU_MMP2
166	bool
167	select CPU_PJ4
168	help
169	  Select code specific to MMP2. MMP2 is ARMv7 compatible.
170
171config USB_EHCI_MV_U2O
172        bool "EHCI support for PXA USB OTG controller"
173	depends on USB_EHCI_MV
174	help
175	  Enables support for OTG controller which can be switched to host mode.
176
177config MMP_SRAM
178	bool
179
180endif
181