162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig ARCH_BERLIN
362306a36Sopenharmony_ci	bool "Marvell Berlin SoCs"
462306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
562306a36Sopenharmony_ci	select ARCH_HAS_RESET_CONTROLLER
662306a36Sopenharmony_ci	select ARM_GIC
762306a36Sopenharmony_ci	select DW_APB_ICTL
862306a36Sopenharmony_ci	select DW_APB_TIMER_OF
962306a36Sopenharmony_ci	select GENERIC_IRQ_CHIP
1062306a36Sopenharmony_ci	select GPIOLIB
1162306a36Sopenharmony_ci	select MFD_SYSCON
1262306a36Sopenharmony_ci	select PINCTRL
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciif ARCH_BERLIN
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig MACH_BERLIN_BG2
1762306a36Sopenharmony_ci	bool "Marvell Armada 1500 (BG2)"
1862306a36Sopenharmony_ci	select CACHE_L2X0
1962306a36Sopenharmony_ci	select CPU_PJ4B
2062306a36Sopenharmony_ci	select HAVE_ARM_SCU if SMP
2162306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
2262306a36Sopenharmony_ci	select PINCTRL_BERLIN_BG2
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig MACH_BERLIN_BG2CD
2562306a36Sopenharmony_ci	bool "Marvell Armada 1500-mini (BG2CD)"
2662306a36Sopenharmony_ci	select ARM_ERRATA_754322
2762306a36Sopenharmony_ci	select ARM_ERRATA_775420
2862306a36Sopenharmony_ci	select ARM_GLOBAL_TIMER
2962306a36Sopenharmony_ci	select CACHE_L2X0
3062306a36Sopenharmony_ci	select HAVE_ARM_SCU
3162306a36Sopenharmony_ci	select HAVE_ARM_TWD
3262306a36Sopenharmony_ci	select PINCTRL_BERLIN_BG2CD
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig MACH_BERLIN_BG2Q
3562306a36Sopenharmony_ci	bool "Marvell Armada 1500 Pro (BG2-Q)"
3662306a36Sopenharmony_ci	select CACHE_L2X0
3762306a36Sopenharmony_ci	select HAVE_ARM_SCU if SMP
3862306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
3962306a36Sopenharmony_ci	select PINCTRL_BERLIN_BG2Q
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciendif
42