blob: 55a5fee781e81f2ef114a60b97a70877eff76997 [file] [log] [blame]
John Crispinae2b5bb2013-01-20 22:05:30 +01001if RALINK
2
John Crispin1f2acc52013-08-08 13:08:06 +02003config CLKEVT_RT3352
4 bool
5 depends on SOC_RT305X || SOC_MT7620
6 default y
7 select CLKSRC_OF
8 select CLKSRC_MMIO
9
John Crispina7b7aad2015-02-23 06:17:33 +010010config RALINK_ILL_ACC
11 bool
12 depends on SOC_RT305X
13 default y
14
John Crispin2761f832016-01-04 20:23:54 +010015config IRQ_INTC
16 bool
17 default y
John Crispin1df7add2016-01-04 20:23:55 +010018 depends on !SOC_MT7621
John Crispin2761f832016-01-04 20:23:54 +010019
John Crispinae2b5bb2013-01-20 22:05:30 +010020choice
21 prompt "Ralink SoC selection"
22 default SOC_RT305X
23 help
24 Select Ralink MIPS SoC type.
25
John Crispin80fb55a2013-01-27 09:17:20 +010026 config SOC_RT288X
27 bool "RT288x"
Florian Fainelli930beb52014-01-14 09:54:38 -080028 select MIPS_L1_CACHE_SHIFT_4
John Crispin187c26d2014-10-09 03:54:47 +020029 select HW_HAS_PCI
John Crispin80fb55a2013-01-27 09:17:20 +010030
John Crispinae2b5bb2013-01-20 22:05:30 +010031 config SOC_RT305X
32 bool "RT305x"
33 select USB_ARCH_HAS_HCD
John Crispinae2b5bb2013-01-20 22:05:30 +010034
John Crispin293840b2013-01-27 09:39:02 +010035 config SOC_RT3883
36 bool "RT3883"
Gabor Juhos12d14e02013-08-23 14:03:20 +020037 select HW_HAS_PCI
John Crispin293840b2013-01-27 09:39:02 +010038
John Crispin594bde62013-03-21 17:49:02 +010039 config SOC_MT7620
John Crispin53263a12014-10-08 23:30:24 +020040 bool "MT7620/8"
Stefan Roeseb82eaa22018-12-17 10:47:48 +010041 select CPU_MIPSR2_IRQ_VI
John Crispin7e5873d2016-01-04 20:24:01 +010042 select HW_HAS_PCI
John Crispin594bde62013-03-21 17:49:02 +010043
John Crispin1df7add2016-01-04 20:23:55 +010044 config SOC_MT7621
45 bool "MT7621"
46 select MIPS_CPU_SCACHE
47 select SYS_SUPPORTS_MULTITHREADING
48 select SYS_SUPPORTS_SMP
49 select SYS_SUPPORTS_MIPS_CPS
50 select MIPS_GIC
51 select COMMON_CLK
52 select CLKSRC_MIPS_GIC
53 select HW_HAS_PCI
John Crispinae2b5bb2013-01-20 22:05:30 +010054endchoice
55
56choice
57 prompt "Devicetree selection"
58 default DTB_RT_NONE
59 help
60 Select the devicetree.
61
62 config DTB_RT_NONE
63 bool "None"
64
John Crispind99e19c2013-04-12 06:27:37 +000065 config DTB_RT2880_EVAL
66 bool "RT2880 eval kit"
67 depends on SOC_RT288X
Andrew Bresticker011eeec2014-08-21 13:04:26 -070068 select BUILTIN_DTB
John Crispind99e19c2013-04-12 06:27:37 +000069
John Crispinae2b5bb2013-01-20 22:05:30 +010070 config DTB_RT305X_EVAL
71 bool "RT305x eval kit"
72 depends on SOC_RT305X
Andrew Bresticker011eeec2014-08-21 13:04:26 -070073 select BUILTIN_DTB
John Crispinae2b5bb2013-01-20 22:05:30 +010074
John Crispin6fbfe90e2013-04-12 06:27:39 +000075 config DTB_RT3883_EVAL
76 bool "RT3883 eval kit"
77 depends on SOC_RT3883
Andrew Bresticker011eeec2014-08-21 13:04:26 -070078 select BUILTIN_DTB
John Crispin6fbfe90e2013-04-12 06:27:39 +000079
John Crispin9d500942013-04-12 06:27:41 +000080 config DTB_MT7620A_EVAL
81 bool "MT7620A eval kit"
82 depends on SOC_MT7620
Andrew Bresticker011eeec2014-08-21 13:04:26 -070083 select BUILTIN_DTB
John Crispin9d500942013-04-12 06:27:41 +000084
John Crispinae2b5bb2013-01-20 22:05:30 +010085endchoice
86
87endif