Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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_L1_CACHE_SHIFT_4
  25. select HW_HAS_PCI
  26. config SOC_RT305X
  27. bool "RT305x"
  28. config SOC_RT3883
  29. bool "RT3883"
  30. select HW_HAS_PCI
  31. config SOC_MT7620
  32. bool "MT7620/8"
  33. select CPU_MIPSR2_IRQ_VI
  34. select HW_HAS_PCI
  35. config SOC_MT7621
  36. bool "MT7621"
  37. select MIPS_CPU_SCACHE
  38. select SYS_SUPPORTS_MULTITHREADING
  39. select SYS_SUPPORTS_SMP
  40. select SYS_SUPPORTS_MIPS_CPS
  41. select SYS_SUPPORTS_HIGHMEM
  42. select MIPS_GIC
  43. select COMMON_CLK
  44. select CLKSRC_MIPS_GIC
  45. select HW_HAS_PCI
  46. endchoice
  47. choice
  48. prompt "Devicetree selection"
  49. default DTB_RT_NONE
  50. help
  51. Select the devicetree.
  52. config DTB_RT_NONE
  53. bool "None"
  54. config DTB_RT2880_EVAL
  55. bool "RT2880 eval kit"
  56. depends on SOC_RT288X
  57. select BUILTIN_DTB
  58. config DTB_RT305X_EVAL
  59. bool "RT305x eval kit"
  60. depends on SOC_RT305X
  61. select BUILTIN_DTB
  62. config DTB_RT3883_EVAL
  63. bool "RT3883 eval kit"
  64. depends on SOC_RT3883
  65. select BUILTIN_DTB
  66. config DTB_MT7620A_EVAL
  67. bool "MT7620A eval kit"
  68. depends on SOC_MT7620
  69. select BUILTIN_DTB
  70. config DTB_OMEGA2P
  71. bool "Onion Omega2+"
  72. depends on SOC_MT7620
  73. select BUILTIN_DTB
  74. config DTB_VOCORE2
  75. bool "VoCore2"
  76. depends on SOC_MT7620
  77. select BUILTIN_DTB
  78. endchoice
  79. endif