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

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