Kconfig 1.6 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
J
John Crispin 已提交
2 3
if RALINK

4 5 6 7
config CLKEVT_RT3352
	bool
	depends on SOC_RT305X || SOC_MT7620
	default y
8
	select TIMER_OF
9 10
	select CLKSRC_MMIO

11 12 13 14 15
config RALINK_ILL_ACC
	bool
	depends on SOC_RT305X
	default y

16 17 18
config IRQ_INTC
	bool
	default y
J
John Crispin 已提交
19
	depends on !SOC_MT7621
20

J
John Crispin 已提交
21 22 23 24 25 26
choice
	prompt "Ralink SoC selection"
	default SOC_RT305X
	help
	  Select Ralink MIPS SoC type.

27 28
	config SOC_RT288X
		bool "RT288x"
29
		select MIPS_L1_CACHE_SHIFT_4
30
		select HAVE_PCI
31

J
John Crispin 已提交
32 33 34
	config SOC_RT305X
		bool "RT305x"

35 36
	config SOC_RT3883
		bool "RT3883"
37
		select HAVE_PCI
38

39
	config SOC_MT7620
J
John Crispin 已提交
40
		bool "MT7620/8"
41
		select CPU_MIPSR2_IRQ_VI
42
		select HAVE_PCI
43

J
John Crispin 已提交
44 45 46 47 48 49
	config SOC_MT7621
		bool "MT7621"
		select MIPS_CPU_SCACHE
		select SYS_SUPPORTS_MULTITHREADING
		select SYS_SUPPORTS_SMP
		select SYS_SUPPORTS_MIPS_CPS
50
		select SYS_SUPPORTS_HIGHMEM
J
John Crispin 已提交
51 52 53
		select MIPS_GIC
		select COMMON_CLK
		select CLKSRC_MIPS_GIC
54
		select HAVE_PCI
J
John Crispin 已提交
55 56 57 58 59 60 61 62 63 64 65
endchoice

choice
	prompt "Devicetree selection"
	default DTB_RT_NONE
	help
	  Select the devicetree.

	config DTB_RT_NONE
		bool "None"

66 67 68
	config DTB_RT2880_EVAL
		bool "RT2880 eval kit"
		depends on SOC_RT288X
69
		select BUILTIN_DTB
70

J
John Crispin 已提交
71 72 73
	config DTB_RT305X_EVAL
		bool "RT305x eval kit"
		depends on SOC_RT305X
74
		select BUILTIN_DTB
J
John Crispin 已提交
75

76 77 78
	config DTB_RT3883_EVAL
		bool "RT3883 eval kit"
		depends on SOC_RT3883
79
		select BUILTIN_DTB
80

81 82 83
	config DTB_MT7620A_EVAL
		bool "MT7620A eval kit"
		depends on SOC_MT7620
84
		select BUILTIN_DTB
85

H
Harvey Hunt 已提交
86 87 88 89 90
	config DTB_OMEGA2P
		bool "Onion Omega2+"
		depends on SOC_MT7620
		select BUILTIN_DTB

H
Harvey Hunt 已提交
91 92 93 94 95
	config DTB_VOCORE2
		bool "VoCore2"
		depends on SOC_MT7620
		select BUILTIN_DTB

J
John Crispin 已提交
96 97 98
endchoice

endif