xref: /openbmc/linux/arch/arm/mach-mvebu/Kconfig (revision 93d90ad7)
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_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
27config MACH_ARMADA_370
28	bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
29	select ARMADA_370_CLK
30	select CPU_PJ4B
31	select MACH_MVEBU_V7
32	select PINCTRL_ARMADA_370
33	help
34	  Say 'Y' here if you want your kernel to support boards based
35	  on the Marvell Armada 370 SoC with device tree.
36
37config MACH_ARMADA_375
38	bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
39	select ARM_ERRATA_720789
40	select ARM_ERRATA_753970
41	select ARM_GIC
42	select ARMADA_375_CLK
43	select HAVE_ARM_SCU
44	select HAVE_ARM_TWD if SMP
45	select HAVE_SMP
46	select MACH_MVEBU_V7
47	select PINCTRL_ARMADA_375
48	help
49	  Say 'Y' here if you want your kernel to support boards based
50	  on the Marvell Armada 375 SoC with device tree.
51
52config MACH_ARMADA_38X
53	bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
54	select ARM_ERRATA_720789
55	select ARM_ERRATA_753970
56	select ARM_GIC
57	select ARMADA_38X_CLK
58	select HAVE_ARM_SCU
59	select HAVE_ARM_TWD if SMP
60	select HAVE_SMP
61	select MACH_MVEBU_V7
62	select PINCTRL_ARMADA_38X
63	help
64	  Say 'Y' here if you want your kernel to support boards based
65	  on the Marvell Armada 380/385 SoC with device tree.
66
67config MACH_ARMADA_XP
68	bool "Marvell Armada XP boards" if ARCH_MULTI_V7
69	select ARMADA_XP_CLK
70	select CPU_PJ4B
71	select MACH_MVEBU_V7
72	select PINCTRL_ARMADA_XP
73	help
74	  Say 'Y' here if you want your kernel to support boards based
75	  on the Marvell Armada XP SoC with device tree.
76
77config MACH_DOVE
78	bool "Marvell Dove boards" if ARCH_MULTI_V7
79	select CACHE_L2X0
80	select CPU_PJ4
81	select DOVE_CLK
82	select MACH_MVEBU_ANY
83	select ORION_IRQCHIP
84	select ORION_TIMER
85	select PINCTRL_DOVE
86	help
87	  Say 'Y' here if you want your kernel to support the
88	  Marvell Dove using flattened device tree.
89
90config MACH_KIRKWOOD
91	bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
92	select ARCH_REQUIRE_GPIOLIB
93	select CPU_FEROCEON
94	select KIRKWOOD_CLK
95	select MACH_MVEBU_ANY
96	select ORION_IRQCHIP
97	select ORION_TIMER
98	select PCI
99	select PCI_QUIRKS
100	select PINCTRL_KIRKWOOD
101	help
102	  Say 'Y' here if you want your kernel to support boards based
103	  on the Marvell Kirkwood device tree.
104
105config MACH_NETXBIG
106	bool "LaCie 2Big and 5Big Network v2"
107	depends on MACH_KIRKWOOD
108	help
109	  Say 'Y' here if you want your kernel to support the
110	  LaCie 2Big and 5Big Network v2
111
112endif
113