blob: 2c20599cc3506326eddc2993afd8df2bd308e268 [file] [log] [blame]
Rob Herring21278ae2014-06-10 09:06:10 -05001menuconfig ARCH_MVEBU
Masahiro Yamadae3246542015-11-16 12:06:10 +09002 bool "Marvell Engineering Business Unit (MVEBU) SoCs"
3 depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
Ben Dooksbca028e2013-02-01 10:36:22 +00004 select ARCH_SUPPORTS_BIG_ENDIAN
Rob Herring387798b2012-09-06 13:41:12 -05005 select CLKSRC_MMIO
Rob Herring46f20072012-09-27 10:10:12 -05006 select PINCTRL
7 select PLAT_ORION
Andrew Lunn56a705a2014-03-04 18:51:47 +01008 select SOC_BUS
Thomas Petazzoni87e1bed2013-03-21 17:59:15 +01009 select MVEBU_MBUS
Gregory CLEMENT99ff0562013-04-09 00:52:10 +020010 select ZONE_DMA if ARM_LPAE
Linus Walleij5c34a4e2016-06-02 14:10:16 +020011 select GPIOLIB
Thomas Petazzonibda7aab2013-05-16 17:55:23 +020012 select PCI_QUIRKS if PCI
Rob Herring387798b2012-09-06 13:41:12 -050013
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020014if ARCH_MVEBU
15
Arnd Bergmannce800342014-07-23 23:05:49 +020016config MACH_MVEBU_ANY
17 bool
18
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010019config MACH_MVEBU_V7
Thomas Petazzoni85077082012-09-13 17:41:51 +020020 bool
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020021 select ARMADA_370_XP_TIMER
Gregory CLEMENTd792b1e2012-09-26 18:02:48 +020022 select CACHE_L2X0
Thomas Petazzoni52fcc562014-06-11 14:06:37 +020023 select ARM_CPU_SUSPEND
Arnd Bergmannce800342014-07-23 23:05:49 +020024 select MACH_MVEBU_ANY
Gregory CLEMENT33c45ef2016-09-19 12:02:50 +020025 select MVEBU_CLK_COREDIV
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020026
Thomas Petazzoni85077082012-09-13 17:41:51 +020027config MACH_ARMADA_370
Masahiro Yamadae3246542015-11-16 12:06:10 +090028 bool "Marvell Armada 370 boards"
29 depends on ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020030 select ARMADA_370_CLK
Thomas Petazzonicb49d862016-02-10 15:47:01 +010031 select ARMADA_370_XP_IRQ
Thomas Petazzoni798ec442014-02-17 15:23:21 +010032 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010033 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020034 select PINCTRL_ARMADA_370
Thomas Petazzoni85077082012-09-13 17:41:51 +020035 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
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010039config MACH_ARMADA_375
Masahiro Yamadae3246542015-11-16 12:06:10 +090040 bool "Marvell Armada 375 boards"
41 depends on ARCH_MULTI_V7
Thomas Petazzonicb49d862016-02-10 15:47:01 +010042 select ARMADA_370_XP_IRQ
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010043 select ARM_ERRATA_720789
Ulf Magnusson8aa36a82018-02-05 02:21:13 +010044 select PL310_ERRATA_753970
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010045 select ARM_GIC
46 select ARMADA_375_CLK
Thomas Petazzoni8e6ac2032014-04-14 15:47:03 +020047 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030048 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020049 select HAVE_SMP
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010050 select MACH_MVEBU_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010051 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
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010056config MACH_ARMADA_38X
Masahiro Yamadae3246542015-11-16 12:06:10 +090057 bool "Marvell Armada 380/385 boards"
58 depends on ARCH_MULTI_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010059 select ARM_ERRATA_720789
Ulf Magnusson8aa36a82018-02-05 02:21:13 +010060 select PL310_ERRATA_753970
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010061 select ARM_GIC
Marcin Wojtasca0a05a2017-08-01 18:36:22 +020062 select ARM_GLOBAL_TIMER
63 select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
Thomas Petazzonicb49d862016-02-10 15:47:01 +010064 select ARMADA_370_XP_IRQ
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010065 select ARMADA_38X_CLK
Thomas Petazzoni8e6ac2032014-04-14 15:47:03 +020066 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030067 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020068 select HAVE_SMP
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010069 select MACH_MVEBU_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010070 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
Thomas Petazzoni242ede02015-03-03 15:41:11 +010075config MACH_ARMADA_39X
Masahiro Yamadae3246542015-11-16 12:06:10 +090076 bool "Marvell Armada 39x boards"
77 depends on ARCH_MULTI_V7
Thomas Petazzoni242ede02015-03-03 15:41:11 +010078 select ARM_GIC
Thomas Petazzonicb49d862016-02-10 15:47:01 +010079 select ARMADA_370_XP_IRQ
Thomas Petazzoni242ede02015-03-03 15:41:11 +010080 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
Thomas Petazzoni85077082012-09-13 17:41:51 +020091config MACH_ARMADA_XP
Masahiro Yamadae3246542015-11-16 12:06:10 +090092 bool "Marvell Armada XP boards"
93 depends on ARCH_MULTI_V7
Thomas Petazzonicb49d862016-02-10 15:47:01 +010094 select ARMADA_370_XP_IRQ
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020095 select ARMADA_XP_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010096 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010097 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020098 select PINCTRL_ARMADA_XP
Thomas Petazzoni85077082012-09-13 17:41:51 +020099 help
100 Say 'Y' here if you want your kernel to support boards based
101 on the Marvell Armada XP SoC with device tree.
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200102
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +0100103config MACH_DOVE
Masahiro Yamadae3246542015-11-16 12:06:10 +0900104 bool "Marvell Dove boards"
105 depends on ARCH_MULTI_V7
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +0100106 select CACHE_L2X0
107 select CPU_PJ4
108 select DOVE_CLK
Arnd Bergmannce800342014-07-23 23:05:49 +0200109 select MACH_MVEBU_ANY
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +0100110 select ORION_IRQCHIP
111 select ORION_TIMER
Russell King44e259a2015-07-15 19:59:36 +0100112 select PM_GENERIC_DOMAINS if PM
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +0100113 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
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100118config MACH_KIRKWOOD
Masahiro Yamadae3246542015-11-16 12:06:10 +0900119 bool "Marvell Kirkwood boards"
120 depends on ARCH_MULTI_V5
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100121 select CPU_FEROCEON
Linus Walleij5c34a4e2016-06-02 14:10:16 +0200122 select GPIOLIB
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100123 select KIRKWOOD_CLK
Arnd Bergmannce800342014-07-23 23:05:49 +0200124 select MACH_MVEBU_ANY
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100125 select ORION_IRQCHIP
126 select ORION_TIMER
127 select PCI
128 select PCI_QUIRKS
129 select PINCTRL_KIRKWOOD
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100130 help
131 Say 'Y' here if you want your kernel to support boards based
132 on the Marvell Kirkwood device tree.
133
Gregory CLEMENT31af49d2012-06-01 18:21:46 +0200134endif