Kconfig 2.6 KB

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