xref: /openbmc/linux/arch/arm/mach-mvebu/Kconfig (revision 293d5b43)
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	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"
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	select MVEBU_CLK_COREDIV
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 ARM_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	select MVEBU_CLK_COREDIV
54	help
55	  Say 'Y' here if you want your kernel to support boards based
56	  on the Marvell Armada 375 SoC with device tree.
57
58config MACH_ARMADA_38X
59	bool "Marvell Armada 380/385 boards"
60	depends on ARCH_MULTI_V7
61	select ARM_ERRATA_720789
62	select ARM_ERRATA_753970
63	select ARM_GIC
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	select MVEBU_CLK_COREDIV
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 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