610-MIPS-ath79-openwrt-machines.patch 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595
  1. --- a/arch/mips/ath79/machtypes.h
  2. +++ b/arch/mips/ath79/machtypes.h
  3. @@ -16,22 +16,195 @@
  4. enum ath79_mach_type {
  5. ATH79_MACH_GENERIC = 0,
  6. + ATH79_MACH_ALFA_AP96, /* ALFA Network AP96 board */
  7. + ATH79_MACH_ALFA_NX, /* ALFA Network N2/N5 board */
  8. + ATH79_MACH_ALL0258N, /* Allnet ALL0258N */
  9. + ATH79_MACH_ALL0305, /* Allnet ALL0305 */
  10. + ATH79_MACH_ALL0315N, /* Allnet ALL0315N */
  11. + ATH79_MACH_AP113, /* Atheros AP113 reference board */
  12. ATH79_MACH_AP121, /* Atheros AP121 reference board */
  13. ATH79_MACH_AP121_MINI, /* Atheros AP121-MINI reference board */
  14. + ATH79_MACH_AP132, /* Atheros AP132 reference board */
  15. ATH79_MACH_AP135_020, /* Atheros AP135-020 reference board */
  16. ATH79_MACH_AP136_010, /* Atheros AP136-010 reference board */
  17. ATH79_MACH_AP136_020, /* Atheros AP136-020 reference board */
  18. ATH79_MACH_AP81, /* Atheros AP81 reference board */
  19. + ATH79_MACH_AP83, /* Atheros AP83 */
  20. + ATH79_MACH_AP96, /* Atheros AP96 */
  21. + ATH79_MACH_ARCHER_C5, /* TP-LINK Archer C5 board */
  22. + ATH79_MACH_ARCHER_C7, /* TP-LINK Archer C7 board */
  23. + ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
  24. + ATH79_MACH_BHU_BXU2000N2_A1, /* BHU BXU2000n-2 A1 */
  25. + ATH79_MACH_CAP4200AG, /* Senao CAP4200AG */
  26. + ATH79_MACH_CARAMBOLA2, /* 8devices Carambola2 */
  27. + ATH79_MACH_CPE510, /* TP-LINK CPE510 */
  28. ATH79_MACH_DB120, /* Atheros DB120 reference board */
  29. ATH79_MACH_PB44, /* Atheros PB44 reference board */
  30. + ATH79_MACH_DGL_5500_A1, /* D-link DGL-5500 rev. A1 */
  31. + ATH79_MACH_DHP_1565_A1, /* D-Link DHP-1565 rev. A1 */
  32. + ATH79_MACH_DIR_505_A1, /* D-Link DIR-505 rev. A1 */
  33. + ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
  34. + ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
  35. + ATH79_MACH_DIR_615_E1, /* D-Link DIR-615 rev. E1 */
  36. + ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
  37. + ATH79_MACH_DIR_615_I1, /* D-Link DIR-615 rev. I1 */
  38. + ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
  39. + ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
  40. + ATH79_MACH_DIR_835_A1, /* D-Link DIR-835 rev. A1 */
  41. + ATH79_MACH_DLAN_PRO_500_WP, /* devolo dLAN pro 500 Wireless+ */
  42. + ATH79_MACH_DLAN_PRO_1200_AC, /* devolo dLAN pro 1200+ WiFi ac*/
  43. + ATH79_MACH_DRAGINO2, /* Dragino Version 2 */
  44. + ATH79_MACH_ESR900, /* EnGenius ESR900 */
  45. + ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
  46. + ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router Platform */
  47. + ATH79_MACH_EAP300V2, /* EnGenius EAP300 v2 */
  48. + ATH79_MACH_EAP7660D, /* Senao EAP7660D */
  49. + ATH79_MACH_EL_M150, /* EasyLink EL-M150 */
  50. + ATH79_MACH_EL_MINI, /* EasyLink EL-MINI */
  51. + ATH79_MACH_ESR1750, /* EnGenius ESR1750 */
  52. + ATH79_MACH_F9K1115V2, /* Belkin AC1750DB */
  53. + ATH79_MACH_GL_INET, /* GL-CONNECT GL-INET */
  54. + ATH79_MACH_GS_OOLITE, /* GS OOLITE V1.0 */
  55. + ATH79_MACH_HIWIFI_HC6361, /* HiWiFi HC6361 */
  56. + ATH79_MACH_JA76PF, /* jjPlus JA76PF */
  57. + ATH79_MACH_JA76PF2, /* jjPlus JA76PF2 */
  58. + ATH79_MACH_JWAP003, /* jjPlus JWAP003 */
  59. + ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
  60. + ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
  61. + ATH79_MACH_MR600, /* OpenMesh MR600 */
  62. + ATH79_MACH_MR900, /* OpenMesh MR900 */
  63. + ATH79_MACH_MR900v2, /* OpenMesh MR900v2 */
  64. + ATH79_MACH_MYNET_N600, /* WD My Net N600 */
  65. + ATH79_MACH_MYNET_N750, /* WD My Net N750 */
  66. + ATH79_MACH_MYNET_REXT, /* WD My Net Wi-Fi Range Extender */
  67. + ATH79_MACH_MZK_W04NU, /* Planex MZK-W04NU */
  68. + ATH79_MACH_MZK_W300NH, /* Planex MZK-W300NH */
  69. + ATH79_MACH_NBG460N, /* Zyxel NBG460N/550N/550NH */
  70. + ATH79_MACH_NBG6716, /* Zyxel NBG6716 */
  71. + ATH79_MACH_OM2P_HSv2, /* OpenMesh OM2P-HSv2 */
  72. + ATH79_MACH_OM2P_HS, /* OpenMesh OM2P-HS */
  73. + ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
  74. + ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
  75. + ATH79_MACH_OM2P, /* OpenMesh OM2P */
  76. + ATH79_MACH_OM5P, /* OpenMesh OM5P */
  77. + ATH79_MACH_PB42, /* Atheros PB42 */
  78. + ATH79_MACH_PB92, /* Atheros PB92 */
  79. + ATH79_MACH_QIHOO_C301, /* Qihoo 360 C301 */
  80. + ATH79_MACH_R6100, /* NETGEAR R6100 */
  81. + ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
  82. + ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
  83. + ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
  84. + ATH79_MACH_RB_433U, /* MikroTik RouterBOARD 433UAH */
  85. + ATH79_MACH_RB_435G, /* MikroTik RouterBOARD 435G */
  86. + ATH79_MACH_RB_450G, /* MikroTik RouterBOARD 450G */
  87. + ATH79_MACH_RB_450, /* MikroTik RouterBOARD 450 */
  88. + ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
  89. + ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
  90. + ATH79_MACH_RB_711GR100, /* Mikrotik RouterBOARD 911/912 boards */
  91. + ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
  92. + ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
  93. + ATH79_MACH_RB_751, /* MikroTik RouterBOARD 751 */
  94. + ATH79_MACH_RB_751G, /* Mikrotik RouterBOARD 751G */
  95. + ATH79_MACH_RB_951G, /* Mikrotik RouterBOARD 951G */
  96. + ATH79_MACH_RB_951U, /* Mikrotik RouterBOARD 951Ui-2HnD */
  97. + ATH79_MACH_RB_2011G, /* Mikrotik RouterBOARD 2011UAS-2HnD */
  98. + ATH79_MACH_RB_2011L, /* Mikrotik RouterBOARD 2011L */
  99. + ATH79_MACH_RB_2011US, /* Mikrotik RouterBOARD 2011UAS */
  100. + ATH79_MACH_RB_2011R5, /* Mikrotik RouterBOARD 2011UiAS(-2Hnd) */
  101. + ATH79_MACH_RB_SXTLITE2ND, /* Mikrotik RouterBOARD SXT Lite 2nD */
  102. + ATH79_MACH_RB_SXTLITE5ND, /* Mikrotik RouterBOARD SXT Lite 5nD */
  103. + ATH79_MACH_RW2458N, /* Redwave RW2458N */
  104. + ATH79_MACH_SMART_300, /* NC-LINK SMART-300 */
  105. + ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
  106. + ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
  107. + ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
  108. + ATH79_MACH_TEW_732BR, /* TRENDnet TEW-732BR */
  109. + ATH79_MACH_TL_MR10U, /* TP-LINK TL-MR10U */
  110. + ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
  111. + ATH79_MACH_TL_MR13U, /* TP-LINK TL-MR13U */
  112. + ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
  113. + ATH79_MACH_TL_MR3040, /* TP-LINK TL-MR3040 */
  114. + ATH79_MACH_TL_MR3040_V2, /* TP-LINK TL-MR3040 v2 */
  115. + ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
  116. + ATH79_MACH_TL_MR3220_V2, /* TP-LINK TL-MR3220 v2 */
  117. + ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
  118. + ATH79_MACH_TL_MR3420_V2, /* TP-LINK TL-MR3420 v2 */
  119. + ATH79_MACH_TL_WA701ND_V2, /* TP-LINK TL-WA701ND v2 */
  120. + ATH79_MACH_TL_WA750RE, /* TP-LINK TL-WA750RE */
  121. + ATH79_MACH_TL_WA7210N_V2, /* TP-LINK TL-WA7210N v2 */
  122. + ATH79_MACH_TL_WA7510N_V1, /* TP-LINK TL-WA7510N v1*/
  123. + ATH79_MACH_TL_WA850RE, /* TP-LINK TL-WA850RE */
  124. + ATH79_MACH_TL_WA860RE, /* TP-LINK TL-WA860RE */
  125. + ATH79_MACH_TL_WA801ND_V2, /* TP-LINK TL-WA801ND v2 */
  126. + ATH79_MACH_TL_WA830RE_V2, /* TP-LINK TL-WA830RE v2 */
  127. + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */
  128. + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */
  129. + ATH79_MACH_TL_WA901ND_V3, /* TP-LINK TL-WA901ND v3 */
  130. + ATH79_MACH_TL_WDR3500, /* TP-LINK TL-WDR3500 */
  131. + ATH79_MACH_TL_WDR4300, /* TP-LINK TL-WDR4300 */
  132. + ATH79_MACH_TL_WDR4900_V2, /* TP-LINK TL-WDR4900 v2 */
  133. + ATH79_MACH_TL_WR1041N_V2, /* TP-LINK TL-WR1041N v2 */
  134. + ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1043ND */
  135. + ATH79_MACH_TL_WR1043ND_V2, /* TP-LINK TL-WR1043ND v2 */
  136. + ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
  137. + ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */
  138. + ATH79_MACH_TL_WR710N, /* TP-LINK TL-WR710N */
  139. + ATH79_MACH_TL_WR720N_V3, /* TP-LINK TL-WR720N v3/v4 */
  140. + ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
  141. + ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/
  142. + ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
  143. + ATH79_MACH_TL_WR841N_V7, /* TP-LINK TL-WR841N/ND v7 */
  144. + ATH79_MACH_TL_WR841N_V8, /* TP-LINK TL-WR841N/ND v8 */
  145. + ATH79_MACH_TL_WR841N_V9, /* TP-LINK TL-WR841N/ND v9 */
  146. + ATH79_MACH_TL_WR842N_V2, /* TP-LINK TL-WR842N/ND v2 */
  147. + ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
  148. + ATH79_MACH_TL_WR941ND_V5, /* TP-LINK TL-WR941ND v5 */
  149. + ATH79_MACH_TUBE2H, /* Alfa Network Tube2H */
  150. + ATH79_MACH_UBNT_AIRGW, /* Ubiquiti AirGateway */
  151. ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
  152. ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
  153. + ATH79_MACH_UBNT_LOCO_M_XW, /* Ubiquiti Loco M XW */
  154. + ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
  155. + ATH79_MACH_UBNT_LSX, /* Ubiquiti LSX */
  156. ATH79_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
  157. + ATH79_MACH_UBNT_NANO_M_XW, /* Ubiquiti NanoStation M XW */
  158. ATH79_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
  159. + ATH79_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
  160. + ATH79_MACH_UBNT_RS, /* Ubiquiti RouterStation */
  161. ATH79_MACH_UBNT_UAP_PRO, /* Ubiquiti UniFi AP Pro */
  162. ATH79_MACH_UBNT_UNIFI, /* Ubiquiti Unifi */
  163. ATH79_MACH_UBNT_UNIFI_OUTDOOR, /* Ubiquiti UnifiAP Outdoor */
  164. + ATH79_MACH_UBNT_UNIFI_OUTDOOR_PLUS, /* Ubiquiti UnifiAP Outdoor+ */
  165. ATH79_MACH_UBNT_XM, /* Ubiquiti Networks XM board rev 1.0 */
  166. + ATH79_MACH_WHR_G301N, /* Buffalo WHR-G301N */
  167. + ATH79_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
  168. + ATH79_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */
  169. + ATH79_MACH_WLAE_AG300N, /* Buffalo WLAE-AG300N */
  170. + ATH79_MACH_WLR8100, /* SITECOM WLR-8100 */
  171. + ATH79_MACH_WNDAP360, /* NETGEAR WNDAP360 */
  172. + ATH79_MACH_WNDR3700, /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
  173. + ATH79_MACH_WNDR3700_V4, /* NETGEAR WNDR3700v4 */
  174. + ATH79_MACH_WNDR4300, /* NETGEAR WNDR4300 */
  175. + ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
  176. + ATH79_MACH_WNR2000_V3, /* NETGEAR WNR2000 v3 */
  177. + ATH79_MACH_WNR2000_V4, /* NETGEAR WNR2000 v4 */
  178. + ATH79_MACH_WNR2200, /* NETGEAR WNR2200 */
  179. + ATH79_MACH_WNR612_V2, /* NETGEAR WNR612 v2 */
  180. + ATH79_MACH_WNR1000_V2, /* NETGEAR WNR1000 v2 */
  181. + ATH79_MACH_WP543, /* Compex WP543 */
  182. + ATH79_MACH_WPE72, /* Compex WPE72 */
  183. + ATH79_MACH_WPJ344, /* Compex WPJ344 */
  184. + ATH79_MACH_WPJ531, /* Compex WPJ531 */
  185. + ATH79_MACH_WPJ558, /* Compex WPJ558 */
  186. + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */
  187. + ATH79_MACH_WRT400N, /* Linksys WRT400N */
  188. + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
  189. + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
  190. + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
  191. + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
  192. + ATH79_MACH_WZR_450HP2, /* Buffalo WZR-450HP2 */
  193. + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
  194. + ATH79_MACH_ZCN_1523H_5, /* Zcomax ZCN-1523H-5-xx */
  195. };
  196. #endif /* _ATH79_MACHTYPE_H */
  197. --- a/arch/mips/ath79/Kconfig
  198. +++ b/arch/mips/ath79/Kconfig
  199. @@ -2,6 +2,70 @@ if ATH79
  200. menu "Atheros AR71XX/AR724X/AR913X machine selection"
  201. +config ATH79_MACH_ALFA_AP96
  202. + bool "ALFA Network AP96 board support"
  203. + select SOC_AR71XX
  204. + select ATH79_DEV_ETH
  205. + select ATH79_DEV_GPIO_BUTTONS
  206. + select ATH79_DEV_M25P80
  207. + select ATH79_DEV_USB
  208. +
  209. +config ATH79_MACH_HORNET_UB
  210. + bool "ALFA Network Hornet-UB board support"
  211. + select SOC_AR933X
  212. + select ATH79_DEV_ETH
  213. + select ATH79_DEV_GPIO_BUTTONS
  214. + select ATH79_DEV_LEDS_GPIO
  215. + select ATH79_DEV_M25P80
  216. + select ATH79_DEV_USB
  217. + select ATH79_DEV_WMAC
  218. +
  219. +config ATH79_MACH_ALFA_NX
  220. + bool "ALFA Network N2/N5 board support"
  221. + select SOC_AR724X
  222. + select ATH79_DEV_AP9X_PCI if PCI
  223. + select ATH79_DEV_ETH
  224. + select ATH79_DEV_GPIO_BUTTONS
  225. + select ATH79_DEV_LEDS_GPIO
  226. + select ATH79_DEV_M25P80
  227. +
  228. +config ATH79_MACH_TUBE2H
  229. + bool "ALFA Network Tube2H board support"
  230. + select SOC_AR933X
  231. + select ATH79_DEV_ETH
  232. + select ATH79_DEV_GPIO_BUTTONS
  233. + select ATH79_DEV_LEDS_GPIO
  234. + select ATH79_DEV_M25P80
  235. + select ATH79_DEV_WMAC
  236. +
  237. +config ATH79_MACH_ALL0258N
  238. + bool "Allnet ALL0258N support"
  239. + select SOC_AR724X
  240. + select ATH79_DEV_AP9X_PCI if PCI
  241. + select ATH79_DEV_ETH
  242. + select ATH79_DEV_GPIO_BUTTONS
  243. + select ATH79_DEV_LEDS_GPIO
  244. + select ATH79_DEV_M25P80
  245. +
  246. +config ATH79_MACH_ALL0315N
  247. + bool "Allnet ALL0315N support"
  248. + select SOC_AR724X
  249. + select ATH79_DEV_AP9X_PCI if PCI
  250. + select ATH79_DEV_ETH
  251. + select ATH79_DEV_GPIO_BUTTONS
  252. + select ATH79_DEV_LEDS_GPIO
  253. + select ATH79_DEV_M25P80
  254. +
  255. +config ATH79_MACH_AP113
  256. + bool "Atheros AP113 board support"
  257. + select SOC_AR724X
  258. + select ATH79_DEV_M25P80
  259. + select ATH79_DEV_PB9X_PCI if PCI
  260. + select ATH79_DEV_GPIO_BUTTONS
  261. + select ATH79_DEV_LEDS_GPIO
  262. + select ATH79_DEV_USB
  263. + select ATH79_DEV_ETH
  264. +
  265. config ATH79_MACH_AP121
  266. bool "Atheros AP121 reference board"
  267. select SOC_AR933X
  268. @@ -11,62 +75,1031 @@ config ATH79_MACH_AP121
  269. select ATH79_DEV_M25P80
  270. select ATH79_DEV_USB
  271. select ATH79_DEV_WMAC
  272. - help
  273. - Say 'Y' here if you want your kernel to support the
  274. - Atheros AP121 reference board.
  275. + help
  276. + Say 'Y' here if you want your kernel to support the
  277. + Atheros AP121 reference board.
  278. +
  279. +config ATH79_MACH_AP132
  280. + bool "Atheros AP132 reference board"
  281. + select SOC_QCA955X
  282. + select ATH79_DEV_GPIO_BUTTONS
  283. + select ATH79_DEV_LEDS_GPIO
  284. + select ATH79_DEV_M25P80
  285. + select ATH79_DEV_USB
  286. + select ATH79_DEV_WMAC
  287. + help
  288. + Say 'Y' here if you want your kernel to support the
  289. + Atheros AP132 reference boards.
  290. +
  291. +config ATH79_MACH_AP136
  292. + bool "Atheros AP136/AP135 reference board"
  293. + select SOC_QCA955X
  294. + select ATH79_DEV_GPIO_BUTTONS
  295. + select ATH79_DEV_LEDS_GPIO
  296. + select ATH79_DEV_NFC
  297. + select ATH79_DEV_M25P80
  298. + select ATH79_DEV_USB
  299. + select ATH79_DEV_WMAC
  300. + help
  301. + Say 'Y' here if you want your kernel to support the
  302. + Atheros AP136 or AP135 reference boards.
  303. +
  304. +config ATH79_MACH_AP81
  305. + bool "Atheros AP81 reference board"
  306. + select SOC_AR913X
  307. + select ATH79_DEV_ETH
  308. + select ATH79_DEV_GPIO_BUTTONS
  309. + select ATH79_DEV_LEDS_GPIO
  310. + select ATH79_DEV_M25P80
  311. + select ATH79_DEV_USB
  312. + select ATH79_DEV_WMAC
  313. + help
  314. + Say 'Y' here if you want your kernel to support the
  315. + Atheros AP81 reference board.
  316. +
  317. +config ATH79_MACH_AP83
  318. + bool "Atheros AP83 board support"
  319. + select SOC_AR913X
  320. + select ATH79_DEV_GPIO_BUTTONS
  321. + select ATH79_DEV_LEDS_GPIO
  322. + select ATH79_DEV_USB
  323. + select ATH79_DEV_WMAC
  324. +
  325. +config ATH79_MACH_AP96
  326. + bool "Atheros AP96 board support"
  327. + select SOC_AR71XX
  328. + select ATH79_DEV_AP9X_PCI if PCI
  329. + select ATH79_DEV_ETH
  330. + select ATH79_DEV_GPIO_BUTTONS
  331. + select ATH79_DEV_LEDS_GPIO
  332. + select ATH79_DEV_M25P80
  333. + select ATH79_DEV_USB
  334. +
  335. +config ATH79_MACH_DB120
  336. + bool "Atheros DB120 reference board"
  337. + select SOC_AR934X
  338. + select ATH79_DEV_AP9X_PCI if PCI
  339. + select ATH79_DEV_ETH
  340. + select ATH79_DEV_GPIO_BUTTONS
  341. + select ATH79_DEV_LEDS_GPIO
  342. + select ATH79_DEV_M25P80
  343. + select ATH79_DEV_NFC
  344. + select ATH79_DEV_USB
  345. + select ATH79_DEV_WMAC
  346. + help
  347. + Say 'Y' here if you want your kernel to support the
  348. + Atheros DB120 reference board.
  349. +
  350. +config ATH79_MACH_PB42
  351. + bool "Atheros PB42 board support"
  352. + select SOC_AR71XX
  353. + select ATH79_DEV_ETH
  354. + select ATH79_DEV_GPIO_BUTTONS
  355. + select ATH79_DEV_M25P80
  356. +
  357. +config ATH79_MACH_PB44
  358. + bool "Atheros PB44 reference board"
  359. + select SOC_AR71XX
  360. + select ATH79_DEV_ETH
  361. + select ATH79_DEV_GPIO_BUTTONS
  362. + select ATH79_DEV_LEDS_GPIO
  363. + select ATH79_DEV_SPI
  364. + select ATH79_DEV_USB
  365. + help
  366. + Say 'Y' here if you want your kernel to support the
  367. + Atheros PB44 reference board.
  368. +
  369. +config ATH79_MACH_PB92
  370. + bool "Atheros PB92 board support"
  371. + select SOC_AR724X
  372. + select ATH79_DEV_ETH
  373. + select ATH79_DEV_GPIO_BUTTONS
  374. + select ATH79_DEV_LEDS_GPIO
  375. + select ATH79_DEV_PB9X_PCI if PCI
  376. + select ATH79_DEV_USB
  377. +
  378. +config ATH79_MACH_AW_NR580
  379. + bool "AzureWave AW-NR580 board support"
  380. + select SOC_AR71XX
  381. + select ATH79_DEV_ETH
  382. + select ATH79_DEV_GPIO_BUTTONS
  383. + select ATH79_DEV_LEDS_GPIO
  384. + select ATH79_DEV_M25P80
  385. +
  386. +config ATH79_MACH_F9K1115V2
  387. + bool "Belkin AC1750DB board support"
  388. + select SOC_QCA955X
  389. + select ATH79_DEV_ETH
  390. + select ATH79_DEV_GPIO_BUTTONS
  391. + select ATH79_DEV_LEDS_GPIO
  392. + select ATH79_DEV_M25P80
  393. + select ATH79_DEV_USB
  394. + select ATH79_DEV_WMAC
  395. +
  396. +config ATH79_MACH_ESR1750
  397. + bool "EnGenius ESR1750 board support"
  398. + select SOC_QCA955X
  399. + select ATH79_DEV_ETH
  400. + select ATH79_DEV_GPIO_BUTTONS
  401. + select ATH79_DEV_LEDS_GPIO
  402. + select ATH79_DEV_M25P80
  403. + select ATH79_DEV_USB
  404. + select ATH79_DEV_WMAC
  405. +
  406. +config ATH79_MACH_WHR_HP_G300N
  407. + bool "Buffalo WHR-HP-G300N board support"
  408. + select SOC_AR724X
  409. + select ATH79_DEV_AP9X_PCI if PCI
  410. + select ATH79_DEV_ETH
  411. + select ATH79_DEV_GPIO_BUTTONS
  412. + select ATH79_DEV_LEDS_GPIO
  413. + select ATH79_DEV_M25P80
  414. +
  415. +config ATH79_MACH_WLAE_AG300N
  416. + bool "Buffalo WLAE-AG300N board support"
  417. + select SOC_AR71XX
  418. + select ATH79_DEV_ETH
  419. + select ATH79_DEV_GPIO_BUTTONS
  420. + select ATH79_DEV_LEDS_GPIO
  421. + select ATH79_DEV_M25P80
  422. +
  423. +config ATH79_MACH_WLR8100
  424. + bool "Sitecom WLR-8100 board support"
  425. + select SOC_QCA955X
  426. + select ATH79_DEV_ETH
  427. + select ATH79_DEV_GPIO_BUTTONS
  428. + select ATH79_DEV_LEDS_GPIO
  429. + select ATH79_DEV_M25P80
  430. + select ATH79_DEV_USB
  431. + select ATH79_DEV_WMAC
  432. +
  433. +config ATH79_MACH_WZR_HP_AG300H
  434. + bool "Buffalo WZR-HP-AG300H board support"
  435. + select SOC_AR71XX
  436. + select ATH79_DEV_AP9X_PCI if PCI
  437. + select ATH79_DEV_ETH
  438. + select ATH79_DEV_GPIO_BUTTONS
  439. + select ATH79_DEV_LEDS_GPIO
  440. + select ATH79_DEV_M25P80
  441. + select ATH79_DEV_USB
  442. +
  443. +config ATH79_MACH_WZR_HP_G300NH
  444. + bool "Buffalo WZR-HP-G300NH board support"
  445. + select SOC_AR913X
  446. + select ATH79_DEV_ETH
  447. + select ATH79_DEV_GPIO_BUTTONS
  448. + select ATH79_DEV_LEDS_GPIO
  449. + select ATH79_DEV_USB
  450. + select ATH79_DEV_WMAC
  451. + select RTL8366_SMI
  452. +
  453. +config ATH79_MACH_WZR_HP_G300NH2
  454. + bool "Buffalo WZR-HP-G300NH2 board support"
  455. + select SOC_AR724X
  456. + select ATH79_DEV_AP9X_PCI if PCI
  457. + select ATH79_DEV_ETH
  458. + select ATH79_DEV_GPIO_BUTTONS
  459. + select ATH79_DEV_LEDS_GPIO
  460. + select ATH79_DEV_M25P80
  461. + select ATH79_DEV_USB
  462. +
  463. +config ATH79_MACH_WZR_HP_G450H
  464. + bool "Buffalo WZR-HP-G450H board support"
  465. + select SOC_AR724X
  466. + select ATH79_DEV_ETH
  467. + select ATH79_DEV_AP9X_PCI if PCI
  468. + select ATH79_DEV_GPIO_BUTTONS
  469. + select ATH79_DEV_LEDS_GPIO
  470. + select ATH79_DEV_M25P80
  471. + select ATH79_DEV_USB
  472. +
  473. +config ATH79_MACH_WZR_450HP2
  474. + bool "Buffalo WZR-450HP2 board support"
  475. + select SOC_QCA955X
  476. + select ATH79_DEV_ETH
  477. + select ATH79_DEV_GPIO_BUTTONS
  478. + select ATH79_DEV_LEDS_GPIO
  479. + select ATH79_DEV_M25P80
  480. + select ATH79_DEV_USB
  481. + select ATH79_DEV_WMAC
  482. +
  483. +config ATH79_MACH_WP543
  484. + bool "Compex WP543/WPJ543 board support"
  485. + select SOC_AR71XX
  486. + select ATH79_DEV_ETH
  487. + select ATH79_DEV_GPIO_BUTTONS
  488. + select ATH79_DEV_LEDS_GPIO
  489. + select ATH79_DEV_M25P80
  490. + select ATH79_DEV_USB
  491. + select MYLOADER
  492. +
  493. +config ATH79_MACH_WPE72
  494. + bool "Compex WPE72/WPE72NX board support"
  495. + select SOC_AR724X
  496. + select ATH79_DEV_ETH
  497. + select ATH79_DEV_GPIO_BUTTONS
  498. + select ATH79_DEV_LEDS_GPIO
  499. + select ATH79_DEV_M25P80
  500. + select ATH79_DEV_USB
  501. + select MYLOADER
  502. +
  503. +config ATH79_MACH_WPJ344
  504. + bool "Compex WPJ344 board support"
  505. + select SOC_AS934X
  506. + select ATH79_DEV_ETH
  507. + select ATH79_DEV_GPIO_BUTTONS
  508. + select ATH79_DEV_LEDS_GPIO
  509. + select ATH79_DEV_M25P80
  510. + select ATH79_DEV_USB
  511. + select ATH79_DEV_WMAC
  512. +
  513. +config ATH79_MACH_WPJ531
  514. + bool "Compex WPJ531 board support"
  515. + select SOC_QCA953X
  516. + select ATH79_DEV_ETH
  517. + select ATH79_DEV_GPIO_BUTTONS
  518. + select ATH79_DEV_LEDS_GPIO
  519. + select ATH79_DEV_M25P80
  520. + select ATH79_DEV_USB
  521. + select ATH79_DEV_WMAC
  522. +
  523. +config ATH79_MACH_WPJ558
  524. + bool "Compex WPJ558 board support"
  525. + select SOC_QCA955X
  526. + select ATH79_DEV_ETH
  527. + select ATH79_DEV_GPIO_BUTTONS
  528. + select ATH79_DEV_LEDS_GPIO
  529. + select ATH79_DEV_M25P80
  530. + select ATH79_DEV_USB
  531. + select ATH79_DEV_WMAC
  532. +
  533. +config ATH79_MACH_DGL_5500_A1
  534. + bool "D-Link DGL-5500 A1 support"
  535. + select SOC_QCA955X
  536. + select ATH79_DEV_ETH
  537. + select ATH79_DEV_GPIO_BUTTONS
  538. + select ATH79_DEV_LEDS_GPIO
  539. + select ATH79_DEV_M25P80
  540. + select ATH79_DEV_WMAC
  541. + select ATH79_DEV_USB
  542. +
  543. +config ATH79_MACH_DHP_1565_A1
  544. + bool "D-Link DHP-1565 rev. A1 board support"
  545. + select SOC_AR934X
  546. + select ATH79_DEV_AP9X_PCI if PCI
  547. + select ATH79_DEV_ETH
  548. + select ATH79_DEV_GPIO_BUTTONS
  549. + select ATH79_DEV_LEDS_GPIO
  550. + select ATH79_DEV_M25P80
  551. + select ATH79_DEV_USB
  552. + select ATH79_DEV_WMAC
  553. +
  554. +config ATH79_MACH_DIR_505_A1
  555. + bool "D-Link DIR-505-A1 support"
  556. + select SOC_AR933X
  557. + select ATH79_DEV_ETH
  558. + select ATH79_DEV_GPIO_BUTTONS
  559. + select ATH79_DEV_LEDS_GPIO
  560. + select ATH79_DEV_M25P80
  561. + select ATH79_DEV_WMAC
  562. + select ATH79_NVRAM
  563. +
  564. +config ATH79_MACH_DIR_600_A1
  565. + bool "D-Link DIR-600 A1/DIR-615 E1/DIR-615 E4 support"
  566. + select SOC_AR724X
  567. + select ATH79_DEV_AP9X_PCI if PCI
  568. + select ATH79_DEV_ETH
  569. + select ATH79_DEV_GPIO_BUTTONS
  570. + select ATH79_DEV_LEDS_GPIO
  571. + select ATH79_DEV_M25P80
  572. + select ATH79_NVRAM
  573. +
  574. +config ATH79_MACH_DIR_615_C1
  575. + bool "D-Link DIR-615 rev. C1 support"
  576. + select SOC_AR913X
  577. + select ATH79_DEV_ETH
  578. + select ATH79_DEV_GPIO_BUTTONS
  579. + select ATH79_DEV_LEDS_GPIO
  580. + select ATH79_DEV_M25P80
  581. + select ATH79_DEV_WMAC
  582. + select ATH79_NVRAM
  583. +
  584. +config ATH79_MACH_DIR_615_I1
  585. + bool "D-Link DIR-615 rev. I1 support"
  586. + select SOC_AR934X
  587. + select ATH79_DEV_AP9X_PCI if PCI
  588. + select ATH79_DEV_ETH
  589. + select ATH79_DEV_GPIO_BUTTONS
  590. + select ATH79_DEV_LEDS_GPIO
  591. + select ATH79_DEV_M25P80
  592. + select ATH79_DEV_WMAC
  593. + select ATH79_NVRAM
  594. +
  595. +config ATH79_MACH_DIR_825_B1
  596. + bool "D-Link DIR-825 rev. B1 board support"
  597. + select SOC_AR71XX
  598. + select ATH79_DEV_AP9X_PCI if PCI
  599. + select ATH79_DEV_ETH
  600. + select ATH79_DEV_GPIO_BUTTONS
  601. + select ATH79_DEV_LEDS_GPIO
  602. + select ATH79_DEV_M25P80
  603. + select ATH79_DEV_USB
  604. +
  605. +config ATH79_MACH_DIR_825_C1
  606. + bool "D-Link DIR-825 rev. C1/DIR-835 rev. A1 board support"
  607. + select SOC_AR934X
  608. + select ATH79_DEV_AP9X_PCI if PCI
  609. + select ATH79_DEV_ETH
  610. + select ATH79_DEV_GPIO_BUTTONS
  611. + select ATH79_DEV_LEDS_GPIO
  612. + select ATH79_DEV_M25P80
  613. + select ATH79_DEV_USB
  614. + select ATH79_DEV_WMAC
  615. +
  616. +config ATH79_MACH_DLAN_PRO_500_WP
  617. + bool "devolo dLAN pro 500 Wireless+ support"
  618. + select SOC_AR934X
  619. + select ATH79_DEV_ETH
  620. + select ATH79_DEV_GPIO_BUTTONS
  621. + select ATH79_DEV_LEDS_GPIO
  622. + select ATH79_DEV_SPI
  623. + select ATH79_DEV_M25P80
  624. + select ATH79_DEV_WMAC
  625. + select ATH79_DEV_USB
  626. +
  627. +config ATH79_MACH_DLAN_PRO_1200_AC
  628. + bool "devolo dLAN pro 1200+ WiFi ac support"
  629. + select SOC_AR934X
  630. + select ATH79_DEV_AP9X_PCI if PCI
  631. + select ATH79_DEV_ETH
  632. + select ATH79_DEV_GPIO_BUTTONS
  633. + select ATH79_DEV_LEDS_GPIO
  634. + select ATH79_DEV_SPI
  635. + select ATH79_DEV_M25P80
  636. + select ATH79_DEV_WMAC
  637. + select ATH79_DEV_NFC
  638. + select ATH79_DEV_USB
  639. +
  640. +config ATH79_MACH_DRAGINO2
  641. + bool "DRAGINO V2 support"
  642. + select SOC_AR933X
  643. + select ATH79_DEV_M25P80
  644. + select ATH79_DEV_GPIO_BUTTONS
  645. + select ATH79_DEV_LEDS_GPIO
  646. + select ATH79_DEV_WMAC
  647. + select ATH79_DEV_ETH
  648. + select ATH79_DEV_USB
  649. +
  650. +config ATH79_MACH_ESR900
  651. + bool "EnGenius ESR900 board support"
  652. + select SOC_QCA955X
  653. + select ATH79_DEV_ETH
  654. + select ATH79_DEV_GPIO_BUTTONS
  655. + select ATH79_DEV_LEDS_GPIO
  656. + select ATH79_DEV_M25P80
  657. + select ATH79_DEV_USB
  658. + select ATH79_DEV_WMAC
  659. +
  660. +config ATH79_MACH_EW_DORIN
  661. + bool "embedded wireless Dorin Platform support"
  662. + select SOC_AR933X
  663. + select ATH79_DEV_M25P80
  664. + select ATH79_DEV_GPIO_BUTTONS
  665. + select ATH79_DEV_LEDS_GPIO
  666. + select ATH79_DEV_WMAC
  667. + select ATH79_DEV_ETH
  668. + help
  669. + Say 'Y' here if you want your kernel to support the
  670. + Dorin Platform from www.80211.de .
  671. +
  672. +config ATH79_MACH_EL_M150
  673. + bool "EasyLink EL-M150 support"
  674. + select SOC_AR933X
  675. + select ATH79_DEV_ETH
  676. + select ATH79_DEV_GPIO_BUTTONS
  677. + select ATH79_DEV_LEDS_GPIO
  678. + select ATH79_DEV_M25P80
  679. + select ATH79_DEV_USB
  680. + select ATH79_DEV_WMAC
  681. +
  682. +config ATH79_MACH_EL_MINI
  683. + bool "EasyLink EL-MINI support"
  684. + select SOC_AR933X
  685. + select ATH79_DEV_ETH
  686. + select ATH79_DEV_GPIO_BUTTONS
  687. + select ATH79_DEV_LEDS_GPIO
  688. + select ATH79_DEV_M25P80
  689. + select ATH79_DEV_USB
  690. + select ATH79_DEV_WMAC
  691. +
  692. +config ATH79_MACH_GL_INET
  693. + bool "GL-INET support"
  694. + select SOC_AR933X
  695. + select ATH79_DEV_ETH
  696. + select ATH79_DEV_GPIO_BUTTONS
  697. + select ATH79_DEV_LEDS_GPIO
  698. + select ATH79_DEV_M25P80
  699. + select ATH79_DEV_USB
  700. + select ATH79_DEV_WMAC
  701. +
  702. +config ATH79_MACH_EAP300V2
  703. + bool "EnGenius EAP300 v2 support"
  704. + select SOC_AR934X
  705. + select ATH79_DEV_ETH
  706. + select ATH79_DEV_GPIO_BUTTONS
  707. + select ATH79_DEV_LEDS_GPIO
  708. + select ATH79_DEV_M25P80
  709. + select ATH79_DEV_WMAC
  710. +
  711. +config ATH79_MACH_GS_OOLITE
  712. + bool "GS Oolite V1 support"
  713. + select SOC_AR933X
  714. + select ARH79_DEV_ETH
  715. + select ARH79_DEV_GPIO_BUTTONS
  716. + select ATH79_DEV_LEDS_GPIO
  717. + select ATH79_DEV_M25P80
  718. + select ATH79_DEV_USB
  719. + select ATH79_DEV_WMAC
  720. +
  721. +config ATH79_MACH_HIWIFI_HC6361
  722. + bool "HiWiFi HC6361 board support"
  723. + select SOC_AR933X
  724. + select ATH79_DEV_ETH
  725. + select ATH79_DEV_GPIO_BUTTONS
  726. + select ATH79_DEV_LEDS_GPIO
  727. + select ATH79_DEV_M25P80
  728. + select ATH79_DEV_USB
  729. + select ATH79_DEV_WMAC
  730. +
  731. +config ATH79_MACH_JA76PF
  732. + bool "jjPlus JA76PF board support"
  733. + select SOC_AR71XX
  734. + select ATH79_DEV_ETH
  735. + select ATH79_DEV_GPIO_BUTTONS
  736. + select ATH79_DEV_LEDS_GPIO
  737. + select ATH79_DEV_M25P80
  738. + select ATH79_DEV_USB
  739. +
  740. +config ATH79_MACH_JWAP003
  741. + bool "jjPlus JWAP003 board support"
  742. + select SOC_AR71XX
  743. + select ATH79_DEV_ETH
  744. + select ATH79_DEV_GPIO_BUTTONS
  745. + select ATH79_DEV_M25P80
  746. + select ATH79_DEV_USB
  747. +
  748. +config ATH79_MACH_WRT160NL
  749. + bool "Linksys WRT160NL board support"
  750. + select SOC_AR913X
  751. + select ATH79_DEV_ETH
  752. + select ATH79_DEV_GPIO_BUTTONS
  753. + select ATH79_DEV_LEDS_GPIO
  754. + select ATH79_DEV_M25P80
  755. + select ATH79_DEV_USB
  756. + select ATH79_DEV_WMAC
  757. + select ATH79_NVRAM
  758. +
  759. +config ATH79_MACH_WRT400N
  760. + bool "Linksys WRT400N board support"
  761. + select SOC_AR71XX
  762. + select ATH79_DEV_AP9X_PCI if PCI
  763. + select ATH79_DEV_ETH
  764. + select ATH79_DEV_GPIO_BUTTONS
  765. + select ATH79_DEV_LEDS_GPIO
  766. + select ATH79_DEV_M25P80
  767. +
  768. +config ATH79_MACH_R6100
  769. + bool "NETGEAR R6100 board support"
  770. + select SOC_AR934X
  771. + select ATH79_DEV_AP9X_PCI if PCI
  772. + select ATH79_DEV_ETH
  773. + select ATH79_DEV_GPIO_BUTTONS
  774. + select ATH79_DEV_LEDS_GPIO
  775. + select ATH79_DEV_NFC
  776. + select ATH79_DEV_USB
  777. + select ATH79_DEV_WMAC
  778. +
  779. +config ATH79_MACH_RB4XX
  780. + bool "MikroTik RouterBOARD 4xx series support"
  781. + select SOC_AR71XX
  782. + select ATH79_DEV_ETH
  783. + select ATH79_DEV_GPIO_BUTTONS
  784. + select ATH79_DEV_LEDS_GPIO
  785. + select ATH79_DEV_USB
  786. +
  787. +config ATH79_MACH_RB750
  788. + bool "MikroTik RouterBOARD 750 support"
  789. + select SOC_AR724X
  790. + select ATH79_DEV_AP9X_PCI if PCI
  791. + select ATH79_DEV_ETH
  792. + select ATH79_DEV_USB
  793. + select ATH79_ROUTERBOOT
  794. +
  795. +config ATH79_MACH_RB91X
  796. + bool "MikroTik RouterBOARD 91X support"
  797. + select SOC_AR934X
  798. + select ATH79_DEV_ETH
  799. + select ATH79_DEV_SPI
  800. + select ATH79_DEV_WMAC
  801. + select ATH79_DEV_USB
  802. + select ATH79_ROUTERBOOT
  803. +
  804. +config ATH79_MACH_RB95X
  805. + bool "MikroTik RouterBOARD 95X support"
  806. + select SOC_AR934X
  807. + select ATH79_DEV_ETH
  808. + select ATH79_DEV_NFC
  809. + select ATH79_DEV_WMAC
  810. + select ATH79_DEV_USB
  811. + select ATH79_ROUTERBOOT
  812. +
  813. +config ATH79_MACH_RB2011
  814. + bool "MikroTik RouterBOARD 2011 support"
  815. + select SOC_AR934X
  816. + select ATH79_DEV_ETH
  817. + select ATH79_DEV_M25P80
  818. + select ATH79_DEV_NFC
  819. + select ATH79_DEV_USB
  820. + select ATH79_DEV_WMAC
  821. + select ATH79_ROUTERBOOT
  822. +
  823. +config ATH79_MACH_RBSXTLITE
  824. + bool "MikroTik RouterBOARD SXT Lite"
  825. + select SOC_AR934X
  826. + select ATH79_DEV_ETH
  827. + select ATH79_DEV_NFC
  828. + select ATH79_DEV_WMAC
  829. + select ATH79_ROUTERBOOT
  830. +
  831. +config ATH79_MACH_SMART_300
  832. + bool "NC-LINK SMART-300 board support"
  833. + select SOC_AR934X
  834. + select ATH79_DEV_ETH
  835. + select ATH79_DEV_GPIO_BUTTONS
  836. + select ATH79_DEV_LEDS_GPIO
  837. + select ATH79_DEV_M25P80
  838. + select ATH79_DEV_WMAC
  839. +
  840. +config ATH79_MACH_WNDAP360
  841. + bool "NETGEAR WNDAP360 board support"
  842. + select SOC_AR71XX
  843. + select ATH79_DEV_AP9X_PCI if PCI
  844. + select ATH79_DEV_ETH
  845. + select ATH79_DEV_GPIO_BUTTONS
  846. + select ATH79_DEV_LEDS_GPIO
  847. + select ATH79_DEV_M25P80
  848. +
  849. +config ATH79_MACH_WNDR3700
  850. + bool "NETGEAR WNDR3700 board support"
  851. + select SOC_AR71XX
  852. + select ATH79_DEV_AP9X_PCI if PCI
  853. + select ATH79_DEV_ETH
  854. + select ATH79_DEV_GPIO_BUTTONS
  855. + select ATH79_DEV_LEDS_GPIO
  856. + select ATH79_DEV_M25P80
  857. + select ATH79_DEV_USB
  858. +
  859. +config ATH79_MACH_WNDR4300
  860. + bool "NETGEAR WNDR3700v4/WNDR4300 board support"
  861. + select SOC_AR934X
  862. + select ATH79_DEV_AP9X_PCI if PCI
  863. + select ATH79_DEV_ETH
  864. + select ATH79_DEV_GPIO_BUTTONS
  865. + select ATH79_DEV_LEDS_GPIO
  866. + select ATH79_DEV_NFC
  867. + select ATH79_DEV_USB
  868. + select ATH79_DEV_WMAC
  869. +
  870. +config ATH79_MACH_WNR2000
  871. + bool "NETGEAR WNR2000 board support"
  872. + select SOC_AR913X
  873. + select ATH79_DEV_ETH
  874. + select ATH79_DEV_GPIO_BUTTONS
  875. + select ATH79_DEV_LEDS_GPIO
  876. + select ATH79_DEV_M25P80
  877. + select ATH79_DEV_WMAC
  878. +
  879. +config ATH79_MACH_WNR2000_V3
  880. + bool "NETGEAR WNR2000 V3/WNR612 v2/WNR1000 v2 board support"
  881. + select SOC_AR724X
  882. + select ATH79_DEV_AP9X_PCI if PCI
  883. + select ATH79_DEV_ETH
  884. + select ATH79_DEV_GPIO_BUTTONS
  885. + select ATH79_DEV_LEDS_GPIO
  886. + select ATH79_DEV_M25P80
  887. +
  888. + config ATH79_MACH_WNR2200
  889. + bool "NETGEAR WNR2200 board support"
  890. + select SOC_AR724X
  891. + select ATH79_DEV_AP9X_PCI if PCI
  892. + select ATH79_DEV_ETH
  893. + select ATH79_DEV_GPIO_BUTTONS
  894. + select ATH79_DEV_LEDS_GPIO
  895. + select ATH79_DEV_M25P80
  896. + select ATH79_DEV_USB
  897. +
  898. +config ATH79_MACH_WNR2000_V4
  899. + bool "NETGEAR WNR2000 V4"
  900. + select SOC_AR934X
  901. + select ATH79_DEV_ETH
  902. + select ATH79_DEV_GPIO_BUTTONS
  903. + select ATH79_DEV_LEDS_GPIO
  904. + select ATH79_DEV_M25P80
  905. + select ATH79_DEV_USB
  906. + select ATH79_DEV_WMAC
  907. +
  908. +config ATH79_MACH_OM2P
  909. + bool "OpenMesh OM2P board support"
  910. + select SOC_AR724X
  911. + select SOC_AR933X
  912. + select ATH79_DEV_AP9X_PCI if PCI
  913. + select ATH79_DEV_ETH
  914. + select ATH79_DEV_GPIO_BUTTONS
  915. + select ATH79_DEV_LEDS_GPIO
  916. + select ATH79_DEV_M25P80
  917. + select ATH79_DEV_WMAC
  918. +
  919. +config ATH79_MACH_OM5P
  920. + bool "OpenMesh OM5P board support"
  921. + select SOC_AR934X
  922. + select ATH79_DEV_ETH
  923. + select ATH79_DEV_GPIO_BUTTONS
  924. + select ATH79_DEV_LEDS_GPIO
  925. + select ATH79_DEV_M25P80
  926. + select ATH79_DEV_WMAC
  927. +
  928. +config ATH79_MACH_MR600
  929. + bool "OpenMesh MR600 board support"
  930. + select SOC_AR934X
  931. + select ATH79_DEV_AP9X_PCI if PCI
  932. + select ATH79_DEV_ETH
  933. + select ATH79_DEV_GPIO_BUTTONS
  934. + select ATH79_DEV_LEDS_GPIO
  935. + select ATH79_DEV_M25P80
  936. + select ATH79_DEV_WMAC
  937. +
  938. +config ATH79_MACH_MZK_W04NU
  939. + bool "Planex MZK-W04NU board support"
  940. + select SOC_AR913X
  941. + select ATH79_DEV_ETH
  942. + select ATH79_DEV_GPIO_BUTTONS
  943. + select ATH79_DEV_LEDS_GPIO
  944. + select ATH79_DEV_M25P80
  945. + select ATH79_DEV_USB
  946. + select ATH79_DEV_WMAC
  947. +
  948. +config ATH79_MACH_MZK_W300NH
  949. + bool "Planex MZK-W300NH board support"
  950. + select SOC_AR913X
  951. + select ATH79_DEV_ETH
  952. + select ATH79_DEV_GPIO_BUTTONS
  953. + select ATH79_DEV_LEDS_GPIO
  954. + select ATH79_DEV_M25P80
  955. + select ATH79_DEV_WMAC
  956. +
  957. +config ATH79_MACH_RW2458N
  958. + bool "Redwave RW2458N board support"
  959. + select SOC_AR724X
  960. + select ATH79_DEV_AP9X_PCI if PCI
  961. + select ATH79_DEV_ETH
  962. + select ATH79_DEV_GPIO_BUTTONS
  963. + select ATH79_DEV_LEDS_GPIO
  964. + select ATH79_DEV_M25P80
  965. + select ATH79_DEV_USB
  966. +
  967. +config ATH79_MACH_CAP4200AG
  968. + bool "Senao CAP4200AG support"
  969. + select SOC_AR934X
  970. + select ATH79_DEV_AP9X_PCI if PCI
  971. + select ATH79_DEV_ETH
  972. + select ATH79_DEV_GPIO_BUTTONS
  973. + select ATH79_DEV_LEDS_GPIO
  974. + select ATH79_DEV_M25P80
  975. + select ATH79_DEV_WMAC
  976. +
  977. +config ATH79_MACH_MR900
  978. + bool "OpenMesh MR900 board support"
  979. + select SOC_QCA955X
  980. + select ATH79_DEV_AP9X_PCI if PCI
  981. + select ATH79_DEV_ETH
  982. + select ATH79_DEV_GPIO_BUTTONS
  983. + select ATH79_DEV_LEDS_GPIO
  984. + select ATH79_DEV_M25P80
  985. + select ATH79_DEV_WMAC
  986. +
  987. +config ATH79_MACH_EAP7660D
  988. + bool "Senao EAP7660D support"
  989. + select SOC_AR71XX
  990. + select ATH79_DEV_ETH
  991. + select ATH79_DEV_GPIO_BUTTONS
  992. + select ATH79_DEV_LEDS_GPIO
  993. + select ATH79_DEV_M25P80
  994. +
  995. +config ATH79_MACH_ARCHER_C7
  996. + bool "TP-LINK Archer C5/C7/TL-WDR4900 v2 board support"
  997. + select SOC_QCA955X
  998. + select ATH79_DEV_AP9X_PCI if PCI
  999. + select ATH79_DEV_ETH
  1000. + select ATH79_DEV_GPIO_BUTTONS
  1001. + select ATH79_DEV_LEDS_GPIO
  1002. + select ATH79_DEV_M25P80
  1003. + select ATH79_DEV_USB
  1004. + select ATH79_DEV_WMAC
  1005. +
  1006. +config ATH79_MACH_CPE510
  1007. + bool "TP-LINK CPE510 support"
  1008. + select SOC_AR934X
  1009. + select ATH79_DEV_ETH
  1010. + select ATH79_DEV_GPIO_BUTTONS
  1011. + select ATH79_DEV_LEDS_GPIO
  1012. + select ATH79_DEV_M25P80
  1013. + select ATH79_DEV_WMAC
  1014. +
  1015. +config ATH79_MACH_TL_MR11U
  1016. + bool "TP-LINK TL-MR11U/TL-MR3040 support"
  1017. + select SOC_AR933X
  1018. + select ATH79_DEV_ETH
  1019. + select ATH79_DEV_GPIO_BUTTONS
  1020. + select ATH79_DEV_LEDS_GPIO
  1021. + select ATH79_DEV_M25P80
  1022. + select ATH79_DEV_USB
  1023. + select ATH79_DEV_WMAC
  1024. +
  1025. +config ATH79_MACH_TL_MR13U
  1026. + bool "TP-LINK TL-MR13U support"
  1027. + select SOC_AR933X
  1028. + select ATH79_DEV_ETH
  1029. + select ATH79_DEV_GPIO_BUTTONS
  1030. + select ATH79_DEV_LEDS_GPIO
  1031. + select ATH79_DEV_M25P80
  1032. + select ATH79_DEV_USB
  1033. + select ATH79_DEV_WMAC
  1034. +
  1035. +config ATH79_MACH_TL_MR3020
  1036. + bool "TP-LINK TL-MR3020 support"
  1037. + select SOC_AR933X
  1038. + select ATH79_DEV_ETH
  1039. + select ATH79_DEV_GPIO_BUTTONS
  1040. + select ATH79_DEV_LEDS_GPIO
  1041. + select ATH79_DEV_M25P80
  1042. + select ATH79_DEV_USB
  1043. + select ATH79_DEV_WMAC
  1044. +
  1045. +config ATH79_MACH_TL_MR3X20
  1046. + bool "TP-LINK TL-MR3220/3420 support"
  1047. + select SOC_AR724X
  1048. + select ATH79_DEV_AP9X_PCI if PCI
  1049. + select ATH79_DEV_ETH
  1050. + select ATH79_DEV_GPIO_BUTTONS
  1051. + select ATH79_DEV_LEDS_GPIO
  1052. + select ATH79_DEV_M25P80
  1053. + select ATH79_DEV_USB
  1054. +
  1055. +config ATH79_MACH_TL_WAX50RE
  1056. + bool "TP-LINK TL-WA750/850RE support"
  1057. + select SOC_AR934X
  1058. + select ATH79_DEV_ETH
  1059. + select ATH79_DEV_GPIO_BUTTONS
  1060. + select ATH79_DEV_LEDS_GPIO
  1061. + select ATH79_DEV_M25P80
  1062. + select ATH79_DEV_WMAC
  1063. +
  1064. +config ATH79_MACH_TL_WA701ND_V2
  1065. + bool "TP-LINK TL-WA701ND v2 support"
  1066. + select SOC_AR933X
  1067. + select ATH79_DEV_ETH
  1068. + select ATH79_DEV_GPIO_BUTTONS
  1069. + select ATH79_DEV_LEDS_GPIO
  1070. + select ATH79_DEV_M25P80
  1071. + select ATH79_DEV_USB
  1072. + select ATH79_DEV_WMAC
  1073. -config ATH79_MACH_AP136
  1074. - bool "Atheros AP136/AP135 reference board"
  1075. - select SOC_QCA955X
  1076. +config ATH79_MACH_TL_WA7210N_V2
  1077. + bool "TP-LINK TL-WA7210N v2 support"
  1078. + select SOC_AR724X
  1079. + select ATH79_DEV_AP9X_PCI if PCI
  1080. + select ATH79_DEV_ETH
  1081. + select ATH79_DEV_LEDS_GPIO
  1082. + select ATH79_DEV_GPIO_BUTTONS
  1083. + select ATH79_DEV_M25P80
  1084. + select ATH79_DEV_WMAC
  1085. +
  1086. +config ATH79_MACH_TL_WA830RE_V2
  1087. + bool "TP-LINK TL-WA830RE v2 support"
  1088. + select SOC_AR934X
  1089. + select ATH79_DEV_ETH
  1090. select ATH79_DEV_GPIO_BUTTONS
  1091. select ATH79_DEV_LEDS_GPIO
  1092. - select ATH79_DEV_NFC
  1093. - select ATH79_DEV_SPI
  1094. + select ATH79_DEV_M25P80
  1095. select ATH79_DEV_USB
  1096. select ATH79_DEV_WMAC
  1097. - help
  1098. - Say 'Y' here if you want your kernel to support the
  1099. - Atheros AP136 or AP135 reference boards.
  1100. -config ATH79_MACH_AP81
  1101. - bool "Atheros AP81 reference board"
  1102. +config ATH79_MACH_TL_WA901ND
  1103. + bool "TP-LINK TL-WA901ND/TL-WA7510N support"
  1104. + select SOC_AR724X
  1105. + select ATH79_DEV_AP9X_PCI if PCI
  1106. + select ATH79_DEV_ETH
  1107. + select ATH79_DEV_GPIO_BUTTONS
  1108. + select ATH79_DEV_LEDS_GPIO
  1109. + select ATH79_DEV_M25P80
  1110. +
  1111. +config ATH79_MACH_TL_WA901ND_V2
  1112. + bool "TP-LINK TL-WA901ND v2 support"
  1113. select SOC_AR913X
  1114. select ATH79_DEV_ETH
  1115. select ATH79_DEV_GPIO_BUTTONS
  1116. select ATH79_DEV_LEDS_GPIO
  1117. select ATH79_DEV_M25P80
  1118. + select ATH79_DEV_WMAC
  1119. +
  1120. +config ATH79_MACH_TL_WDR3500
  1121. + bool "TP-LINK TL-WDR3500 board support"
  1122. + select SOC_AR934X
  1123. + select ATH79_DEV_AP9X_PCI if PCI
  1124. + select ATH79_DEV_ETH
  1125. + select ATH79_DEV_GPIO_BUTTONS
  1126. + select ATH79_DEV_LEDS_GPIO
  1127. + select ATH79_DEV_M25P80
  1128. select ATH79_DEV_USB
  1129. select ATH79_DEV_WMAC
  1130. - help
  1131. - Say 'Y' here if you want your kernel to support the
  1132. - Atheros AP81 reference board.
  1133. -config ATH79_MACH_DB120
  1134. - bool "Atheros DB120 reference board"
  1135. +config ATH79_MACH_TL_WDR4300
  1136. + bool "TP-LINK TL-WDR3600/4300/4310 board support"
  1137. select SOC_AR934X
  1138. select ATH79_DEV_AP9X_PCI if PCI
  1139. select ATH79_DEV_ETH
  1140. select ATH79_DEV_GPIO_BUTTONS
  1141. select ATH79_DEV_LEDS_GPIO
  1142. select ATH79_DEV_M25P80
  1143. - select ATH79_DEV_NFC
  1144. select ATH79_DEV_USB
  1145. select ATH79_DEV_WMAC
  1146. - help
  1147. - Say 'Y' here if you want your kernel to support the
  1148. - Atheros DB120 reference board.
  1149. -config ATH79_MACH_PB44
  1150. - bool "Atheros PB44 reference board"
  1151. +config ATH79_MACH_TL_WR703N
  1152. + bool "TP-LINK TL-WR703N/TL-WR710N/TL-MR10U support"
  1153. + select SOC_AR933X
  1154. + select ATH79_DEV_ETH
  1155. + select ATH79_DEV_GPIO_BUTTONS
  1156. + select ATH79_DEV_LEDS_GPIO
  1157. + select ATH79_DEV_M25P80
  1158. + select ATH79_DEV_USB
  1159. + select ATH79_DEV_WMAC
  1160. +
  1161. +config ATH79_MACH_TL_WR720N_V3
  1162. + bool "TP-LINK TL-WR720N v3/v4 support"
  1163. + select SOC_AR933X
  1164. + select ATH79_DEV_ETH
  1165. + select ATH79_DEV_GPIO_BUTTONS
  1166. + select ATH79_DEV_LEDS_GPIO
  1167. + select ATH79_DEV_M25P80
  1168. + select ATH79_DEV_USB
  1169. + select ATH79_DEV_WMAC
  1170. +
  1171. +config ATH79_MACH_TL_WR741ND
  1172. + bool "TP-LINK TL-WR741ND support"
  1173. + select SOC_AR724X
  1174. + select ATH79_DEV_AP9X_PCI if PCI
  1175. + select ATH79_DEV_ETH
  1176. + select ATH79_DEV_GPIO_BUTTONS
  1177. + select ATH79_DEV_LEDS_GPIO
  1178. + select ATH79_DEV_M25P80
  1179. +
  1180. +config ATH79_MACH_TL_WR741ND_V4
  1181. + bool "TP-LINK TL-WR741ND v4/TL-MR3220 v2 support"
  1182. + select SOC_AR933X
  1183. + select ATH79_DEV_ETH
  1184. + select ATH79_DEV_GPIO_BUTTONS
  1185. + select ATH79_DEV_LEDS_GPIO
  1186. + select ATH79_DEV_M25P80
  1187. + select ATH79_DEV_USB
  1188. + select ATH79_DEV_WMAC
  1189. +
  1190. +config ATH79_MACH_TL_WR841N_V1
  1191. + bool "TP-LINK TL-WR841N v1 support"
  1192. select SOC_AR71XX
  1193. + select ATH79_DEV_DSA
  1194. select ATH79_DEV_ETH
  1195. select ATH79_DEV_GPIO_BUTTONS
  1196. select ATH79_DEV_LEDS_GPIO
  1197. - select ATH79_DEV_SPI
  1198. + select ATH79_DEV_M25P80
  1199. +
  1200. +config ATH79_MACH_TL_WR841N_V8
  1201. + bool "TP-LINK TL-WR841N/ND v8/TL-MR3420 v2 support"
  1202. + select SOC_AR934X
  1203. + select ATH79_DEV_ETH
  1204. + select ATH79_DEV_GPIO_BUTTONS
  1205. + select ATH79_DEV_LEDS_GPIO
  1206. + select ATH79_DEV_M25P80
  1207. + select ATH79_DEV_USB
  1208. + select ATH79_DEV_WMAC
  1209. +
  1210. +config ATH79_MACH_TL_WR841N_V9
  1211. + bool "TP-LINK TL-WR841N/ND v9 support"
  1212. + select SOC_QCA953X
  1213. + select ATH79_DEV_ETH
  1214. + select ATH79_DEV_GPIO_BUTTONS
  1215. + select ATH79_DEV_LEDS_GPIO
  1216. + select ATH79_DEV_M25P80
  1217. + select ATH79_DEV_WMAC
  1218. +
  1219. +config ATH79_MACH_TL_WR941ND
  1220. + bool "TP-LINK TL-WR941ND support"
  1221. + select SOC_AR913X
  1222. + select ATH79_DEV_DSA
  1223. + select ATH79_DEV_ETH
  1224. + select ATH79_DEV_GPIO_BUTTONS
  1225. + select ATH79_DEV_LEDS_GPIO
  1226. + select ATH79_DEV_M25P80
  1227. + select ATH79_DEV_WMAC
  1228. +
  1229. +config ATH79_MACH_TL_WR1041N_V2
  1230. + bool "TP-LINK TL-WR1041N v2 support"
  1231. + select SOC_AR934X
  1232. + select ATH79_DEV_AP9X_PCI if PCI
  1233. + select ATH79_DEV_ETH
  1234. + select ATH79_DEV_GPIO_BUTTONS
  1235. + select ATH79_DEV_LEDS_GPIO
  1236. + select ATH79_DEV_M25P80
  1237. + select ATH79_DEV_USB
  1238. + select ATH79_DEV_WMAC
  1239. +
  1240. +config ATH79_MACH_TL_WR1043ND
  1241. + bool "TP-LINK TL-WR1043ND support"
  1242. + select SOC_AR913X
  1243. + select ATH79_DEV_ETH
  1244. + select ATH79_DEV_GPIO_BUTTONS
  1245. + select ATH79_DEV_LEDS_GPIO
  1246. + select ATH79_DEV_M25P80
  1247. + select ATH79_DEV_USB
  1248. + select ATH79_DEV_WMAC
  1249. +
  1250. +config ATH79_MACH_TL_WR1043ND_V2
  1251. + bool "TP-LINK TL-WR1043ND v2 support"
  1252. + select SOC_QCA955X
  1253. + select ATH79_DEV_ETH
  1254. + select ATH79_DEV_GPIO_BUTTONS
  1255. + select ATH79_DEV_LEDS_GPIO
  1256. + select ATH79_DEV_M25P80
  1257. + select ATH79_DEV_USB
  1258. + select ATH79_DEV_WMAC
  1259. +
  1260. +config ATH79_MACH_TL_WR2543N
  1261. + bool "TP-LINK TL-WR2543N/ND support"
  1262. + select SOC_AR724X
  1263. + select ATH79_DEV_AP9X_PCI if PCI
  1264. + select ATH79_DEV_ETH
  1265. + select ATH79_DEV_GPIO_BUTTONS
  1266. + select ATH79_DEV_LEDS_GPIO
  1267. + select ATH79_DEV_M25P80
  1268. + select ATH79_DEV_USB
  1269. +
  1270. +config ATH79_MACH_TEW_632BRP
  1271. + bool "TRENDnet TEW-632BRP support"
  1272. + select SOC_AR913X
  1273. + select ATH79_DEV_ETH
  1274. + select ATH79_DEV_GPIO_BUTTONS
  1275. + select ATH79_DEV_LEDS_GPIO
  1276. + select ATH79_DEV_M25P80
  1277. + select ATH79_DEV_WMAC
  1278. + select ATH79_NVRAM
  1279. +
  1280. +config ATH79_MACH_TEW_673GRU
  1281. + bool "TRENDnet TEW-673GRU support"
  1282. + select SOC_AR71XX
  1283. + select ATH79_DEV_AP9X_PCI if PCI
  1284. + select ATH79_DEV_ETH
  1285. + select ATH79_DEV_GPIO_BUTTONS
  1286. + select ATH79_DEV_LEDS_GPIO
  1287. + select ATH79_DEV_M25P80
  1288. + select ATH79_DEV_USB
  1289. + select ATH79_NVRAM
  1290. +
  1291. +config ATH79_MACH_TEW_712BR
  1292. + bool "TRENDnet TEW-712BR support"
  1293. + select SOC_AR933X
  1294. + select ATH79_DEV_ETH
  1295. + select ATH79_DEV_GPIO_BUTTONS
  1296. + select ATH79_DEV_LEDS_GPIO
  1297. + select ATH79_DEV_M25P80
  1298. + select ATH79_DEV_WMAC
  1299. + select ATH79_NVRAM
  1300. +
  1301. +config ATH79_MACH_TEW_732BR
  1302. + bool "TRENDnet TEW-732BR support"
  1303. + select SOC_AR934X
  1304. + select ATH79_DEV_ETH
  1305. + select ATH79_DEV_GPIO_BUTTONS
  1306. + select ATH79_DEV_LEDS_GPIO
  1307. + select ATH79_DEV_M25P80
  1308. + select ATH79_DEV_WMAC
  1309. +
  1310. +config ATH79_MACH_UBNT
  1311. + bool "Ubiquiti AR71xx based boards support"
  1312. + select SOC_AR71XX
  1313. + select ATH79_DEV_ETH
  1314. + select ATH79_DEV_GPIO_BUTTONS
  1315. + select ATH79_DEV_LEDS_GPIO
  1316. + select ATH79_DEV_M25P80
  1317. select ATH79_DEV_USB
  1318. - help
  1319. - Say 'Y' here if you want your kernel to support the
  1320. - Atheros PB44 reference board.
  1321. config ATH79_MACH_UBNT_XM
  1322. bool "Ubiquiti Networks XM/UniFi boards"
  1323. @@ -83,6 +1116,97 @@ config ATH79_MACH_UBNT_XM
  1324. Say 'Y' here if you want your kernel to support the
  1325. Ubiquiti Networks XM (rev 1.0) board.
  1326. +config ATH79_MACH_MYNET_N600
  1327. + bool "WD My Net N600 board support"
  1328. + select SOC_AR934X
  1329. + select ATH79_DEV_ETH
  1330. + select ATH79_DEV_GPIO_BUTTONS
  1331. + select ATH79_DEV_LEDS_GPIO
  1332. + select ATH79_DEV_M25P80
  1333. + select ATH79_DEV_WMAC
  1334. + select ATH79_NVRAM
  1335. +
  1336. +config ATH79_MACH_MYNET_N750
  1337. + bool "WD My Net N750 board support"
  1338. + select SOC_AR934X
  1339. + select ATH79_DEV_ETH
  1340. + select ATH79_DEV_GPIO_BUTTONS
  1341. + select ATH79_DEV_LEDS_GPIO
  1342. + select ATH79_DEV_M25P80
  1343. + select ATH79_DEV_WMAC
  1344. + select ATH79_NVRAM
  1345. +
  1346. +config ATH79_MACH_MYNET_REXT
  1347. + bool "WD My Net Wi-Fi Range Extender board support"
  1348. + select SOC_AR934X
  1349. + select ATH79_DEV_AP9X_PCI if PCI
  1350. + select ATH79_DEV_ETH
  1351. + select ATH79_DEV_GPIO_BUTTONS
  1352. + select ATH79_DEV_LEDS_GPIO
  1353. + select ATH79_DEV_M25P80
  1354. + select ATH79_DEV_WMAC
  1355. + select ATH79_NVRAM
  1356. +
  1357. +config ATH79_MACH_ZCN_1523H
  1358. + bool "Zcomax ZCN-1523H support"
  1359. + select SOC_AR724X
  1360. + select ATH79_DEV_AP9X_PCI if PCI
  1361. + select ATH79_DEV_ETH
  1362. + select ATH79_DEV_GPIO_BUTTONS
  1363. + select ATH79_DEV_LEDS_GPIO
  1364. + select ATH79_DEV_M25P80
  1365. +
  1366. +config ATH79_MACH_NBG460N
  1367. + bool "Zyxel NBG460N/550N/550NH board support"
  1368. + select SOC_AR913X
  1369. + select ATH79_DEV_ETH
  1370. + select ATH79_DEV_GPIO_BUTTONS
  1371. + select ATH79_DEV_LEDS_GPIO
  1372. + select ATH79_DEV_M25P80
  1373. + select ATH79_DEV_WMAC
  1374. +
  1375. +config ATH79_MACH_NBG6716
  1376. + bool "Zyxel NBG6716 board support"
  1377. + select SOC_QCA955X
  1378. + select ATH79_DEV_ETH
  1379. + select ATH79_DEV_GPIO_BUTTONS
  1380. + select ATH79_DEV_LEDS_GPIO
  1381. + select ATH79_DEV_M25P80
  1382. + select ATH79_DEV_NFC
  1383. + select ATH79_DEV_USB
  1384. + select ATH79_DEV_WMAC
  1385. +
  1386. +config ATH79_MACH_CARAMBOLA2
  1387. + bool "8devices Carambola2 board"
  1388. + select SOC_AR933X
  1389. + select ATH79_DEV_ETH
  1390. + select ATH79_DEV_GPIO_BUTTONS
  1391. + select ATH79_DEV_LEDS_GPIO
  1392. + select ATH79_DEV_M25P80
  1393. + select ATH79_DEV_USB
  1394. + select ATH79_DEV_WMAC
  1395. +
  1396. +config ATH79_MACH_BHU_BXU2000N2_A
  1397. + bool "BHU BXU2000n-2 rev. A support"
  1398. + select SOC_AR934X
  1399. + select ATH79_DEV_ETH
  1400. + select ATH79_DEV_GPIO_BUTTONS
  1401. + select ATH79_DEV_LEDS_GPIO
  1402. + select ATH79_DEV_M25P80
  1403. + select ATH79_DEV_USB
  1404. + select ATH79_DEV_WMAC
  1405. +
  1406. +config ATH79_MACH_QIHOO_C301
  1407. + bool "Qihoo 360 C301 board support"
  1408. + select SOC_AR934X
  1409. + select ATH79_DEV_ETH
  1410. + select ATH79_DEV_GPIO_BUTTONS
  1411. + select ATH79_DEV_LEDS_GPIO
  1412. + select ATH79_DEV_M25P80
  1413. + select ATH79_DEV_WMAC
  1414. + select ATH79_DEV_USB
  1415. + select ATH79_NVRAM
  1416. +
  1417. endmenu
  1418. config SOC_AR71XX
  1419. @@ -124,7 +1248,10 @@ config ATH79_DEV_DSA
  1420. config ATH79_DEV_ETH
  1421. def_bool n
  1422. -config PCI_AR724X
  1423. +config ATH79_DEV_DSA
  1424. + def_bool n
  1425. +
  1426. +config ATH79_DEV_ETH
  1427. def_bool n
  1428. config ATH79_DEV_GPIO_BUTTONS
  1429. @@ -154,6 +1281,11 @@ config ATH79_PCI_ATH9K_FIXUP
  1430. def_bool n
  1431. config ATH79_ROUTERBOOT
  1432. + select RLE_DECOMPRESS
  1433. + select LZO_DECOMPRESS
  1434. + def_bool n
  1435. +
  1436. +config PCI_AR724X
  1437. def_bool n
  1438. endif
  1439. --- a/arch/mips/ath79/Makefile
  1440. +++ b/arch/mips/ath79/Makefile
  1441. @@ -38,9 +38,124 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route
  1442. #
  1443. # Machines
  1444. #
  1445. +obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
  1446. +obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
  1447. +obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
  1448. +obj-$(CONFIG_ATH79_MACH_ALL0315N) += mach-all0315n.o
  1449. +obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
  1450. obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
  1451. +obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
  1452. obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
  1453. obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
  1454. +obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
  1455. +obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
  1456. +obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7.o
  1457. +obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
  1458. +obj-$(CONFIG_ATH79_MACH_BHU_BXU2000N2_A)+= mach-bhu-bxu2000n2-a.o
  1459. +obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
  1460. +obj-$(CONFIG_ATH79_MACH_CPE510) += mach-cpe510.o
  1461. obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
  1462. +obj-$(CONFIG_ATH79_MACH_DLAN_PRO_500_WP) += mach-dlan-pro-500-wp.o
  1463. +obj-$(CONFIG_ATH79_MACH_DLAN_PRO_1200_AC) += mach-dlan-pro-1200-ac.o
  1464. +obj-$(CONFIG_ATH79_MACH_DGL_5500_A1) += mach-dgl-5500-a1.o
  1465. +obj-$(CONFIG_ATH79_MACH_DHP_1565_A1) += mach-dhp-1565-a1.o
  1466. +obj-$(CONFIG_ATH79_MACH_DIR_505_A1) += mach-dir-505-a1.o
  1467. +obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
  1468. +obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
  1469. +obj-$(CONFIG_ATH79_MACH_DIR_615_I1) += mach-dir-615-i1.o
  1470. +obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
  1471. +obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
  1472. +obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
  1473. +obj-$(CONFIG_ATH79_MACH_ESR900) += mach-esr900.o
  1474. +obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
  1475. +obj-$(CONFIG_ATH79_MACH_EAP300V2) += mach-eap300v2.o
  1476. +obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
  1477. +obj-$(CONFIG_ATH79_MACH_EL_M150) += mach-el-m150.o
  1478. +obj-$(CONFIG_ATH79_MACH_EL_MINI) += mach-el-mini.o
  1479. +obj-$(CONFIG_ATH79_MACH_ESR1750) += mach-esr1750.o
  1480. +obj-$(CONFIG_ATH79_MACH_F9K1115V2) += mach-f9k1115v2.o
  1481. +obj-$(CONFIG_ATH79_MACH_GL_INET) += mach-gl-inet.o
  1482. +obj-$(CONFIG_ATH79_MACH_GS_OOLITE) += mach-gs-oolite.o
  1483. +obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) += mach-hiwifi-hc6361.o
  1484. +obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
  1485. +obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
  1486. +obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
  1487. +obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
  1488. +obj-$(CONFIG_ATH79_MACH_MR900) += mach-mr900.o
  1489. +obj-$(CONFIG_ATH79_MACH_MYNET_N600) += mach-mynet-n600.o
  1490. +obj-$(CONFIG_ATH79_MACH_MYNET_N750) += mach-mynet-n750.o
  1491. +obj-$(CONFIG_ATH79_MACH_MYNET_REXT) += mach-mynet-rext.o
  1492. +obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
  1493. +obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
  1494. +obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
  1495. +obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
  1496. +obj-$(CONFIG_ATH79_MACH_OM5P) += mach-om5p.o
  1497. +obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
  1498. obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
  1499. +obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
  1500. +obj-$(CONFIG_ATH79_MACH_QIHOO_C301) += mach-qihoo-c301.o
  1501. +obj-$(CONFIG_ATH79_MACH_R6100) += mach-r6100.o
  1502. +obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
  1503. +obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
  1504. +obj-$(CONFIG_ATH79_MACH_RB91X) += mach-rb91x.o
  1505. +obj-$(CONFIG_ATH79_MACH_RB95X) += mach-rb95x.o
  1506. +obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
  1507. +obj-$(CONFIG_ATH79_MACH_RBSXTLITE) += mach-rbsxtlite.o
  1508. +obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
  1509. +obj-$(CONFIG_ATH79_MACH_SMART_300) += mach-smart-300.o
  1510. +obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
  1511. +obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
  1512. +obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
  1513. +obj-$(CONFIG_ATH79_MACH_TEW_732BR) += mach-tew-732br.o
  1514. +obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
  1515. +obj-$(CONFIG_ATH79_MACH_TL_MR13U) += mach-tl-mr13u.o
  1516. +obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
  1517. +obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
  1518. +obj-$(CONFIG_ATH79_MACH_TL_WAX50RE) += mach-tl-wax50re.o
  1519. +obj-$(CONFIG_ATH79_MACH_TL_WA701ND_V2) += mach-tl-wa701nd-v2.o
  1520. +obj-$(CONFIG_ATH79_MACH_TL_WA7210N_V2) += mach-tl-wa7210n-v2.o
  1521. +obj-$(CONFIG_ATH79_MACH_TL_WA830RE_V2) += mach-tl-wa830re-v2.o
  1522. +obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
  1523. +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
  1524. +obj-$(CONFIG_ATH79_MACH_TL_WDR3500) += mach-tl-wdr3500.o
  1525. +obj-$(CONFIG_ATH79_MACH_TL_WDR4300) += mach-tl-wdr4300.o
  1526. +obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
  1527. +obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
  1528. +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
  1529. +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V8) += mach-tl-wr841n-v8.o
  1530. +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V9) += mach-tl-wr841n-v9.o
  1531. +obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
  1532. +obj-$(CONFIG_ATH79_MACH_TL_WR1041N_V2) += mach-tl-wr1041n-v2.o
  1533. +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
  1534. +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND_V2) += mach-tl-wr1043nd-v2.o
  1535. +obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
  1536. +obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
  1537. +obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
  1538. +obj-$(CONFIG_ATH79_MACH_TUBE2H) += mach-tube2h.o
  1539. +obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
  1540. obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
  1541. +obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
  1542. +obj-$(CONFIG_ATH79_MACH_WLAE_AG300N) += mach-wlae-ag300n.o
  1543. +obj-$(CONFIG_ATH79_MACH_WLR8100) += mach-wlr8100.o
  1544. +obj-$(CONFIG_ATH79_MACH_WNDAP360) += mach-wndap360.o
  1545. +obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
  1546. +obj-$(CONFIG_ATH79_MACH_WNDR4300) += mach-wndr4300.o
  1547. +obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
  1548. +obj-$(CONFIG_ATH79_MACH_WNR2000_V3) += mach-wnr2000-v3.o
  1549. +obj-$(CONFIG_ATH79_MACH_WNR2000_V4) += mach-wnr2000-v4.o
  1550. +obj-$(CONFIG_ATH79_MACH_WNR2200) += mach-wnr2200.o
  1551. +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
  1552. +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
  1553. +obj-$(CONFIG_ATH79_MACH_WPJ344) += mach-wpj344.o
  1554. +obj-$(CONFIG_ATH79_MACH_WPJ531) += mach-wpj531.o
  1555. +obj-$(CONFIG_ATH79_MACH_WPJ558) += mach-wpj558.o
  1556. +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
  1557. +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
  1558. +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
  1559. +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
  1560. +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
  1561. +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o
  1562. +obj-$(CONFIG_ATH79_MACH_WZR_450HP2) += mach-wzr-450hp2.o
  1563. +obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o
  1564. +obj-$(CONFIG_ATH79_MACH_CARAMBOLA2) += mach-carambola2.o
  1565. +obj-$(CONFIG_ATH79_MACH_NBG6716) += mach-nbg6716.o
  1566. --- a/arch/mips/ath79/prom.c
  1567. +++ b/arch/mips/ath79/prom.c
  1568. @@ -180,6 +180,12 @@ void __init prom_init(void)
  1569. ath79_prom_append_cmdline("board", env);
  1570. }
  1571. }
  1572. +
  1573. + if (strstr(arcs_cmdline, "board=750Gr3") ||
  1574. + strstr(arcs_cmdline, "board=951G") ||
  1575. + strstr(arcs_cmdline, "board=2011L") ||
  1576. + strstr(arcs_cmdline, "board=711Gr100"))
  1577. + ath79_prom_append_cmdline("console", "ttyS0,115200");
  1578. }
  1579. void __init prom_free_prom_memory(void)