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