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_39X
68	bool "Marvell Armada 39x boards" if ARCH_MULTI_V7
69	select ARM_GIC
70	select ARMADA_39X_CLK
71	select CACHE_L2X0
72	select HAVE_ARM_SCU
73	select HAVE_ARM_TWD if SMP
74	select HAVE_SMP
75	select MACH_MVEBU_V7
76	select PINCTRL_ARMADA_39X
77	help
78	  Say 'Y' here if you want your kernel to support boards based
79	  on the Marvell Armada 39x SoC with device tree.
80
81config MACH_ARMADA_XP
82	bool "Marvell Armada XP boards" if ARCH_MULTI_V7
83	select ARMADA_XP_CLK
84	select CPU_PJ4B
85	select MACH_MVEBU_V7
86	select PINCTRL_ARMADA_XP
87	help
88	  Say 'Y' here if you want your kernel to support boards based
89	  on the Marvell Armada XP SoC with device tree.
90
91config MACH_DOVE
92	bool "Marvell Dove boards" if ARCH_MULTI_V7
93	select CACHE_L2X0
94	select CPU_PJ4
95	select DOVE_CLK
96	select MACH_MVEBU_ANY
97	select ORION_IRQCHIP
98	select ORION_TIMER
99	select PM_GENERIC_DOMAINS if PM
100	select PINCTRL_DOVE
101	help
102	  Say 'Y' here if you want your kernel to support the
103	  Marvell Dove using flattened device tree.
104
105config MACH_KIRKWOOD
106	bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
107	select ARCH_REQUIRE_GPIOLIB
108	select CPU_FEROCEON
109	select KIRKWOOD_CLK
110	select MACH_MVEBU_ANY
111	select ORION_IRQCHIP
112	select ORION_TIMER
113	select PCI
114	select PCI_QUIRKS
115	select PINCTRL_KIRKWOOD
116	help
117	  Say 'Y' here if you want your kernel to support boards based
118	  on the Marvell Kirkwood device tree.
119
120endif
121