1 /*
2  * Copyright (c) 2010 Broadcom Corporation
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 #ifndef	_BRCM_HW_IDS_H_
18 #define	_BRCM_HW_IDS_H_
19 
20 #include <linux/pci_ids.h>
21 #include <linux/mmc/sdio_ids.h>
22 
23 #define BRCM_USB_VENDOR_ID_BROADCOM	0x0a5c
24 #define BRCM_USB_VENDOR_ID_LG		0x043e
25 #define BRCM_USB_VENDOR_ID_LINKSYS	0x13b1
26 #define CY_USB_VENDOR_ID_CYPRESS	0x04b4
27 #define BRCM_PCIE_VENDOR_ID_BROADCOM	PCI_VENDOR_ID_BROADCOM
28 
29 /* Chipcommon Core Chip IDs */
30 #define BRCM_CC_43143_CHIP_ID		43143
31 #define BRCM_CC_43235_CHIP_ID		43235
32 #define BRCM_CC_43236_CHIP_ID		43236
33 #define BRCM_CC_43238_CHIP_ID		43238
34 #define BRCM_CC_43241_CHIP_ID		0x4324
35 #define BRCM_CC_43242_CHIP_ID		43242
36 #define BRCM_CC_4329_CHIP_ID		0x4329
37 #define BRCM_CC_4330_CHIP_ID		0x4330
38 #define BRCM_CC_4334_CHIP_ID		0x4334
39 #define BRCM_CC_43340_CHIP_ID		43340
40 #define BRCM_CC_43341_CHIP_ID		43341
41 #define BRCM_CC_43362_CHIP_ID		43362
42 #define BRCM_CC_4335_CHIP_ID		0x4335
43 #define BRCM_CC_4339_CHIP_ID		0x4339
44 #define BRCM_CC_43430_CHIP_ID		43430
45 #define BRCM_CC_4345_CHIP_ID		0x4345
46 #define BRCM_CC_43465_CHIP_ID		43465
47 #define BRCM_CC_4350_CHIP_ID		0x4350
48 #define BRCM_CC_43525_CHIP_ID		43525
49 #define BRCM_CC_4354_CHIP_ID		0x4354
50 #define BRCM_CC_4356_CHIP_ID		0x4356
51 #define BRCM_CC_43566_CHIP_ID		43566
52 #define BRCM_CC_43567_CHIP_ID		43567
53 #define BRCM_CC_43569_CHIP_ID		43569
54 #define BRCM_CC_43570_CHIP_ID		43570
55 #define BRCM_CC_4358_CHIP_ID		0x4358
56 #define BRCM_CC_4359_CHIP_ID		0x4359
57 #define BRCM_CC_43602_CHIP_ID		43602
58 #define BRCM_CC_4365_CHIP_ID		0x4365
59 #define BRCM_CC_4366_CHIP_ID		0x4366
60 #define BRCM_CC_43664_CHIP_ID		43664
61 #define BRCM_CC_4371_CHIP_ID		0x4371
62 #define CY_CC_4373_CHIP_ID		0x4373
63 #define CY_CC_43012_CHIP_ID		43012
64 
65 /* USB Device IDs */
66 #define BRCM_USB_43143_DEVICE_ID	0xbd1e
67 #define BRCM_USB_43235_LINKSYS_DEVICE_ID	0x0039
68 #define BRCM_USB_43236_DEVICE_ID	0xbd17
69 #define BRCM_USB_43242_DEVICE_ID	0xbd1f
70 #define BRCM_USB_43242_LG_DEVICE_ID	0x3101
71 #define BRCM_USB_43569_DEVICE_ID	0xbd27
72 #define BRCM_USB_BCMFW_DEVICE_ID	0x0bdc
73 #define CY_USB_4373_DEVICE_ID		0xbd29
74 
75 /* PCIE Device IDs */
76 #define BRCM_PCIE_4350_DEVICE_ID	0x43a3
77 #define BRCM_PCIE_4354_DEVICE_ID	0x43df
78 #define BRCM_PCIE_4354_RAW_DEVICE_ID	0x4354
79 #define BRCM_PCIE_4356_DEVICE_ID	0x43ec
80 #define BRCM_PCIE_43567_DEVICE_ID	0x43d3
81 #define BRCM_PCIE_43570_DEVICE_ID	0x43d9
82 #define BRCM_PCIE_4358_DEVICE_ID	0x43e9
83 #define BRCM_PCIE_4359_DEVICE_ID	0x43ef
84 #define BRCM_PCIE_43602_DEVICE_ID	0x43ba
85 #define BRCM_PCIE_43602_2G_DEVICE_ID	0x43bb
86 #define BRCM_PCIE_43602_5G_DEVICE_ID	0x43bc
87 #define BRCM_PCIE_43602_RAW_DEVICE_ID	43602
88 #define BRCM_PCIE_4365_DEVICE_ID	0x43ca
89 #define BRCM_PCIE_4365_2G_DEVICE_ID	0x43cb
90 #define BRCM_PCIE_4365_5G_DEVICE_ID	0x43cc
91 #define BRCM_PCIE_4366_DEVICE_ID	0x43c3
92 #define BRCM_PCIE_4366_2G_DEVICE_ID	0x43c4
93 #define BRCM_PCIE_4366_5G_DEVICE_ID	0x43c5
94 #define BRCM_PCIE_4371_DEVICE_ID	0x440d
95 
96 
97 /* brcmsmac IDs */
98 #define BCM4313_D11N2G_ID	0x4727	/* 4313 802.11n 2.4G device */
99 #define BCM43224_D11N_ID	0x4353	/* 43224 802.11n dualband device */
100 #define BCM43224_D11N_ID_VEN1	0x0576	/* Vendor specific 43224 802.11n db */
101 #define BCM43225_D11N2G_ID	0x4357	/* 43225 802.11n 2.4GHz device */
102 #define BCM43236_D11N_ID	0x4346	/* 43236 802.11n dualband device */
103 #define BCM43236_D11N2G_ID	0x4347	/* 43236 802.11n 2.4GHz device */
104 
105 #define BCM4313_CHIP_ID		0x4313
106 #define BCM43224_CHIP_ID	43224
107 
108 #endif				/* _BRCM_HW_IDS_H_ */
109