xref: /kernel/linux/linux-5.10/arch/mips/ralink/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciif RALINK
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciconfig CLKEVT_RT3352
58c2ecf20Sopenharmony_ci	bool
68c2ecf20Sopenharmony_ci	depends on SOC_RT305X || SOC_MT7620
78c2ecf20Sopenharmony_ci	default y
88c2ecf20Sopenharmony_ci	select TIMER_OF
98c2ecf20Sopenharmony_ci	select CLKSRC_MMIO
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciconfig RALINK_ILL_ACC
128c2ecf20Sopenharmony_ci	bool
138c2ecf20Sopenharmony_ci	depends on SOC_RT305X
148c2ecf20Sopenharmony_ci	default y
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig IRQ_INTC
178c2ecf20Sopenharmony_ci	bool
188c2ecf20Sopenharmony_ci	default y
198c2ecf20Sopenharmony_ci	depends on !SOC_MT7621
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_cichoice
228c2ecf20Sopenharmony_ci	prompt "Ralink SoC selection"
238c2ecf20Sopenharmony_ci	default SOC_RT305X
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Select Ralink MIPS SoC type.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	config SOC_RT288X
288c2ecf20Sopenharmony_ci		bool "RT288x"
298c2ecf20Sopenharmony_ci		select MIPS_L1_CACHE_SHIFT_4
308c2ecf20Sopenharmony_ci		select HAVE_LEGACY_CLK
318c2ecf20Sopenharmony_ci		select HAVE_PCI
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	config SOC_RT305X
348c2ecf20Sopenharmony_ci		bool "RT305x"
358c2ecf20Sopenharmony_ci		select HAVE_LEGACY_CLK
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	config SOC_RT3883
388c2ecf20Sopenharmony_ci		bool "RT3883"
398c2ecf20Sopenharmony_ci		select HAVE_LEGACY_CLK
408c2ecf20Sopenharmony_ci		select HAVE_PCI
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	config SOC_MT7620
438c2ecf20Sopenharmony_ci		bool "MT7620/8"
448c2ecf20Sopenharmony_ci		select CPU_MIPSR2_IRQ_VI
458c2ecf20Sopenharmony_ci		select HAVE_LEGACY_CLK
468c2ecf20Sopenharmony_ci		select HAVE_PCI
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci	config SOC_MT7621
498c2ecf20Sopenharmony_ci		bool "MT7621"
508c2ecf20Sopenharmony_ci		select MIPS_CPU_SCACHE
518c2ecf20Sopenharmony_ci		select SYS_SUPPORTS_MULTITHREADING
528c2ecf20Sopenharmony_ci		select SYS_SUPPORTS_SMP
538c2ecf20Sopenharmony_ci		select SYS_SUPPORTS_MIPS_CPS
548c2ecf20Sopenharmony_ci		select SYS_SUPPORTS_HIGHMEM
558c2ecf20Sopenharmony_ci		select MIPS_GIC
568c2ecf20Sopenharmony_ci		select COMMON_CLK
578c2ecf20Sopenharmony_ci		select CLKSRC_MIPS_GIC
588c2ecf20Sopenharmony_ci		select HAVE_PCI if PCI_MT7621
598c2ecf20Sopenharmony_ci		select SOC_BUS
608c2ecf20Sopenharmony_ciendchoice
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_cichoice
638c2ecf20Sopenharmony_ci	prompt "Devicetree selection"
648c2ecf20Sopenharmony_ci	default DTB_RT_NONE
658c2ecf20Sopenharmony_ci	help
668c2ecf20Sopenharmony_ci	  Select the devicetree.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci	config DTB_RT_NONE
698c2ecf20Sopenharmony_ci		bool "None"
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci	config DTB_RT2880_EVAL
728c2ecf20Sopenharmony_ci		bool "RT2880 eval kit"
738c2ecf20Sopenharmony_ci		depends on SOC_RT288X
748c2ecf20Sopenharmony_ci		select BUILTIN_DTB
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci	config DTB_RT305X_EVAL
778c2ecf20Sopenharmony_ci		bool "RT305x eval kit"
788c2ecf20Sopenharmony_ci		depends on SOC_RT305X
798c2ecf20Sopenharmony_ci		select BUILTIN_DTB
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci	config DTB_RT3883_EVAL
828c2ecf20Sopenharmony_ci		bool "RT3883 eval kit"
838c2ecf20Sopenharmony_ci		depends on SOC_RT3883
848c2ecf20Sopenharmony_ci		select BUILTIN_DTB
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci	config DTB_MT7620A_EVAL
878c2ecf20Sopenharmony_ci		bool "MT7620A eval kit"
888c2ecf20Sopenharmony_ci		depends on SOC_MT7620
898c2ecf20Sopenharmony_ci		select BUILTIN_DTB
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci	config DTB_OMEGA2P
928c2ecf20Sopenharmony_ci		bool "Onion Omega2+"
938c2ecf20Sopenharmony_ci		depends on SOC_MT7620
948c2ecf20Sopenharmony_ci		select BUILTIN_DTB
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci	config DTB_VOCORE2
978c2ecf20Sopenharmony_ci		bool "VoCore2"
988c2ecf20Sopenharmony_ci		depends on SOC_MT7620
998c2ecf20Sopenharmony_ci		select BUILTIN_DTB
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ciendchoice
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ciendif
104