Kconfig 1.9 KB

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