18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig ARCH_MESON
38c2ecf20Sopenharmony_ci	bool "Amlogic Meson SoCs"
48c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
58c2ecf20Sopenharmony_ci	select GPIOLIB
68c2ecf20Sopenharmony_ci	select GENERIC_IRQ_CHIP
78c2ecf20Sopenharmony_ci	select ARM_GIC
88c2ecf20Sopenharmony_ci	select ARM_GLOBAL_TIMER
98c2ecf20Sopenharmony_ci	select CACHE_L2X0
108c2ecf20Sopenharmony_ci	select PINCTRL
118c2ecf20Sopenharmony_ci	select PINCTRL_MESON
128c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU if SMP
138c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciif ARCH_MESON
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig MACH_MESON6
188c2ecf20Sopenharmony_ci	bool "Amlogic Meson6 (8726MX) SoCs support"
198c2ecf20Sopenharmony_ci	default ARCH_MESON
208c2ecf20Sopenharmony_ci	select MESON6_TIMER
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig MACH_MESON8
238c2ecf20Sopenharmony_ci	bool "Amlogic Meson8, Meson8b and Meson8m2 SoCs support"
248c2ecf20Sopenharmony_ci	default ARCH_MESON
258c2ecf20Sopenharmony_ci	select MESON6_TIMER
268c2ecf20Sopenharmony_ci	select COMMON_CLK_MESON8B
278c2ecf20Sopenharmony_ci	select MESON_IRQ_GPIO
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciendif
30