xref: /linux/arch/arm/mach-mvebu/Kconfig (revision 44e259ac909f3b41786cf732a44b5cf8444e098a)
121278aeaSRob Herringmenuconfig ARCH_MVEBU
2ba5a37e5SAndrew Lunn	bool "Marvell Engineering Business Unit (MVEBU) SoCs" if (ARCH_MULTI_V7 || ARCH_MULTI_V5)
3bca028e7SBen Dooks	select ARCH_SUPPORTS_BIG_ENDIAN
4387798b3SRob Herring	select CLKSRC_MMIO
5387798b3SRob Herring	select GENERIC_IRQ_CHIP
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
11c689cbacSGregory CLEMENT	select ARCH_REQUIRE_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
28c15ebc71SAndrew Lunn	bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
299cbbc515SSebastian Hesselbarth	select ARMADA_370_CLK
30798ec443SThomas Petazzoni	select CPU_PJ4B
3199b3d294SThomas Petazzoni	select MACH_MVEBU_V7
325beb5f88SThomas Petazzoni	select PINCTRL_ARMADA_370
3385077087SThomas Petazzoni	help
3485077087SThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
3585077087SThomas Petazzoni	  on the Marvell Armada 370 SoC with device tree.
3685077087SThomas Petazzoni
37d3ce7f25SGregory CLEMENTconfig MACH_ARMADA_375
38665ca874SJason Cooper	bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
39d3ce7f25SGregory CLEMENT	select ARM_ERRATA_720789
40d3ce7f25SGregory CLEMENT	select ARM_ERRATA_753970
41d3ce7f25SGregory CLEMENT	select ARM_GIC
42d3ce7f25SGregory CLEMENT	select ARMADA_375_CLK
438e6ac203SThomas Petazzoni	select HAVE_ARM_SCU
44e9d3c849SEzequiel Garcia	select HAVE_ARM_TWD if SMP
451ee89e22SGregory CLEMENT	select HAVE_SMP
46d3ce7f25SGregory CLEMENT	select MACH_MVEBU_V7
47d3ce7f25SGregory CLEMENT	select PINCTRL_ARMADA_375
48d3ce7f25SGregory CLEMENT	help
49d3ce7f25SGregory CLEMENT	  Say 'Y' here if you want your kernel to support boards based
50d3ce7f25SGregory CLEMENT	  on the Marvell Armada 375 SoC with device tree.
51d3ce7f25SGregory CLEMENT
529aa30f1cSThomas Petazzoniconfig MACH_ARMADA_38X
53665ca874SJason Cooper	bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
549aa30f1cSThomas Petazzoni	select ARM_ERRATA_720789
559aa30f1cSThomas Petazzoni	select ARM_ERRATA_753970
569aa30f1cSThomas Petazzoni	select ARM_GIC
579aa30f1cSThomas Petazzoni	select ARMADA_38X_CLK
588e6ac203SThomas Petazzoni	select HAVE_ARM_SCU
59e9d3c849SEzequiel Garcia	select HAVE_ARM_TWD if SMP
601ee89e22SGregory CLEMENT	select HAVE_SMP
619aa30f1cSThomas Petazzoni	select MACH_MVEBU_V7
629aa30f1cSThomas Petazzoni	select PINCTRL_ARMADA_38X
639aa30f1cSThomas Petazzoni	help
649aa30f1cSThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
659aa30f1cSThomas Petazzoni	  on the Marvell Armada 380/385 SoC with device tree.
669aa30f1cSThomas Petazzoni
67242ede0bSThomas Petazzoniconfig MACH_ARMADA_39X
68242ede0bSThomas Petazzoni	bool "Marvell Armada 39x boards" if ARCH_MULTI_V7
69242ede0bSThomas Petazzoni	select ARM_GIC
70242ede0bSThomas Petazzoni	select ARMADA_39X_CLK
71242ede0bSThomas Petazzoni	select CACHE_L2X0
72242ede0bSThomas Petazzoni	select HAVE_ARM_SCU
73242ede0bSThomas Petazzoni	select HAVE_ARM_TWD if SMP
74242ede0bSThomas Petazzoni	select HAVE_SMP
75242ede0bSThomas Petazzoni	select MACH_MVEBU_V7
76242ede0bSThomas Petazzoni	select PINCTRL_ARMADA_39X
77242ede0bSThomas Petazzoni	help
78242ede0bSThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
79242ede0bSThomas Petazzoni	  on the Marvell Armada 39x SoC with device tree.
80242ede0bSThomas Petazzoni
8185077087SThomas Petazzoniconfig MACH_ARMADA_XP
82c15ebc71SAndrew Lunn	bool "Marvell Armada XP boards" if ARCH_MULTI_V7
839cbbc515SSebastian Hesselbarth	select ARMADA_XP_CLK
84798ec443SThomas Petazzoni	select CPU_PJ4B
8599b3d294SThomas Petazzoni	select MACH_MVEBU_V7
865beb5f88SThomas Petazzoni	select PINCTRL_ARMADA_XP
8785077087SThomas Petazzoni	help
8885077087SThomas Petazzoni	  Say 'Y' here if you want your kernel to support boards based
8985077087SThomas Petazzoni	  on the Marvell Armada XP SoC with device tree.
909ae6f740SThomas Petazzoni
9100e8ec2fSSebastian Hesselbarthconfig MACH_DOVE
9200e8ec2fSSebastian Hesselbarth	bool "Marvell Dove boards" if ARCH_MULTI_V7
9300e8ec2fSSebastian Hesselbarth	select CACHE_L2X0
9400e8ec2fSSebastian Hesselbarth	select CPU_PJ4
9500e8ec2fSSebastian Hesselbarth	select DOVE_CLK
96ce800342SArnd Bergmann	select MACH_MVEBU_ANY
9700e8ec2fSSebastian Hesselbarth	select ORION_IRQCHIP
9800e8ec2fSSebastian Hesselbarth	select ORION_TIMER
99*44e259acSRussell King	select PM_GENERIC_DOMAINS if PM
10000e8ec2fSSebastian Hesselbarth	select PINCTRL_DOVE
10100e8ec2fSSebastian Hesselbarth	help
10200e8ec2fSSebastian Hesselbarth	  Say 'Y' here if you want your kernel to support the
10300e8ec2fSSebastian Hesselbarth	  Marvell Dove using flattened device tree.
10400e8ec2fSSebastian Hesselbarth
105ba5a37e5SAndrew Lunnconfig MACH_KIRKWOOD
106ba5a37e5SAndrew Lunn	bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
107ba5a37e5SAndrew Lunn	select ARCH_REQUIRE_GPIOLIB
108ba5a37e5SAndrew Lunn	select CPU_FEROCEON
109ba5a37e5SAndrew Lunn	select KIRKWOOD_CLK
110ce800342SArnd Bergmann	select MACH_MVEBU_ANY
111ba5a37e5SAndrew Lunn	select ORION_IRQCHIP
112ba5a37e5SAndrew Lunn	select ORION_TIMER
113ba5a37e5SAndrew Lunn	select PCI
114ba5a37e5SAndrew Lunn	select PCI_QUIRKS
115ba5a37e5SAndrew Lunn	select PINCTRL_KIRKWOOD
116ba5a37e5SAndrew Lunn	help
117ba5a37e5SAndrew Lunn	  Say 'Y' here if you want your kernel to support boards based
118ba5a37e5SAndrew Lunn	  on the Marvell Kirkwood device tree.
119ba5a37e5SAndrew Lunn
12055fc8302SAndrew Lunnconfig MACH_NETXBIG
12155fc8302SAndrew Lunn	bool "LaCie 2Big and 5Big Network v2"
12255fc8302SAndrew Lunn	depends on MACH_KIRKWOOD
12355fc8302SAndrew Lunn	help
12455fc8302SAndrew Lunn	  Say 'Y' here if you want your kernel to support the
12555fc8302SAndrew Lunn	  LaCie 2Big and 5Big Network v2
12655fc8302SAndrew Lunn
12731af49dbSGregory CLEMENTendif
128