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