xref: /linux/arch/arm/mach-mvebu/Kconfig (revision 5c34a4e89c743339f78cafb2f2a826a010f0746a)
121278aeaSRob Herringmenuconfig ARCH_MVEBU
2e3246542SMasahiro Yamada	bool "Marvell Engineering Business Unit (MVEBU) SoCs"
3e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
4bca028e7SBen Dooks	select ARCH_SUPPORTS_BIG_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
11*5c34a4e8SLinus Walleij	select GPIOLIB
12bda7aabdSThomas Petazzoni	select PCI_QUIRKS if PCI
13ed2d8591SEzequiel Garcia	select OF_ADDRESS_PCI
14387798b3SRob Herring
1531af49dbSGregory CLEMENTif ARCH_MVEBU
1631af49dbSGregory CLEMENT
17ce800342SArnd Bergmannconfig MACH_MVEBU_ANY
18ce800342SArnd Bergmann	bool
19ce800342SArnd Bergmann
2099b3d294SThomas Petazzoniconfig MACH_MVEBU_V7
2185077087SThomas Petazzoni	bool
229ae6f740SThomas Petazzoni	select ARMADA_370_XP_TIMER
23d792b1e9SGregory CLEMENT	select CACHE_L2X0
2452fcc567SThomas Petazzoni	select ARM_CPU_SUSPEND
25ce800342SArnd Bergmann	select MACH_MVEBU_ANY
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
351594d568SKevin Smith	select MVEBU_CLK_COREDIV
3685077087SThomas Petazzoni	help
3785077087SThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
3885077087SThomas Petazzoni	  on the Marvell Armada 370 SoC with device tree.
3985077087SThomas Petazzoni
40d3ce7f25SGregory CLEMENTconfig MACH_ARMADA_375
41e3246542SMasahiro Yamada	bool "Marvell Armada 375 boards"
42e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
43cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
44d3ce7f25SGregory CLEMENT	select ARM_ERRATA_720789
45d3ce7f25SGregory CLEMENT	select ARM_ERRATA_753970
46d3ce7f25SGregory CLEMENT	select ARM_GIC
47d3ce7f25SGregory CLEMENT	select ARMADA_375_CLK
488e6ac203SThomas Petazzoni	select HAVE_ARM_SCU
49e9d3c849SEzequiel Garcia	select HAVE_ARM_TWD if SMP
501ee89e22SGregory CLEMENT	select HAVE_SMP
51d3ce7f25SGregory CLEMENT	select MACH_MVEBU_V7
52d3ce7f25SGregory CLEMENT	select PINCTRL_ARMADA_375
531594d568SKevin Smith	select MVEBU_CLK_COREDIV
54d3ce7f25SGregory CLEMENT	help
55d3ce7f25SGregory CLEMENT	  Say 'Y' here if you want your kernel to support boards based
56d3ce7f25SGregory CLEMENT	  on the Marvell Armada 375 SoC with device tree.
57d3ce7f25SGregory CLEMENT
589aa30f1cSThomas Petazzoniconfig MACH_ARMADA_38X
59e3246542SMasahiro Yamada	bool "Marvell Armada 380/385 boards"
60e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
619aa30f1cSThomas Petazzoni	select ARM_ERRATA_720789
629aa30f1cSThomas Petazzoni	select ARM_ERRATA_753970
639aa30f1cSThomas Petazzoni	select ARM_GIC
64cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
659aa30f1cSThomas Petazzoni	select ARMADA_38X_CLK
668e6ac203SThomas Petazzoni	select HAVE_ARM_SCU
67e9d3c849SEzequiel Garcia	select HAVE_ARM_TWD if SMP
681ee89e22SGregory CLEMENT	select HAVE_SMP
699aa30f1cSThomas Petazzoni	select MACH_MVEBU_V7
709aa30f1cSThomas Petazzoni	select PINCTRL_ARMADA_38X
711594d568SKevin Smith	select MVEBU_CLK_COREDIV
729aa30f1cSThomas Petazzoni	help
739aa30f1cSThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
749aa30f1cSThomas Petazzoni	  on the Marvell Armada 380/385 SoC with device tree.
759aa30f1cSThomas Petazzoni
76242ede0bSThomas Petazzoniconfig MACH_ARMADA_39X
77e3246542SMasahiro Yamada	bool "Marvell Armada 39x boards"
78e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
79242ede0bSThomas Petazzoni	select ARM_GIC
80cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
81242ede0bSThomas Petazzoni	select ARMADA_39X_CLK
82242ede0bSThomas Petazzoni	select CACHE_L2X0
83242ede0bSThomas Petazzoni	select HAVE_ARM_SCU
84242ede0bSThomas Petazzoni	select HAVE_ARM_TWD if SMP
85242ede0bSThomas Petazzoni	select HAVE_SMP
86242ede0bSThomas Petazzoni	select MACH_MVEBU_V7
87242ede0bSThomas Petazzoni	select PINCTRL_ARMADA_39X
88242ede0bSThomas Petazzoni	help
89242ede0bSThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
90242ede0bSThomas Petazzoni	  on the Marvell Armada 39x SoC with device tree.
91242ede0bSThomas Petazzoni
9285077087SThomas Petazzoniconfig MACH_ARMADA_XP
93e3246542SMasahiro Yamada	bool "Marvell Armada XP boards"
94e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
95cb49d86dSThomas Petazzoni	select ARMADA_370_XP_IRQ
969cbbc515SSebastian Hesselbarth	select ARMADA_XP_CLK
97798ec443SThomas Petazzoni	select CPU_PJ4B
9899b3d294SThomas Petazzoni	select MACH_MVEBU_V7
995beb5f88SThomas Petazzoni	select PINCTRL_ARMADA_XP
10085077087SThomas Petazzoni	help
10185077087SThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
10285077087SThomas Petazzoni	  on the Marvell Armada XP SoC with device tree.
1039ae6f740SThomas Petazzoni
10400e8ec2fSSebastian Hesselbarthconfig MACH_DOVE
105e3246542SMasahiro Yamada	bool "Marvell Dove boards"
106e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
10700e8ec2fSSebastian Hesselbarth	select CACHE_L2X0
10800e8ec2fSSebastian Hesselbarth	select CPU_PJ4
10900e8ec2fSSebastian Hesselbarth	select DOVE_CLK
110ce800342SArnd Bergmann	select MACH_MVEBU_ANY
11100e8ec2fSSebastian Hesselbarth	select ORION_IRQCHIP
11200e8ec2fSSebastian Hesselbarth	select ORION_TIMER
11344e259acSRussell King	select PM_GENERIC_DOMAINS if PM
11400e8ec2fSSebastian Hesselbarth	select PINCTRL_DOVE
11500e8ec2fSSebastian Hesselbarth	help
11600e8ec2fSSebastian Hesselbarth	  Say 'Y' here if you want your kernel to support the
11700e8ec2fSSebastian Hesselbarth	  Marvell Dove using flattened device tree.
11800e8ec2fSSebastian Hesselbarth
119ba5a37e5SAndrew Lunnconfig MACH_KIRKWOOD
120e3246542SMasahiro Yamada	bool "Marvell Kirkwood boards"
121e3246542SMasahiro Yamada	depends on ARCH_MULTI_V5
122ba5a37e5SAndrew Lunn	select CPU_FEROCEON
123*5c34a4e8SLinus Walleij	select GPIOLIB
124ba5a37e5SAndrew Lunn	select KIRKWOOD_CLK
125ce800342SArnd Bergmann	select MACH_MVEBU_ANY
126ba5a37e5SAndrew Lunn	select ORION_IRQCHIP
127ba5a37e5SAndrew Lunn	select ORION_TIMER
128ba5a37e5SAndrew Lunn	select PCI
129ba5a37e5SAndrew Lunn	select PCI_QUIRKS
130ba5a37e5SAndrew Lunn	select PINCTRL_KIRKWOOD
131ba5a37e5SAndrew Lunn	help
132ba5a37e5SAndrew Lunn	  Say 'Y' here if you want your kernel to support boards based
133ba5a37e5SAndrew Lunn	  on the Marvell Kirkwood device tree.
134ba5a37e5SAndrew Lunn
13531af49dbSGregory CLEMENTendif
136