blob: 94e9ce9944944e4b655d79168e31bab96190ace1 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
John Crispinae2b5bb2013-01-20 22:05:30 +01002if RALINK
3
John Crispin1f2acc52013-08-08 13:08:06 +02004config CLKEVT_RT3352
5 bool
6 depends on SOC_RT305X || SOC_MT7620
7 default y
Daniel Lezcanobb0eb052017-05-26 19:34:11 +02008 select TIMER_OF
John Crispin1f2acc52013-08-08 13:08:06 +02009 select CLKSRC_MMIO
10
John Crispina7b7aad2015-02-23 06:17:33 +010011config RALINK_ILL_ACC
12 bool
13 depends on SOC_RT305X
14 default y
15
John Crispin2761f832016-01-04 20:23:54 +010016config IRQ_INTC
17 bool
18 default y
John Crispin1df7add2016-01-04 20:23:55 +010019 depends on !SOC_MT7621
John Crispin2761f832016-01-04 20:23:54 +010020
John Crispinae2b5bb2013-01-20 22:05:30 +010021choice
22 prompt "Ralink SoC selection"
23 default SOC_RT305X
24 help
25 Select Ralink MIPS SoC type.
26
John Crispin80fb55a2013-01-27 09:17:20 +010027 config SOC_RT288X
28 bool "RT288x"
Florian Fainelli930beb52014-01-14 09:54:38 -080029 select MIPS_L1_CACHE_SHIFT_4
Christoph Hellwigeb01d422018-11-15 20:05:32 +010030 select HAVE_PCI
John Crispin80fb55a2013-01-27 09:17:20 +010031
John Crispinae2b5bb2013-01-20 22:05:30 +010032 config SOC_RT305X
33 bool "RT305x"
John Crispinae2b5bb2013-01-20 22:05:30 +010034
John Crispin293840b2013-01-27 09:39:02 +010035 config SOC_RT3883
36 bool "RT3883"
Christoph Hellwigeb01d422018-11-15 20:05:32 +010037 select HAVE_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 Roese0b153942018-12-17 10:47:48 +010041 select CPU_MIPSR2_IRQ_VI
Christoph Hellwigeb01d422018-11-15 20:05:32 +010042 select HAVE_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
John Crispin07724712016-12-20 19:12:45 +010050 select SYS_SUPPORTS_HIGHMEM
John Crispin1df7add2016-01-04 20:23:55 +010051 select MIPS_GIC
52 select COMMON_CLK
53 select CLKSRC_MIPS_GIC
Sergio Paracuellos3b2fa0c2019-10-19 10:12:33 +020054 select HAVE_PCI if PCI_MT7621
John Crispinae2b5bb2013-01-20 22:05:30 +010055endchoice
56
57choice
58 prompt "Devicetree selection"
59 default DTB_RT_NONE
60 help
61 Select the devicetree.
62
63 config DTB_RT_NONE
64 bool "None"
65
John Crispind99e19c2013-04-12 06:27:37 +000066 config DTB_RT2880_EVAL
67 bool "RT2880 eval kit"
68 depends on SOC_RT288X
Andrew Bresticker011eeec2014-08-21 13:04:26 -070069 select BUILTIN_DTB
John Crispind99e19c2013-04-12 06:27:37 +000070
John Crispinae2b5bb2013-01-20 22:05:30 +010071 config DTB_RT305X_EVAL
72 bool "RT305x eval kit"
73 depends on SOC_RT305X
Andrew Bresticker011eeec2014-08-21 13:04:26 -070074 select BUILTIN_DTB
John Crispinae2b5bb2013-01-20 22:05:30 +010075
John Crispin6fbfe90e2013-04-12 06:27:39 +000076 config DTB_RT3883_EVAL
77 bool "RT3883 eval kit"
78 depends on SOC_RT3883
Andrew Bresticker011eeec2014-08-21 13:04:26 -070079 select BUILTIN_DTB
John Crispin6fbfe90e2013-04-12 06:27:39 +000080
John Crispin9d500942013-04-12 06:27:41 +000081 config DTB_MT7620A_EVAL
82 bool "MT7620A eval kit"
83 depends on SOC_MT7620
Andrew Bresticker011eeec2014-08-21 13:04:26 -070084 select BUILTIN_DTB
John Crispin9d500942013-04-12 06:27:41 +000085
Harvey Hunt323ac962017-08-21 11:55:30 +010086 config DTB_OMEGA2P
87 bool "Onion Omega2+"
88 depends on SOC_MT7620
89 select BUILTIN_DTB
90
Harvey Huntd48faef2017-08-21 11:54:46 +010091 config DTB_VOCORE2
92 bool "VoCore2"
93 depends on SOC_MT7620
94 select BUILTIN_DTB
95
John Crispinae2b5bb2013-01-20 22:05:30 +010096endchoice
97
98endif