summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-meson/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-meson/Kconfig')
-rw-r--r--arch/arm/mach-meson/Kconfig29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
new file mode 100644
index 000000000..75034fe19
--- /dev/null
+++ b/arch/arm/mach-meson/Kconfig
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: GPL-2.0-only
+menuconfig ARCH_MESON
+ bool "Amlogic Meson SoCs"
+ depends on ARCH_MULTI_V7
+ select GPIOLIB
+ select GENERIC_IRQ_CHIP
+ select ARM_GIC
+ select ARM_GLOBAL_TIMER
+ select CACHE_L2X0
+ select PINCTRL
+ select PINCTRL_MESON
+ select HAVE_ARM_SCU if SMP
+ select HAVE_ARM_TWD if SMP
+
+if ARCH_MESON
+
+config MACH_MESON6
+ bool "Amlogic Meson6 (8726MX) SoCs support"
+ default ARCH_MESON
+ select MESON6_TIMER
+
+config MACH_MESON8
+ bool "Amlogic Meson8, Meson8b and Meson8m2 SoCs support"
+ default ARCH_MESON
+ select MESON6_TIMER
+ select COMMON_CLK_MESON8B
+ select MESON_IRQ_GPIO
+
+endif