18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig ARCH_MVEBU
38c2ecf20Sopenharmony_ci	bool "Marvell Engineering Business Unit (MVEBU) SoCs"
48c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
58c2ecf20Sopenharmony_ci	select ARCH_SUPPORTS_BIG_ENDIAN
68c2ecf20Sopenharmony_ci	select CLKSRC_MMIO
78c2ecf20Sopenharmony_ci	select PINCTRL
88c2ecf20Sopenharmony_ci	select PLAT_ORION
98c2ecf20Sopenharmony_ci	select SOC_BUS
108c2ecf20Sopenharmony_ci	select MVEBU_MBUS
118c2ecf20Sopenharmony_ci	select ZONE_DMA if ARM_LPAE
128c2ecf20Sopenharmony_ci	select GPIOLIB
138c2ecf20Sopenharmony_ci	select PCI_QUIRKS if PCI
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciif ARCH_MVEBU
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig MACH_MVEBU_ANY
188c2ecf20Sopenharmony_ci	bool
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig MACH_MVEBU_V7
218c2ecf20Sopenharmony_ci	bool
228c2ecf20Sopenharmony_ci	select ARMADA_370_XP_TIMER
238c2ecf20Sopenharmony_ci	select CACHE_L2X0
248c2ecf20Sopenharmony_ci	select ARM_CPU_SUSPEND
258c2ecf20Sopenharmony_ci	select MACH_MVEBU_ANY
268c2ecf20Sopenharmony_ci	select MVEBU_CLK_COREDIV
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig MACH_ARMADA_370
298c2ecf20Sopenharmony_ci	bool "Marvell Armada 370 boards"
308c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
318c2ecf20Sopenharmony_ci	select ARMADA_370_CLK
328c2ecf20Sopenharmony_ci	select ARMADA_370_XP_IRQ
338c2ecf20Sopenharmony_ci	select CPU_PJ4B
348c2ecf20Sopenharmony_ci	select MACH_MVEBU_V7
358c2ecf20Sopenharmony_ci	select PINCTRL_ARMADA_370
368c2ecf20Sopenharmony_ci	help
378c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
388c2ecf20Sopenharmony_ci	  on the Marvell Armada 370 SoC with device tree.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig MACH_ARMADA_375
418c2ecf20Sopenharmony_ci	bool "Marvell Armada 375 boards"
428c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
438c2ecf20Sopenharmony_ci	select ARMADA_370_XP_IRQ
448c2ecf20Sopenharmony_ci	select ARM_ERRATA_720789
458c2ecf20Sopenharmony_ci	select PL310_ERRATA_753970
468c2ecf20Sopenharmony_ci	select ARM_GIC
478c2ecf20Sopenharmony_ci	select ARMADA_375_CLK
488c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU
498c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
508c2ecf20Sopenharmony_ci	select MACH_MVEBU_V7
518c2ecf20Sopenharmony_ci	select PINCTRL_ARMADA_375
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
548c2ecf20Sopenharmony_ci	  on the Marvell Armada 375 SoC with device tree.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig MACH_ARMADA_38X
578c2ecf20Sopenharmony_ci	bool "Marvell Armada 380/385 boards"
588c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
598c2ecf20Sopenharmony_ci	select ARM_ERRATA_720789
608c2ecf20Sopenharmony_ci	select PL310_ERRATA_753970
618c2ecf20Sopenharmony_ci	select ARM_GIC
628c2ecf20Sopenharmony_ci	select ARM_GLOBAL_TIMER
638c2ecf20Sopenharmony_ci	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
648c2ecf20Sopenharmony_ci	select ARMADA_370_XP_IRQ
658c2ecf20Sopenharmony_ci	select ARMADA_38X_CLK
668c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU
678c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
688c2ecf20Sopenharmony_ci	select MACH_MVEBU_V7
698c2ecf20Sopenharmony_ci	select PINCTRL_ARMADA_38X
708c2ecf20Sopenharmony_ci	help
718c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
728c2ecf20Sopenharmony_ci	  on the Marvell Armada 380/385 SoC with device tree.
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ciconfig MACH_ARMADA_39X
758c2ecf20Sopenharmony_ci	bool "Marvell Armada 39x boards"
768c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
778c2ecf20Sopenharmony_ci	select ARM_GIC
788c2ecf20Sopenharmony_ci	select ARMADA_370_XP_IRQ
798c2ecf20Sopenharmony_ci	select ARMADA_39X_CLK
808c2ecf20Sopenharmony_ci	select CACHE_L2X0
818c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU
828c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
838c2ecf20Sopenharmony_ci	select MACH_MVEBU_V7
848c2ecf20Sopenharmony_ci	select PINCTRL_ARMADA_39X
858c2ecf20Sopenharmony_ci	help
868c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
878c2ecf20Sopenharmony_ci	  on the Marvell Armada 39x SoC with device tree.
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ciconfig MACH_ARMADA_XP
908c2ecf20Sopenharmony_ci	bool "Marvell Armada XP boards"
918c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
928c2ecf20Sopenharmony_ci	select ARMADA_370_XP_IRQ
938c2ecf20Sopenharmony_ci	select ARMADA_XP_CLK
948c2ecf20Sopenharmony_ci	select CPU_PJ4B
958c2ecf20Sopenharmony_ci	select MACH_MVEBU_V7
968c2ecf20Sopenharmony_ci	select PINCTRL_ARMADA_XP
978c2ecf20Sopenharmony_ci	help
988c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
998c2ecf20Sopenharmony_ci	  on the Marvell Armada XP SoC with device tree.
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ciconfig MACH_DOVE
1028c2ecf20Sopenharmony_ci	bool "Marvell Dove boards"
1038c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
1048c2ecf20Sopenharmony_ci	select CACHE_L2X0
1058c2ecf20Sopenharmony_ci	select CPU_PJ4
1068c2ecf20Sopenharmony_ci	select DOVE_CLK
1078c2ecf20Sopenharmony_ci	select MACH_MVEBU_ANY
1088c2ecf20Sopenharmony_ci	select ORION_IRQCHIP
1098c2ecf20Sopenharmony_ci	select ORION_TIMER
1108c2ecf20Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
1118c2ecf20Sopenharmony_ci	select PINCTRL_DOVE
1128c2ecf20Sopenharmony_ci	help
1138c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support the
1148c2ecf20Sopenharmony_ci	  Marvell Dove using flattened device tree.
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ciconfig MACH_KIRKWOOD
1178c2ecf20Sopenharmony_ci	bool "Marvell Kirkwood boards"
1188c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V5
1198c2ecf20Sopenharmony_ci	select CPU_FEROCEON
1208c2ecf20Sopenharmony_ci	select GPIOLIB
1218c2ecf20Sopenharmony_ci	select KIRKWOOD_CLK
1228c2ecf20Sopenharmony_ci	select MACH_MVEBU_ANY
1238c2ecf20Sopenharmony_ci	select ORION_IRQCHIP
1248c2ecf20Sopenharmony_ci	select ORION_TIMER
1258c2ecf20Sopenharmony_ci	select FORCE_PCI
1268c2ecf20Sopenharmony_ci	select PCI_QUIRKS
1278c2ecf20Sopenharmony_ci	select PINCTRL_KIRKWOOD
1288c2ecf20Sopenharmony_ci	help
1298c2ecf20Sopenharmony_ci	  Say 'Y' here if you want your kernel to support boards based
1308c2ecf20Sopenharmony_ci	  on the Marvell Kirkwood device tree.
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ciendif
133