1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __BCM47XX_BOARD_H
3 #define __BCM47XX_BOARD_H
4 
5 enum bcm47xx_board {
6 	BCM47XX_BOARD_ASUS_RTAC66U,
7 	BCM47XX_BOARD_ASUS_RTN10,
8 	BCM47XX_BOARD_ASUS_RTN10D,
9 	BCM47XX_BOARD_ASUS_RTN10U,
10 	BCM47XX_BOARD_ASUS_RTN12,
11 	BCM47XX_BOARD_ASUS_RTN12B1,
12 	BCM47XX_BOARD_ASUS_RTN12C1,
13 	BCM47XX_BOARD_ASUS_RTN12D1,
14 	BCM47XX_BOARD_ASUS_RTN12HP,
15 	BCM47XX_BOARD_ASUS_RTN15U,
16 	BCM47XX_BOARD_ASUS_RTN16,
17 	BCM47XX_BOARD_ASUS_RTN53,
18 	BCM47XX_BOARD_ASUS_RTN66U,
19 	BCM47XX_BOARD_ASUS_WL300G,
20 	BCM47XX_BOARD_ASUS_WL320GE,
21 	BCM47XX_BOARD_ASUS_WL330GE,
22 	BCM47XX_BOARD_ASUS_WL500G,
23 	BCM47XX_BOARD_ASUS_WL500GD,
24 	BCM47XX_BOARD_ASUS_WL500GPV1,
25 	BCM47XX_BOARD_ASUS_WL500GPV2,
26 	BCM47XX_BOARD_ASUS_WL500W,
27 	BCM47XX_BOARD_ASUS_WL520GC,
28 	BCM47XX_BOARD_ASUS_WL520GU,
29 	BCM47XX_BOARD_ASUS_WL700GE,
30 	BCM47XX_BOARD_ASUS_WLHDD,
31 
32 	BCM47XX_BOARD_BELKIN_F7D3301,
33 	BCM47XX_BOARD_BELKIN_F7D3302,
34 	BCM47XX_BOARD_BELKIN_F7D4301,
35 	BCM47XX_BOARD_BELKIN_F7D4302,
36 	BCM47XX_BOARD_BELKIN_F7D4401,
37 
38 	BCM47XX_BOARD_BUFFALO_WBR2_G54,
39 	BCM47XX_BOARD_BUFFALO_WHR2_A54G54,
40 	BCM47XX_BOARD_BUFFALO_WHR_G125,
41 	BCM47XX_BOARD_BUFFALO_WHR_G54S,
42 	BCM47XX_BOARD_BUFFALO_WHR_HP_G54,
43 	BCM47XX_BOARD_BUFFALO_WLA2_G54L,
44 	BCM47XX_BOARD_BUFFALO_WZR_G300N,
45 	BCM47XX_BOARD_BUFFALO_WZR_RS_G54,
46 	BCM47XX_BOARD_BUFFALO_WZR_RS_G54HP,
47 
48 	BCM47XX_BOARD_CISCO_M10V1,
49 	BCM47XX_BOARD_CISCO_M20V1,
50 
51 	BCM47XX_BOARD_DELL_TM2300,
52 
53 	BCM47XX_BOARD_DLINK_DIR130,
54 	BCM47XX_BOARD_DLINK_DIR330,
55 
56 	BCM47XX_BOARD_HUAWEI_B593U_12,
57 	BCM47XX_BOARD_HUAWEI_E970,
58 
59 	BCM47XX_BOARD_LINKSYS_E900V1,
60 	BCM47XX_BOARD_LINKSYS_E1000V1,
61 	BCM47XX_BOARD_LINKSYS_E1000V2,
62 	BCM47XX_BOARD_LINKSYS_E1000V21,
63 	BCM47XX_BOARD_LINKSYS_E1200V2,
64 	BCM47XX_BOARD_LINKSYS_E2000V1,
65 	BCM47XX_BOARD_LINKSYS_E2500V3,
66 	BCM47XX_BOARD_LINKSYS_E3000V1,
67 	BCM47XX_BOARD_LINKSYS_E3200V1,
68 	BCM47XX_BOARD_LINKSYS_E4200V1,
69 	BCM47XX_BOARD_LINKSYS_WRT150NV1,
70 	BCM47XX_BOARD_LINKSYS_WRT150NV11,
71 	BCM47XX_BOARD_LINKSYS_WRT160NV1,
72 	BCM47XX_BOARD_LINKSYS_WRT160NV3,
73 	BCM47XX_BOARD_LINKSYS_WRT300N_V1,
74 	BCM47XX_BOARD_LINKSYS_WRT300NV11,
75 	BCM47XX_BOARD_LINKSYS_WRT310NV1,
76 	BCM47XX_BOARD_LINKSYS_WRT310NV2,
77 	BCM47XX_BOARD_LINKSYS_WRT320N_V1,
78 	BCM47XX_BOARD_LINKSYS_WRT54G3GV2,
79 	BCM47XX_BOARD_LINKSYS_WRT54G_TYPE_0101,
80 	BCM47XX_BOARD_LINKSYS_WRT54G_TYPE_0467,
81 	BCM47XX_BOARD_LINKSYS_WRT54G_TYPE_0708,
82 	BCM47XX_BOARD_LINKSYS_WRT600N_V11,
83 	BCM47XX_BOARD_LINKSYS_WRT610NV1,
84 	BCM47XX_BOARD_LINKSYS_WRT610NV2,
85 	BCM47XX_BOARD_LINKSYS_WRTSL54GS,
86 
87 	BCM47XX_BOARD_LUXUL_ABR_4400_V1,
88 	BCM47XX_BOARD_LUXUL_XAP_310_V1,
89 	BCM47XX_BOARD_LUXUL_XAP_1210_V1,
90 	BCM47XX_BOARD_LUXUL_XAP_1230_V1,
91 	BCM47XX_BOARD_LUXUL_XAP_1240_V1,
92 	BCM47XX_BOARD_LUXUL_XAP_1500_V1,
93 	BCM47XX_BOARD_LUXUL_XBR_4400_V1,
94 	BCM47XX_BOARD_LUXUL_XVW_P30_V1,
95 	BCM47XX_BOARD_LUXUL_XWR_600_V1,
96 	BCM47XX_BOARD_LUXUL_XWR_1750_V1,
97 
98 	BCM47XX_BOARD_MICROSOFT_MN700,
99 
100 	BCM47XX_BOARD_MOTOROLA_WE800G,
101 	BCM47XX_BOARD_MOTOROLA_WR850GP,
102 	BCM47XX_BOARD_MOTOROLA_WR850GV2V3,
103 
104 	BCM47XX_BOARD_NETGEAR_R6200_V1,
105 	BCM47XX_BOARD_NETGEAR_R6300_V1,
106 	BCM47XX_BOARD_NETGEAR_WGR614V8,
107 	BCM47XX_BOARD_NETGEAR_WGR614V9,
108 	BCM47XX_BOARD_NETGEAR_WGR614_V10,
109 	BCM47XX_BOARD_NETGEAR_WN2500RP_V1,
110 	BCM47XX_BOARD_NETGEAR_WN2500RP_V2,
111 	BCM47XX_BOARD_NETGEAR_WNDR3300,
112 	BCM47XX_BOARD_NETGEAR_WNDR3400V1,
113 	BCM47XX_BOARD_NETGEAR_WNDR3400V2,
114 	BCM47XX_BOARD_NETGEAR_WNDR3400_V3,
115 	BCM47XX_BOARD_NETGEAR_WNDR3400VCNA,
116 	BCM47XX_BOARD_NETGEAR_WNDR3700V3,
117 	BCM47XX_BOARD_NETGEAR_WNDR4000,
118 	BCM47XX_BOARD_NETGEAR_WNDR4500V1,
119 	BCM47XX_BOARD_NETGEAR_WNDR4500V2,
120 	BCM47XX_BOARD_NETGEAR_WNR1000_V3,
121 	BCM47XX_BOARD_NETGEAR_WNR2000,
122 	BCM47XX_BOARD_NETGEAR_WNR3500L,
123 	BCM47XX_BOARD_NETGEAR_WNR3500L_V2,
124 	BCM47XX_BOARD_NETGEAR_WNR3500U,
125 	BCM47XX_BOARD_NETGEAR_WNR3500V2,
126 	BCM47XX_BOARD_NETGEAR_WNR3500V2VC,
127 	BCM47XX_BOARD_NETGEAR_WNR834BV2,
128 
129 	BCM47XX_BOARD_PHICOMM_M1,
130 
131 	BCM47XX_BOARD_SIEMENS_SE505V2,
132 
133 	BCM47XX_BOARD_SIMPLETECH_SIMPLESHARE,
134 
135 	BCM47XX_BOARD_ZTE_H218N,
136 
137 	BCM47XX_BOARD_UNKNOWN,
138 	BCM47XX_BOARD_NO,
139 };
140 
141 #define BCM47XX_BOARD_MAX_NAME 30
142 
143 void bcm47xx_board_detect(void);
144 enum bcm47xx_board bcm47xx_board_get(void);
145 const char *bcm47xx_board_get_name(void);
146 
147 #endif /* __BCM47XX_BOARD_H */
148