blob: 01861fa72c9714b76b22359709586532f0d69eb8 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Rob Herring21278ae2014-06-10 09:06:10 -05002menuconfig ARCH_BERLIN
Masahiro Yamadae3246542015-11-16 12:06:10 +09003 bool "Marvell Berlin SoCs"
4 depends on ARCH_MULTI_V7
Antoine Ténarte9246c82014-09-03 09:48:22 +02005 select ARCH_HAS_RESET_CONTROLLER
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +02006 select ARM_GIC
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +02007 select DW_APB_ICTL
8 select DW_APB_TIMER_OF
Antoine Ténarte9246c82014-09-03 09:48:22 +02009 select GENERIC_IRQ_CHIP
Linus Walleij5c34a4e2016-06-02 14:10:16 +020010 select GPIOLIB
Antoine Tenart9f69e8a2015-04-27 21:40:35 +020011 select MFD_SYSCON
Antoine Tenart03dac262014-05-18 20:06:32 +020012 select PINCTRL
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020013
14if ARCH_BERLIN
15
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020016config MACH_BERLIN_BG2
17 bool "Marvell Armada 1500 (BG2)"
18 select CACHE_L2X0
19 select CPU_PJ4B
Antoine Ténart7b7dfdd2014-06-04 18:03:42 +020020 select HAVE_ARM_SCU if SMP
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020021 select HAVE_ARM_TWD if SMP
Antoine Tenart03dac262014-05-18 20:06:32 +020022 select PINCTRL_BERLIN_BG2
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020023
24config MACH_BERLIN_BG2CD
25 bool "Marvell Armada 1500-mini (BG2CD)"
Alexander Monakov2e554392018-03-18 20:11:49 +030026 select ARM_ERRATA_754322
27 select ARM_ERRATA_775420
28 select ARM_GLOBAL_TIMER
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020029 select CACHE_L2X0
Alexander Monakov2e554392018-03-18 20:11:49 +030030 select HAVE_ARM_SCU
31 select HAVE_ARM_TWD
Antoine Tenart03dac262014-05-18 20:06:32 +020032 select PINCTRL_BERLIN_BG2CD
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020033
Alexandre Bellonicb56c642014-03-21 20:39:16 +010034config MACH_BERLIN_BG2Q
35 bool "Marvell Armada 1500 Pro (BG2-Q)"
36 select CACHE_L2X0
Antoine Ténart7b7dfdd2014-06-04 18:03:42 +020037 select HAVE_ARM_SCU if SMP
Alexandre Bellonicb56c642014-03-21 20:39:16 +010038 select HAVE_ARM_TWD if SMP
Antoine Tenart03dac262014-05-18 20:06:32 +020039 select PINCTRL_BERLIN_BG2Q
Alexandre Bellonicb56c642014-03-21 20:39:16 +010040
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020041endif