Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # SPDX-License-Identifier: GPL-2.0
  2. if ATH79
  3. menu "Atheros AR71XX/AR724X/AR913X machine selection"
  4. config ATH79_MACH_AP121
  5. bool "Atheros AP121 reference board"
  6. select SOC_AR933X
  7. select ATH79_DEV_GPIO_BUTTONS
  8. select ATH79_DEV_LEDS_GPIO
  9. select ATH79_DEV_SPI
  10. select ATH79_DEV_USB
  11. select ATH79_DEV_WMAC
  12. help
  13. Say 'Y' here if you want your kernel to support the
  14. Atheros AP121 reference board.
  15. config ATH79_MACH_AP136
  16. bool "Atheros AP136 reference board"
  17. select SOC_QCA955X
  18. select ATH79_DEV_GPIO_BUTTONS
  19. select ATH79_DEV_LEDS_GPIO
  20. select ATH79_DEV_SPI
  21. select ATH79_DEV_USB
  22. select ATH79_DEV_WMAC
  23. help
  24. Say 'Y' here if you want your kernel to support the
  25. Atheros AP136 reference board.
  26. config ATH79_MACH_AP81
  27. bool "Atheros AP81 reference board"
  28. select SOC_AR913X
  29. select ATH79_DEV_GPIO_BUTTONS
  30. select ATH79_DEV_LEDS_GPIO
  31. select ATH79_DEV_SPI
  32. select ATH79_DEV_USB
  33. select ATH79_DEV_WMAC
  34. help
  35. Say 'Y' here if you want your kernel to support the
  36. Atheros AP81 reference board.
  37. config ATH79_MACH_DB120
  38. bool "Atheros DB120 reference board"
  39. select SOC_AR934X
  40. select ATH79_DEV_GPIO_BUTTONS
  41. select ATH79_DEV_LEDS_GPIO
  42. select ATH79_DEV_SPI
  43. select ATH79_DEV_USB
  44. select ATH79_DEV_WMAC
  45. help
  46. Say 'Y' here if you want your kernel to support the
  47. Atheros DB120 reference board.
  48. config ATH79_MACH_PB44
  49. bool "Atheros PB44 reference board"
  50. select SOC_AR71XX
  51. select ATH79_DEV_GPIO_BUTTONS
  52. select ATH79_DEV_LEDS_GPIO
  53. select ATH79_DEV_SPI
  54. select ATH79_DEV_USB
  55. help
  56. Say 'Y' here if you want your kernel to support the
  57. Atheros PB44 reference board.
  58. config ATH79_MACH_UBNT_XM
  59. bool "Ubiquiti Networks XM (rev 1.0) board"
  60. select SOC_AR724X
  61. select ATH79_DEV_GPIO_BUTTONS
  62. select ATH79_DEV_LEDS_GPIO
  63. select ATH79_DEV_SPI
  64. help
  65. Say 'Y' here if you want your kernel to support the
  66. Ubiquiti Networks XM (rev 1.0) board.
  67. endmenu
  68. config SOC_AR71XX
  69. select HW_HAS_PCI
  70. def_bool n
  71. config SOC_AR724X
  72. select HW_HAS_PCI
  73. select PCI_AR724X if PCI
  74. def_bool n
  75. config SOC_AR913X
  76. def_bool n
  77. config SOC_AR933X
  78. def_bool n
  79. config SOC_AR934X
  80. select HW_HAS_PCI
  81. select PCI_AR724X if PCI
  82. def_bool n
  83. config SOC_QCA955X
  84. select HW_HAS_PCI
  85. select PCI_AR724X if PCI
  86. def_bool n
  87. config PCI_AR724X
  88. def_bool n
  89. config ATH79_DEV_GPIO_BUTTONS
  90. def_bool n
  91. config ATH79_DEV_LEDS_GPIO
  92. def_bool n
  93. config ATH79_DEV_SPI
  94. def_bool n
  95. config ATH79_DEV_USB
  96. def_bool n
  97. config ATH79_DEV_WMAC
  98. depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
  99. def_bool n
  100. endif