aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mvebu/Kconfig14
-rw-r--r--arch/arm/mach-mvebu/board-v7.c14
-rw-r--r--arch/arm/mach-mvebu/platsmp-a9.c2
3 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index c1e4567a5ab3..97473168d6b6 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -64,6 +64,20 @@ config MACH_ARMADA_38X
64 Say 'Y' here if you want your kernel to support boards based 64 Say 'Y' here if you want your kernel to support boards based
65 on the Marvell Armada 380/385 SoC with device tree. 65 on the Marvell Armada 380/385 SoC with device tree.
66 66
67config 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
67config MACH_ARMADA_XP 81config MACH_ARMADA_XP
68 bool "Marvell Armada XP boards" if ARCH_MULTI_V7 82 bool "Marvell Armada XP boards" if ARCH_MULTI_V7
69 select ARMADA_XP_CLK 83 select ARMADA_XP_CLK
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c
index 89a139ed7d5b..db8d15f9ad57 100644
--- a/arch/arm/mach-mvebu/board-v7.c
+++ b/arch/arm/mach-mvebu/board-v7.c
@@ -232,3 +232,17 @@ DT_MACHINE_START(ARMADA_38X_DT, "Marvell Armada 380/385 (Device Tree)")
232 .restart = mvebu_restart, 232 .restart = mvebu_restart,
233 .dt_compat = armada_38x_dt_compat, 233 .dt_compat = armada_38x_dt_compat,
234MACHINE_END 234MACHINE_END
235
236static const char * const armada_39x_dt_compat[] __initconst = {
237 "marvell,armada390",
238 "marvell,armada398",
239 NULL,
240};
241
242DT_MACHINE_START(ARMADA_39X_DT, "Marvell Armada 39x (Device Tree)")
243 .l2c_aux_val = 0,
244 .l2c_aux_mask = ~0,
245 .init_irq = mvebu_init_irq,
246 .restart = mvebu_restart,
247 .dt_compat = armada_39x_dt_compat,
248MACHINE_END
diff --git a/arch/arm/mach-mvebu/platsmp-a9.c b/arch/arm/mach-mvebu/platsmp-a9.c
index 2ec1a42b4321..df0a9cc5da59 100644
--- a/arch/arm/mach-mvebu/platsmp-a9.c
+++ b/arch/arm/mach-mvebu/platsmp-a9.c
@@ -110,3 +110,5 @@ CPU_METHOD_OF_DECLARE(mvebu_armada_375_smp, "marvell,armada-375-smp",
110 &mvebu_cortex_a9_smp_ops); 110 &mvebu_cortex_a9_smp_ops);
111CPU_METHOD_OF_DECLARE(mvebu_armada_380_smp, "marvell,armada-380-smp", 111CPU_METHOD_OF_DECLARE(mvebu_armada_380_smp, "marvell,armada-380-smp",
112 &armada_38x_smp_ops); 112 &armada_38x_smp_ops);
113CPU_METHOD_OF_DECLARE(mvebu_armada_390_smp, "marvell,armada-390-smp",
114 &armada_38x_smp_ops);