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