162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig ARCH_MVEBU
362306a36Sopenharmony_ci	bool "Marvell Engineering Business Unit (MVEBU) SoCs"
462306a36Sopenharmony_ci	depends on ARCH_MULTI_V7 || (ARCH_MULTI_V5 && CPU_LITTLE_ENDIAN)
562306a36Sopenharmony_ci	select CLKSRC_MMIO
662306a36Sopenharmony_ci	select PINCTRL
762306a36Sopenharmony_ci	select PLAT_ORION
862306a36Sopenharmony_ci	select SOC_BUS
962306a36Sopenharmony_ci	select MVEBU_MBUS
1062306a36Sopenharmony_ci	select ZONE_DMA if ARM_LPAE
1162306a36Sopenharmony_ci	select GPIOLIB
1262306a36Sopenharmony_ci	select PCI_QUIRKS if PCI
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciif ARCH_MVEBU
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig MACH_MVEBU_ANY
1762306a36Sopenharmony_ci	bool
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig MACH_MVEBU_V7
2062306a36Sopenharmony_ci	bool
2162306a36Sopenharmony_ci	select ARMADA_370_XP_TIMER
2262306a36Sopenharmony_ci	select CACHE_L2X0
2362306a36Sopenharmony_ci	select ARM_CPU_SUSPEND
2462306a36Sopenharmony_ci	select MACH_MVEBU_ANY
2562306a36Sopenharmony_ci	select MVEBU_CLK_COREDIV
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig MACH_ARMADA_370
2862306a36Sopenharmony_ci	bool "Marvell Armada 370 boards"
2962306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
3062306a36Sopenharmony_ci	select ARMADA_370_CLK
3162306a36Sopenharmony_ci	select ARMADA_370_XP_IRQ
3262306a36Sopenharmony_ci	select CPU_PJ4B
3362306a36Sopenharmony_ci	select MACH_MVEBU_V7
3462306a36Sopenharmony_ci	select PINCTRL_ARMADA_370
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
3762306a36Sopenharmony_ci	  on the Marvell Armada 370 SoC with device tree.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig MACH_ARMADA_375
4062306a36Sopenharmony_ci	bool "Marvell Armada 375 boards"
4162306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
4262306a36Sopenharmony_ci	select ARMADA_370_XP_IRQ
4362306a36Sopenharmony_ci	select ARM_ERRATA_720789
4462306a36Sopenharmony_ci	select PL310_ERRATA_753970
4562306a36Sopenharmony_ci	select ARM_GIC
4662306a36Sopenharmony_ci	select ARMADA_375_CLK
4762306a36Sopenharmony_ci	select HAVE_ARM_SCU
4862306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
4962306a36Sopenharmony_ci	select MACH_MVEBU_V7
5062306a36Sopenharmony_ci	select PINCTRL_ARMADA_375
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
5362306a36Sopenharmony_ci	  on the Marvell Armada 375 SoC with device tree.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciconfig MACH_ARMADA_38X
5662306a36Sopenharmony_ci	bool "Marvell Armada 380/385 boards"
5762306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
5862306a36Sopenharmony_ci	select ARM_ERRATA_720789
5962306a36Sopenharmony_ci	select PL310_ERRATA_753970
6062306a36Sopenharmony_ci	select ARM_GIC
6162306a36Sopenharmony_ci	select ARM_GLOBAL_TIMER
6262306a36Sopenharmony_ci	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
6362306a36Sopenharmony_ci	select ARMADA_370_XP_IRQ
6462306a36Sopenharmony_ci	select ARMADA_38X_CLK
6562306a36Sopenharmony_ci	select HAVE_ARM_SCU
6662306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
6762306a36Sopenharmony_ci	select MACH_MVEBU_V7
6862306a36Sopenharmony_ci	select PINCTRL_ARMADA_38X
6962306a36Sopenharmony_ci	help
7062306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
7162306a36Sopenharmony_ci	  on the Marvell Armada 380/385 SoC with device tree.
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ciconfig MACH_ARMADA_39X
7462306a36Sopenharmony_ci	bool "Marvell Armada 39x boards"
7562306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
7662306a36Sopenharmony_ci	select ARM_GIC
7762306a36Sopenharmony_ci	select ARMADA_370_XP_IRQ
7862306a36Sopenharmony_ci	select ARMADA_39X_CLK
7962306a36Sopenharmony_ci	select CACHE_L2X0
8062306a36Sopenharmony_ci	select HAVE_ARM_SCU
8162306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
8262306a36Sopenharmony_ci	select MACH_MVEBU_V7
8362306a36Sopenharmony_ci	select PINCTRL_ARMADA_39X
8462306a36Sopenharmony_ci	help
8562306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
8662306a36Sopenharmony_ci	  on the Marvell Armada 39x SoC with device tree.
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciconfig MACH_ARMADA_XP
8962306a36Sopenharmony_ci	bool "Marvell Armada XP boards"
9062306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
9162306a36Sopenharmony_ci	select ARMADA_370_XP_IRQ
9262306a36Sopenharmony_ci	select ARMADA_XP_CLK
9362306a36Sopenharmony_ci	select CPU_PJ4B
9462306a36Sopenharmony_ci	select MACH_MVEBU_V7
9562306a36Sopenharmony_ci	select PINCTRL_ARMADA_XP
9662306a36Sopenharmony_ci	help
9762306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
9862306a36Sopenharmony_ci	  on the Marvell Armada XP SoC with device tree.
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ciconfig MACH_DOVE
10162306a36Sopenharmony_ci	bool "Marvell Dove boards"
10262306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
10362306a36Sopenharmony_ci	select CACHE_L2X0
10462306a36Sopenharmony_ci	select CPU_PJ4
10562306a36Sopenharmony_ci	select DOVE_CLK
10662306a36Sopenharmony_ci	select MACH_MVEBU_ANY
10762306a36Sopenharmony_ci	select ORION_IRQCHIP
10862306a36Sopenharmony_ci	select ORION_TIMER
10962306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
11062306a36Sopenharmony_ci	select PINCTRL_DOVE
11162306a36Sopenharmony_ci	help
11262306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support the
11362306a36Sopenharmony_ci	  Marvell Dove using flattened device tree.
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ciconfig MACH_KIRKWOOD
11662306a36Sopenharmony_ci	bool "Marvell Kirkwood boards"
11762306a36Sopenharmony_ci	depends on ARCH_MULTI_V5
11862306a36Sopenharmony_ci	select CPU_FEROCEON
11962306a36Sopenharmony_ci	select GPIOLIB
12062306a36Sopenharmony_ci	select KIRKWOOD_CLK
12162306a36Sopenharmony_ci	select MACH_MVEBU_ANY
12262306a36Sopenharmony_ci	select ORION_IRQCHIP
12362306a36Sopenharmony_ci	select ORION_TIMER
12462306a36Sopenharmony_ci	select FORCE_PCI
12562306a36Sopenharmony_ci	select PCI_QUIRKS
12662306a36Sopenharmony_ci	select PINCTRL_KIRKWOOD
12762306a36Sopenharmony_ci	help
12862306a36Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
12962306a36Sopenharmony_ci	  on the Marvell Kirkwood device tree.
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ciendif
132