xref: /linux/arch/arm/mach-mvebu/Kconfig (revision b7019ac550eb3916f34d79db583e9b7ea2524afa)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_MVEBU
3	bool "Marvell Engineering Business Unit (MVEBU) SoCs"
4	depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
5	select ARCH_SUPPORTS_BIG_ENDIAN
6	select CLKSRC_MMIO
7	select PINCTRL
8	select PLAT_ORION
9	select SOC_BUS
10	select MVEBU_MBUS
11	select ZONE_DMA if ARM_LPAE
12	select GPIOLIB
13	select PCI_QUIRKS if PCI
14
15if ARCH_MVEBU
16
17config MACH_MVEBU_ANY
18	bool
19
20config MACH_MVEBU_V7
21	bool
22	select ARMADA_370_XP_TIMER
23	select CACHE_L2X0
24	select ARM_CPU_SUSPEND
25	select MACH_MVEBU_ANY
26	select MVEBU_CLK_COREDIV
27
28config MACH_ARMADA_370
29	bool "Marvell Armada 370 boards"
30	depends on ARCH_MULTI_V7
31	select ARMADA_370_CLK
32	select ARMADA_370_XP_IRQ
33	select CPU_PJ4B
34	select MACH_MVEBU_V7
35	select PINCTRL_ARMADA_370
36	help
37	  Say 'Y' here if you want your kernel to support boards based
38	  on the Marvell Armada 370 SoC with device tree.
39
40config MACH_ARMADA_375
41	bool "Marvell Armada 375 boards"
42	depends on ARCH_MULTI_V7
43	select ARMADA_370_XP_IRQ
44	select ARM_ERRATA_720789
45	select PL310_ERRATA_753970
46	select ARM_GIC
47	select ARMADA_375_CLK
48	select HAVE_ARM_SCU
49	select HAVE_ARM_TWD if SMP
50	select HAVE_SMP
51	select MACH_MVEBU_V7
52	select PINCTRL_ARMADA_375
53	help
54	  Say 'Y' here if you want your kernel to support boards based
55	  on the Marvell Armada 375 SoC with device tree.
56
57config MACH_ARMADA_38X
58	bool "Marvell Armada 380/385 boards"
59	depends on ARCH_MULTI_V7
60	select ARM_ERRATA_720789
61	select PL310_ERRATA_753970
62	select ARM_GIC
63	select ARM_GLOBAL_TIMER
64	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
65	select ARMADA_370_XP_IRQ
66	select ARMADA_38X_CLK
67	select HAVE_ARM_SCU
68	select HAVE_ARM_TWD if SMP
69	select HAVE_SMP
70	select MACH_MVEBU_V7
71	select PINCTRL_ARMADA_38X
72	help
73	  Say 'Y' here if you want your kernel to support boards based
74	  on the Marvell Armada 380/385 SoC with device tree.
75
76config MACH_ARMADA_39X
77	bool "Marvell Armada 39x boards"
78	depends on ARCH_MULTI_V7
79	select ARM_GIC
80	select ARMADA_370_XP_IRQ
81	select ARMADA_39X_CLK
82	select CACHE_L2X0
83	select HAVE_ARM_SCU
84	select HAVE_ARM_TWD if SMP
85	select HAVE_SMP
86	select MACH_MVEBU_V7
87	select PINCTRL_ARMADA_39X
88	help
89	  Say 'Y' here if you want your kernel to support boards based
90	  on the Marvell Armada 39x SoC with device tree.
91
92config MACH_ARMADA_XP
93	bool "Marvell Armada XP boards"
94	depends on ARCH_MULTI_V7
95	select ARMADA_370_XP_IRQ
96	select ARMADA_XP_CLK
97	select CPU_PJ4B
98	select MACH_MVEBU_V7
99	select PINCTRL_ARMADA_XP
100	help
101	  Say 'Y' here if you want your kernel to support boards based
102	  on the Marvell Armada XP SoC with device tree.
103
104config MACH_DOVE
105	bool "Marvell Dove boards"
106	depends on ARCH_MULTI_V7
107	select CACHE_L2X0
108	select CPU_PJ4
109	select DOVE_CLK
110	select MACH_MVEBU_ANY
111	select ORION_IRQCHIP
112	select ORION_TIMER
113	select PM_GENERIC_DOMAINS if PM
114	select PINCTRL_DOVE
115	help
116	  Say 'Y' here if you want your kernel to support the
117	  Marvell Dove using flattened device tree.
118
119config MACH_KIRKWOOD
120	bool "Marvell Kirkwood boards"
121	depends on ARCH_MULTI_V5
122	select CPU_FEROCEON
123	select GPIOLIB
124	select KIRKWOOD_CLK
125	select MACH_MVEBU_ANY
126	select ORION_IRQCHIP
127	select ORION_TIMER
128	select FORCE_PCI
129	select PCI_QUIRKS
130	select PINCTRL_KIRKWOOD
131	help
132	  Say 'Y' here if you want your kernel to support boards based
133	  on the Marvell Kirkwood device tree.
134
135endif
136