xref: /freebsd/sys/dev/bhnd/bhnd_ids.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
14ad7e9b0SAdrian Chadd /*-
26e778a7eSPedro F. Giffuni  * SPDX-License-Identifier: ISC
36e778a7eSPedro F. Giffuni  *
4d567592bSAdrian Chadd  * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
5d567592bSAdrian Chadd  * Copyright (c) 1999-2015, Broadcom Corporation
64ad7e9b0SAdrian Chadd  *
74ad7e9b0SAdrian Chadd  * This file is derived from the bcmdevs.h header contributed by Broadcom
8d567592bSAdrian Chadd  * to Android's bcmdhd driver module, later revisions of bcmdevs.h distributed
9d567592bSAdrian Chadd  * with the dd-wrt project, and the hndsoc.h header distributed with Broadcom's
10d567592bSAdrian Chadd  * initial brcm80211 Linux driver release as contributed to the Linux staging
11d567592bSAdrian Chadd  * repository.
124ad7e9b0SAdrian Chadd  *
134ad7e9b0SAdrian Chadd  * Permission to use, copy, modify, and/or distribute this software for any
144ad7e9b0SAdrian Chadd  * purpose with or without fee is hereby granted, provided that the above
154ad7e9b0SAdrian Chadd  * copyright notice and this permission notice appear in all copies.
164ad7e9b0SAdrian Chadd  *
174ad7e9b0SAdrian Chadd  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
184ad7e9b0SAdrian Chadd  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
194ad7e9b0SAdrian Chadd  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
204ad7e9b0SAdrian Chadd  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
214ad7e9b0SAdrian Chadd  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
224ad7e9b0SAdrian Chadd  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
234ad7e9b0SAdrian Chadd  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
244ad7e9b0SAdrian Chadd  */
254ad7e9b0SAdrian Chadd 
264ad7e9b0SAdrian Chadd #ifndef _BHND_BHND_IDS_H_
274ad7e9b0SAdrian Chadd #define _BHND_BHND_IDS_H_
284ad7e9b0SAdrian Chadd 
294ad7e9b0SAdrian Chadd /*
304ad7e9b0SAdrian Chadd  * JEDEC JEP-106 Core Vendor IDs
314ad7e9b0SAdrian Chadd  *
324ad7e9b0SAdrian Chadd  * These are the JEDEC JEP-106 manufacturer ID representions (with ARM's
334ad7e9b0SAdrian Chadd  * non-standard 4-bit continutation code), as used in ARM's PrimeCell
344ad7e9b0SAdrian Chadd  * identification registers, bcma(4) EROM core descriptors, etc.
354ad7e9b0SAdrian Chadd  *
364ad7e9b0SAdrian Chadd  * @note
374ad7e9b0SAdrian Chadd  * Bus implementations that predate the adoption of ARM IP
384ad7e9b0SAdrian Chadd  * will need to convert bus-specific vendor IDs to their BHND_MFGID
394ad7e9b0SAdrian Chadd  * JEP-106 equivalents.
404ad7e9b0SAdrian Chadd  *
414ad7e9b0SAdrian Chadd  * @par ARM 4-bit Continuation Code
424ad7e9b0SAdrian Chadd  *
434ad7e9b0SAdrian Chadd  * BHND MFGIDs are encoded using ARM's non-standard 4-bit continuation code
444ad7e9b0SAdrian Chadd  * format:
454ad7e9b0SAdrian Chadd  *
464ad7e9b0SAdrian Chadd  * @code{.unparsed}
474ad7e9b0SAdrian Chadd  * [11:8     ][7:0   ]
484ad7e9b0SAdrian Chadd  * [cont code][mfg id]
494ad7e9b0SAdrian Chadd  * @endcode
504ad7e9b0SAdrian Chadd  *
514ad7e9b0SAdrian Chadd  * The 4-bit continuation code field specifies the number of JEP-106
524ad7e9b0SAdrian Chadd  * continuation codes that prefix the manufacturer's ID code. In the case of
534ad7e9b0SAdrian Chadd  * ARM's JEP-106 ID of `0x7F 0x7F 0x7F 0x7F 0x3B`, the four 0x7F continuations
544ad7e9b0SAdrian Chadd  * are encoded as '4' in the 4-bit continuation code field (i.e. 0x43B).
554ad7e9b0SAdrian Chadd  */
564ad7e9b0SAdrian Chadd #define	BHND_MFGID_ARM		0x043b		/**< arm JEP-106 vendor id */
574ad7e9b0SAdrian Chadd #define	BHND_MFGID_BCM		0x04bf		/**< broadcom JEP-106 vendor id */
584ad7e9b0SAdrian Chadd #define	BHND_MFGID_MIPS		0x04a7		/**< mips JEP-106 vendor id */
594ad7e9b0SAdrian Chadd #define	BHND_MFGID_INVALID	0x0000		/**< invalid JEP-106 vendor id */
604ad7e9b0SAdrian Chadd 
614ad7e9b0SAdrian Chadd /*
624ad7e9b0SAdrian Chadd  * OCP (Open Core Protocol) Vendor IDs.
634ad7e9b0SAdrian Chadd  *
644ad7e9b0SAdrian Chadd  * OCP-IP assigned vendor codes are used by siba(4)
654ad7e9b0SAdrian Chadd  */
664ad7e9b0SAdrian Chadd #define	OCP_VENDOR_BCM		0x4243		/**< Broadcom OCP vendor id */
674ad7e9b0SAdrian Chadd 
684ad7e9b0SAdrian Chadd /* PCI vendor IDs */
69*d177c199SLandon J. Fuller #define	PCI_VENDOR_ASUSTEK	0x1043
704ad7e9b0SAdrian Chadd #define	PCI_VENDOR_EPIGRAM	0xfeda
714ad7e9b0SAdrian Chadd #define	PCI_VENDOR_BROADCOM	0x14e4
724ad7e9b0SAdrian Chadd #define	PCI_VENDOR_3COM		0x10b7
734ad7e9b0SAdrian Chadd #define	PCI_VENDOR_NETGEAR	0x1385
744ad7e9b0SAdrian Chadd #define	PCI_VENDOR_DIAMOND	0x1092
754ad7e9b0SAdrian Chadd #define	PCI_VENDOR_INTEL	0x8086
764ad7e9b0SAdrian Chadd #define	PCI_VENDOR_DELL		0x1028
774ad7e9b0SAdrian Chadd #define	PCI_VENDOR_HP		0x103c
784ad7e9b0SAdrian Chadd #define	PCI_VENDOR_HP_COMPAQ	0x0e11
79*d177c199SLandon J. Fuller #define	PCI_VENDOR_LINKSYS	0x1737
80*d177c199SLandon J. Fuller #define	PCI_VENDOR_MOTOROLA	0x1057
814ad7e9b0SAdrian Chadd #define	PCI_VENDOR_APPLE	0x106b
824ad7e9b0SAdrian Chadd #define	PCI_VENDOR_SI_IMAGE	0x1095		/* Silicon Image, used by Arasan SDIO Host */
834ad7e9b0SAdrian Chadd #define	PCI_VENDOR_BUFFALO	0x1154		/* Buffalo vendor id */
844ad7e9b0SAdrian Chadd #define	PCI_VENDOR_TI		0x104c		/* Texas Instruments */
854ad7e9b0SAdrian Chadd #define	PCI_VENDOR_RICOH	0x1180		/* Ricoh */
864ad7e9b0SAdrian Chadd #define	PCI_VENDOR_JMICRON	0x197b
874ad7e9b0SAdrian Chadd 
884ad7e9b0SAdrian Chadd /* PCMCIA vendor IDs */
894ad7e9b0SAdrian Chadd #define	PCMCIA_VENDOR_BROADCOM	0x02d0
904ad7e9b0SAdrian Chadd 
914ad7e9b0SAdrian Chadd /* SDIO vendor IDs */
924ad7e9b0SAdrian Chadd #define	SDIO_VENDOR_BROADCOM	0x00BF
934ad7e9b0SAdrian Chadd 
944ad7e9b0SAdrian Chadd /* USB dongle VID/PIDs */
954ad7e9b0SAdrian Chadd #define	USB_VID_BROADCOM	0x0a5c
964ad7e9b0SAdrian Chadd #define	USB_PID_BCM4328		0xbd12
974ad7e9b0SAdrian Chadd #define	USB_PID_BCM4322		0xbd13
984ad7e9b0SAdrian Chadd #define	USB_PID_BCM4319		0xbd16
994ad7e9b0SAdrian Chadd #define	USB_PID_BCM43236	0xbd17
1004ad7e9b0SAdrian Chadd #define	USB_PID_BCM4332		0xbd18
1014ad7e9b0SAdrian Chadd #define	USB_PID_BCM4330		0xbd19
1024ad7e9b0SAdrian Chadd #define	USB_PID_BCM4334		0xbd1a
1034ad7e9b0SAdrian Chadd #define	USB_PID_BCM43239	0xbd1b
1044ad7e9b0SAdrian Chadd #define	USB_PID_BCM4324		0xbd1c
1054ad7e9b0SAdrian Chadd #define	USB_PID_BCM4360		0xbd1d
1064ad7e9b0SAdrian Chadd #define	USB_PID_BCM43143	0xbd1e
1074ad7e9b0SAdrian Chadd #define	USB_PID_BCM43242	0xbd1f
1084ad7e9b0SAdrian Chadd #define	USB_PID_BCM43342	0xbd21
1094ad7e9b0SAdrian Chadd #define	USB_PID_BCM4335		0xbd20
1104ad7e9b0SAdrian Chadd #define	USB_PID_BCM4350		0xbd23
1114ad7e9b0SAdrian Chadd #define	USB_PID_BCM43341	0xbd22
1124ad7e9b0SAdrian Chadd 
1134ad7e9b0SAdrian Chadd #define	USB_PID_BCM_DNGL_BDC	0x0bdc		/* BDC USB device controller IP? */
1144ad7e9b0SAdrian Chadd #define	USB_PID_BCM_DNGL_JTAG	0x4a44
1154ad7e9b0SAdrian Chadd 
1164ad7e9b0SAdrian Chadd /* HW USB BLOCK [CPULESS USB] PIDs */
1174ad7e9b0SAdrian Chadd #define	USB_PID_CCM_HWUSB_43239	43239
1184ad7e9b0SAdrian Chadd 
1194ad7e9b0SAdrian Chadd /* PCI Device IDs */
1204ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4210		0x1072	/* never used */
1214ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4230		0x1086	/* never used */
1224ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4401_ENET		0x170c	/* 4401b0 production enet cards */
1234ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM3352		0x3352	/* bcm3352 device id */
1244ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM3360		0x3360	/* bcm3360 device id */
1254ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4211		0x4211
1264ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4231		0x4231
1274ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4301		0x4301	/* 4031 802.11b */
1284ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4303_D11B		0x4303	/* 4303 802.11b */
1294ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306		0x4306	/* 4306 802.11b/g */
1304ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4307		0x4307	/* 4307 802.11b, 10/100 ethernet, V.92 modem */
1314ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4311_D11G		0x4311	/* 4311 802.11b/g id */
1324ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4311_D11DUAL	0x4312	/* 4311 802.11a/b/g id */
1334ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4311_D11A		0x4313	/* 4311 802.11a id */
1344ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4328_D11DUAL	0x4314	/* 4328/4312 802.11a/g id */
1354ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4328_D11G		0x4315	/* 4328/4312 802.11g id */
1364ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4328_D11A		0x4316	/* 4328/4312 802.11a id */
1374ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4318_D11G		0x4318	/* 4318 802.11b/g id */
1384ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4318_D11DUAL	0x4319	/* 4318 802.11a/b/g id */
1394ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4318_D11A		0x431a	/* 4318 802.11a id */
1404ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4325_D11DUAL	0x431b	/* 4325 802.11a/g id */
1414ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4325_D11G		0x431c	/* 4325 802.11g id */
1424ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4325_D11A		0x431d	/* 4325 802.11a id */
1434ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306_D11G		0x4320	/* 4306 802.11g */
1444ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306_D11A		0x4321	/* 4306 802.11a */
1454ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306_UART		0x4322	/* 4306 uart */
1464ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306_V90		0x4323	/* 4306 v90 codec */
1474ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306_D11DUAL	0x4324	/* 4306 dual A+B */
1484ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4306_D11G_ID2	0x4325	/* BCM4306_D11G; INF w/loose binding war */
1494ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4321_D11N		0x4328	/* 4321 802.11n dualband id */
1504ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4321_D11N2G	0x4329	/* 4321 802.11n 2.4Ghz band id */
1514ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4321_D11N5G	0x432a	/* 4321 802.11n 5Ghz band id */
1524ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4322_D11N		0x432b	/* 4322 802.11n dualband device */
1534ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4322_D11N2G	0x432c	/* 4322 802.11n 2.4GHz device */
1544ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4322_D11N5G	0x432d	/* 4322 802.11n 5GHz device */
1554ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4329_D11N		0x432e	/* 4329 802.11n dualband device */
1564ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4329_D11N2G	0x432f	/* 4329 802.11n 2.4G device */
1574ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4329_D11N5G	0x4330	/* 4329 802.11n 5G device */
1584ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4315_D11DUAL	0x4334	/* 4315 802.11a/g id */
1594ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4315_D11G		0x4335	/* 4315 802.11g id */
1604ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4315_D11A		0x4336	/* 4315 802.11a id */
1614ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4319_D11N		0x4337	/* 4319 802.11n dualband device */
1624ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4319_D11N2G	0x4338	/* 4319 802.11n 2.4G device */
1634ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4319_D11N5G	0x4339	/* 4319 802.11n 5G device */
1644ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43231_D11N2G	0x4340	/* 43231 802.11n 2.4GHz device */
1654ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43221_D11N2G	0x4341	/* 43221 802.11n 2.4GHz device */
1664ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43222_D11N		0x4350	/* 43222 802.11n dualband device */
1674ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43222_D11N2G	0x4351	/* 43222 802.11n 2.4GHz device */
1684ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43222_D11N5G	0x4352	/* 43222 802.11n 5GHz device */
1694ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43224_D11N		0x4353	/* 43224 802.11n dualband device */
1704ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43224_D11N_ID_VEN1	0x0576	/* Vendor specific 43224 802.11n db device */
1714ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43226_D11N		0x4354	/* 43226 802.11n dualband device */
1724ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43236_D11N		0x4346	/* 43236 802.11n dualband device */
1734ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43236_D11N2G	0x4347	/* 43236 802.11n 2.4GHz device */
1744ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43236_D11N5G	0x4348	/* 43236 802.11n 5GHz device */
1754ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43225_D11N2G	0x4357	/* 43225 802.11n 2.4GHz device */
1764ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43421_D11N		0xA99D	/* 43421 802.11n dualband device */
1774ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4313_D11N2G	0x4727	/* 4313 802.11n 2.4G device */
1784ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4330_D11N		0x4360	/* 4330 802.11n dualband device */
1794ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4330_D11N2G	0x4361	/* 4330 802.11n 2.4G device */
1804ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4330_D11N5G	0x4362	/* 4330 802.11n 5G device */
1814ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4336_D11N		0x4343	/* 4336 802.11n 2.4GHz device */
1824ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM6362_D11N		0x435f	/* 6362 802.11n dualband device */
1834ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM6362_D11N2G	0x433f	/* 6362 802.11n 2.4Ghz band id */
1844ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM6362_D11N5G	0x434f	/* 6362 802.11n 5Ghz band id */
1854ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4331_D11N		0x4331	/* 4331 802.11n dualband id */
1864ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4331_D11N2G	0x4332	/* 4331 802.11n 2.4Ghz band id */
1874ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4331_D11N5G	0x4333	/* 4331 802.11n 5Ghz band id */
1884ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43237_D11N		0x4355	/* 43237 802.11n dualband device */
1894ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43237_D11N5G	0x4356	/* 43237 802.11n 5GHz device */
1904ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43227_D11N2G	0x4358	/* 43228 802.11n 2.4GHz device */
1914ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43228_D11N		0x4359	/* 43228 802.11n DualBand device */
1924ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43228_D11N5G	0x435a	/* 43228 802.11n 5GHz device */
1934ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43362_D11N		0x4363	/* 43362 802.11n 2.4GHz device */
1944ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43239_D11N		0x4370	/* 43239 802.11n dualband device */
1954ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4324_D11N		0x4374	/* 4324 802.11n dualband device */
1964ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43217_D11N2G	0x43a9	/* 43217 802.11n 2.4GHz device */
1974ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43131_D11N2G	0x43aa	/* 43131 802.11n 2.4GHz device */
1984ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4314_D11N2G	0x4364	/* 4314 802.11n 2.4G device */
1994ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43142_D11N2G	0x4365	/* 43142 802.11n 2.4G device */
2004ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43143_D11N2G	0x4366	/* 43143 802.11n 2.4G device */
2014ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4334_D11N		0x4380	/* 4334 802.11n dualband device */
2024ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4334_D11N2G	0x4381	/* 4334 802.11n 2.4G device */
2034ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4334_D11N5G	0x4382	/* 4334 802.11n 5G device */
2044ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43342_D11N		0x4383	/* 43342 802.11n dualband device */
2054ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43342_D11N2G	0x4384	/* 43342 802.11n 2.4G device */
2064ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43342_D11N5G	0x4385	/* 43342 802.11n 5G device */
2074ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43341_D11N		0x4386	/* 43341 802.11n dualband device */
2084ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43341_D11N2G	0x4387	/* 43341 802.11n 2.4G device */
2094ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM43341_D11N5G	0x4388	/* 43341 802.11n 5G device */
2104ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4360_D11AC		0x43a0
2114ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4360_D11AC2G	0x43a1
2124ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4360_D11AC5G	0x43a2
2134ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4335_D11AC		0x43ae
2144ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4335_D11AC2G	0x43af
2154ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4335_D11AC5G	0x43b0
2164ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4352_D11AC		0x43b1	/* 4352 802.11ac dualband device */
2174ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4352_D11AC2G	0x43b2	/* 4352 802.11ac 2.4G device */
2184ad7e9b0SAdrian Chadd #define	PCI_DEVID_BCM4352_D11AC5G	0x43b3	/* 4352 802.11ac 5G device */
2194ad7e9b0SAdrian Chadd 
2204ad7e9b0SAdrian Chadd #define	PCI_DEVID_PCIXX21_FLASHMEDIA0	0x8033	/* TI PCI xx21 Standard Host Controller */
2214ad7e9b0SAdrian Chadd #define	PCI_DEVID_PCIXX21_SDIOH0	0x8034	/* TI PCI xx21 Standard Host Controller */
2224ad7e9b0SAdrian Chadd 
2234ad7e9b0SAdrian Chadd /* PCI Subsystem Vendor IDs */
2244ad7e9b0SAdrian Chadd #define	PCI_SUBVENDOR_BCM943228HMB	0x0607
2254ad7e9b0SAdrian Chadd #define	PCI_SUBVENDOR_BCM94313HMGBL	0x0608
2264ad7e9b0SAdrian Chadd #define	PCI_SUBVENDOR_BCM94313HMG	0x0609
2274ad7e9b0SAdrian Chadd #define	PCI_SUBVENDOR_BCM943142HM	0x0611
2284ad7e9b0SAdrian Chadd 
2294ad7e9b0SAdrian Chadd /* PCI Subsystem Device IDs */
2304ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM43143_D11N2G		0x4366	/* 43143 802.11n 2.4G device */
2314ad7e9b0SAdrian Chadd 
2324ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM43242_D11N		0x4367	/* 43242 802.11n dualband device */
2334ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM43242_D11N2G		0x4368	/* 43242 802.11n 2.4G device */
2344ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM43242_D11N5G		0x4369	/* 43242 802.11n 5G device */
2354ad7e9b0SAdrian Chadd 
2364ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4350_D11AC		0x43a3
2374ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4350_D11AC2G		0x43a4
2384ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4350_D11AC5G		0x43a5
2394ad7e9b0SAdrian Chadd 
2404ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCMGPRS_UART		0x4333	/* Uart id used by 4306/gprs card */
2414ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCMGPRS2_UART		0x4344	/* Uart id used by 4306/gprs card */
2424ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_FPGA_JTAGM		0x43f0	/* FPGA jtagm device id */
2434ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_JTAGM			0x43f1	/* BCM jtagm device id */
2444ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_SDIOH_FPGA		0x43f2	/* sdio host fpga */
2454ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_SDIOH			0x43f3	/* BCM sdio host id */
2464ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_SDIOD_FPGA		0x43f4	/* sdio device fpga */
2474ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_SPIH_FPGA		0x43f5	/* PCI SPI Host Controller FPGA */
2484ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_SPIH			0x43f6	/* Synopsis SPI Host Controller */
2494ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_MIMO_FPGA		0x43f8	/* FPGA mimo minimacphy device id */
2504ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_JTAGM2			0x43f9	/* PCI_SUBDEVID_BCM alternate jtagm device id */
2514ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_SDHCI_FPGA		0x43fa	/* Standard SDIO Host Controller FPGA */
2524ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4402_ENET		0x4402	/* 4402 enet */
2534ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4402_V90		0x4403	/* 4402 v90 codec */
2544ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4410			0x4410	/* bcm44xx family pci iline */
2554ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4412			0x4412	/* bcm44xx family pci enet */
2564ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4430			0x4430	/* bcm44xx family cardbus iline */
2574ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4432			0x4432	/* bcm44xx family cardbus enet */
2584ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4704_ENET		0x4706	/* 4704 enet (Use 47XX_ENET_ID instead!) */
2594ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4710			0x4710	/* 4710 primary function 0 */
2604ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_AUDIO		0x4711	/* 47xx audio codec */
2614ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_V90		0x4712	/* 47xx v90 codec */
2624ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_ENET		0x4713	/* 47xx enet */
2634ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_EXT		0x4714	/* 47xx external i/f */
2644ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_GMAC		0x4715	/* 47xx Unimac based GbE */
2654ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_USBH		0x4716	/* 47xx usb host */
2664ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_USBD		0x4717	/* 47xx usb device */
2674ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_IPSEC		0x4718	/* 47xx ipsec */
2684ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_ROBO		0x4719	/* 47xx/53xx roboswitch core */
2694ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_USB20H		0x471a	/* 47xx usb 2.0 host */
2704ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_USB20D		0x471b	/* 47xx usb 2.0 device */
2714ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_ATA100		0x471d	/* 47xx parallel ATA */
2724ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_SATAXOR		0x471e	/* 47xx serial ATA & XOR DMA */
2734ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_GIGETH		0x471f	/* 47xx GbE (5700) */
2744ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4712_MIPS		0x4720	/* 4712 base devid */
2754ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM4716			0x4722	/* 4716 base devid */
2764ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_USB30H		0x472a	/* 47xx usb 3.0 host */
2774ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_USB30D		0x472b	/* 47xx usb 3.0 device */
2784ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_SMBUS_EMU		0x47fe	/* 47xx emulated SMBus device */
2794ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM47XX_XOR_EMU		0x47ff	/* 47xx emulated XOR engine */
2804ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_EPI41210		0xa0fa	/* bcm4210 */
2814ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_EPI41230		0xa10e	/* bcm4230 */
2824ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_JINVANI_SDIOH		0x4743	/* Jinvani SDIO Gold Host */
2834ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM27XX_SDIOH		0x2702	/* PCI_SUBDEVID_BCM27xx Standard SDIO Host */
2844ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_PCIXX21_FLASHMEDIA	0x803b	/* TI PCI xx21 Standard Host Controller */
2854ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_PCIXX21_SDIOH		0x803c	/* TI PCI xx21 Standard Host Controller */
2864ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_R5C822_SDIOH		0x0822	/* Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host */
2874ad7e9b0SAdrian Chadd #define	PCI_SUBDEVID_BCM_JMICRON_SDIOH		0x2381	/* JMicron Standard SDIO Host Controller */
2884ad7e9b0SAdrian Chadd 
2894ad7e9b0SAdrian Chadd /* Broadcom ChipCommon Chip IDs */
2904ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4306		0x4306		/* 4306 chipcommon chipid */
2914ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4311		0x4311		/* 4311 PCIe 802.11a/b/g */
2924ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43111		43111		/* 43111 chipcommon chipid (OTP chipid) */
2934ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43112		43112		/* 43112 chipcommon chipid (OTP chipid) */
2944ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4312		0x4312		/* 4312 chipcommon chipid */
2954ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4313		0x4313		/* 4313 chip id */
2964ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43131		43131		/* 43131 chip id (OTP chipid) */
2974ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4315		0x4315		/* 4315 chip id */
2984ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4318		0x4318		/* 4318 chipcommon chipid */
2994ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4319		0x4319		/* 4319 chip id */
3004ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4320		0x4320		/* 4320 chipcommon chipid */
3014ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4321		0x4321		/* 4321 chipcommon chipid */
3024ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43217		43217		/* 43217 chip id (OTP chipid) */
3034ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4322		0x4322		/* 4322 chipcommon chipid */
3044ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43221		43221		/* 43221 chipcommon chipid (OTP chipid) */
3054ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43222		43222		/* 43222 chipcommon chipid */
3064ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43224		43224		/* 43224 chipcommon chipid */
3074ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43225		43225		/* 43225 chipcommon chipid */
3084ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43227		43227		/* 43227 chipcommon chipid */
3094ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43228		43228		/* 43228 chipcommon chipid */
3104ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43226		43226		/* 43226 chipcommon chipid */
3114ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43231		43231		/* 43231 chipcommon chipid (OTP chipid) */
3124ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43234		43234		/* 43234 chipcommon chipid */
3134ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43235		43235		/* 43235 chipcommon chipid */
3144ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43236		43236		/* 43236 chipcommon chipid */
3154ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43237		43237		/* 43237 chipcommon chipid */
3164ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43238		43238		/* 43238 chipcommon chipid */
3174ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43239		43239		/* 43239 chipcommon chipid */
3184ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43420		43420		/* 43222 chipcommon chipid (OTP, RBBU) */
3194ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43421		43421		/* 43224 chipcommon chipid (OTP, RBBU) */
3204ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43428		43428		/* 43228 chipcommon chipid (OTP, RBBU) */
3214ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43431		43431		/* 4331  chipcommon chipid (OTP, RBBU) */
3224ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43460		43460		/* 4360  chipcommon chipid (OTP, RBBU) */
323e83ce340SAdrian Chadd #define	BHND_CHIPID_BCM43462		0xA9C6		/* 43462 chipcommon chipid */
3244ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4325		0x4325		/* 4325 chip id */
3254ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4328		0x4328		/* 4328 chip id */
3264ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4329		0x4329		/* 4329 chipcommon chipid */
3274ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4331		0x4331		/* 4331 chipcommon chipid */
3284ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4336		0x4336		/* 4336 chipcommon chipid */
3294ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43362		43362		/* 43362 chipcommon chipid */
3304ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4330		0x4330		/* 4330 chipcommon chipid */
3314ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM6362		0x6362		/* 6362 chipcommon chipid */
3324ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4314		0x4314		/* 4314 chipcommon chipid */
3334ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43142		43142		/* 43142 chipcommon chipid */
3344ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43143		43143		/* 43143 chipcommon chipid */
3354ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4324		0x4324		/* 4324 chipcommon chipid */
3364ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43242		43242		/* 43242 chipcommon chipid */
3374ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43243		43243		/* 43243 chipcommon chipid */
3384ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4334		0x4334		/* 4334 chipcommon chipid */
3394ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4335		0x4335		/* 4335 chipcommon chipid */
3404ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4360		0x4360          /* 4360 chipcommon chipid */
341e83ce340SAdrian Chadd #define	BHND_CHIPID_BCM43602		0xaa52          /* 43602 chipcommon chipid */
3424ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4352		0x4352          /* 4352 chipcommon chipid */
3434ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43526		0xAA06
3444ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43341		43341		/* 43341 chipcommon chipid */
3454ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM43342		43342		/* 43342 chipcommon chipid */
3464ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4335		0x4335
3474ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4350		0x4350          /* 4350 chipcommon chipid */
3484ad7e9b0SAdrian Chadd 
3494ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4342		4342		/* 4342 chipcommon chipid (OTP, RBBU) */
3504ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4402		0x4402		/* 4402 chipid */
3514ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4704		0x4704		/* 4704 chipcommon chipid */
3524ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4706		0x5300		/* 4706 chipcommon chipid */
3534ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4707		53010		/* 4707 chipcommon chipid */
3544ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM53018		53018		/* 53018 chipcommon chipid */
3554ad7e9b0SAdrian Chadd #define	BHND_CHIPID_IS_BCM4707(chipid) \
3564ad7e9b0SAdrian Chadd 	(((chipid) == BHND_CHIPID_BCM4707) || \
3574ad7e9b0SAdrian Chadd 	((chipid) == BHND_CHIPID_BCM53018))
3584ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4710		0x4710		/* 4710 chipid */
3594ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4712		0x4712		/* 4712 chipcommon chipid */
3604ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4716		0x4716		/* 4716 chipcommon chipid */
3614ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM47162		47162		/* 47162 chipcommon chipid */
3624ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4748		0x4748		/* 4716 chipcommon chipid (OTP, RBBU) */
3634ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4749		0x4749		/* 5357 chipcommon chipid (OTP, RBBU) */
3644ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM4785		0x4785		/* 4785 chipcommon chipid */
3654ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM5350		0x5350		/* 5350 chipcommon chipid */
3664ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM5352		0x5352		/* 5352 chipcommon chipid */
3674ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM5354		0x5354		/* 5354 chipcommon chipid */
3684ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM5365		0x5365		/* 5365 chipcommon chipid */
3694ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM5356		0x5356		/* 5356 chipcommon chipid */
3704ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM5357		0x5357		/* 5357 chipcommon chipid */
3714ad7e9b0SAdrian Chadd #define	BHND_CHIPID_BCM53572		53572		/* 53572 chipcommon chipid */
3724ad7e9b0SAdrian Chadd 
3734ad7e9b0SAdrian Chadd /* Broadcom ChipCommon Package IDs */
3744ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4303		2		/* 4303 package id */
3754ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4309		1		/* 4309 package id */
3764ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4712LARGE		0		/* 340pin 4712 package id */
3774ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4712SMALL		1		/* 200pin 4712 package id */
3784ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4712MID		2		/* 225pin 4712 package id */
3794ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4328USBD11G	2		/* 4328 802.11g USB package id */
3804ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4328USBDUAL	3		/* 4328 802.11a/g USB package id */
3814ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4328SDIOD11G	4		/* 4328 802.11g SDIO package id */
3824ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4328SDIODUAL	5		/* 4328 802.11a/g SDIO package id */
3834ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4329_289PIN	0		/* 4329 289-pin package id */
3844ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4329_182PIN	1		/* 4329N 182-pin package id */
3854ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5354E		1		/* 5354E package id */
3864ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4716		8		/* 4716 package id */
3874ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4717		9		/* 4717 package id */
3884ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4718		10		/* 4718 package id */
3894ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5356_NONMODE	1		/* 5356 package without nmode suppport */
3904ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5358U		8		/* 5358U package id */
3914ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5358		9		/* 5358 package id */
3924ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM47186		10		/* 47186 package id */
3934ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5357		11		/* 5357 package id */
3944ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5356U		12		/* 5356U package id */
3954ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM53572		8		/* 53572 package id */
3964ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5357C0		8		/* 5357c0 package id (the same as 53572) */
3974ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM47188		9		/* 47188 package id */
3984ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5358C0		0xa		/* 5358c0 package id */
3994ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM5356C0		0xb		/* 5356c0 package id */
4004ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4331TT		8		/* 4331 12x12 package id */
4014ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4331TN		9		/* 4331 12x9 package id */
4024ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4331TNA0		0xb		/* 4331 12x9 package id */
4034ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4706L		1		/* 4706L package id */
4044ad7e9b0SAdrian Chadd 
4054ad7e9b0SAdrian Chadd #define	BHND_PKGID_HDLSIM5350		1		/* HDL simulator package id for a 5350 */
4064ad7e9b0SAdrian Chadd #define	BHND_PKGID_HDLSIM		14		/* HDL simulator package id */
4074ad7e9b0SAdrian Chadd #define	BHND_PKGID_HWSIM		15		/* Hardware simulator package id */
4084ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM43224_FAB_CSM	0x8		/* the chip is manufactured by CSM */
4094ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM43224_FAB_SMIC	0xa		/* the chip is manufactured by SMIC */
4104ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4336_WLBGA	0x8
4114ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4330_WLBGA	0x0
4124ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4314PCIE_ARM	(8 | 0)		/* 4314 QFN PCI package id, bit 3 tie high */
4134ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4314SDIO		(8 | 1)		/* 4314 QFN SDIO package id */
4144ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4314PCIE		(8 | 2)		/* 4314 QFN PCI (ARM-less) package id */
4154ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4314SDIO_ARM	(8 | 3)		/* 4314 QFN SDIO (ARM-less) package id */
4164ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4314SDIO_FPBGA	(8 | 4)		/* 4314 FpBGA SDIO package id */
417453130d9SPedro F. Giffuni #define	BHND_PKGID_BCM4314DEV		(8 | 6)		/* 4314 Development package id */
4184ad7e9b0SAdrian Chadd 
4194ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4707		1		/* 4707 package id */
4204ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4708		2		/* 4708 package id */
4214ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4709		0		/* 4709 package id */
4224ad7e9b0SAdrian Chadd 
4234ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4335_WLCSP	(0x0)		/* WLCSP Module/Mobile SDIO/HSIC. */
424453130d9SPedro F. Giffuni #define	BHND_PKGID_BCM4335_FCBGA	(0x1)		/* FCBGA PC/Embedded/Media PCIE/SDIO */
4254ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4335_WLBGA	(0x2)		/* WLBGA COB/Mobile SDIO/HSIC. */
4264ad7e9b0SAdrian Chadd #define	BHND_PKGID_BCM4335_FCBGAD	(0x3)		/* FCBGA Debug Debug/Dev All if's. */
4274ad7e9b0SAdrian Chadd #define	BHND_PKGID_PKG_MASK_BCM4335	(0x3)
4284ad7e9b0SAdrian Chadd 
4294ad7e9b0SAdrian Chadd /* Broadcom Core IDs */
4304ad7e9b0SAdrian Chadd #define	BHND_COREID_INVALID		0x700		/* Invalid coreid */
4314ad7e9b0SAdrian Chadd #define	BHND_COREID_CC			0x800		/* chipcommon core */
4324ad7e9b0SAdrian Chadd #define	BHND_COREID_ILINE20		0x801		/* iline20 core */
4334ad7e9b0SAdrian Chadd #define	BHND_COREID_SRAM		0x802		/* sram core */
4344ad7e9b0SAdrian Chadd #define	BHND_COREID_SDRAM		0x803		/* sdram core */
4354ad7e9b0SAdrian Chadd #define	BHND_COREID_PCI			0x804		/* pci core */
4364ad7e9b0SAdrian Chadd #define	BHND_COREID_MIPS		0x805		/* mips core */
4374ad7e9b0SAdrian Chadd #define	BHND_COREID_ENET		0x806		/* enet mac core */
438a225321fSLandon J. Fuller #define	BHND_COREID_V90_CODEC		0x807		/* v90 codec core */
4394ad7e9b0SAdrian Chadd #define	BHND_COREID_USB			0x808		/* usb 1.1 host/device core */
4404ad7e9b0SAdrian Chadd #define	BHND_COREID_ADSL		0x809		/* ADSL core */
4414ad7e9b0SAdrian Chadd #define	BHND_COREID_ILINE100		0x80a		/* iline100 core */
4424ad7e9b0SAdrian Chadd #define	BHND_COREID_IPSEC		0x80b		/* ipsec core */
4434ad7e9b0SAdrian Chadd #define	BHND_COREID_UTOPIA		0x80c		/* utopia core */
4444ad7e9b0SAdrian Chadd #define	BHND_COREID_PCMCIA		0x80d		/* pcmcia core */
4454ad7e9b0SAdrian Chadd #define	BHND_COREID_SOCRAM		0x80e		/* internal memory core */
4464ad7e9b0SAdrian Chadd #define	BHND_COREID_MEMC		0x80f		/* memc sdram core */
4474ad7e9b0SAdrian Chadd #define	BHND_COREID_OFDM		0x810		/* OFDM phy core */
4484ad7e9b0SAdrian Chadd #define	BHND_COREID_EXTIF		0x811		/* external interface core */
4494ad7e9b0SAdrian Chadd #define	BHND_COREID_D11			0x812		/* 802.11 MAC core */
4504ad7e9b0SAdrian Chadd #define	BHND_COREID_APHY		0x813		/* 802.11a phy core */
4514ad7e9b0SAdrian Chadd #define	BHND_COREID_BPHY		0x814		/* 802.11b phy core */
4524ad7e9b0SAdrian Chadd #define	BHND_COREID_GPHY		0x815		/* 802.11g phy core */
4534ad7e9b0SAdrian Chadd #define	BHND_COREID_MIPS33		0x816		/* mips3302 core */
4544ad7e9b0SAdrian Chadd #define	BHND_COREID_USB11H		0x817		/* usb 1.1 host core */
4554ad7e9b0SAdrian Chadd #define	BHND_COREID_USB11D		0x818		/* usb 1.1 device core */
4564ad7e9b0SAdrian Chadd #define	BHND_COREID_USB20H		0x819		/* usb 2.0 host core */
4574ad7e9b0SAdrian Chadd #define	BHND_COREID_USB20D		0x81a		/* usb 2.0 device core */
4584ad7e9b0SAdrian Chadd #define	BHND_COREID_SDIOH		0x81b		/* sdio host core */
4594ad7e9b0SAdrian Chadd #define	BHND_COREID_ROBO		0x81c		/* roboswitch core */
4604ad7e9b0SAdrian Chadd #define	BHND_COREID_ATA100		0x81d		/* parallel ATA core */
4614ad7e9b0SAdrian Chadd #define	BHND_COREID_SATAXOR		0x81e		/* serial ATA & XOR DMA core */
4624ad7e9b0SAdrian Chadd #define	BHND_COREID_GIGETH		0x81f		/* gigabit ethernet core */
4634ad7e9b0SAdrian Chadd #define	BHND_COREID_PCIE		0x820		/* pci express core */
4644ad7e9b0SAdrian Chadd #define	BHND_COREID_NPHY		0x821		/* 802.11n 2x2 phy core */
4654ad7e9b0SAdrian Chadd #define	BHND_COREID_SRAMC		0x822		/* SRAM controller core */
4664ad7e9b0SAdrian Chadd #define	BHND_COREID_MINIMAC		0x823		/* MINI MAC/phy core */
4674ad7e9b0SAdrian Chadd #define	BHND_COREID_ARM11		0x824		/* ARM 1176 core */
4684ad7e9b0SAdrian Chadd #define	BHND_COREID_ARM7S		0x825		/* ARM7tdmi-s core */
4694ad7e9b0SAdrian Chadd #define	BHND_COREID_LPPHY		0x826		/* 802.11a/b/g phy core */
4704ad7e9b0SAdrian Chadd #define	BHND_COREID_PMU			0x827		/* PMU core */
4714ad7e9b0SAdrian Chadd #define	BHND_COREID_SSNPHY		0x828		/* 802.11n single-stream phy core */
4724ad7e9b0SAdrian Chadd #define	BHND_COREID_SDIOD		0x829		/* SDIO device core */
4734ad7e9b0SAdrian Chadd #define	BHND_COREID_ARMCM3		0x82a		/* ARM Cortex M3 core */
4744ad7e9b0SAdrian Chadd #define	BHND_COREID_HTPHY		0x82b		/* 802.11n 4x4 phy core */
4754ad7e9b0SAdrian Chadd #define	BHND_COREID_MIPS74K		0x82c		/* mips 74k core */
4764ad7e9b0SAdrian Chadd #define	BHND_COREID_GMAC		0x82d		/* Gigabit MAC core */
4774ad7e9b0SAdrian Chadd #define	BHND_COREID_DMEMC		0x82e		/* DDR1/2 memory controller core */
4784ad7e9b0SAdrian Chadd #define	BHND_COREID_PCIERC		0x82f		/* PCIE Root Complex core */
4794ad7e9b0SAdrian Chadd #define	BHND_COREID_OCP			0x830		/* OCP2OCP bridge core */
4804ad7e9b0SAdrian Chadd #define	BHND_COREID_SC			0x831		/* shared common core */
4814ad7e9b0SAdrian Chadd #define	BHND_COREID_AHB			0x832		/* OCP2AHB bridge core */
4824ad7e9b0SAdrian Chadd #define	BHND_COREID_SPIH		0x833		/* SPI host core */
4834ad7e9b0SAdrian Chadd #define	BHND_COREID_I2S			0x834		/* I2S core */
4844ad7e9b0SAdrian Chadd #define	BHND_COREID_DMEMS		0x835		/* SDR/DDR1 memory controller core */
4854ad7e9b0SAdrian Chadd #define	BHND_COREID_UBUS_SHIM		0x837		/* SHIM component in ubus/6362 */
4864ad7e9b0SAdrian Chadd #define	BHND_COREID_PCIE2		0x83c		/* pci express (gen2) core */
4874ad7e9b0SAdrian Chadd /* ARM/AMBA Core IDs */
4884ad7e9b0SAdrian Chadd #define	BHND_COREID_APB_BRIDGE		0x135		/* BP135 AMBA AXI-APB bridge */
4894ad7e9b0SAdrian Chadd #define	BHND_COREID_PL301		0x301		/* PL301 AMBA AXI Interconnect */
4904ad7e9b0SAdrian Chadd #define	BHND_COREID_EROM		0x366		/* Enumeration ROM */
4914ad7e9b0SAdrian Chadd #define	BHND_COREID_OOB_ROUTER		0x367		/* OOB router core ID */
4924ad7e9b0SAdrian Chadd #define	BHND_COREID_AXI_UNMAPPED	0xfff		/* AXI "Default Slave"; maps all unused address
4934ad7e9b0SAdrian Chadd 							 * ranges, returning DECERR on read or write. */
4944ad7e9b0SAdrian Chadd /* Northstar Plus and BCM4706 Core IDs */
4954ad7e9b0SAdrian Chadd #define	BHND_COREID_4706_CC		0x500		/* chipcommon core */
4964ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_PCIE2		0x501		/* pci express (gen2) core */
4974ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_DMA		0x502		/* dma core */
4984ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_SDIO		0x503		/* sdio host core */
4994ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_USB20H		0x504		/* usb 2.0 host core */
5004ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_USB30H		0x505		/* usb 3.0 host core */
5014ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_A9JTAG		0x506		/* ARM Cortex A9 JTAG core */
5024ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_DDR23_MEMC	0x507		/* DDR2/3 cadence/denali memory controller core () */
5034ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_ROM		0x508		/* device ROM core */
5044ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_NAND		0x509		/* NAND flash controller core */
5054ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_QSPI		0x50a		/* QSPI flash controller core */
5064ad7e9b0SAdrian Chadd #define	BHND_COREID_NS_CC_B		0x50b		/* chipcommon `b' (auxiliary) core */
5074ad7e9b0SAdrian Chadd #define	BHND_COREID_4706_SOCRAM		0x50e		/* internal memory core */
5084ad7e9b0SAdrian Chadd #define	BHND_COREID_IHOST_ARMCA9	0x510		/* ARM Cortex A9 core */
5094ad7e9b0SAdrian Chadd #define	BHND_COREID_4706_GMAC_CMN	0x5dc		/* Gigabit MAC common core */
5104ad7e9b0SAdrian Chadd #define	BHND_COREID_4706_GMAC		0x52d           /* Gigabit MAC core */
5114ad7e9b0SAdrian Chadd #define	BHND_COREID_AMEMC		0x52e           /* DDR1/2 cadence/denali memory controller core */
5124ad7e9b0SAdrian Chadd 
5134ad7e9b0SAdrian Chadd /* ARM PrimeCell Peripherial IDs. These were derived from inspection of the
5144ad7e9b0SAdrian Chadd  * PrimeCell-compatible BCM4331 cores, but due to lack of documentation, the
5154ad7e9b0SAdrian Chadd  * surmised core name/description may be incorrect. */
5164ad7e9b0SAdrian Chadd #define	BHND_PRIMEID_EROM		0x364		/* Enumeration ROM's primecell ID */
5174ad7e9b0SAdrian Chadd #define	BHND_PRIMEID_SWRAP		0x368		/* PL368 Device Management Interface (Slave) */
5184ad7e9b0SAdrian Chadd #define	BHND_PRIMEID_MWRAP		0x369		/* PL369 Device Management Interface (Master) */
5194ad7e9b0SAdrian Chadd 
5204ad7e9b0SAdrian Chadd /* Core HW Revision Numbers */
5214ad7e9b0SAdrian Chadd #define	BHND_HWREV_INVALID		0xFF		/* Invalid hardware revision ID */
5224ad7e9b0SAdrian Chadd 
5234ad7e9b0SAdrian Chadd /* Chip Types */
5244ad7e9b0SAdrian Chadd #define	BHND_CHIPTYPE_SIBA		0		/**< siba(4) interconnect */
5254ad7e9b0SAdrian Chadd #define	BHND_CHIPTYPE_BCMA		1		/**< bcma(4) interconnect */
5264ad7e9b0SAdrian Chadd #define	BHND_CHIPTYPE_UBUS		2		/**< ubus interconnect found in bcm63xx devices */
5274ad7e9b0SAdrian Chadd #define	BHND_CHIPTYPE_BCMA_ALT		3		/**< bcma(4) interconnect */
5284ad7e9b0SAdrian Chadd 
529caeff9a3SLandon J. Fuller /** Evaluates to true if @p _type is a BCMA or BCMA-compatible interconenct */
530caeff9a3SLandon J. Fuller #define	BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(_type)	\
531cb4abe62SLandon J. Fuller 	((_type) == BHND_CHIPTYPE_BCMA ||	\
532cb4abe62SLandon J. Fuller 	 (_type) == BHND_CHIPTYPE_BCMA_ALT ||	\
533cb4abe62SLandon J. Fuller 	 (_type) == BHND_CHIPTYPE_UBUS)
534cb4abe62SLandon J. Fuller 
535caeff9a3SLandon J. Fuller /** Evaluates to true if @p _type uses a BCMA EROM table */
536caeff9a3SLandon J. Fuller #define	BHND_CHIPTYPE_HAS_EROM(_type)		\
537caeff9a3SLandon J. Fuller 	BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(_type)
538caeff9a3SLandon J. Fuller 
5394ad7e9b0SAdrian Chadd /* Boardflags */
5404ad7e9b0SAdrian Chadd #define	BHND_BFL_BTC2WIRE		0x00000001	/* old 2wire Bluetooth coexistence, OBSOLETE */
5414ad7e9b0SAdrian Chadd #define	BHND_BFL_BTCOEX			0x00000001	/* Board supports BTCOEX */
5424ad7e9b0SAdrian Chadd #define	BHND_BFL_PACTRL			0x00000002	/* Board has gpio 9 controlling the PA */
5434ad7e9b0SAdrian Chadd #define	BHND_BFL_AIRLINEMODE		0x00000004	/* Board implements gpio 13 radio disable indication, UNUSED */
5444ad7e9b0SAdrian Chadd #define	BHND_BFL_ADCDIV			0x00000008	/* Board has the rssi ADC divider */
5454ad7e9b0SAdrian Chadd #define	BHND_BFL_DIS_256QAM		0x00000008
5464ad7e9b0SAdrian Chadd #define	BHND_BFL_ENETROBO		0x00000010	/* Board has robo switch or core */
5474ad7e9b0SAdrian Chadd #define	BHND_BFL_NOPLLDOWN		0x00000020	/* Not ok to power down the chip pll and oscillator */
5484ad7e9b0SAdrian Chadd #define	BHND_BFL_CCKHIPWR		0x00000040	/* Can do high-power CCK transmission */
5494ad7e9b0SAdrian Chadd #define	BHND_BFL_ENETADM		0x00000080	/* Board has ADMtek switch */
5504ad7e9b0SAdrian Chadd #define	BHND_BFL_ENETVLAN		0x00000100	/* Board has VLAN capability */
5514ad7e9b0SAdrian Chadd #define	BHND_BFL_LTECOEX		0x00000200	/* Board has LTE coex capability */
5524ad7e9b0SAdrian Chadd #define	BHND_BFL_NOPCI			0x00000400	/* Board leaves PCI floating */
5534ad7e9b0SAdrian Chadd #define	BHND_BFL_FEM			0x00000800	/* Board supports the Front End Module */
5544ad7e9b0SAdrian Chadd #define	BHND_BFL_EXTLNA			0x00001000	/* Board has an external LNA in 2.4GHz band */
5554ad7e9b0SAdrian Chadd #define	BHND_BFL_HGPA			0x00002000	/* Board has a high gain PA */
5564ad7e9b0SAdrian Chadd #define	BHND_BFL_BTC2WIRE_ALTGPIO	0x00004000
5574ad7e9b0SAdrian Chadd /* Board's BTC 2wire is in the alternate gpios OBSLETE */
5584ad7e9b0SAdrian Chadd #define	BHND_BFL_ALTIQ			0x00008000	/* Alternate I/Q settings */
5594ad7e9b0SAdrian Chadd #define	BHND_BFL_NOPA			0x00010000	/* Board has no PA */
5604ad7e9b0SAdrian Chadd #define	BHND_BFL_RSSIINV		0x00020000	/* Board's RSSI uses positive slope(not TSSI) */
5614ad7e9b0SAdrian Chadd #define	BHND_BFL_PAREF			0x00040000	/* Board uses the PARef LDO */
5624ad7e9b0SAdrian Chadd #define	BHND_BFL_3TSWITCH		0x00080000	/* Board uses a triple throw switch shared with BT */
5634ad7e9b0SAdrian Chadd #define	BHND_BFL_PHASESHIFT		0x00100000	/* Board can support phase shifter */
5644ad7e9b0SAdrian Chadd #define	BHND_BFL_BUCKBOOST		0x00200000	/* Power topology uses BUCKBOOST */
5654ad7e9b0SAdrian Chadd #define	BHND_BFL_FEM_BT			0x00400000	/* Board has FEM and switch to share antenna w/ BT */
5664ad7e9b0SAdrian Chadd #define	BHND_BFL_RXCHAIN_OFF_BT		0x00400000	/* one rxchain is to be shut off when BT is active */
5674ad7e9b0SAdrian Chadd #define	BHND_BFL_NOCBUCK		0x00800000	/* Power topology doesn't use CBUCK */
5684ad7e9b0SAdrian Chadd #define	BHND_BFL_CCKFAVOREVM		0x01000000	/* Favor CCK EVM over spectral mask */
5694ad7e9b0SAdrian Chadd #define	BHND_BFL_PALDO			0x02000000	/* Power topology uses PALDO */
5704ad7e9b0SAdrian Chadd #define	BHND_BFL_LNLDO2_2P5		0x04000000	/* Select 2.5V as LNLDO2 output voltage */
5714ad7e9b0SAdrian Chadd #define	BHND_BFL_FASTPWR		0x08000000
5724ad7e9b0SAdrian Chadd #define	BHND_BFL_UCPWRCTL_MININDX	0x08000000	/* Enforce min power index to avoid FEM damage */
573*d177c199SLandon J. Fuller #define	BHND_BFL_EXTLNA_5GHZ		0x10000000	/* Board has an external LNA in 5GHz band */
574*d177c199SLandon J. Fuller #define	BHND_BFL_TRSW_1BY2		0x20000000	/* Board has 2 TRSW's in 1by2 designs */
5754ad7e9b0SAdrian Chadd #define	BHND_BFL_GAINBOOSTA01	        0x20000000	/* 5g Gainboost for core0 and core1 */
576*d177c199SLandon J. Fuller #define	BHND_BFL_LO_TRSW_R_5GHZ		0x40000000	/* In 5G do not throw TRSW to T for clipLO gain */
5774ad7e9b0SAdrian Chadd #define	BHND_BFL_ELNA_GAINDEF		0x80000000	/* Backoff InitGain based on elna_2g/5g field
5784ad7e9b0SAdrian Chadd 							 * when this flag is set
5794ad7e9b0SAdrian Chadd 							 */
5804ad7e9b0SAdrian Chadd #define	BHND_BFL_EXTLNA_TX		0x20000000	/* Temp boardflag to indicate to */
5814ad7e9b0SAdrian Chadd 
5824ad7e9b0SAdrian Chadd /* Boardflags2 */
5834ad7e9b0SAdrian Chadd #define	BHND_BFL2_RXBB_INT_REG_DIS	0x00000001	/* Board has an external rxbb regulator */
5844ad7e9b0SAdrian Chadd #define	BHND_BFL2_APLL_WAR		0x00000002	/* Flag to implement alternative A-band PLL settings */
5854ad7e9b0SAdrian Chadd #define	BHND_BFL2_TXPWRCTRL_EN		0x00000004	/* Board permits enabling TX Power Control */
5864ad7e9b0SAdrian Chadd #define	BHND_BFL2_2X4_DIV		0x00000008	/* Board supports the 2X4 diversity switch */
5874ad7e9b0SAdrian Chadd #define	BHND_BFL2_5G_PWRGAIN		0x00000010	/* Board supports 5G band power gain */
5884ad7e9b0SAdrian Chadd #define	BHND_BFL2_PCIEWAR_OVR		0x00000020	/* Board overrides ASPM and Clkreq settings */
5894ad7e9b0SAdrian Chadd #define	BHND_BFL2_CAESERS_BRD		0x00000040	/* Board is Caesers brd (unused by sw) */
5904ad7e9b0SAdrian Chadd #define	BHND_BFL2_BTC3WIRE		0x00000080	/* Board support legacy 3 wire or 4 wire */
5914ad7e9b0SAdrian Chadd #define	BHND_BFL2_BTCLEGACY		0x00000080	/* Board support legacy 3/4 wire, to replace
5924ad7e9b0SAdrian Chadd 							 * BHND_BFL2_BTC3WIRE
5934ad7e9b0SAdrian Chadd 							 */
5944ad7e9b0SAdrian Chadd #define	BHND_BFL2_SKWRKFEM_BRD		0x00000100	/* 4321mcm93 board uses Skyworks FEM */
5954ad7e9b0SAdrian Chadd #define	BHND_BFL2_SPUR_WAR		0x00000200	/* Board has a WAR for clock-harmonic spurs */
5964ad7e9b0SAdrian Chadd #define	BHND_BFL2_GPLL_WAR		0x00000400	/* Flag to narrow G-band PLL loop b/w */
5974ad7e9b0SAdrian Chadd #define	BHND_BFL2_TRISTATE_LED		0x00000800	/* Tri-state the LED */
5984ad7e9b0SAdrian Chadd #define	BHND_BFL2_SINGLEANT_CCK		0x00001000	/* Tx CCK pkts on Ant 0 only */
5994ad7e9b0SAdrian Chadd #define	BHND_BFL2_2G_SPUR_WAR		0x00002000	/* WAR to reduce and avoid clock-harmonic spurs in 2G */
6004ad7e9b0SAdrian Chadd #define	BHND_BFL2_BPHY_ALL_TXCORES	0x00004000	/* Transmit bphy frames using all tx cores */
6014ad7e9b0SAdrian Chadd #define	BHND_BFL2_FCC_BANDEDGE_WAR	0x00008000	/* Activates WAR to improve FCC bandedge performance */
6024ad7e9b0SAdrian Chadd #define	BHND_BFL2_GPLL_WAR2	        0x00010000	/* Flag to widen G-band PLL loop b/w */
6034ad7e9b0SAdrian Chadd #define	BHND_BFL2_IPALVLSHIFT_3P3	0x00020000
6044ad7e9b0SAdrian Chadd #define	BHND_BFL2_INTERNDET_TXIQCAL	0x00040000	/* Use internal envelope detector for TX IQCAL */
6054ad7e9b0SAdrian Chadd #define	BHND_BFL2_XTALBUFOUTEN		0x00080000	/* Keep the buffered Xtal output from radio on */
6064ad7e9b0SAdrian Chadd 						  	/* Most drivers will turn it off without this flag */
6074ad7e9b0SAdrian Chadd 						  	/* to save power. */
6084ad7e9b0SAdrian Chadd 
6094ad7e9b0SAdrian Chadd #define	BHND_BFL2_ANAPACTRL_2G		0x00100000	/* 2G ext PAs are controlled by analog PA ctrl lines */
6104ad7e9b0SAdrian Chadd #define	BHND_BFL2_ANAPACTRL_5G		0x00200000	/* 5G ext PAs are controlled by analog PA ctrl lines */
6114ad7e9b0SAdrian Chadd #define	BHND_BFL2_ELNACTRL_TRSW_2G	0x00400000	/* AZW4329: 2G gmode_elna_gain controls TR Switch */
6124ad7e9b0SAdrian Chadd #define	BHND_BFL2_BT_SHARE_ANT0		0x00800000	/* WLAN/BT share antenna 0 */
6134ad7e9b0SAdrian Chadd #define	BHND_BFL2_BT_SHARE_BM_BIT0	0x00800000	/* bit 0 of WLAN/BT shared core bitmap */
6144ad7e9b0SAdrian Chadd #define	BHND_BFL2_TEMPSENSE_HIGHER	0x01000000	/* The tempsense threshold can sustain higher value
6154ad7e9b0SAdrian Chadd 							 * than programmed. The exact delta is decided by
6164ad7e9b0SAdrian Chadd 							 * driver per chip/boardtype. This can be used
6174ad7e9b0SAdrian Chadd 							 * when tempsense qualification happens after shipment
6184ad7e9b0SAdrian Chadd 							 */
6194ad7e9b0SAdrian Chadd #define	BHND_BFL2_BTC3WIREONLY		0x02000000	/* standard 3 wire btc only.  4 wire not supported */
6204ad7e9b0SAdrian Chadd #define	BHND_BFL2_PWR_NOMINAL		0x04000000	/* 0: power reduction on, 1: no power reduction */
6214ad7e9b0SAdrian Chadd #define	BHND_BFL2_EXTLNA_PWRSAVE	0x08000000	/* boardflag to enable ucode to apply power save
6224ad7e9b0SAdrian Chadd 						  	 * ucode control of eLNA during Tx */
6234ad7e9b0SAdrian Chadd #define	BHND_BFL2_4313_RADIOREG		0x10000000
6244ad7e9b0SAdrian Chadd 							/*  board rework */
6254ad7e9b0SAdrian Chadd #define	BHND_BFL2_DYNAMIC_VMID		0x10000000	/* boardflag to enable dynamic Vmid idle TSSI CAL */
6264ad7e9b0SAdrian Chadd #define	BHND_BFL2_SDR_EN		0x20000000	/* SDR enabled or disabled */
6274ad7e9b0SAdrian Chadd #define	BHND_BFL2_LNA1BYPFORTR2G  	0x40000000	/* acphy, enable lna1 bypass for clip gain, 2g */
6284ad7e9b0SAdrian Chadd #define	BHND_BFL2_LNA1BYPFORTR5G  	0x80000000	/* acphy, enable lna1 bypass for clip gain, 5g */
6294ad7e9b0SAdrian Chadd 
6304ad7e9b0SAdrian Chadd /* SROM 11 - 11ac boardflag definitions */
6314ad7e9b0SAdrian Chadd #define	BHND_BFL_SROM11_BTCOEX		0x00000001	/* Board supports BTCOEX */
6324ad7e9b0SAdrian Chadd #define	BHND_BFL_SROM11_WLAN_BT_SH_XTL	0x00000002	/* bluetooth and wlan share same crystal */
6334ad7e9b0SAdrian Chadd #define	BHND_BFL_SROM11_EXTLNA		0x00001000	/* Board has an external LNA in 2.4GHz band */
634*d177c199SLandon J. Fuller #define	BHND_BFL_SROM11_EXTLNA_5GHZ	0x10000000	/* Board has an external LNA in 5GHz band */
6354ad7e9b0SAdrian Chadd #define	BHND_BFL_SROM11_GAINBOOSTA01	0x20000000	/* 5g Gainboost for core0 and core1 */
6364ad7e9b0SAdrian Chadd #define	BHND_BFL2_SROM11_APLL_WAR	0x00000002	/* Flag to implement alternative A-band PLL settings */
6374ad7e9b0SAdrian Chadd #define	BHND_BFL2_SROM11_ANAPACTRL_2G	0x00100000	/* 2G ext PAs are ctrl-ed by analog PA ctrl lines */
6384ad7e9b0SAdrian Chadd #define	BHND_BFL2_SROM11_ANAPACTRL_5G	0x00200000	/* 5G ext PAs are ctrl-ed by analog PA ctrl lines */
6394ad7e9b0SAdrian Chadd 
6404ad7e9b0SAdrian Chadd /* Boardflags3 */
6414ad7e9b0SAdrian Chadd #define	BHND_BFL3_FEMCTRL_SUB			0x00000007	/* acphy, subrevs of femctrl on top of srom_femctrl */
6424ad7e9b0SAdrian Chadd #define	BHND_BFL3_RCAL_WAR			0x00000008	/* acphy, rcal war active on this board (4335a0) */
6434ad7e9b0SAdrian Chadd #define	BHND_BFL3_TXGAINTBLID			0x00000070	/* acphy, txgain table id */
6444ad7e9b0SAdrian Chadd #define	BHND_BFL3_TXGAINTBLID_SHIFT		0x4		/* acphy, txgain table id shift bit */
645453130d9SPedro F. Giffuni #define	BHND_BFL3_TSSI_DIV_WAR			0x00000080	/* acphy, Separate paparam for 20/40/80 */
646453130d9SPedro F. Giffuni #define	BHND_BFL3_TSSI_DIV_WAR_SHIFT		0x7		/* acphy, Separate paparam for 20/40/80 shift bit */
6474ad7e9b0SAdrian Chadd #define	BHND_BFL3_FEMTBL_FROM_NVRAM		0x00000100	/* acphy, femctrl table is read from nvram */
6484ad7e9b0SAdrian Chadd #define	BHND_BFL3_FEMTBL_FROM_NVRAM_SHIFT	0x8		/* acphy, femctrl table is read from nvram */
6494ad7e9b0SAdrian Chadd #define	BHND_BFL3_AGC_CFG_2G			0x00000200	/* acphy, gain control configuration for 2G */
6504ad7e9b0SAdrian Chadd #define	BHND_BFL3_AGC_CFG_5G			0x00000400	/* acphy, gain control configuration for 5G */
6514ad7e9b0SAdrian Chadd #define	BHND_BFL3_PPR_BIT_EXT			0x00000800	/* acphy, bit position for 1bit extension for ppr */
6524ad7e9b0SAdrian Chadd #define	BHND_BFL3_PPR_BIT_EXT_SHIFT		11		/* acphy, bit shift for 1bit extension for ppr */
6534ad7e9b0SAdrian Chadd #define	BHND_BFL3_BBPLL_SPR_MODE_DIS		0x00001000	/* acphy, disables bbpll spur modes */
6544ad7e9b0SAdrian Chadd #define	BHND_BFL3_RCAL_OTP_VAL_EN		0x00002000	/* acphy, to read rcal_trim value from otp */
6554ad7e9b0SAdrian Chadd #define	BHND_BFL3_2GTXGAINTBL_BLANK		0x00004000	/* acphy, blank the first X ticks of 2g gaintbl */
6564ad7e9b0SAdrian Chadd #define	BHND_BFL3_2GTXGAINTBL_BLANK_SHIFT	14		/* acphy, blank the first X ticks of 2g gaintbl */
6574ad7e9b0SAdrian Chadd #define	BHND_BFL3_5GTXGAINTBL_BLANK		0x00008000	/* acphy, blank the first X ticks of 5g gaintbl */
6584ad7e9b0SAdrian Chadd #define	BHND_BFL3_5GTXGAINTBL_BLANK_SHIFT	15		/* acphy, blank the first X ticks of 5g gaintbl */
6594ad7e9b0SAdrian Chadd #define	BHND_BFL3_BT_SHARE_BM_BIT1		0x40000000	/* bit 1 of WLAN/BT shared core bitmap */
6604ad7e9b0SAdrian Chadd #define	BHND_BFL3_PHASETRACK_MAX_ALPHABETA	0x00010000	/* acphy, to max out alpha,beta to 511 */
6614ad7e9b0SAdrian Chadd #define	BHND_BFL3_PHASETRACK_MAX_ALPHABETA_SHIFT 16		/* acphy, to max out alpha,beta to 511 */
6624ad7e9b0SAdrian Chadd #define	BHND_BFL3_BT_SHARE_BM_BIT1		0x40000000	/* bit 1 of WLAN/BT shared core bitmap */
6634ad7e9b0SAdrian Chadd #define	BHND_BFL3_EN_NONBRCM_TXBF		0x10000000	/* acphy, enable non-brcm TXBF */
6644ad7e9b0SAdrian Chadd #define	BHND_BFL3_EN_P2PLINK_TXBF		0x20000000	/* acphy, enable TXBF in p2p links */
6654ad7e9b0SAdrian Chadd 
6664ad7e9b0SAdrian Chadd /* board specific GPIO assignment, gpio 0-3 are also customer-configurable led */
667d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC3W_IN	0x850	/* bit 4 is RF_ACTIVE, bit 6 is STATUS, bit 11 is PRI */
668d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC3W_OUT	0x020	/* bit 5 is TX_CONF */
669d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTCMOD_IN	0x010	/* bit 4 is the alternate BT Coexistence Input */
670d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTCMOD_OUT	0x020	/* bit 5 is the alternate BT Coexistence Out */
671d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC_IN		0x080	/* bit 7 is BT Coexistence Input */
672d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC_OUT		0x100	/* bit 8 is BT Coexistence Out */
673d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_PACTRL		0x200	/* bit 9 controls the PA on new 4306 boards */
674d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_12		0x1000	/* gpio 12 */
675d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_13		0x2000	/* gpio 13 */
676d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC4_IN		0x0800	/* gpio 11, coex4, in */
677d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC4_BT		0x2000	/* gpio 12, coex4, bt active */
678d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC4_STAT	0x4000	/* gpio 14, coex4, status */
679d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_BTC4_WLAN	0x8000	/* gpio 15, coex4, wlan active */
680d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_1_WLAN_PWR	0x02	/* throttle WLAN power on X21 board */
681d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_3_WLAN_PWR	0x08	/* throttle WLAN power on X28 board */
682d567592bSAdrian Chadd #define	BHND_GPIO_BOARD_4_WLAN_PWR	0x10	/* throttle WLAN power on X19 board */
6834ad7e9b0SAdrian Chadd 
6844ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_4312	0x010	/* bit 4 is BT_IODISABLE */
6854ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_43224	0x020	/* bit 5 is BT_IODISABLE */
6864ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_43224_SHARED 0x0e0  /* bit 5 is BT_IODISABLE */
6874ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_43225	0x0e0	/* bit 5 BT_IODISABLE, bit 6 SW_BT, bit 7 SW_WL */
6884ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_43421	0x020	/* bit 5 is BT_IODISABLE */
6894ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_4313	0x060	/* bit 5 SW_BT, bit 6 SW_WL */
6904ad7e9b0SAdrian Chadd #define	BHND_GPIO_BTC4W_OUT_4331_SHARED	0x010	/* GPIO 4  */
6914ad7e9b0SAdrian Chadd 
692d567592bSAdrian Chadd /* Board Types */
693d567592bSAdrian Chadd #define	BHND_BOARD_BU4710		0x0400
694d567592bSAdrian Chadd #define	BHND_BOARD_VSIM4710		0x0401
695d567592bSAdrian Chadd #define	BHND_BOARD_QT4710		0x0402
696d567592bSAdrian Chadd 
697d567592bSAdrian Chadd #define	BHND_BOARD_BU4309		0x040a
698d567592bSAdrian Chadd #define	BHND_BOARD_BCM94309CB		0x040b
699d567592bSAdrian Chadd #define	BHND_BOARD_BCM94309MP		0x040c
700d567592bSAdrian Chadd #define	BHND_BOARD_BCM4309AP		0x040d
701d567592bSAdrian Chadd 
702d567592bSAdrian Chadd #define	BHND_BOARD_BCM94302MP		0x040e
703d567592bSAdrian Chadd 
704d567592bSAdrian Chadd #define	BHND_BOARD_BU4306		0x0416
705d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306CB		0x0417
706d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306MP		0x0418
707d567592bSAdrian Chadd 
708d567592bSAdrian Chadd #define	BHND_BOARD_BCM94710D		0x041a
709d567592bSAdrian Chadd #define	BHND_BOARD_BCM94710R1		0x041b
710d567592bSAdrian Chadd #define	BHND_BOARD_BCM94710R4		0x041c
711d567592bSAdrian Chadd #define	BHND_BOARD_BCM94710AP		0x041d
712d567592bSAdrian Chadd 
713d567592bSAdrian Chadd #define	BHND_BOARD_BU2050		0x041f
714d567592bSAdrian Chadd 
715d567592bSAdrian Chadd #define	BHND_BOARD_BCM94309G		0x0421
716d567592bSAdrian Chadd 
717d567592bSAdrian Chadd #define	BHND_BOARD_BU4704		0x0423
718d567592bSAdrian Chadd #define	BHND_BOARD_BU4702		0x0424
719d567592bSAdrian Chadd 
720d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306PC		0x0425		/* pcmcia 3.3v 4306 card */
721d567592bSAdrian Chadd 
722d567592bSAdrian Chadd #define	BHND_BOARD_BCM94702MN		0x0428
723d567592bSAdrian Chadd 
724d567592bSAdrian Chadd /* BCM4702 1U CompactPCI Board */
725d567592bSAdrian Chadd #define	BHND_BOARD_BCM94702CPCI		0x0429
726d567592bSAdrian Chadd 
727d567592bSAdrian Chadd /* BCM4702 with BCM95380 VLAN Router */
728d567592bSAdrian Chadd #define	BHND_BOARD_BCM95380RR		0x042a
729d567592bSAdrian Chadd 
730d567592bSAdrian Chadd /* cb4306 with SiGe PA */
731d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306CBSG		0x042b
732d567592bSAdrian Chadd 
733d567592bSAdrian Chadd /* cb4306 with SiGe PA */
734d567592bSAdrian Chadd #define	BHND_BOARD_PCSG94306		0x042d
735d567592bSAdrian Chadd 
736d567592bSAdrian Chadd /* bu4704 with sdram */
737d567592bSAdrian Chadd #define	BHND_BOARD_BU4704SD		0x042e
738d567592bSAdrian Chadd 
739d567592bSAdrian Chadd /* Dual 11a/11g Router */
740d567592bSAdrian Chadd #define	BHND_BOARD_BCM94704AGR		0x042f
741d567592bSAdrian Chadd 
742d567592bSAdrian Chadd /* 11a-only minipci */
743d567592bSAdrian Chadd #define	BHND_BOARD_BCM94308MP		0x0430
744d567592bSAdrian Chadd 
745d567592bSAdrian Chadd #define	BHND_BOARD_BU4712		0x0444
746d567592bSAdrian Chadd #define	BHND_BOARD_BU4712SD		0x045d
747d567592bSAdrian Chadd #define	BHND_BOARD_BU4712L		0x045f
748d567592bSAdrian Chadd 
749d567592bSAdrian Chadd /* BCM4712 boards */
750d567592bSAdrian Chadd #define	BHND_BOARD_BCM94712AP		0x0445
751d567592bSAdrian Chadd #define	BHND_BOARD_BCM94712P		0x0446
752d567592bSAdrian Chadd 
753d567592bSAdrian Chadd /* BCM4318 boards */
754d567592bSAdrian Chadd #define	BHND_BOARD_BU4318		0x0447
755d567592bSAdrian Chadd #define	BHND_BOARD_CB4318		0x0448
756d567592bSAdrian Chadd #define	BHND_BOARD_MPG4318		0x0449
757d567592bSAdrian Chadd #define	BHND_BOARD_MP4318		0x044a
758d567592bSAdrian Chadd #define	BHND_BOARD_SD4318		0x044b
759d567592bSAdrian Chadd 
760d567592bSAdrian Chadd /* BCM4313 boards */
761d567592bSAdrian Chadd #define	BHND_BOARD_BCM94313BU		0x050f
762d567592bSAdrian Chadd #define	BHND_BOARD_BCM94313HM		0x0510
763d567592bSAdrian Chadd #define	BHND_BOARD_BCM94313EPA		0x0511
764d567592bSAdrian Chadd #define	BHND_BOARD_BCM94313HMG		0x051C
765d567592bSAdrian Chadd 
766d567592bSAdrian Chadd /* BCM63XX boards */
767d567592bSAdrian Chadd #define	BHND_BOARD_BCM96338		0x6338
768d567592bSAdrian Chadd #define	BHND_BOARD_BCM96348		0x6348
769d567592bSAdrian Chadd #define	BHND_BOARD_BCM96358		0x6358
770d567592bSAdrian Chadd #define	BHND_BOARD_BCM96368		0x6368
771d567592bSAdrian Chadd 
772d567592bSAdrian Chadd /* Another mp4306 with SiGe */
773d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306P		0x044c
774d567592bSAdrian Chadd 
775d567592bSAdrian Chadd /* mp4303 */
776d567592bSAdrian Chadd #define	BHND_BOARD_BCM94303MP		0x044e
777d567592bSAdrian Chadd 
778d567592bSAdrian Chadd /* mpsgh4306 */
779d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306MPSGH	0x044f
780d567592bSAdrian Chadd 
781d567592bSAdrian Chadd /* BRCM 4306 w/ Front End Modules */
782d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306MPM		0x0450
783d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306MPL		0x0453
784d567592bSAdrian Chadd 
785d567592bSAdrian Chadd /* 4712agr */
786d567592bSAdrian Chadd #define	BHND_BOARD_BCM94712AGR		0x0451
787d567592bSAdrian Chadd 
788d567592bSAdrian Chadd /* pcmcia 4303 */
789d567592bSAdrian Chadd #define	BHND_BOARD_PC4303		0x0454
790d567592bSAdrian Chadd 
791d567592bSAdrian Chadd /* 5350K */
792d567592bSAdrian Chadd #define	BHND_BOARD_BCM95350K		0x0455
793d567592bSAdrian Chadd 
794d567592bSAdrian Chadd /* 5350R */
795d567592bSAdrian Chadd #define	BHND_BOARD_BCM95350R		0x0456
796d567592bSAdrian Chadd 
797d567592bSAdrian Chadd /* 4306mplna */
798d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306MPLNA	0x0457
799d567592bSAdrian Chadd 
800d567592bSAdrian Chadd /* 4320 boards */
801d567592bSAdrian Chadd #define	BHND_BOARD_BU4320		0x0458
802d567592bSAdrian Chadd #define	BHND_BOARD_BU4320S		0x0459
803d567592bSAdrian Chadd #define	BHND_BOARD_BCM94320PH		0x045a
804d567592bSAdrian Chadd 
805d567592bSAdrian Chadd /* 4306mph */
806d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306MPH		0x045b
807d567592bSAdrian Chadd 
808d567592bSAdrian Chadd /* 4306pciv */
809d567592bSAdrian Chadd #define	BHND_BOARD_BCM94306PCIV		0x045c
810d567592bSAdrian Chadd 
811d567592bSAdrian Chadd #define	BHND_BOARD_BU4712SD		0x045d
812d567592bSAdrian Chadd 
813d567592bSAdrian Chadd #define	BHND_BOARD_BCM94320PFLSH	0x045e
814d567592bSAdrian Chadd 
815d567592bSAdrian Chadd #define	BHND_BOARD_BU4712L		0x045f
816d567592bSAdrian Chadd #define	BHND_BOARD_BCM94712LGR		0x0460
817d567592bSAdrian Chadd #define	BHND_BOARD_BCM94320R		0x0461
818d567592bSAdrian Chadd 
819d567592bSAdrian Chadd #define	BHND_BOARD_BU5352		0x0462
820d567592bSAdrian Chadd 
821d567592bSAdrian Chadd #define	BHND_BOARD_BCM94318MPGH		0x0463
822d567592bSAdrian Chadd 
823d567592bSAdrian Chadd #define	BHND_BOARD_BU4311		0x0464
824d567592bSAdrian Chadd #define	BHND_BOARD_BCM94311MC		0x0465
825d567592bSAdrian Chadd #define	BHND_BOARD_BCM94311MCAG		0x0466
826d567592bSAdrian Chadd 
827d567592bSAdrian Chadd #define	BHND_BOARD_BCM95352GR		0x0467
828d567592bSAdrian Chadd 
829d567592bSAdrian Chadd /* bcm95351agr */
830d567592bSAdrian Chadd #define	BHND_BOARD_BCM95351AGR		0x0470
831d567592bSAdrian Chadd 
832d567592bSAdrian Chadd /* bcm94704mpcb */
833d567592bSAdrian Chadd #define	BHND_BOARD_BCM94704MPCB		0x0472
834d567592bSAdrian Chadd 
835d567592bSAdrian Chadd /* 4785 boards */
836d567592bSAdrian Chadd #define	BHND_BOARD_BU4785		0x0478
837d567592bSAdrian Chadd 
838d567592bSAdrian Chadd /* 4321 boards */
8398ef24a0dSAdrian Chadd #define	BHND_BOARD_BCM4321BU		0x046b
8408ef24a0dSAdrian Chadd #define	BHND_BOARD_BCM4321BUE		0x047c
8418ef24a0dSAdrian Chadd #define	BHND_BOARD_BCM4321MP		0x046c
8428ef24a0dSAdrian Chadd #define	BHND_BOARD_BCM4321CB2		0x046d
8438ef24a0dSAdrian Chadd #define	BHND_BOARD_BCM4321CB2_AG	0x0066
8448ef24a0dSAdrian Chadd #define	BHND_BOARD_BCM4321MC		0x046e
845d567592bSAdrian Chadd 
846d567592bSAdrian Chadd /* 4328 boards */
847d567592bSAdrian Chadd #define	BHND_BOARD_BU4328		0x0481
848d567592bSAdrian Chadd #define	BHND_BOARD_BCM4328SDG		0x0482
849d567592bSAdrian Chadd #define	BHND_BOARD_BCM4328SDAG		0x0483
850d567592bSAdrian Chadd #define	BHND_BOARD_BCM4328UG		0x0484
851d567592bSAdrian Chadd #define	BHND_BOARD_BCM4328UAG		0x0485
852d567592bSAdrian Chadd #define	BHND_BOARD_BCM4328PC		0x0486
853d567592bSAdrian Chadd #define	BHND_BOARD_BCM4328CF		0x0487
854d567592bSAdrian Chadd 
855d567592bSAdrian Chadd /* 4325 boards */
856d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325DEVBU	0x0490
857d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325BGABU	0x0491
858d567592bSAdrian Chadd 
859d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325SDGWB	0x0492
860d567592bSAdrian Chadd 
861d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325SDGMDL	0x04aa
862d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325SDGMDL2	0x04c6
863d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325SDGMDL3	0x04c9
864d567592bSAdrian Chadd 
865d567592bSAdrian Chadd #define	BHND_BOARD_BCM94325SDABGWBA	0x04e1
866d567592bSAdrian Chadd 
867d567592bSAdrian Chadd /* 4322 boards */
868d567592bSAdrian Chadd #define	BHND_BOARD_BCM94322MC		0x04a4
869d567592bSAdrian Chadd #define	BHND_BOARD_BCM94322USB		0x04a8	/* dualband */
870d567592bSAdrian Chadd #define	BHND_BOARD_BCM94322HM		0x04b0
871d567592bSAdrian Chadd #define	BHND_BOARD_BCM94322USB2D	0x04bf	/* single band discrete front end */
872d567592bSAdrian Chadd 
873d567592bSAdrian Chadd /* 4312 boards */
874d567592bSAdrian Chadd #define	BHND_BOARD_BCM4312MCGSG		0x04b5
875d567592bSAdrian Chadd 
876d567592bSAdrian Chadd /* 4315 boards */
877d567592bSAdrian Chadd #define	BHND_BOARD_BCM94315DEVBU	0x04c2
878d567592bSAdrian Chadd #define	BHND_BOARD_BCM94315USBGP	0x04c7
879d567592bSAdrian Chadd #define	BHND_BOARD_BCM94315BGABU	0x04ca
880d567592bSAdrian Chadd #define	BHND_BOARD_BCM94315USBGP41	0x04cb
881d567592bSAdrian Chadd 
882d567592bSAdrian Chadd /* 4319 boards */
883d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319DEVBU	0X04e5
884d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319USB		0X04e6
885d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SD		0X04e7
886d567592bSAdrian Chadd 
887d567592bSAdrian Chadd /* 4716 boards */
888d567592bSAdrian Chadd #define	BHND_BOARD_BCM94716NR2		0x04cd
889d567592bSAdrian Chadd 
890d567592bSAdrian Chadd /* 4319 boards */
891d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319DEVBU	0X04e5
892d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319USBNP4L	0X04e6
893d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319WLUSBN4L	0X04e7
894d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDG		0X04ea
895d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319LCUSBSDN4L	0X04eb
896d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319USBB		0x04ee
897d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319LCSDN4L	0X0507
898d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319LSUSBN4L	0X0508
899d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDNA4L	0X0517
900d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDELNA4L	0X0518
901d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDELNA6L	0X0539
902d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319ARCADYAN	0X0546
903d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319WINDSOR	0x0561
904d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319MLAP		0x0562
905d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDNA		0x058b
906d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319BHEMU3	0x0563
907d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDHMB	0x058c
908d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319SDBREF	0x05a1
909d567592bSAdrian Chadd #define	BHND_BOARD_BCM94319USBSDB	0x05a2
910d567592bSAdrian Chadd 
911d567592bSAdrian Chadd /* 4329 boards */
912d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329AGB		0X04b9
913d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329TDKMDL1	0X04ba
914d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329TDKMDL11	0X04fc
915d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICN18	0X04fd
916d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICN90	0X04fe
917d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICN90U	0X050c
918d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICN90M	0X050b
919d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329AGBF		0X04ff
920d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICX17	0X0504
921d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICX17M	0X050a
922d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICX17U	0X0509
923d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICUNO	0X0564
924d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329MOTOROLA	0X0565
925d567592bSAdrian Chadd #define	BHND_BOARD_BCM94329OLYMPICLOCO	0X0568
926d567592bSAdrian Chadd 
927d567592bSAdrian Chadd /* 4336 SDIO board types */
928d567592bSAdrian Chadd #define	BHND_BOARD_BCM94336SD_WLBGABU	0x0511
929d567592bSAdrian Chadd #define	BHND_BOARD_BCM94336SD_WLBGAREF	0x0519
930d567592bSAdrian Chadd #define	BHND_BOARD_BCM94336SDGP		0x0538
931d567592bSAdrian Chadd #define	BHND_BOARD_BCM94336SDG		0x0519
932d567592bSAdrian Chadd #define	BHND_BOARD_BCM94336SDGN		0x0538
933d567592bSAdrian Chadd #define	BHND_BOARD_BCM94336SDGFC	0x056B
934d567592bSAdrian Chadd 
935d567592bSAdrian Chadd /* 4330 SDIO board types */
936d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330SDG		0x0528
937d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330SD_FCBGABU	0x052e
938d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330SD_WLBGABU	0x052f
939d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330SD_FCBGA	0x0530
940d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330FCSDAGB	0x0532
941d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330OLYMPICAMG	0x0549
942d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330OLYMPICAMGEPA	0x054F
943d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330OLYMPICUNO3	0x0551
944d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330WLSDAGB	0x0547
945d567592bSAdrian Chadd #define	BHND_BOARD_BCM94330CSPSDAGBB	0x054A
946d567592bSAdrian Chadd 
947d567592bSAdrian Chadd /* 43224 boards */
948d567592bSAdrian Chadd #define	BHND_BOARD_BCM943224X21		0x056e
949d567592bSAdrian Chadd #define	BHND_BOARD_BCM943224X21_FCC	0x00d1
950d567592bSAdrian Chadd #define	BHND_BOARD_BCM943224X21B	0x00e9
951d567592bSAdrian Chadd #define	BHND_BOARD_BCM943224M93		0x008b
952d567592bSAdrian Chadd #define	BHND_BOARD_BCM943224M93A	0x0090
953d567592bSAdrian Chadd #define	BHND_BOARD_BCM943224X16		0x0093
954d567592bSAdrian Chadd #define	BHND_BOARD_BCM94322X9		0x008d
955d567592bSAdrian Chadd #define	BHND_BOARD_BCM94322M35e		0x008e
956d567592bSAdrian Chadd 
957d567592bSAdrian Chadd /* 43228 Boards */
958d567592bSAdrian Chadd #define	BHND_BOARD_BCM943228BU8		0x0540
959d567592bSAdrian Chadd #define	BHND_BOARD_BCM943228BU9		0x0541
960d567592bSAdrian Chadd #define	BHND_BOARD_BCM943228BU		0x0542
961d567592bSAdrian Chadd #define	BHND_BOARD_BCM943227HM4L	0x0543
962d567592bSAdrian Chadd #define	BHND_BOARD_BCM943227HMB		0x0544
963d567592bSAdrian Chadd #define	BHND_BOARD_BCM943228HM4L	0x0545
964d567592bSAdrian Chadd #define	BHND_BOARD_BCM943228SD		0x0573
965d567592bSAdrian Chadd 
966d567592bSAdrian Chadd /* 43239 Boards */
967d567592bSAdrian Chadd #define	BHND_BOARD_BCM943239MOD		0x05ac
968d567592bSAdrian Chadd #define	BHND_BOARD_BCM943239REF		0x05aa
969d567592bSAdrian Chadd 
970d567592bSAdrian Chadd /* 4331 boards */
971d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X19		0x00D6	/* X19B */
972d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X28		0x00E4	/* X28 */
973d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X28B		0x010E	/* X28B */
974d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331PCIEBT3Ax	BCM94331X28
975d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X12_2G	0x00EC	/* X12 2G */
976d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X12_5G	0x00ED	/* X12 5G */
977d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X29B		0x00EF	/* X29B */
978d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X29D		0x010F	/* X29D */
979d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331CSAX		BCM94331X29B
980d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X19C		0x00F5	/* X19C */
981d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331X33		0x00F4	/* X33 */
982d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331BU		0x0523
983d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331S9BU		0x0524
984d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331MC		0x0525
985d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331MCI		0x0526
986d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331PCIEBT4	0x0527
987d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331HM		0x0574
988d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331PCIEDUAL	0x059B
989d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331MCH5		0x05A9
990d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331CS		0x05C6
991d567592bSAdrian Chadd #define	BHND_BOARD_BCM94331CD		0x05DA
992d567592bSAdrian Chadd 
993d567592bSAdrian Chadd /* 4314 Boards */
994d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314BU		0x05b1
995d567592bSAdrian Chadd 
996d567592bSAdrian Chadd /* 53572 Boards */
997d567592bSAdrian Chadd #define	BHND_BOARD_BCM953572BU		0x058D
998d567592bSAdrian Chadd #define	BHND_BOARD_BCM953572NR2		0x058E
999d567592bSAdrian Chadd #define	BHND_BOARD_BCM947188NR2		0x058F
1000d567592bSAdrian Chadd #define	BHND_BOARD_BCM953572SDRNR2	0x0590
1001d567592bSAdrian Chadd 
1002d567592bSAdrian Chadd /* 43236 boards */
1003d567592bSAdrian Chadd #define	BHND_BOARD_BCM943236OLYMPICSULLEY	0x594
1004d567592bSAdrian Chadd #define	BHND_BOARD_BCM943236PREPROTOBLU2O3	0x5b9
1005d567592bSAdrian Chadd #define	BHND_BOARD_BCM943236USBELNA		0x5f8
1006d567592bSAdrian Chadd 
1007d567592bSAdrian Chadd /* 4314 Boards */
1008d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314BUSDIO	0x05c8
1009d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314BGABU	0x05c9
1010d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314HMEPA	0x05ca
1011d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314HMEPABK	0x05cb
1012d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314SUHMEPA	0x05cc
1013d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314SUHM		0x05cd
1014d567592bSAdrian Chadd #define	BHND_BOARD_BCM94314HM		0x05d1
1015d567592bSAdrian Chadd 
1016d567592bSAdrian Chadd /* 4334 Boards */
1017d567592bSAdrian Chadd #define	BHND_BOARD_BCM94334FCAGBI	0x05df
1018d567592bSAdrian Chadd #define	BHND_BOARD_BCM94334WLAGBI	0x05dd
1019d567592bSAdrian Chadd 
1020d567592bSAdrian Chadd /* 4335 Boards */
1021d567592bSAdrian Chadd #define	BHND_BOARD_BCM94335X52		0x0114
1022d567592bSAdrian Chadd 
1023d567592bSAdrian Chadd /* 4345 Boards */
1024d567592bSAdrian Chadd #define	BHND_BOARD_BCM94345		0x0687
1025d567592bSAdrian Chadd 
1026d567592bSAdrian Chadd /* 4360 Boards */
1027d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X52C		0X0117
1028d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X52D		0X0137
1029d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X29C		0X0112
1030d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X29CP2	0X0134
1031d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X51		0x0111
1032d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X51P2	0x0129
1033d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X51A		0x0135
1034d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360X51B		0x0136
1035d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360CS		0x061B
1036d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360J28_D11AC2G	0x0c00
1037d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360J28_D11AC5G	0x0c01
1038d567592bSAdrian Chadd #define	BHND_BOARD_BCM94360USBH5_D11AC5G	0x06aa
1039d567592bSAdrian Chadd 
1040d567592bSAdrian Chadd /* 4350 Boards */
1041d567592bSAdrian Chadd #define	BHND_BOARD_BCM94350X52B		0X0116
1042d567592bSAdrian Chadd #define	BHND_BOARD_BCM94350X14		0X0131
1043d567592bSAdrian Chadd 
1044d567592bSAdrian Chadd /* 43217 Boards */
1045d567592bSAdrian Chadd #define	BHND_BOARD_BCM943217BU		0x05d5
1046d567592bSAdrian Chadd #define	BHND_BOARD_BCM943217HM2L	0x05d6
1047d567592bSAdrian Chadd #define	BHND_BOARD_BCM943217HMITR2L	0x05d7
1048d567592bSAdrian Chadd 
1049d567592bSAdrian Chadd /* 43142 Boards */
1050d567592bSAdrian Chadd #define	BHND_BOARD_BCM943142HM		0x05e0
1051d567592bSAdrian Chadd 
10524ad7e9b0SAdrian Chadd /* 43341 Boards */
1053d567592bSAdrian Chadd #define	BHND_BOARD_BCM943341WLABGS	0x062d
10544ad7e9b0SAdrian Chadd 
10554ad7e9b0SAdrian Chadd /* 43342 Boards */
1056d567592bSAdrian Chadd #define	BHND_BOARD_BCM943342FCAGBI	0x0641
1057d567592bSAdrian Chadd 
1058d567592bSAdrian Chadd /* 43602 Boards, unclear yet what boards will be created. */
1059d567592bSAdrian Chadd #define	BHND_BOARD_BCM943602RSVD1	0x06a5
1060d567592bSAdrian Chadd #define	BHND_BOARD_BCM943602RSVD2	0x06a6
1061d567592bSAdrian Chadd #define	BHND_BOARD_BCM943602X87		0X0133
1062d567592bSAdrian Chadd #define	BHND_BOARD_BCM943602X238	0X0132
1063d567592bSAdrian Chadd 
1064d567592bSAdrian Chadd /* 4354 board types */
1065d567592bSAdrian Chadd #define	BHND_BOARD_BCM94354WLSAGBI	0x06db
1066d567592bSAdrian Chadd #define	BHND_BOARD_BCM94354Z		0x0707
10674ad7e9b0SAdrian Chadd 
10684ad7e9b0SAdrian Chadd /* # of GPIO pins */
10694ad7e9b0SAdrian Chadd #define	BHND_BCM43XX_GPIO_NUMPINS	32
10704ad7e9b0SAdrian Chadd 
10714ad7e9b0SAdrian Chadd /* These values are used by dhd USB host driver. */
10724ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_4319	0x60000000
10734ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_4329	0x60000000
10744ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_4319	0x48000
10754ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_4329 	0x48000
10764ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_43236	0x70000
10774ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_43236	0x60000000
10784ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_4328	0x60000
10794ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_4328	0x80000000
10804ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_4322	0x60000
10814ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_4322	0x60000000
10824ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_4360	0xA0000
10834ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_4360	0x60000000
10844ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_43242	0x90000
10854ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_43242	0x60000000
10864ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_43143	0x70000
10874ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_43143	0x60000000
10884ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_SIZE_4350	0xC0000
10894ad7e9b0SAdrian Chadd #define	BHND_USB_RDL_RAM_BASE_4350	0x180800
10904ad7e9b0SAdrian Chadd 
10914ad7e9b0SAdrian Chadd /* generic defs for nvram "muxenab" bits
10924ad7e9b0SAdrian Chadd * Note: these differ for 4335a0. refer bcmchipc.h for specific mux options.
10934ad7e9b0SAdrian Chadd */
10944ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_UART		0x00000001
10954ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_GPIO		0x00000002
10964ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_ERCX		0x00000004	/* External Radio BT coex */
10974ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_JTAG		0x00000008
10984ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_HOST_WAKE	0x00000010	/* configure GPIO for SDIO host_wake */
10994ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_I2S_EN	0x00000020
11004ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_I2S_MASTER	0x00000040
11014ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_I2S_FULL	0x00000080
11024ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_SFLASH	0x00000100
11034ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_RFSWCTRL0	0x00000200
11044ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_RFSWCTRL1	0x00000400
11054ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_RFSWCTRL2	0x00000800
11064ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_SECI		0x00001000
11074ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_BT_LEGACY	0x00002000
11084ad7e9b0SAdrian Chadd #define	BHND_NVRAM_MUXENAB_HOST_WAKE1	0x00004000	/* configure alternative GPIO for SDIO host_wake */
11094ad7e9b0SAdrian Chadd 
11104ad7e9b0SAdrian Chadd /* Boot flags */
11114ad7e9b0SAdrian Chadd #define	BHND_BOOTFLAG_FLASH_KERNEL_NFLASH	0x00000001
11124ad7e9b0SAdrian Chadd #define	BHND_BOOTFLAG_FLASH_BOOT_NFLASH		0x00000002
11134ad7e9b0SAdrian Chadd 
11144ad7e9b0SAdrian Chadd #endif /* _BHND_BHND_IDS_H_ */
1115