Kconfig 1.8 KB

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