xref: /openbmc/linux/arch/arm/mach-mvebu/Kconfig (revision 4a3a9904)
1menuconfig ARCH_MVEBU
2	bool "Marvell Engineering Business Unit (MVEBU) SoCs" if (ARCH_MULTI_V7 || ARCH_MULTI_V5)
3	select ARCH_SUPPORTS_BIG_ENDIAN
4	select CLKSRC_MMIO
5	select GENERIC_IRQ_CHIP
6	select PINCTRL
7	select PLAT_ORION
8	select SOC_BUS
9	select MVEBU_MBUS
10	select ZONE_DMA if ARM_LPAE
11	select ARCH_REQUIRE_GPIOLIB
12	select PCI_QUIRKS if PCI
13	select OF_ADDRESS_PCI
14
15if ARCH_MVEBU
16
17config MACH_MVEBU_V7
18	bool
19	select ARMADA_370_XP_TIMER
20	select CACHE_L2X0
21	select ARM_CPU_SUSPEND
22
23config MACH_ARMADA_370
24	bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
25	select ARMADA_370_CLK
26	select CPU_PJ4B
27	select MACH_MVEBU_V7
28	select PINCTRL_ARMADA_370
29	help
30	  Say 'Y' here if you want your kernel to support boards based
31	  on the Marvell Armada 370 SoC with device tree.
32
33config MACH_ARMADA_375
34	bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
35	select ARM_ERRATA_720789
36	select ARM_ERRATA_753970
37	select ARM_GIC
38	select ARMADA_375_CLK
39	select HAVE_ARM_SCU
40	select HAVE_ARM_TWD if SMP
41	select HAVE_SMP
42	select MACH_MVEBU_V7
43	select PINCTRL_ARMADA_375
44	help
45	  Say 'Y' here if you want your kernel to support boards based
46	  on the Marvell Armada 375 SoC with device tree.
47
48config MACH_ARMADA_38X
49	bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
50	select ARM_ERRATA_720789
51	select ARM_ERRATA_753970
52	select ARM_GIC
53	select ARMADA_38X_CLK
54	select HAVE_ARM_SCU
55	select HAVE_ARM_TWD if SMP
56	select HAVE_SMP
57	select MACH_MVEBU_V7
58	select PINCTRL_ARMADA_38X
59	help
60	  Say 'Y' here if you want your kernel to support boards based
61	  on the Marvell Armada 380/385 SoC with device tree.
62
63config MACH_ARMADA_XP
64	bool "Marvell Armada XP boards" if ARCH_MULTI_V7
65	select ARMADA_XP_CLK
66	select CPU_PJ4B
67	select MACH_MVEBU_V7
68	select PINCTRL_ARMADA_XP
69	help
70	  Say 'Y' here if you want your kernel to support boards based
71	  on the Marvell Armada XP SoC with device tree.
72
73config MACH_DOVE
74	bool "Marvell Dove boards" if ARCH_MULTI_V7
75	select CACHE_L2X0
76	select CPU_PJ4
77	select DOVE_CLK
78	select ORION_IRQCHIP
79	select ORION_TIMER
80	select PINCTRL_DOVE
81	help
82	  Say 'Y' here if you want your kernel to support the
83	  Marvell Dove using flattened device tree.
84
85config MACH_KIRKWOOD
86	bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
87	select ARCH_REQUIRE_GPIOLIB
88	select CPU_FEROCEON
89	select KIRKWOOD_CLK
90	select ORION_IRQCHIP
91	select ORION_TIMER
92	select PCI
93	select PCI_QUIRKS
94	select PINCTRL_KIRKWOOD
95	help
96	  Say 'Y' here if you want your kernel to support boards based
97	  on the Marvell Kirkwood device tree.
98
99endif
100