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