1# SPDX-License-Identifier: GPL-2.0 2if RALINK 3 4config CLKEVT_RT3352 5 bool 6 depends on SOC_RT305X || SOC_MT7620 7 default y 8 select TIMER_OF 9 select CLKSRC_MMIO 10 11config RALINK_ILL_ACC 12 bool 13 depends on SOC_RT305X 14 default y 15 16config IRQ_INTC 17 bool 18 default y 19 depends on !SOC_MT7621 20 21choice 22 prompt "Ralink SoC selection" 23 default SOC_RT305X 24 help 25 Select Ralink MIPS SoC type. 26 27 config SOC_RT288X 28 bool "RT288x" 29 select MIPS_AUTO_PFN_OFFSET 30 select MIPS_L1_CACHE_SHIFT_4 31 select HAVE_PCI 32 select SOC_BUS 33 34 config SOC_RT305X 35 bool "RT305x" 36 select SOC_BUS 37 38 config SOC_RT3883 39 bool "RT3883" 40 select HAVE_PCI 41 select SOC_BUS 42 43 config SOC_MT7620 44 bool "MT7620/8" 45 select CPU_MIPSR2_IRQ_VI 46 select HAVE_PCI 47 48 config SOC_MT7621 49 bool "MT7621" 50 select MIPS_CPU_SCACHE 51 select SYS_SUPPORTS_MULTITHREADING 52 select SYS_SUPPORTS_SMP 53 select SYS_SUPPORTS_MIPS_CPS 54 select SYS_SUPPORTS_HIGHMEM 55 select MIPS_GIC 56 select CLKSRC_MIPS_GIC 57 select HAVE_PCI 58 select PCI_DRIVERS_GENERIC 59 select SOC_BUS 60 select PINCTRL 61 62 help 63 The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc 64 dual-core CPU, a 5-port 10/100/1000 switch/PHY and one RGMII. 65endchoice 66 67choice 68 prompt "Devicetree selection" 69 depends on !SOC_MT7621 70 default DTB_RT_NONE 71 help 72 Select the devicetree. 73 74 config DTB_RT_NONE 75 bool "None" 76 77 config DTB_RT2880_EVAL 78 bool "RT2880 eval kit" 79 depends on SOC_RT288X 80 select BUILTIN_DTB 81 82 config DTB_RT305X_EVAL 83 bool "RT305x eval kit" 84 depends on SOC_RT305X 85 select BUILTIN_DTB 86 87 config DTB_RT3883_EVAL 88 bool "RT3883 eval kit" 89 depends on SOC_RT3883 90 select BUILTIN_DTB 91 92 config DTB_MT7620A_EVAL 93 bool "MT7620A eval kit" 94 depends on SOC_MT7620 95 select BUILTIN_DTB 96 97 config DTB_OMEGA2P 98 bool "Onion Omega2+" 99 depends on SOC_MT7620 100 select BUILTIN_DTB 101 102 config DTB_VOCORE2 103 bool "VoCore2" 104 depends on SOC_MT7620 105 select BUILTIN_DTB 106 107endchoice 108 109endif 110