blob: 61ac80a8acac0780ea211097d9775839fec8c208 [file] [log] [blame]
Rob Herring387798b2012-09-06 13:41:12 -05001config 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
Ezequiel Garciab92f10b2014-02-20 15:23:34 -030017menu "Marvell EBU SoC variants"
Gregory CLEMENT31af49d2012-06-01 18:21:46 +020018
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 Petazzoni9ae6f742012-06-13 19:01:28 +020023
Thomas Petazzoni85077082012-09-13 17:41:51 +020024config MACH_ARMADA_370
Andrew Lunnc15ebc72014-02-22 20:14:50 +010025 bool "Marvell Armada 370 boards" if ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020026 select ARMADA_370_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010027 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010028 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020029 select PINCTRL_ARMADA_370
Thomas Petazzoni85077082012-09-13 17:41:51 +020030 help
31 Say 'Y' here if you want your kernel to support boards based
32 on the Marvell Armada 370 SoC with device tree.
33
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010034config MACH_ARMADA_375
Jason Cooper665ca872014-02-23 15:48:25 +000035 bool "Marvell Armada 375 boards" if ARCH_MULTI_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010036 select ARM_ERRATA_720789
37 select ARM_ERRATA_753970
38 select ARM_GIC
39 select ARMADA_375_CLK
Thomas Petazzoni8e6ac202014-04-14 15:47:03 +020040 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030041 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020042 select HAVE_SMP
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010043 select MACH_MVEBU_V7
Gregory CLEMENTd3ce7f22014-02-17 15:23:23 +010044 select PINCTRL_ARMADA_375
45 help
46 Say 'Y' here if you want your kernel to support boards based
47 on the Marvell Armada 375 SoC with device tree.
48
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010049config MACH_ARMADA_38X
Jason Cooper665ca872014-02-23 15:48:25 +000050 bool "Marvell Armada 380/385 boards" if ARCH_MULTI_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010051 select ARM_ERRATA_720789
52 select ARM_ERRATA_753970
53 select ARM_GIC
54 select ARMADA_38X_CLK
Thomas Petazzoni8e6ac202014-04-14 15:47:03 +020055 select HAVE_ARM_SCU
Ezequiel Garciae9d3c842014-04-24 08:34:36 -030056 select HAVE_ARM_TWD if SMP
Gregory CLEMENT1ee89e22014-04-14 15:54:05 +020057 select HAVE_SMP
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010058 select MACH_MVEBU_V7
Thomas Petazzoni9aa30f12014-02-17 15:23:27 +010059 select PINCTRL_ARMADA_38X
60 help
61 Say 'Y' here if you want your kernel to support boards based
62 on the Marvell Armada 380/385 SoC with device tree.
63
Thomas Petazzoni85077082012-09-13 17:41:51 +020064config MACH_ARMADA_XP
Andrew Lunnc15ebc72014-02-22 20:14:50 +010065 bool "Marvell Armada XP boards" if ARCH_MULTI_V7
Sebastian Hesselbarth9cbbc512013-05-11 03:08:09 +020066 select ARMADA_XP_CLK
Thomas Petazzoni798ec442014-02-17 15:23:21 +010067 select CPU_PJ4B
Thomas Petazzoni99b3d292014-02-17 15:23:19 +010068 select MACH_MVEBU_V7
Thomas Petazzoni5beb5f882012-09-13 17:41:52 +020069 select PINCTRL_ARMADA_XP
Thomas Petazzoni85077082012-09-13 17:41:51 +020070 help
71 Say 'Y' here if you want your kernel to support boards based
72 on the Marvell Armada XP SoC with device tree.
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020073
Sebastian Hesselbarth00e8ec22014-03-01 09:39:38 +010074config MACH_DOVE
75 bool "Marvell Dove boards" if ARCH_MULTI_V7
76 select CACHE_L2X0
77 select CPU_PJ4
78 select DOVE_CLK
79 select ORION_IRQCHIP
80 select ORION_TIMER
81 select PINCTRL_DOVE
82 help
83 Say 'Y' here if you want your kernel to support the
84 Marvell Dove using flattened device tree.
85
Andrew Lunnba5a37e2014-02-22 20:14:57 +010086config MACH_KIRKWOOD
87 bool "Marvell Kirkwood boards" if ARCH_MULTI_V5
88 select ARCH_HAS_CPUFREQ
89 select ARCH_REQUIRE_GPIOLIB
90 select CPU_FEROCEON
91 select KIRKWOOD_CLK
Andrew Lunnba5a37e2014-02-22 20:14:57 +010092 select ORION_IRQCHIP
93 select ORION_TIMER
94 select PCI
95 select PCI_QUIRKS
96 select PINCTRL_KIRKWOOD
Andrew Lunnba5a37e2014-02-22 20:14:57 +010097 help
98 Say 'Y' here if you want your kernel to support boards based
99 on the Marvell Kirkwood device tree.
100
Gregory CLEMENT31af49d2012-06-01 18:21:46 +0200101endmenu
102
103endif