blob: 742d53a5f7f94fc8ee58ed3fdd69a2e4c49f75b6 [file] [log] [blame]
Rob Herring21278ae2014-06-10 09:06:10 -05001menuconfig ARCH_BERLIN
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +02002 bool "Marvell Berlin SoCs" if ARCH_MULTI_V7
Antoine Ténarte9246c82014-09-03 09:48:22 +02003 select ARCH_HAS_RESET_CONTROLLER
Antoine Tenartd45fa872014-04-16 09:46:34 +02004 select ARCH_REQUIRE_GPIOLIB
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +02005 select ARM_GIC
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +02006 select DW_APB_ICTL
7 select DW_APB_TIMER_OF
Antoine Ténarte9246c82014-09-03 09:48:22 +02008 select GENERIC_IRQ_CHIP
Antoine Tenart9f69e8a2015-04-27 21:40:35 +02009 select MFD_SYSCON
Antoine Tenart03dac262014-05-18 20:06:32 +020010 select PINCTRL
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020011
12if ARCH_BERLIN
13
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020014config MACH_BERLIN_BG2
15 bool "Marvell Armada 1500 (BG2)"
16 select CACHE_L2X0
17 select CPU_PJ4B
Antoine Ténart7b7dfdd2014-06-04 18:03:42 +020018 select HAVE_ARM_SCU if SMP
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020019 select HAVE_ARM_TWD if SMP
Antoine Ténart7b7dfdd2014-06-04 18:03:42 +020020 select HAVE_SMP
Antoine Tenart03dac262014-05-18 20:06:32 +020021 select PINCTRL_BERLIN_BG2
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020022
23config MACH_BERLIN_BG2CD
24 bool "Marvell Armada 1500-mini (BG2CD)"
25 select CACHE_L2X0
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020026 select HAVE_ARM_TWD if SMP
Antoine Tenart03dac262014-05-18 20:06:32 +020027 select PINCTRL_BERLIN_BG2CD
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020028
Alexandre Bellonicb56c642014-03-21 20:39:16 +010029config MACH_BERLIN_BG2Q
30 bool "Marvell Armada 1500 Pro (BG2-Q)"
31 select CACHE_L2X0
Antoine Ténart7b7dfdd2014-06-04 18:03:42 +020032 select HAVE_ARM_SCU if SMP
Alexandre Bellonicb56c642014-03-21 20:39:16 +010033 select HAVE_ARM_TWD if SMP
Antoine Tenart03dac262014-05-18 20:06:32 +020034 select PINCTRL_BERLIN_BG2Q
Alexandre Bellonicb56c642014-03-21 20:39:16 +010035
Sebastian Hesselbarth1c37fa12013-09-09 14:36:19 +020036endif