Kconfig 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. config SOC_RT305X
  28. bool "RT305x"
  29. config SOC_RT3883
  30. bool "RT3883"
  31. select HAVE_PCI
  32. config SOC_MT7620
  33. bool "MT7620/8"
  34. select CPU_MIPSR2_IRQ_VI
  35. select HAVE_PCI
  36. config SOC_MT7621
  37. bool "MT7621"
  38. select MIPS_CPU_SCACHE
  39. select SYS_SUPPORTS_MULTITHREADING
  40. select SYS_SUPPORTS_SMP
  41. select SYS_SUPPORTS_MIPS_CPS
  42. select SYS_SUPPORTS_HIGHMEM
  43. select MIPS_GIC
  44. select CLKSRC_MIPS_GIC
  45. select HAVE_PCI
  46. select PCI_DRIVERS_GENERIC
  47. select SOC_BUS
  48. help
  49. The MT7621 system-on-a-chip includes an 880 MHz MIPS1004Kc dual-core CPU,
  50. a 5-port 10/100/1000 switch/PHY and one RGMII.
  51. endchoice
  52. choice
  53. prompt "Devicetree selection"
  54. depends on !SOC_MT7621
  55. default DTB_RT_NONE
  56. help
  57. Select the devicetree.
  58. config DTB_RT_NONE
  59. bool "None"
  60. config DTB_RT2880_EVAL
  61. bool "RT2880 eval kit"
  62. depends on SOC_RT288X
  63. select BUILTIN_DTB
  64. config DTB_RT305X_EVAL
  65. bool "RT305x eval kit"
  66. depends on SOC_RT305X
  67. select BUILTIN_DTB
  68. config DTB_RT3883_EVAL
  69. bool "RT3883 eval kit"
  70. depends on SOC_RT3883
  71. select BUILTIN_DTB
  72. config DTB_MT7620A_EVAL
  73. bool "MT7620A eval kit"
  74. depends on SOC_MT7620
  75. select BUILTIN_DTB
  76. config DTB_OMEGA2P
  77. bool "Onion Omega2+"
  78. depends on SOC_MT7620
  79. select BUILTIN_DTB
  80. config DTB_VOCORE2
  81. bool "VoCore2"
  82. depends on SOC_MT7620
  83. select BUILTIN_DTB
  84. endchoice
  85. endif