Commit | Line | Data |
---|---|---|
1b4a7c03 LJ |
1 | /* |
2 | * BCM43XX Sonics SiliconBackplane PCMCIA core hardware definitions. | |
3 | * | |
4 | * Copyright (C) 2020, Broadcom. | |
5 | * | |
6 | * Unless you and Broadcom execute a separate written software license | |
7 | * agreement governing use of this software, this software is licensed to you | |
8 | * under the terms of the GNU General Public License version 2 (the "GPL"), | |
9 | * available at http://www.broadcom.com/licenses/GPLv2.php, with the | |
10 | * following added to such license: | |
11 | * | |
12 | * As a special exception, the copyright holders of this software give you | |
13 | * permission to link this software with independent modules, and to copy and | |
14 | * distribute the resulting executable under terms of your choice, provided that | |
15 | * you also meet, for each linked independent module, the terms and conditions of | |
16 | * the license of that module. An independent module is a module which is not | |
17 | * derived from this software. The special exception does not apply to any | |
18 | * modifications of the software. | |
19 | * | |
20 | * | |
21 | * <<Broadcom-WL-IPTag/Dual:>> | |
22 | */ | |
23 | ||
24 | #ifndef _SBPCMCIA_H | |
25 | #define _SBPCMCIA_H | |
26 | ||
27 | /* All the addresses that are offsets in attribute space are divided | |
28 | * by two to account for the fact that odd bytes are invalid in | |
29 | * attribute space and our read/write routines make the space appear | |
30 | * as if they didn't exist. Still we want to show the original numbers | |
31 | * as documented in the hnd_pcmcia core manual. | |
32 | */ | |
33 | ||
34 | /* PCMCIA Function Configuration Registers */ | |
35 | #define PCMCIA_FCR (0x700 / 2) | |
36 | ||
37 | #define FCR0_OFF 0 | |
38 | #define FCR1_OFF (0x40 / 2) | |
39 | #define FCR2_OFF (0x80 / 2) | |
40 | #define FCR3_OFF (0xc0 / 2) | |
41 | ||
42 | #define PCMCIA_FCR0 (0x700 / 2) | |
43 | #define PCMCIA_FCR1 (0x740 / 2) | |
44 | #define PCMCIA_FCR2 (0x780 / 2) | |
45 | #define PCMCIA_FCR3 (0x7c0 / 2) | |
46 | ||
47 | /* Standard PCMCIA FCR registers */ | |
48 | ||
49 | #define PCMCIA_COR 0 | |
50 | ||
51 | #define COR_RST 0x80 | |
52 | #define COR_LEV 0x40 | |
53 | #define COR_IRQEN 0x04 | |
54 | #define COR_BLREN 0x01 | |
55 | #define COR_FUNEN 0x01 | |
56 | ||
57 | #define PCICIA_FCSR (2 / 2) | |
58 | #define PCICIA_PRR (4 / 2) | |
59 | #define PCICIA_SCR (6 / 2) | |
60 | #define PCICIA_ESR (8 / 2) | |
61 | ||
62 | #define PCM_MEMOFF 0x0000 | |
63 | #define F0_MEMOFF 0x1000 | |
64 | #define F1_MEMOFF 0x2000 | |
65 | #define F2_MEMOFF 0x3000 | |
66 | #define F3_MEMOFF 0x4000 | |
67 | ||
68 | /* Memory base in the function fcr's */ | |
69 | #define MEM_ADDR0 (0x728 / 2) | |
70 | #define MEM_ADDR1 (0x72a / 2) | |
71 | #define MEM_ADDR2 (0x72c / 2) | |
72 | ||
73 | /* PCMCIA base plus Srom access in fcr0: */ | |
74 | #define PCMCIA_ADDR0 (0x072e / 2) | |
75 | #define PCMCIA_ADDR1 (0x0730 / 2) | |
76 | #define PCMCIA_ADDR2 (0x0732 / 2) | |
77 | ||
78 | #define MEM_SEG (0x0734 / 2) | |
79 | #define SROM_CS (0x0736 / 2) | |
80 | #define SROM_DATAL (0x0738 / 2) | |
81 | #define SROM_DATAH (0x073a / 2) | |
82 | #define SROM_ADDRL (0x073c / 2) | |
83 | #define SROM_ADDRH (0x073e / 2) | |
84 | #define SROM_INFO2 (0x0772 / 2) /* Corerev >= 2 && <= 5 */ | |
85 | #define SROM_INFO (0x07be / 2) /* Corerev >= 6 */ | |
86 | ||
87 | /* Values for srom_cs: */ | |
88 | #define SROM_IDLE 0 | |
89 | #define SROM_WRITE 1 | |
90 | #define SROM_READ 2 | |
91 | #define SROM_WEN 4 | |
92 | #define SROM_WDS 7 | |
93 | #define SROM_DONE 8 | |
94 | ||
95 | /* Fields in srom_info: */ | |
96 | #define SRI_SZ_MASK 0x03 | |
97 | #define SRI_BLANK 0x04 | |
98 | #define SRI_OTP 0x80 | |
99 | ||
100 | #define SROM16K_BANK_SEL_MASK (3 << 11) | |
101 | #define SROM16K_BANK_SHFT_MASK 11 | |
102 | #define SROM16K_ADDR_SEL_MASK ((1 << SROM16K_BANK_SHFT_MASK) - 1) | |
103 | #define SROM_PRSNT_MASK 0x1 | |
104 | #define SROM_SUPPORT_SHIFT_MASK 30 | |
105 | #define SROM_SUPPORTED (0x1 << SROM_SUPPORT_SHIFT_MASK) | |
106 | #define SROM_SIZE_MASK 0x00000006 | |
107 | #define SROM_SIZE_2K 2 | |
108 | #define SROM_SIZE_512 1 | |
109 | #define SROM_SIZE_128 0 | |
110 | #define SROM_SIZE_SHFT_MASK 1 | |
111 | ||
112 | /* CIS stuff */ | |
113 | ||
114 | /* The CIS stops where the FCRs start */ | |
115 | #define CIS_SIZE PCMCIA_FCR | |
116 | #define CIS_SIZE_12K 1154 /* Maximum h/w + s/w sub region size for 12k OTP */ | |
117 | ||
118 | /* CIS tuple length field max */ | |
119 | #define CIS_TUPLE_LEN_MAX 0xff | |
120 | ||
121 | /* Standard tuples we know about */ | |
122 | ||
123 | #define CISTPL_NULL 0x00 | |
124 | #define CISTPL_END 0xff /* End of the CIS tuple chain */ | |
125 | ||
126 | #define CISTPL_VERS_1 0x15 /* CIS ver, manf, dev & ver strings */ | |
127 | #define CISTPL_MANFID 0x20 /* Manufacturer and device id */ | |
128 | #define CISTPL_FUNCID 0x21 /* Function identification */ | |
129 | #define CISTPL_FUNCE 0x22 /* Function extensions */ | |
130 | #define CISTPL_CFTABLE 0x1b /* Config table entry */ | |
131 | ||
132 | /* Function identifier provides context for the function extentions tuple */ | |
133 | #define CISTPL_FID_SDIO 0x0c /* Extensions defined by SDIO spec */ | |
134 | ||
135 | /* Function extensions for LANs (assumed for extensions other than SDIO) */ | |
136 | #define LAN_TECH 1 /* Technology type */ | |
137 | #define LAN_SPEED 2 /* Raw bit rate */ | |
138 | #define LAN_MEDIA 3 /* Transmission media */ | |
139 | #define LAN_NID 4 /* Node identification (aka MAC addr) */ | |
140 | #define LAN_CONN 5 /* Connector standard */ | |
141 | ||
142 | /* CFTable */ | |
143 | #define CFTABLE_REGWIN_2K 0x08 /* 2k reg windows size */ | |
144 | #define CFTABLE_REGWIN_4K 0x10 /* 4k reg windows size */ | |
145 | #define CFTABLE_REGWIN_8K 0x20 /* 8k reg windows size */ | |
146 | ||
147 | /* Vendor unique tuples are 0x80-0x8f. Within Broadcom we'll | |
148 | * take one for HNBU, and use "extensions" (a la FUNCE) within it. | |
149 | */ | |
150 | ||
151 | #define CISTPL_BRCM_HNBU 0x80 | |
152 | ||
153 | /* Subtypes of BRCM_HNBU: */ | |
154 | ||
155 | #define HNBU_SROMREV 0x00 /* A byte with sromrev, 1 if not present */ | |
156 | #define HNBU_CHIPID 0x01 /* Two 16bit values: PCI vendor & device id */ | |
157 | ||
158 | #define HNBU_BOARDREV 0x02 /* One byte board revision */ | |
159 | ||
160 | #define HNBU_PAPARMS 0x03 /* PA parameters: 8 (sromrev == 1) | |
161 | * or 9 (sromrev > 1) bytes | |
162 | */ | |
163 | #define HNBU_OEM 0x04 /* Eight bytes OEM data (sromrev == 1) */ | |
164 | #define HNBU_CC 0x05 /* Default country code (sromrev == 1) */ | |
165 | #define HNBU_AA 0x06 /* Antennas available */ | |
166 | #define HNBU_AG 0x07 /* Antenna gain */ | |
167 | #define HNBU_BOARDFLAGS 0x08 /* board flags (2 or 4 bytes) */ | |
168 | #define HNBU_UNUSED 0x09 /* UNUSED (was LEDs) */ | |
169 | #define HNBU_CCODE 0x0a /* Country code (2 bytes ascii + 1 byte cctl) | |
170 | * in rev 2 | |
171 | */ | |
172 | #define HNBU_CCKPO 0x0b /* 2 byte cck power offsets in rev 3 */ | |
173 | #define HNBU_OFDMPO 0x0c /* 4 byte 11g ofdm power offsets in rev 3 */ | |
174 | #define HNBU_GPIOTIMER 0x0d /* 2 bytes with on/off values in rev 3 */ | |
175 | #define HNBU_PAPARMS5G 0x0e /* 5G PA params */ | |
176 | #define HNBU_ANT5G 0x0f /* 4328 5G antennas available/gain */ | |
177 | #define HNBU_RDLID 0x10 /* 2 byte USB remote downloader (RDL) product Id */ | |
178 | #define HNBU_RSSISMBXA2G 0x11 /* 4328 2G RSSI mid pt sel & board switch arch, | |
179 | * 2 bytes, rev 3. | |
180 | */ | |
181 | #define HNBU_RSSISMBXA5G 0x12 /* 4328 5G RSSI mid pt sel & board switch arch, | |
182 | * 2 bytes, rev 3. | |
183 | */ | |
184 | #define HNBU_XTALFREQ 0x13 /* 4 byte Crystal frequency in kilohertz */ | |
185 | #define HNBU_TRI2G 0x14 /* 4328 2G TR isolation, 1 byte */ | |
186 | #define HNBU_TRI5G 0x15 /* 4328 5G TR isolation, 3 bytes */ | |
187 | #define HNBU_RXPO2G 0x16 /* 4328 2G RX power offset, 1 byte */ | |
188 | #define HNBU_RXPO5G 0x17 /* 4328 5G RX power offset, 1 byte */ | |
189 | #define HNBU_BOARDNUM 0x18 /* board serial number, independent of mac addr */ | |
190 | #define HNBU_MACADDR 0x19 /* mac addr override for the standard CIS LAN_NID */ | |
191 | #define HNBU_RDLSN 0x1a /* 2 bytes; serial # advertised in USB descriptor */ | |
192 | ||
193 | #define HNBU_BOARDTYPE 0x1b /* 2 bytes; boardtype */ | |
194 | ||
195 | #define HNBU_UNUSED2 0x1c /* was LEDs duty cycle */ | |
196 | ||
197 | #define HNBU_HNBUCIS 0x1d /* what follows is proprietary HNBU CIS format */ | |
198 | ||
199 | #define HNBU_PAPARMS_SSLPNPHY 0x1e /* SSLPNPHY PA params */ | |
200 | #define HNBU_RSSISMBXA2G_SSLPNPHY 0x1f /* SSLPNPHY RSSI mid pt sel & board switch arch */ | |
201 | #define HNBU_RDLRNDIS 0x20 /* 1 byte; 1 = RDL advertises RNDIS config */ | |
202 | #define HNBU_CHAINSWITCH 0x21 /* 2 byte; txchain, rxchain */ | |
203 | #define HNBU_REGREV 0x22 /* 1 byte; */ | |
204 | #define HNBU_FEM 0x23 /* 2 or 4 byte: 11n frontend specification */ | |
205 | #define HNBU_PAPARMS_C0 0x24 /* 8 or 30 bytes: 11n pa paramater for chain 0 */ | |
206 | #define HNBU_PAPARMS_C1 0x25 /* 8 or 30 bytes: 11n pa paramater for chain 1 */ | |
207 | #define HNBU_PAPARMS_C2 0x26 /* 8 or 30 bytes: 11n pa paramater for chain 2 */ | |
208 | #define HNBU_PAPARMS_C3 0x27 /* 8 or 30 bytes: 11n pa paramater for chain 3 */ | |
209 | #define HNBU_PO_CCKOFDM 0x28 /* 6 or 18 bytes: cck2g/ofdm2g/ofdm5g power offset */ | |
210 | #define HNBU_PO_MCS2G 0x29 /* 8 bytes: mcs2g power offset */ | |
211 | #define HNBU_PO_MCS5GM 0x2a /* 8 bytes: mcs5g mid band power offset */ | |
212 | #define HNBU_PO_MCS5GLH 0x2b /* 16 bytes: mcs5g low-high band power offset */ | |
213 | #define HNBU_PO_CDD 0x2c /* 2 bytes: cdd2g/5g power offset */ | |
214 | #define HNBU_PO_STBC 0x2d /* 2 bytes: stbc2g/5g power offset */ | |
215 | #define HNBU_PO_40M 0x2e /* 2 bytes: 40Mhz channel 2g/5g power offset */ | |
216 | #define HNBU_PO_40MDUP 0x2f /* 2 bytes: 40Mhz channel dup 2g/5g power offset */ | |
217 | ||
218 | #define HNBU_RDLRWU 0x30 /* 1 byte; 1 = RDL advertises Remote Wake-up */ | |
219 | #define HNBU_WPS 0x31 /* 1 byte; GPIO pin for WPS button */ | |
220 | #define HNBU_USBFS 0x32 /* 1 byte; 1 = USB advertises FS mode only */ | |
221 | #define HNBU_BRMIN 0x33 /* 4 byte bootloader min resource mask */ | |
222 | #define HNBU_BRMAX 0x34 /* 4 byte bootloader max resource mask */ | |
223 | #define HNBU_PATCH 0x35 /* bootloader patch addr(2b) & data(4b) pair */ | |
224 | #define HNBU_CCKFILTTYPE 0x36 /* CCK digital filter selection options */ | |
225 | #define HNBU_OFDMPO5G 0x37 /* 4 * 3 = 12 byte 11a ofdm power offsets in rev 3 */ | |
226 | #define HNBU_ELNA2G 0x38 | |
227 | #define HNBU_ELNA5G 0x39 | |
228 | #define HNBU_TEMPTHRESH 0x3A /* 2 bytes | |
229 | * byte1 tempthresh | |
230 | * byte2 period(msb 4 bits) | hysterisis(lsb 4 bits) | |
231 | */ | |
232 | #define HNBU_UUID 0x3B /* 16 Bytes Hex */ | |
233 | ||
234 | #define HNBU_USBEPNUM 0x40 /* USB endpoint numbers */ | |
235 | ||
236 | /* POWER PER RATE for SROM V9 */ | |
237 | #define HNBU_CCKBW202GPO 0x41 /* 2 bytes each | |
238 | * CCK Power offsets for 20 MHz rates (11, 5.5, 2, 1Mbps) | |
239 | * cckbw202gpo cckbw20ul2gpo | |
240 | */ | |
241 | ||
242 | #define HNBU_LEGOFDMBW202GPO 0x42 /* 4 bytes each | |
243 | * OFDM power offsets for 20 MHz Legacy rates | |
244 | * (54, 48, 36, 24, 18, 12, 9, 6 Mbps) | |
245 | * legofdmbw202gpo legofdmbw20ul2gpo | |
246 | */ | |
247 | ||
248 | #define HNBU_LEGOFDMBW205GPO 0x43 /* 4 bytes each | |
249 | * 5G band: OFDM power offsets for 20 MHz Legacy rates | |
250 | * (54, 48, 36, 24, 18, 12, 9, 6 Mbps) | |
251 | * low subband : legofdmbw205glpo legofdmbw20ul2glpo | |
252 | * mid subband :legofdmbw205gmpo legofdmbw20ul2gmpo | |
253 | * high subband :legofdmbw205ghpo legofdmbw20ul2ghpo | |
254 | */ | |
255 | ||
256 | #define HNBU_MCS2GPO 0x44 /* 4 bytes each | |
257 | * mcs 0-7 power-offset. LSB nibble: m0, MSB nibble: m7 | |
258 | * mcsbw202gpo mcsbw20ul2gpo mcsbw402gpo | |
259 | */ | |
260 | #define HNBU_MCS5GLPO 0x45 /* 4 bytes each | |
261 | * 5G low subband mcs 0-7 power-offset. | |
262 | * LSB nibble: m0, MSB nibble: m7 | |
263 | * mcsbw205glpo mcsbw20ul5glpo mcsbw405glpo | |
264 | */ | |
265 | #define HNBU_MCS5GMPO 0x46 /* 4 bytes each | |
266 | * 5G mid subband mcs 0-7 power-offset. | |
267 | * LSB nibble: m0, MSB nibble: m7 | |
268 | * mcsbw205gmpo mcsbw20ul5gmpo mcsbw405gmpo | |
269 | */ | |
270 | #define HNBU_MCS5GHPO 0x47 /* 4 bytes each | |
271 | * 5G high subband mcs 0-7 power-offset. | |
272 | * LSB nibble: m0, MSB nibble: m7 | |
273 | * mcsbw205ghpo mcsbw20ul5ghpo mcsbw405ghpo | |
274 | */ | |
275 | #define HNBU_MCS32PO 0x48 /* 2 bytes total | |
276 | * mcs-32 power offset for each band/subband. | |
277 | * LSB nibble: 2G band, MSB nibble: | |
278 | * mcs322ghpo, mcs325gmpo, mcs325glpo, mcs322gpo | |
279 | */ | |
280 | #define HNBU_LEG40DUPPO 0x49 /* 2 bytes total | |
281 | * Additional power offset for Legacy Dup40 transmissions. | |
282 | * Applied in addition to legofdmbw20ulXpo, X=2g, 5gl, 5gm, or 5gh. | |
283 | * LSB nibble: 2G band, MSB nibble: 5G band high subband. | |
284 | * leg40dup5ghpo, leg40dup5gmpo, leg40dup5glpo, leg40dup2gpo | |
285 | */ | |
286 | ||
287 | #define HNBU_PMUREGS 0x4a /* Variable length (5 bytes for each register) | |
288 | * The setting of the ChipCtrl, PLL, RegulatorCtrl, Up/Down Timer and | |
289 | * ResourceDependency Table registers. | |
290 | */ | |
291 | ||
292 | #define HNBU_PATCH2 0x4b /* bootloader TCAM patch addr(4b) & data(4b) pair . | |
293 | * This is required for socram rev 15 onwards. | |
294 | */ | |
295 | ||
296 | #define HNBU_USBRDY 0x4c /* Variable length (upto 5 bytes) | |
297 | * This is to indicate the USB/HSIC host controller | |
298 | * that the device is ready for enumeration. | |
299 | */ | |
300 | ||
301 | #define HNBU_USBREGS 0x4d /* Variable length | |
302 | * The setting of the devcontrol, HSICPhyCtrl1 and HSICPhyCtrl2 | |
303 | * registers during the USB initialization. | |
304 | */ | |
305 | ||
306 | #define HNBU_BLDR_TIMEOUT 0x4e /* 2 bytes used for HSIC bootloader to reset chip | |
307 | * on connect timeout. | |
308 | * The Delay after USBConnect for timeout till dongle receives | |
309 | * get_descriptor request. | |
310 | */ | |
311 | #define HNBU_USBFLAGS 0x4f | |
312 | #define HNBU_PATCH_AUTOINC 0x50 | |
313 | #define HNBU_MDIO_REGLIST 0x51 | |
314 | #define HNBU_MDIOEX_REGLIST 0x52 | |
315 | /* Unified OTP: tupple to embed USB manfid inside SDIO CIS */ | |
316 | #define HNBU_UMANFID 0x53 | |
317 | #define HNBU_PUBKEY 0x54 /* 128 byte; publick key to validate downloaded FW */ | |
318 | #define HNBU_WOWLGPIO 0x55 /* 1 byte bit 7 initial polarity, bit 6..0 gpio pin */ | |
319 | #define HNBU_MUXENAB 0x56 /* 1 byte to enable mux options */ | |
320 | #define HNBU_GCI_CCR 0x57 /* GCI Chip control register */ | |
321 | ||
322 | #define HNBU_FEM_CFG 0x58 /* FEM config */ | |
323 | #define HNBU_ACPA_C0 0x59 /* ACPHY PA parameters: chain 0 */ | |
324 | #define HNBU_ACPA_C1 0x5a /* ACPHY PA parameters: chain 1 */ | |
325 | #define HNBU_ACPA_C2 0x5b /* ACPHY PA parameters: chain 2 */ | |
326 | #define HNBU_MEAS_PWR 0x5c | |
327 | #define HNBU_PDOFF 0x5d | |
328 | #define HNBU_ACPPR_2GPO 0x5e /* ACPHY Power-per-rate 2gpo */ | |
329 | #define HNBU_ACPPR_5GPO 0x5f /* ACPHY Power-per-rate 5gpo */ | |
330 | #define HNBU_ACPPR_SBPO 0x60 /* ACPHY Power-per-rate sbpo */ | |
331 | #define HNBU_NOISELVL 0x61 | |
332 | #define HNBU_RXGAIN_ERR 0x62 | |
333 | #define HNBU_AGBGA 0x63 | |
334 | #define HNBU_USBDESC_COMPOSITE 0x64 /* USB WLAN/BT composite descriptor */ | |
335 | #define HNBU_PATCH_AUTOINC8 0x65 /* Auto increment patch entry for 8 byte patching */ | |
336 | #define HNBU_PATCH8 0x66 /* Patch entry for 8 byte patching */ | |
337 | #define HNBU_ACRXGAINS_C0 0x67 /* ACPHY rxgains: chain 0 */ | |
338 | #define HNBU_ACRXGAINS_C1 0x68 /* ACPHY rxgains: chain 1 */ | |
339 | #define HNBU_ACRXGAINS_C2 0x69 /* ACPHY rxgains: chain 2 */ | |
340 | #define HNBU_TXDUTY 0x6a /* Tx duty cycle for ACPHY 5g 40/80 Mhz */ | |
341 | #define HNBU_USBUTMI_CTL 0x6b /* 2 byte USB UTMI/LDO Control */ | |
342 | #define HNBU_PDOFF_2G 0x6c | |
343 | #define HNBU_USBSSPHY_UTMI_CTL0 0x6d /* 4 byte USB SSPHY UTMI Control */ | |
344 | #define HNBU_USBSSPHY_UTMI_CTL1 0x6e /* 4 byte USB SSPHY UTMI Control */ | |
345 | #define HNBU_USBSSPHY_UTMI_CTL2 0x6f /* 4 byte USB SSPHY UTMI Control */ | |
346 | #define HNBU_USBSSPHY_SLEEP0 0x70 /* 2 byte USB SSPHY sleep */ | |
347 | #define HNBU_USBSSPHY_SLEEP1 0x71 /* 2 byte USB SSPHY sleep */ | |
348 | #define HNBU_USBSSPHY_SLEEP2 0x72 /* 2 byte USB SSPHY sleep */ | |
349 | #define HNBU_USBSSPHY_SLEEP3 0x73 /* 2 byte USB SSPHY sleep */ | |
350 | #define HNBU_USBSSPHY_MDIO 0x74 /* USB SSPHY INIT regs setting */ | |
351 | #define HNBU_USB30PHY_NOSS 0x75 /* USB30 NO Super Speed */ | |
352 | #define HNBU_USB30PHY_U1U2 0x76 /* USB30 PHY U1U2 Enable */ | |
353 | #define HNBU_USB30PHY_REGS 0x77 /* USB30 PHY REGs update */ | |
354 | #define HNBU_GPIO_PULL_DOWN 0x78 /* 4 byte GPIO pull down mask */ | |
355 | ||
356 | #define HNBU_SROM3SWRGN 0x80 /* 78 bytes; srom rev 3 s/w region without crc8 | |
357 | * plus extra info appended. | |
358 | */ | |
359 | #define HNBU_RESERVED 0x81 | |
360 | #define HNBU_CUSTOM1 0x82 /* 4 byte; For non-BRCM post-mfg additions */ | |
361 | #define HNBU_CUSTOM2 0x83 /* Reserved; For non-BRCM post-mfg additions */ | |
362 | #define HNBU_ACPAPARAM 0x84 /* ACPHY PAPARAM */ | |
363 | #define HNBU_ACPA_CCK_C0 0x86 /* ACPHY PA trimming parameters: CCK */ | |
364 | #define HNBU_ACPA_40 0x87 /* ACPHY PA trimming parameters: 40 */ | |
365 | #define HNBU_ACPA_80 0x88 /* ACPHY PA trimming parameters: 80 */ | |
366 | #define HNBU_ACPA_4080 0x89 /* ACPHY PA trimming parameters: 40/80 */ | |
367 | #define HNBU_SUBBAND5GVER 0x8a /* subband5gver */ | |
368 | #define HNBU_PAPARAMBWVER 0x8b /* paparambwver */ | |
369 | ||
370 | #define HNBU_MCS5Gx1PO 0x8c | |
371 | #define HNBU_ACPPR_SB8080_PO 0x8d | |
372 | #define HNBU_TXBFRPCALS 0x8f /* phy txbf rpcalvars */ | |
373 | #define HNBU_MACADDR2 0x90 /* (optional) 2nd mac-addr for RSDB chips */ | |
374 | ||
375 | #define HNBU_ACPA_4X4C0 0x91 | |
376 | #define HNBU_ACPA_4X4C1 0x92 | |
377 | #define HNBU_ACPA_4X4C2 0x93 | |
378 | #define HNBU_ACPA_4X4C3 0x94 | |
379 | #define HNBU_ACPA_BW20_4X4C0 0x95 | |
380 | #define HNBU_ACPA_BW40_4X4C0 0x96 | |
381 | #define HNBU_ACPA_BW80_4X4C0 0x97 | |
382 | #define HNBU_ACPA_BW20_4X4C1 0x98 | |
383 | #define HNBU_ACPA_BW40_4X4C1 0x99 | |
384 | #define HNBU_ACPA_BW80_4X4C1 0x9a | |
385 | #define HNBU_ACPA_BW20_4X4C2 0x9b | |
386 | #define HNBU_ACPA_BW40_4X4C2 0x9c | |
387 | #define HNBU_ACPA_BW80_4X4C2 0x9d | |
388 | #define HNBU_ACPA_BW20_4X4C3 0x9e | |
389 | #define HNBU_ACPA_BW40_4X4C3 0x9f | |
390 | #define HNBU_ACPA_BW80_4X4C3 0xa0 | |
391 | #define HNBU_ACPA_CCK_C1 0xa1 /* ACPHY PA trimming parameters: CCK */ | |
392 | ||
393 | #define HNBU_GAIN_CAL_TEMP 0xa2 /* RSSI Cal temperature parameter */ | |
394 | #define HNBU_RSSI_DELTA_2G_B0 0xa3 /* RSSI Cal parameter for 2G channel group 0 */ | |
395 | #define HNBU_RSSI_DELTA_2G_B1 0xa4 /* RSSI Cal parameter for 2G channel group 1 */ | |
396 | #define HNBU_RSSI_DELTA_2G_B2 0xa5 /* RSSI Cal parameter for 2G channel group 2 */ | |
397 | #define HNBU_RSSI_DELTA_2G_B3 0xa6 /* RSSI Cal parameter for 2G channel group 3 */ | |
398 | #define HNBU_RSSI_DELTA_2G_B4 0xa7 /* RSSI Cal parameter for 2G channel group 4 */ | |
399 | #define HNBU_RSSI_CAL_FREQ_GRP_2G 0xa8 /* RSSI Cal parameter for channel group def. */ | |
400 | #define HNBU_RSSI_DELTA_5GL 0xa9 /* RSSI Cal parameter for 5G low channel */ | |
401 | #define HNBU_RSSI_DELTA_5GML 0xaa /* RSSI Cal parameter for 5G mid lower channel */ | |
402 | #define HNBU_RSSI_DELTA_5GMU 0xab /* RSSI Cal parameter for 5G mid upper channel */ | |
403 | #define HNBU_RSSI_DELTA_5GH 0xac /* RSSI Cal parameter for 5G high channel */ | |
404 | ||
405 | /* sbtmstatelow */ | |
406 | #define SBTML_INT_ACK 0x40000 /* ack the sb interrupt */ | |
407 | #define SBTML_INT_EN 0x20000 /* enable sb interrupt */ | |
408 | ||
409 | /* sbtmstatehigh */ | |
410 | #define SBTMH_INT_STATUS 0x40000 /* sb interrupt status */ | |
411 | #endif /* _SBPCMCIA_H */ |