700-MIPS-ath79-openwrt-machines.patch 52 KB

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