1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_BERLIN
3	bool "Marvell Berlin SoCs"
4	depends on ARCH_MULTI_V7
5	select ARCH_HAS_RESET_CONTROLLER
6	select ARM_GIC
7	select DW_APB_ICTL
8	select DW_APB_TIMER_OF
9	select GENERIC_IRQ_CHIP
10	select GPIOLIB
11	select MFD_SYSCON
12	select PINCTRL
13
14if ARCH_BERLIN
15
16config MACH_BERLIN_BG2
17	bool "Marvell Armada 1500 (BG2)"
18	select CACHE_L2X0
19	select CPU_PJ4B
20	select HAVE_ARM_SCU if SMP
21	select HAVE_ARM_TWD if SMP
22	select HAVE_SMP
23	select PINCTRL_BERLIN_BG2
24
25config MACH_BERLIN_BG2CD
26	bool "Marvell Armada 1500-mini (BG2CD)"
27	select ARM_ERRATA_754322
28	select ARM_ERRATA_775420
29	select ARM_GLOBAL_TIMER
30	select CACHE_L2X0
31	select HAVE_ARM_SCU
32	select HAVE_ARM_TWD
33	select PINCTRL_BERLIN_BG2CD
34
35config MACH_BERLIN_BG2Q
36	bool "Marvell Armada 1500 Pro (BG2-Q)"
37	select CACHE_L2X0
38	select HAVE_ARM_SCU if SMP
39	select HAVE_ARM_TWD if SMP
40	select PINCTRL_BERLIN_BG2Q
41
42endif
43