blob: b9bc599a5fd04fa8bc4b7b6e13ad1073fb4c513a [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
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010017config MACH_MVEBU_V7
Thomas Petazzoni85077082012-09-13 17:41:51 +020018 bool
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020019 select ARMADA_370_XP_TIMER
Gregory CLEMENTd792b1e2012-09-26 18:02:48 +020020 select CACHE_L2X0
Thomas Petazzoni52fcc562014-06-11 14:06:37 +020021 select ARM_CPU_SUSPEND
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020022
Thomas Petazzoni85077082012-09-13 17:41:51 +020023config MACH_ARMADA_370
Andrew Lunnc15ebc72014-02-22 20:14:50 +010024 bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020025 select ARMADA_370_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010026 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010027 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020028 select PINCTRL_ARMADA_370
Thomas Petazzoni85077082012-09-13 17:41:51 +020029 help
30 Say 'Y' here if you want your kernel to support boards based
31 on the Marvell Armada 370 SoC with device tree.
32
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010033config MACH_ARMADA_375
Jason Cooper665ca872014-02-23 15:48:25 +000034 bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010035 select ARM_ERRATA_720789
36 select ARM_ERRATA_753970
37 select ARM_GIC
38 select ARMADA_375_CLK
Thomas Petazzoni8e6ac2032014-04-14 15:47:03 +020039 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030040 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020041 select HAVE_SMP
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010042 select MACH_MVEBU_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010043 select PINCTRL_ARMADA_375
44 help
45 Say 'Y' here if you want your kernel to support boards based
46 on the Marvell Armada 375 SoC with device tree.
47
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010048config MACH_ARMADA_38X
Jason Cooper665ca872014-02-23 15:48:25 +000049 bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010050 select ARM_ERRATA_720789
51 select ARM_ERRATA_753970
52 select ARM_GIC
53 select ARMADA_38X_CLK
Thomas Petazzoni8e6ac2032014-04-14 15:47:03 +020054 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030055 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020056 select HAVE_SMP
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010057 select MACH_MVEBU_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010058 select PINCTRL_ARMADA_38X
59 help
60 Say 'Y' here if you want your kernel to support boards based
61 on the Marvell Armada 380/385 SoC with device tree.
62
Thomas Petazzoni85077082012-09-13 17:41:51 +020063config MACH_ARMADA_XP
Andrew Lunnc15ebc72014-02-22 20:14:50 +010064 bool "Marvell Armada XP boards" if ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020065 select ARMADA_XP_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010066 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010067 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020068 select PINCTRL_ARMADA_XP
Thomas Petazzoni85077082012-09-13 17:41:51 +020069 help
70 Say 'Y' here if you want your kernel to support boards based
71 on the Marvell Armada XP SoC with device tree.
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020072
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +010073config MACH_DOVE
74 bool "Marvell Dove boards" if ARCH_MULTI_V7
75 select CACHE_L2X0
76 select CPU_PJ4
77 select DOVE_CLK
78 select ORION_IRQCHIP
79 select ORION_TIMER
80 select PINCTRL_DOVE
81 help
82 Say 'Y' here if you want your kernel to support the
83 Marvell Dove using flattened device tree.
84
Andrew Lunnba5a37e2014-02-22 20:14:57 +010085config MACH_KIRKWOOD
86 bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
Andrew Lunnba5a37e2014-02-22 20:14:57 +010087 select ARCH_REQUIRE_GPIOLIB
88 select CPU_FEROCEON
89 select KIRKWOOD_CLK
Andrew Lunnba5a37e2014-02-22 20:14:57 +010090 select ORION_IRQCHIP
91 select ORION_TIMER
92 select PCI
93 select PCI_QUIRKS
94 select PINCTRL_KIRKWOOD
Andrew Lunnba5a37e2014-02-22 20:14:57 +010095 help
96 Say 'Y' here if you want your kernel to support boards based
97 on the Marvell Kirkwood device tree.
98
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020099endif