diff options
Diffstat (limited to 'include/linux/ssb')
-rw-r--r-- | include/linux/ssb/ssb_regs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/ssb/ssb_regs.h b/include/linux/ssb/ssb_regs.h index ebad0bac9801..271bb4b6446e 100644 --- a/include/linux/ssb/ssb_regs.h +++ b/include/linux/ssb/ssb_regs.h | |||
@@ -316,6 +316,21 @@ | |||
316 | #define SSB_SPROM4_PA1B1 0x1090 | 316 | #define SSB_SPROM4_PA1B1 0x1090 |
317 | #define SSB_SPROM4_PA1B2 0x1092 | 317 | #define SSB_SPROM4_PA1B2 0x1092 |
318 | 318 | ||
319 | /* SPROM Revision 5 (inherits most data from rev 4) */ | ||
320 | #define SSB_SPROM5_BFLLO 0x104A /* Boardflags (low 16 bits) */ | ||
321 | #define SSB_SPROM5_BFLHI 0x104C /* Board Flags Hi */ | ||
322 | #define SSB_SPROM5_IL0MAC 0x1052 /* 6 byte MAC address for a/b/g/n */ | ||
323 | #define SSB_SPROM5_CCODE 0x1044 /* Country Code (2 bytes) */ | ||
324 | #define SSB_SPROM5_GPIOA 0x1076 /* Gen. Purpose IO # 0 and 1 */ | ||
325 | #define SSB_SPROM5_GPIOA_P0 0x00FF /* Pin 0 */ | ||
326 | #define SSB_SPROM5_GPIOA_P1 0xFF00 /* Pin 1 */ | ||
327 | #define SSB_SPROM5_GPIOA_P1_SHIFT 8 | ||
328 | #define SSB_SPROM5_GPIOB 0x1078 /* Gen. Purpose IO # 2 and 3 */ | ||
329 | #define SSB_SPROM5_GPIOB_P2 0x00FF /* Pin 2 */ | ||
330 | #define SSB_SPROM5_GPIOB_P3 0xFF00 /* Pin 3 */ | ||
331 | #define SSB_SPROM5_GPIOB_P3_SHIFT 8 | ||
332 | |||
333 | |||
319 | /* Values for SSB_SPROM1_BINF_CCODE */ | 334 | /* Values for SSB_SPROM1_BINF_CCODE */ |
320 | enum { | 335 | enum { |
321 | SSB_SPROM1CCODE_WORLD = 0, | 336 | SSB_SPROM1CCODE_WORLD = 0, |