0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig ARCH_MMP
0003 bool "Marvell PXA168/910/MMP2/MMP3"
0004 depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7
0005 select GPIO_PXA
0006 select GPIOLIB
0007 select PINCTRL
0008 select PLAT_PXA
0009 help
0010 Support for Marvell's PXA168/PXA910(MMP), MMP2, and MMP3 processor lines.
0011
0012 if ARCH_MMP
0013
0014 menu "Marvell PXA168/910/MMP2 Implementations"
0015
0016 if ATAGS
0017
0018 config MACH_ASPENITE
0019 bool "Marvell's PXA168 Aspenite Development Board"
0020 depends on ARCH_MULTI_V5
0021 depends on UNUSED_BOARD_FILES
0022 select CPU_PXA168
0023 help
0024 Say 'Y' here if you want to support the Marvell PXA168-based
0025 Aspenite Development Board.
0026
0027 config MACH_ZYLONITE2
0028 bool "Marvell's PXA168 Zylonite2 Development Board"
0029 depends on ARCH_MULTI_V5
0030 depends on UNUSED_BOARD_FILES
0031 select CPU_PXA168
0032 help
0033 Say 'Y' here if you want to support the Marvell PXA168-based
0034 Zylonite2 Development Board.
0035
0036 config MACH_AVENGERS_LITE
0037 bool "Marvell's PXA168 Avengers Lite Development Board"
0038 depends on ARCH_MULTI_V5
0039 depends on UNUSED_BOARD_FILES
0040 select CPU_PXA168
0041 help
0042 Say 'Y' here if you want to support the Marvell PXA168-based
0043 Avengers Lite Development Board.
0044
0045 config MACH_TTC_DKB
0046 bool "Marvell's PXA910 TavorEVB/TTC_DKB Development Board"
0047 depends on ARCH_MULTI_V5
0048 depends on UNUSED_BOARD_FILES
0049 select CPU_PXA910
0050 help
0051 Say 'Y' here if you want to support the Marvell PXA910-based
0052 TTC_DKB Development Board.
0053
0054 config MACH_BROWNSTONE
0055 bool "Marvell's Brownstone Development Platform"
0056 depends on ARCH_MULTI_V7
0057 depends on UNUSED_BOARD_FILES
0058 select CPU_MMP2
0059 help
0060 Say 'Y' here if you want to support the Marvell MMP2-based
0061 Brown Development Platform.
0062 MMP2-based board can't be co-existed with PXA168-based &
0063 PXA910-based development board. Since MMP2 is compatible to
0064 ARMv7 architecture.
0065
0066 config MACH_FLINT
0067 bool "Marvell's Flint Development Platform"
0068 depends on ARCH_MULTI_V7
0069 depends on UNUSED_BOARD_FILES
0070 select CPU_MMP2
0071 help
0072 Say 'Y' here if you want to support the Marvell MMP2-based
0073 Flint Development Platform.
0074 MMP2-based board can't be co-existed with PXA168-based &
0075 PXA910-based development board. Since MMP2 is compatible to
0076 ARMv7 architecture.
0077
0078 config MACH_MARVELL_JASPER
0079 bool "Marvell's Jasper Development Platform"
0080 depends on ARCH_MULTI_V7
0081 depends on UNUSED_BOARD_FILES
0082 select CPU_MMP2
0083 help
0084 Say 'Y' here if you want to support the Marvell MMP2-base
0085 Jasper Development Platform.
0086 MMP2-based board can't be co-existed with PXA168-based &
0087 PXA910-based development board. Since MMP2 is compatible to
0088 ARMv7 architecture.
0089
0090 config MACH_TETON_BGA
0091 bool "Marvell's PXA168 Teton BGA Development Board"
0092 depends on ARCH_MULTI_V5
0093 depends on UNUSED_BOARD_FILES
0094 select CPU_PXA168
0095 help
0096 Say 'Y' here if you want to support the Marvell PXA168-based
0097 Teton BGA Development Board.
0098
0099 config MACH_GPLUGD
0100 bool "Marvell's PXA168 GuruPlug Display (gplugD) Board"
0101 depends on ARCH_MULTI_V5
0102 depends on UNUSED_BOARD_FILES
0103 select CPU_PXA168
0104 help
0105 Say 'Y' here if you want to support the Marvell PXA168-based
0106 GuruPlug Display (gplugD) Board
0107 endif
0108
0109 config MACH_MMP_DT
0110 bool "Support MMP (ARMv5) platforms from device tree"
0111 depends on ARCH_MULTI_V5
0112 select PINCTRL
0113 select PINCTRL_SINGLE
0114 select ARCH_HAS_RESET_CONTROLLER
0115 select CPU_MOHAWK
0116 help
0117 Include support for Marvell MMP2 based platforms using
0118 the device tree. Needn't select any other machine while
0119 MACH_MMP_DT is enabled.
0120
0121 config MACH_MMP2_DT
0122 bool "Support MMP2 (ARMv7) platforms from device tree"
0123 depends on ARCH_MULTI_V7
0124 select PINCTRL
0125 select PINCTRL_SINGLE
0126 select ARCH_HAS_RESET_CONTROLLER
0127 select CPU_PJ4
0128 select PM_GENERIC_DOMAINS if PM
0129 select PM_GENERIC_DOMAINS_OF if PM && OF
0130 help
0131 Include support for Marvell MMP2 based platforms using
0132 the device tree.
0133
0134 config MACH_MMP3_DT
0135 bool "Support MMP3 (ARMv7) platforms"
0136 depends on ARCH_MULTI_V7
0137 select ARM_GIC
0138 select HAVE_ARM_SCU if SMP
0139 select HAVE_ARM_TWD if SMP
0140 select CACHE_L2X0
0141 select PINCTRL
0142 select PINCTRL_SINGLE
0143 select ARCH_HAS_RESET_CONTROLLER
0144 select CPU_PJ4B
0145 select PM_GENERIC_DOMAINS if PM
0146 select PM_GENERIC_DOMAINS_OF if PM && OF
0147 help
0148 Say 'Y' here if you want to include support for platforms
0149 with Marvell MMP3 processor, also known as PXA2128 or
0150 Armada 620.
0151
0152 endmenu
0153
0154 config CPU_PXA168
0155 bool
0156 select CPU_MOHAWK
0157 help
0158 Select code specific to PXA168
0159
0160 config CPU_PXA910
0161 bool
0162 select CPU_MOHAWK
0163 help
0164 Select code specific to PXA910
0165
0166 config CPU_MMP2
0167 bool
0168 select CPU_PJ4
0169 help
0170 Select code specific to MMP2. MMP2 is ARMv7 compatible.
0171
0172 config USB_EHCI_MV_U2O
0173 bool "EHCI support for PXA USB OTG controller"
0174 depends on USB_EHCI_MV
0175 help
0176 Enables support for OTG controller which can be switched to host mode.
0177
0178 config MMP_SRAM
0179 bool
0180
0181 endif