diff options
Diffstat (limited to 'include/linux/bcma/bcma.h')
-rw-r--r-- | include/linux/bcma/bcma.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index e0ce311011c0..2e34db82a643 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
@@ -134,6 +134,10 @@ struct bcma_host_ops { | |||
134 | #define BCMA_CORE_I2S 0x834 | 134 | #define BCMA_CORE_I2S 0x834 |
135 | #define BCMA_CORE_SDR_DDR1_MEM_CTL 0x835 /* SDR/DDR1 memory controller core */ | 135 | #define BCMA_CORE_SDR_DDR1_MEM_CTL 0x835 /* SDR/DDR1 memory controller core */ |
136 | #define BCMA_CORE_SHIM 0x837 /* SHIM component in ubus/6362 */ | 136 | #define BCMA_CORE_SHIM 0x837 /* SHIM component in ubus/6362 */ |
137 | #define BCMA_CORE_PHY_AC 0x83B | ||
138 | #define BCMA_CORE_PCIE2 0x83C /* PCI Express Gen2 */ | ||
139 | #define BCMA_CORE_USB30_DEV 0x83D | ||
140 | #define BCMA_CORE_ARM_CR4 0x83E | ||
137 | #define BCMA_CORE_DEFAULT 0xFFF | 141 | #define BCMA_CORE_DEFAULT 0xFFF |
138 | 142 | ||
139 | #define BCMA_MAX_NR_CORES 16 | 143 | #define BCMA_MAX_NR_CORES 16 |
@@ -173,6 +177,60 @@ struct bcma_host_ops { | |||
173 | #define BCMA_CHIP_ID_BCM53572 53572 | 177 | #define BCMA_CHIP_ID_BCM53572 53572 |
174 | #define BCMA_PKG_ID_BCM47188 9 | 178 | #define BCMA_PKG_ID_BCM47188 9 |
175 | 179 | ||
180 | /* Board types (on PCI usually equals to the subsystem dev id) */ | ||
181 | /* BCM4313 */ | ||
182 | #define BCMA_BOARD_TYPE_BCM94313BU 0X050F | ||
183 | #define BCMA_BOARD_TYPE_BCM94313HM 0X0510 | ||
184 | #define BCMA_BOARD_TYPE_BCM94313EPA 0X0511 | ||
185 | #define BCMA_BOARD_TYPE_BCM94313HMG 0X051C | ||
186 | /* BCM4716 */ | ||
187 | #define BCMA_BOARD_TYPE_BCM94716NR2 0X04CD | ||
188 | /* BCM43224 */ | ||
189 | #define BCMA_BOARD_TYPE_BCM943224X21 0X056E | ||
190 | #define BCMA_BOARD_TYPE_BCM943224X21_FCC 0X00D1 | ||
191 | #define BCMA_BOARD_TYPE_BCM943224X21B 0X00E9 | ||
192 | #define BCMA_BOARD_TYPE_BCM943224M93 0X008B | ||
193 | #define BCMA_BOARD_TYPE_BCM943224M93A 0X0090 | ||
194 | #define BCMA_BOARD_TYPE_BCM943224X16 0X0093 | ||
195 | #define BCMA_BOARD_TYPE_BCM94322X9 0X008D | ||
196 | #define BCMA_BOARD_TYPE_BCM94322M35E 0X008E | ||
197 | /* BCM43228 */ | ||
198 | #define BCMA_BOARD_TYPE_BCM943228BU8 0X0540 | ||
199 | #define BCMA_BOARD_TYPE_BCM943228BU9 0X0541 | ||
200 | #define BCMA_BOARD_TYPE_BCM943228BU 0X0542 | ||
201 | #define BCMA_BOARD_TYPE_BCM943227HM4L 0X0543 | ||
202 | #define BCMA_BOARD_TYPE_BCM943227HMB 0X0544 | ||
203 | #define BCMA_BOARD_TYPE_BCM943228HM4L 0X0545 | ||
204 | #define BCMA_BOARD_TYPE_BCM943228SD 0X0573 | ||
205 | /* BCM4331 */ | ||
206 | #define BCMA_BOARD_TYPE_BCM94331X19 0X00D6 | ||
207 | #define BCMA_BOARD_TYPE_BCM94331X28 0X00E4 | ||
208 | #define BCMA_BOARD_TYPE_BCM94331X28B 0X010E | ||
209 | #define BCMA_BOARD_TYPE_BCM94331PCIEBT3AX 0X00E4 | ||
210 | #define BCMA_BOARD_TYPE_BCM94331X12_2G 0X00EC | ||
211 | #define BCMA_BOARD_TYPE_BCM94331X12_5G 0X00ED | ||
212 | #define BCMA_BOARD_TYPE_BCM94331X29B 0X00EF | ||
213 | #define BCMA_BOARD_TYPE_BCM94331CSAX 0X00EF | ||
214 | #define BCMA_BOARD_TYPE_BCM94331X19C 0X00F5 | ||
215 | #define BCMA_BOARD_TYPE_BCM94331X33 0X00F4 | ||
216 | #define BCMA_BOARD_TYPE_BCM94331BU 0X0523 | ||
217 | #define BCMA_BOARD_TYPE_BCM94331S9BU 0X0524 | ||
218 | #define BCMA_BOARD_TYPE_BCM94331MC 0X0525 | ||
219 | #define BCMA_BOARD_TYPE_BCM94331MCI 0X0526 | ||
220 | #define BCMA_BOARD_TYPE_BCM94331PCIEBT4 0X0527 | ||
221 | #define BCMA_BOARD_TYPE_BCM94331HM 0X0574 | ||
222 | #define BCMA_BOARD_TYPE_BCM94331PCIEDUAL 0X059B | ||
223 | #define BCMA_BOARD_TYPE_BCM94331MCH5 0X05A9 | ||
224 | #define BCMA_BOARD_TYPE_BCM94331CS 0X05C6 | ||
225 | #define BCMA_BOARD_TYPE_BCM94331CD 0X05DA | ||
226 | /* BCM53572 */ | ||
227 | #define BCMA_BOARD_TYPE_BCM953572BU 0X058D | ||
228 | #define BCMA_BOARD_TYPE_BCM953572NR2 0X058E | ||
229 | #define BCMA_BOARD_TYPE_BCM947188NR2 0X058F | ||
230 | #define BCMA_BOARD_TYPE_BCM953572SDRNR2 0X0590 | ||
231 | /* BCM43142 */ | ||
232 | #define BCMA_BOARD_TYPE_BCM943142HM 0X05E0 | ||
233 | |||
176 | struct bcma_device { | 234 | struct bcma_device { |
177 | struct bcma_bus *bus; | 235 | struct bcma_bus *bus; |
178 | struct bcma_device_id id; | 236 | struct bcma_device_id id; |