blob: e20fc4178b15b029f098690f0bc9420be170c141 [file] [log] [blame]
Rob Herring21278ae2014-06-10 09:06:10 -05001menuconfig ARCH_MVEBU
Andrew Lunnba5a37e2014-02-22 20:14:57 +01002 bool "Marvell Engineering Business Unit (MVEBU) SoCs" if (ARCH_MULTI_V7 || ARCH_MULTI_V5)
Ben Dooksbca028e2013-02-01 10:36:22 +00003 select ARCH_SUPPORTS_BIG_ENDIAN
Rob Herring387798b2012-09-06 13:41:12 -05004 select CLKSRC_MMIO
Rob Herring387798b2012-09-06 13:41:12 -05005 select GENERIC_IRQ_CHIP
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
Gregory CLEMENTc689cba2013-05-17 14:25:03 +020011 select ARCH_REQUIRE_GPIOLIB
Thomas Petazzonibda7aab2013-05-16 17:55:23 +020012 select PCI_QUIRKS if PCI
Ezequiel Garciaed2d8592014-06-09 17:52:45 -030013 select OF_ADDRESS_PCI
Rob Herring387798b2012-09-06 13:41:12 -050014
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020015if ARCH_MVEBU
16
Arnd Bergmannce800342014-07-23 23:05:49 +020017config MACH_MVEBU_ANY
18 bool
19
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010020config MACH_MVEBU_V7
Thomas Petazzoni85077082012-09-13 17:41:51 +020021 bool
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020022 select ARMADA_370_XP_TIMER
Gregory CLEMENTd792b1e2012-09-26 18:02:48 +020023 select CACHE_L2X0
Thomas Petazzoni52fcc562014-06-11 14:06:37 +020024 select ARM_CPU_SUSPEND
Arnd Bergmannce800342014-07-23 23:05:49 +020025 select MACH_MVEBU_ANY
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020026
Thomas Petazzoni85077082012-09-13 17:41:51 +020027config MACH_ARMADA_370
Andrew Lunnc15ebc72014-02-22 20:14:50 +010028 bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020029 select ARMADA_370_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010030 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010031 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020032 select PINCTRL_ARMADA_370
Thomas Petazzoni85077082012-09-13 17:41:51 +020033 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
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010037config MACH_ARMADA_375
Jason Cooper665ca872014-02-23 15:48:25 +000038 bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010039 select ARM_ERRATA_720789
40 select ARM_ERRATA_753970
41 select ARM_GIC
42 select ARMADA_375_CLK
Thomas Petazzoni8e6ac202014-04-14 15:47:03 +020043 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030044 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020045 select HAVE_SMP
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010046 select MACH_MVEBU_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010047 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
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010052config MACH_ARMADA_38X
Jason Cooper665ca872014-02-23 15:48:25 +000053 bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010054 select ARM_ERRATA_720789
55 select ARM_ERRATA_753970
56 select ARM_GIC
57 select ARMADA_38X_CLK
Thomas Petazzoni8e6ac202014-04-14 15:47:03 +020058 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030059 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020060 select HAVE_SMP
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010061 select MACH_MVEBU_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010062 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
Thomas Petazzoni242ede02015-03-03 15:41:11 +010067config 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
Thomas Petazzoni85077082012-09-13 17:41:51 +020081config MACH_ARMADA_XP
Andrew Lunnc15ebc72014-02-22 20:14:50 +010082 bool "Marvell Armada XP boards" if ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020083 select ARMADA_XP_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010084 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010085 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020086 select PINCTRL_ARMADA_XP
Thomas Petazzoni85077082012-09-13 17:41:51 +020087 help
88 Say 'Y' here if you want your kernel to support boards based
89 on the Marvell Armada XP SoC with device tree.
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020090
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +010091config MACH_DOVE
92 bool "Marvell Dove boards" if ARCH_MULTI_V7
93 select CACHE_L2X0
94 select CPU_PJ4
95 select DOVE_CLK
Arnd Bergmannce800342014-07-23 23:05:49 +020096 select MACH_MVEBU_ANY
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +010097 select ORION_IRQCHIP
98 select ORION_TIMER
Russell King44e259a2015-07-15 19:59:36 +010099 select PM_GENERIC_DOMAINS if PM
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +0100100 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
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100105config MACH_KIRKWOOD
106 bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100107 select ARCH_REQUIRE_GPIOLIB
108 select CPU_FEROCEON
109 select KIRKWOOD_CLK
Arnd Bergmannce800342014-07-23 23:05:49 +0200110 select MACH_MVEBU_ANY
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100111 select ORION_IRQCHIP
112 select ORION_TIMER
113 select PCI
114 select PCI_QUIRKS
115 select PINCTRL_KIRKWOOD
Andrew Lunnba5a37e2014-02-22 20:14:57 +0100116 help
117 Say 'Y' here if you want your kernel to support boards based
118 on the Marvell Kirkwood device tree.
119
Gregory CLEMENT31af49d2012-06-01 18:21:46 +0200120endif