xref: /openbmc/linux/arch/arm/mach-mvebu/Kconfig (revision d236d361)
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	select MVEBU_CLK_COREDIV
27
28config MACH_ARMADA_370
29	bool "Marvell Armada 370 boards"
30	depends on ARCH_MULTI_V7
31	select ARMADA_370_CLK
32	select ARMADA_370_XP_IRQ
33	select CPU_PJ4B
34	select MACH_MVEBU_V7
35	select PINCTRL_ARMADA_370
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	help
54	  Say 'Y' here if you want your kernel to support boards based
55	  on the Marvell Armada 375 SoC with device tree.
56
57config MACH_ARMADA_38X
58	bool "Marvell Armada 380/385 boards"
59	depends on ARCH_MULTI_V7
60	select ARM_ERRATA_720789
61	select ARM_ERRATA_753970
62	select ARM_GIC
63	select ARMADA_370_XP_IRQ
64	select ARMADA_38X_CLK
65	select HAVE_ARM_SCU
66	select HAVE_ARM_TWD if SMP
67	select HAVE_SMP
68	select MACH_MVEBU_V7
69	select PINCTRL_ARMADA_38X
70	help
71	  Say 'Y' here if you want your kernel to support boards based
72	  on the Marvell Armada 380/385 SoC with device tree.
73
74config MACH_ARMADA_39X
75	bool "Marvell Armada 39x boards"
76	depends on ARCH_MULTI_V7
77	select ARM_GIC
78	select ARMADA_370_XP_IRQ
79	select ARMADA_39X_CLK
80	select CACHE_L2X0
81	select HAVE_ARM_SCU
82	select HAVE_ARM_TWD if SMP
83	select HAVE_SMP
84	select MACH_MVEBU_V7
85	select PINCTRL_ARMADA_39X
86	help
87	  Say 'Y' here if you want your kernel to support boards based
88	  on the Marvell Armada 39x SoC with device tree.
89
90config MACH_ARMADA_XP
91	bool "Marvell Armada XP boards"
92	depends on ARCH_MULTI_V7
93	select ARMADA_370_XP_IRQ
94	select ARMADA_XP_CLK
95	select CPU_PJ4B
96	select MACH_MVEBU_V7
97	select PINCTRL_ARMADA_XP
98	help
99	  Say 'Y' here if you want your kernel to support boards based
100	  on the Marvell Armada XP SoC with device tree.
101
102config MACH_DOVE
103	bool "Marvell Dove boards"
104	depends on ARCH_MULTI_V7
105	select CACHE_L2X0
106	select CPU_PJ4
107	select DOVE_CLK
108	select MACH_MVEBU_ANY
109	select ORION_IRQCHIP
110	select ORION_TIMER
111	select PM_GENERIC_DOMAINS if PM
112	select PINCTRL_DOVE
113	help
114	  Say 'Y' here if you want your kernel to support the
115	  Marvell Dove using flattened device tree.
116
117config MACH_KIRKWOOD
118	bool "Marvell Kirkwood boards"
119	depends on ARCH_MULTI_V5
120	select CPU_FEROCEON
121	select GPIOLIB
122	select KIRKWOOD_CLK
123	select MACH_MVEBU_ANY
124	select ORION_IRQCHIP
125	select ORION_TIMER
126	select PCI
127	select PCI_QUIRKS
128	select PINCTRL_KIRKWOOD
129	help
130	  Say 'Y' here if you want your kernel to support boards based
131	  on the Marvell Kirkwood device tree.
132
133endif
134