1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_MMP
3	bool "Marvell PXA168/910/MMP2"
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) and MMP2 processor line.
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
132endmenu
133
134config CPU_PXA168
135	bool
136	select CPU_MOHAWK
137	help
138	  Select code specific to PXA168
139
140config CPU_PXA910
141	bool
142	select CPU_MOHAWK
143	help
144	  Select code specific to PXA910
145
146config CPU_MMP2
147	bool
148	select CPU_PJ4
149	help
150	  Select code specific to MMP2. MMP2 is ARMv7 compatible.
151
152config USB_EHCI_MV_U2O
153        bool "EHCI support for PXA USB OTG controller"
154	depends on USB_EHCI_MV
155	help
156	  Enables support for OTG controller which can be switched to host mode.
157
158config MMP_SRAM
159	bool
160
161endif
162