18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig ARCH_BERLIN
38c2ecf20Sopenharmony_ci	bool "Marvell Berlin SoCs"
48c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
58c2ecf20Sopenharmony_ci	select ARCH_HAS_RESET_CONTROLLER
68c2ecf20Sopenharmony_ci	select ARM_GIC
78c2ecf20Sopenharmony_ci	select DW_APB_ICTL
88c2ecf20Sopenharmony_ci	select DW_APB_TIMER_OF
98c2ecf20Sopenharmony_ci	select GENERIC_IRQ_CHIP
108c2ecf20Sopenharmony_ci	select GPIOLIB
118c2ecf20Sopenharmony_ci	select MFD_SYSCON
128c2ecf20Sopenharmony_ci	select PINCTRL
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciif ARCH_BERLIN
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig MACH_BERLIN_BG2
178c2ecf20Sopenharmony_ci	bool "Marvell Armada 1500 (BG2)"
188c2ecf20Sopenharmony_ci	select CACHE_L2X0
198c2ecf20Sopenharmony_ci	select CPU_PJ4B
208c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU if SMP
218c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
228c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN_BG2
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig MACH_BERLIN_BG2CD
258c2ecf20Sopenharmony_ci	bool "Marvell Armada 1500-mini (BG2CD)"
268c2ecf20Sopenharmony_ci	select ARM_ERRATA_754322
278c2ecf20Sopenharmony_ci	select ARM_ERRATA_775420
288c2ecf20Sopenharmony_ci	select ARM_GLOBAL_TIMER
298c2ecf20Sopenharmony_ci	select CACHE_L2X0
308c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU
318c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD
328c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN_BG2CD
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig MACH_BERLIN_BG2Q
358c2ecf20Sopenharmony_ci	bool "Marvell Armada 1500 Pro (BG2-Q)"
368c2ecf20Sopenharmony_ci	select CACHE_L2X0
378c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU if SMP
388c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
398c2ecf20Sopenharmony_ci	select PINCTRL_BERLIN_BG2Q
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciendif
42