source: trunk/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/machtype.h @ 29973

Last change on this file since 29973 was 29973, checked in by juhosg, 5 years ago

ar71xx: support for D-LINK DIR-615 rev. E4

This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number

  • I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@…>

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1/*
2 *  Atheros AR71xx machine type definitions
3 *
4 *  Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
5 *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 *  This program is free software; you can redistribute it and/or modify it
8 *  under the terms of the GNU General Public License version 2 as published
9 *  by the Free Software Foundation.
10 */
11
12#ifndef _AR71XX_MACHTYPE_H
13#define _AR71XX_MACHTYPE_H
14
15#include <asm/mips_machine.h>
16
17enum ar71xx_mach_type {
18        AR71XX_MACH_GENERIC = 0,
19        AR71XX_MACH_ALFA_AP96,  /* ALFA Network AP96 board */
20        AR71XX_MACH_ALFA_NX,    /* ALFA Network N2/N5 board */
21        AR71XX_MACH_ALL0258N,   /* Allnet ALL0258N */
22        AR71XX_MACH_AP113,      /* Atheros AP113 */
23        AR71XX_MACH_AP121,      /* Atheros AP121 */
24        AR71XX_MACH_AP121_MINI, /* Atheros AP121-MINI */
25        AR71XX_MACH_AP81,       /* Atheros AP81 */
26        AR71XX_MACH_AP83,       /* Atheros AP83 */
27        AR71XX_MACH_AP96,       /* Atheros AP96 */
28        AR71XX_MACH_AW_NR580,   /* AzureWave AW-NR580 */
29        AR71XX_MACH_DB120,      /* Atheros DB120 (AR934x based) */
30        AR71XX_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
31        AR71XX_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
32        AR71XX_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
33        AR71XX_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
34        AR71XX_MACH_EAP7660D,   /* Senao EAP7660D */
35        AR71XX_MACH_JA76PF,     /* jjPlus JA76PF */
36        AR71XX_MACH_JWAP003,    /* jjPlus JWAP003 */
37        AR71XX_MACH_HORNET_UB,  /* ALFA Networks Hornet-UB */
38        AR71XX_MACH_MZK_W04NU,  /* Planex MZK-W04NU */
39        AR71XX_MACH_MZK_W300NH, /* Planex MZK-W300NH */
40        AR71XX_MACH_NBG460N,    /* Zyxel NBG460N/550N/550NH */
41        AR71XX_MACH_OM2P,       /* OpenMesh OM2P */
42        AR71XX_MACH_PB42,       /* Atheros PB42 */
43        AR71XX_MACH_PB44,       /* Atheros PB44 */
44        AR71XX_MACH_PB92,       /* Atheros PB92 */
45        AR71XX_MACH_RB_411,     /* MikroTik RouterBOARD 411/411A/411AH */
46        AR71XX_MACH_RB_411U,    /* MikroTik RouterBOARD 411U */
47        AR71XX_MACH_RB_433,     /* MikroTik RouterBOARD 433/433AH */
48        AR71XX_MACH_RB_433U,    /* MikroTik RouterBOARD 433UAH */
49        AR71XX_MACH_RB_450G,    /* MikroTik RouterBOARD 450G */
50        AR71XX_MACH_RB_450,     /* MikroTik RouterBOARD 450 */
51        AR71XX_MACH_RB_493,     /* Mikrotik RouterBOARD 493/493AH */
52        AR71XX_MACH_RB_493G,    /* Mikrotik RouterBOARD 493G */
53        AR71XX_MACH_RB_750,     /* MikroTik RouterBOARD 750 */
54        AR71XX_MACH_RW2458N,    /* Redwave RW2458N */
55        AR71XX_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
56        AR71XX_MACH_TL_MR11U,  /* TP-LINK TL-MR11U */
57        AR71XX_MACH_TL_MR3020,  /* TP-LINK TL-MR3020 */
58        AR71XX_MACH_TL_MR3220,  /* TP-LINK TL-MR3220 */
59        AR71XX_MACH_TL_MR3420,  /* TP-LINK TL-MR3420 */
60        AR71XX_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */
61        AR71XX_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */
62        AR71XX_MACH_TL_WR1043ND, /* TP-LINK TL-WR1041ND */
63        AR71XX_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
64        AR71XX_MACH_TL_WR703N,  /* TP-LINK TL-WR703N */
65        AR71XX_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
66        AR71XX_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND  v4*/
67        AR71XX_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
68        AR71XX_MACH_TL_WR841N_V7, /* TP-LINK TL-WR841N/ND v7 */
69        AR71XX_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
70        AR71XX_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
71        AR71XX_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
72        AR71XX_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
73        AR71XX_MACH_UBNT_LSX,   /* Ubiquiti LSX */
74        AR71XX_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
75        AR71XX_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
76        AR71XX_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
77        AR71XX_MACH_UBNT_RS,    /* Ubiquiti RouterStation */
78        AR71XX_MACH_UBNT_UNIFI, /* Unifi */
79        AR71XX_MACH_WHR_G301N,  /* Buffalo WHR-G301N */
80        AR71XX_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
81        AR71XX_MACH_WHR_HP_GN,  /* Buffalo WHR-HP-GN */
82        AR71XX_MACH_WNDR3700,   /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
83        AR71XX_MACH_WNR2000,    /* NETGEAR WNR2000 */
84        AR71XX_MACH_WP543,      /* Compex WP543 */
85        AR71XX_MACH_WPE72,      /* Compex WPE72 */
86        AR71XX_MACH_WRT160NL,   /* Linksys WRT160NL */
87        AR71XX_MACH_WRT400N,    /* Linksys WRT400N */
88        AR71XX_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
89        AR71XX_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
90        AR71XX_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
91        AR71XX_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
92        AR71XX_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
93        AR71XX_MACH_ZCN_1523H_5, /* Zcomax ZCN-1523H-5-xx */
94};
95
96#endif /* _AR71XX_MACHTYPE_H */
Note: See TracBrowser for help on using the repository browser.