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