xref: /linux/arch/arm/mach-mvebu/Kconfig (revision 5d6f52671e76ca2d55d74e676ac4c38ceb14a2d3)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
221278aeaSRob Herringmenuconfig ARCH_MVEBU
3e3246542SMasahiro Yamada	bool "Marvell Engineering Business Unit (MVEBU) SoCs"
4*5d6f5267SArnd Bergmann	depends on ARCH_MULTI_V7 || (ARCH_MULTI_V5 && CPU_LITTLE_ENDIAN)
5387798b3SRob Herring	select CLKSRC_MMIO
646f2007cSRob Herring	select PINCTRL
746f2007cSRob Herring	select PLAT_ORION
856a705a4SAndrew Lunn	select SOC_BUS
987e1bed4SThomas Petazzoni	select MVEBU_MBUS
1099ff0561SGregory CLEMENT	select ZONE_DMA if ARM_LPAE
115c34a4e8SLinus Walleij	select GPIOLIB
12bda7aabdSThomas Petazzoni	select PCI_QUIRKS if PCI
13387798b3SRob Herring
1431af49dbSGregory CLEMENTif ARCH_MVEBU
1531af49dbSGregory CLEMENT
16ce800342SArnd Bergmannconfig MACH_MVEBU_ANY
17ce800342SArnd Bergmann	bool
18ce800342SArnd Bergmann
1999b3d294SThomas Petazzoniconfig MACH_MVEBU_V7
2085077087SThomas Petazzoni	bool
219ae6f740SThomas Petazzoni	select ARMADA_370_XP_TIMER
22d792b1e9SGregory CLEMENT	select CACHE_L2X0
2352fcc567SThomas Petazzoni	select ARM_CPU_SUSPEND
24ce800342SArnd Bergmann	select MACH_MVEBU_ANY
2533c45ef8SGregory CLEMENT	select MVEBU_CLK_COREDIV
269ae6f740SThomas Petazzoni
2785077087SThomas Petazzoniconfig MACH_ARMADA_370
28e3246542SMasahiro Yamada	bool "Marvell Armada 370 boards"
29e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
309cbbc515SSebastian Hesselbarth	select ARMADA_370_CLK
31cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
32798ec443SThomas Petazzoni	select CPU_PJ4B
3399b3d294SThomas Petazzoni	select MACH_MVEBU_V7
345beb5f88SThomas Petazzoni	select PINCTRL_ARMADA_370
3585077087SThomas Petazzoni	help
3685077087SThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
3785077087SThomas Petazzoni	  on the Marvell Armada 370 SoC with device tree.
3885077087SThomas Petazzoni
39d3ce7f25SGregory CLEMENTconfig MACH_ARMADA_375
40e3246542SMasahiro Yamada	bool "Marvell Armada 375 boards"
41e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
42cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
43d3ce7f25SGregory CLEMENT	select ARM_ERRATA_720789
448aa36a8dSUlf Magnusson	select PL310_ERRATA_753970
45d3ce7f25SGregory CLEMENT	select ARM_GIC
46d3ce7f25SGregory CLEMENT	select ARMADA_375_CLK
478e6ac203SThomas Petazzoni	select HAVE_ARM_SCU
48e9d3c849SEzequiel Garcia	select HAVE_ARM_TWD if SMP
49d3ce7f25SGregory CLEMENT	select MACH_MVEBU_V7
50d3ce7f25SGregory CLEMENT	select PINCTRL_ARMADA_375
51d3ce7f25SGregory CLEMENT	help
52d3ce7f25SGregory CLEMENT	  Say 'Y' here if you want your kernel to support boards based
53d3ce7f25SGregory CLEMENT	  on the Marvell Armada 375 SoC with device tree.
54d3ce7f25SGregory CLEMENT
559aa30f1cSThomas Petazzoniconfig MACH_ARMADA_38X
56e3246542SMasahiro Yamada	bool "Marvell Armada 380/385 boards"
57e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
589aa30f1cSThomas Petazzoni	select ARM_ERRATA_720789
598aa36a8dSUlf Magnusson	select PL310_ERRATA_753970
609aa30f1cSThomas Petazzoni	select ARM_GIC
61ca0a05a9SMarcin Wojtas	select ARM_GLOBAL_TIMER
62ca0a05a9SMarcin Wojtas	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
63cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
649aa30f1cSThomas Petazzoni	select ARMADA_38X_CLK
658e6ac203SThomas Petazzoni	select HAVE_ARM_SCU
66e9d3c849SEzequiel Garcia	select HAVE_ARM_TWD if SMP
679aa30f1cSThomas Petazzoni	select MACH_MVEBU_V7
689aa30f1cSThomas Petazzoni	select PINCTRL_ARMADA_38X
699aa30f1cSThomas Petazzoni	help
709aa30f1cSThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
719aa30f1cSThomas Petazzoni	  on the Marvell Armada 380/385 SoC with device tree.
729aa30f1cSThomas Petazzoni
73242ede0bSThomas Petazzoniconfig MACH_ARMADA_39X
74e3246542SMasahiro Yamada	bool "Marvell Armada 39x boards"
75e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
76242ede0bSThomas Petazzoni	select ARM_GIC
77cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
78242ede0bSThomas Petazzoni	select ARMADA_39X_CLK
79242ede0bSThomas Petazzoni	select CACHE_L2X0
80242ede0bSThomas Petazzoni	select HAVE_ARM_SCU
81242ede0bSThomas Petazzoni	select HAVE_ARM_TWD if SMP
82242ede0bSThomas Petazzoni	select MACH_MVEBU_V7
83242ede0bSThomas Petazzoni	select PINCTRL_ARMADA_39X
84242ede0bSThomas Petazzoni	help
85242ede0bSThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
86242ede0bSThomas Petazzoni	  on the Marvell Armada 39x SoC with device tree.
87242ede0bSThomas Petazzoni
8885077087SThomas Petazzoniconfig MACH_ARMADA_XP
89e3246542SMasahiro Yamada	bool "Marvell Armada XP boards"
90e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
91cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
929cbbc515SSebastian Hesselbarth	select ARMADA_XP_CLK
93798ec443SThomas Petazzoni	select CPU_PJ4B
9499b3d294SThomas Petazzoni	select MACH_MVEBU_V7
955beb5f88SThomas Petazzoni	select PINCTRL_ARMADA_XP
9685077087SThomas Petazzoni	help
9785077087SThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
9885077087SThomas Petazzoni	  on the Marvell Armada XP SoC with device tree.
999ae6f740SThomas Petazzoni
10000e8ec2fSSebastian Hesselbarthconfig MACH_DOVE
101e3246542SMasahiro Yamada	bool "Marvell Dove boards"
102e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
10300e8ec2fSSebastian Hesselbarth	select CACHE_L2X0
10400e8ec2fSSebastian Hesselbarth	select CPU_PJ4
10500e8ec2fSSebastian Hesselbarth	select DOVE_CLK
106ce800342SArnd Bergmann	select MACH_MVEBU_ANY
10700e8ec2fSSebastian Hesselbarth	select ORION_IRQCHIP
10800e8ec2fSSebastian Hesselbarth	select ORION_TIMER
10944e259acSRussell King	select PM_GENERIC_DOMAINS if PM
11000e8ec2fSSebastian Hesselbarth	select PINCTRL_DOVE
11100e8ec2fSSebastian Hesselbarth	help
11200e8ec2fSSebastian Hesselbarth	  Say 'Y' here if you want your kernel to support the
11300e8ec2fSSebastian Hesselbarth	  Marvell Dove using flattened device tree.
11400e8ec2fSSebastian Hesselbarth
115ba5a37e5SAndrew Lunnconfig MACH_KIRKWOOD
116e3246542SMasahiro Yamada	bool "Marvell Kirkwood boards"
117e3246542SMasahiro Yamada	depends on ARCH_MULTI_V5
118ba5a37e5SAndrew Lunn	select CPU_FEROCEON
1195c34a4e8SLinus Walleij	select GPIOLIB
120ba5a37e5SAndrew Lunn	select KIRKWOOD_CLK
121ce800342SArnd Bergmann	select MACH_MVEBU_ANY
122ba5a37e5SAndrew Lunn	select ORION_IRQCHIP
123ba5a37e5SAndrew Lunn	select ORION_TIMER
124eb01d42aSChristoph Hellwig	select FORCE_PCI
125ba5a37e5SAndrew Lunn	select PCI_QUIRKS
126ba5a37e5SAndrew Lunn	select PINCTRL_KIRKWOOD
127ba5a37e5SAndrew Lunn	help
128ba5a37e5SAndrew Lunn	  Say 'Y' here if you want your kernel to support boards based
129ba5a37e5SAndrew Lunn	  on the Marvell Kirkwood device tree.
130ba5a37e5SAndrew Lunn
13131af49dbSGregory CLEMENTendif
132