User:Omega/Broadcom modules (Apple)/Android (bcmdevs)

Android (bcmdevs)

 * https://android.googlesource.com/kernel/common.git/+/bcmdhd-3.10/drivers/net/wireless/bcmdhd/include/bcmdevs.h
 * android/kernel/common.git/bcmdhd-3.10/drivers/net/wireless/bcmdhd/include/bcmdevs.h
 * blob: 678b860dca3e94ebaf987c0014e81200f1ac08d8

/* * Broadcom device-specific manifest constants. * * Copyright (C) 1999-2014, Broadcom Corporation * *      Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (the "GPL"), * available at http://www.broadcom.com/licenses/GPLv2.php, with the * following added to such license: * *      As a special exception, the copyright holders of this software give you * permission to link this software with independent modules, and to copy and * distribute the resulting executable under terms of your choice, provided that * you also meet, for each linked independent module, the terms and conditions of * the license of that module. An independent module is a module which is not * derived from this software. The special exception does not apply to any * modifications of the software. * *      Notwithstanding the above, under no circumstances may you combine this * software in any way with any other Broadcom software provided under a license * other than the GPL, without Broadcom's express prior written consent. * * $Id: bcmdevs.h 474307 2014-04-30 20:58:03Z $ */ /* PCI vendor IDs */
 * 1) ifndef	_BCMDEVS_H
 * 2) define	_BCMDEVS_H
 * 1) define	VENDOR_EPIGRAM		0xfeda
 * 2) define	VENDOR_BROADCOM		0x14e4
 * 3) define	VENDOR_3COM		0x10b7
 * 4) define	VENDOR_NETGEAR		0x1385
 * 5) define	VENDOR_DIAMOND		0x1092
 * 6) define	VENDOR_INTEL		0x8086
 * 7) define	VENDOR_DELL		0x1028
 * 8) define	VENDOR_HP		0x103c
 * 9) define	VENDOR_HP_COMPAQ	0x0e11
 * 10) define	VENDOR_APPLE		0x106b
 * 11) define VENDOR_SI_IMAGE		0x1095		/* Silicon Image */
 * 12) define VENDOR_BUFFALO		0x1154		/* Buffalo vendor id */
 * 13) define VENDOR_TI		0x104c		/* Texas Instruments */
 * 14) define VENDOR_RICOH		0x1180		/* Ricoh */
 * 15) define VENDOR_JMICRON		0x197b

/* PCMCIA vendor IDs */
 * 1) define	VENDOR_BROADCOM_PCMCIA	0x02d0

/* SDIO vendor IDs */
 * 1) define	VENDOR_BROADCOM_SDIO	0x00BF

/* DONGLE VID/PIDs */
 * 1) define BCM_DNGL_VID		0x0a5c
 * 2) define BCM_DNGL_BL_PID_4328	0xbd12
 * 3) define BCM_DNGL_BL_PID_4322	0xbd13
 * 4) define BCM_DNGL_BL_PID_4319   0xbd16
 * 5) define BCM_DNGL_BL_PID_43236  0xbd17
 * 6) define BCM_DNGL_BL_PID_4332	0xbd18
 * 7) define BCM_DNGL_BL_PID_4330	0xbd19
 * 8) define BCM_DNGL_BL_PID_4334	0xbd1a
 * 9) define BCM_DNGL_BL_PID_43239  0xbd1b
 * 10) define BCM_DNGL_BL_PID_4324	0xbd1c
 * 11) define BCM_DNGL_BL_PID_4360	0xbd1d
 * 12) define BCM_DNGL_BL_PID_43143	0xbd1e
 * 13) define BCM_DNGL_BL_PID_43242	0xbd1f
 * 14) define BCM_DNGL_BL_PID_43342	0xbd21
 * 15) define BCM_DNGL_BL_PID_4335	0xbd20
 * 16) define BCM_DNGL_BL_PID_43341	0xbd22
 * 17) define BCM_DNGL_BL_PID_4350   0xbd23
 * 18) define BCM_DNGL_BL_PID_4345   0xbd24
 * 19) define BCM_DNGL_BL_PID_4349	0xbd25
 * 20) define BCM_DNGL_BL_PID_4354	0xbd26
 * 21) define BCM_DNGL_BL_PID_43569  0xbd27
 * 22) define BCM_DNGL_BL_PID_43909	0xbd28
 * 23) define BCM_DNGL_BDC_PID	0x0bdc
 * 24) define BCM_DNGL_JTAG_PID	0x4a44

/* HW USB BLOCK [CPULESS USB] PIDs */
 * 1) define BCM_HWUSB_PID_43239    43239

/* PCI Device IDs */
 * 1) define	BCM4210_DEVICE_ID	0x1072		/* never used */
 * 2) define	BCM4230_DEVICE_ID	0x1086		/* never used */
 * 3) define	BCM4401_ENET_ID		0x170c		/* 4401b0 enet cards */
 * 4) define	BCM3352_DEVICE_ID	0x3352		/* bcm3352 device id */
 * 5) define	BCM3360_DEVICE_ID	0x3360		/* bcm3360 device id */
 * 6) define	BCM4211_DEVICE_ID	0x4211
 * 7) define	BCM4231_DEVICE_ID	0x4231
 * 8) define	BCM4303_D11B_ID		0x4303		/* 4303 802.11b */
 * 9) define	BCM4311_D11G_ID		0x4311		/* 4311 802.11b/g id */
 * 10) define	BCM4311_D11DUAL_ID	0x4312		/* 4311 802.11a/b/g id */
 * 11) define	BCM4311_D11A_ID		0x4313		/* 4311 802.11a id */
 * 12) define	BCM4328_D11DUAL_ID	0x4314		/* 4328/4312 802.11a/g id */
 * 13) define	BCM4328_D11G_ID		0x4315		/* 4328/4312 802.11g id */
 * 14) define	BCM4328_D11A_ID		0x4316		/* 4328/4312 802.11a id */
 * 15) define	BCM4318_D11G_ID		0x4318		/* 4318 802.11b/g id */
 * 16) define	BCM4318_D11DUAL_ID	0x4319		/* 4318 802.11a/b/g id */
 * 17) define	BCM4318_D11A_ID		0x431a		/* 4318 802.11a id */
 * 18) define	BCM4325_D11DUAL_ID	0x431b		/* 4325 802.11a/g id */
 * 19) define	BCM4325_D11G_ID		0x431c		/* 4325 802.11g id */
 * 20) define	BCM4325_D11A_ID		0x431d		/* 4325 802.11a id */
 * 21) define	BCM4306_D11G_ID		0x4320		/* 4306 802.11g */
 * 22) define	BCM4306_D11A_ID		0x4321		/* 4306 802.11a */
 * 23) define	BCM4306_UART_ID		0x4322		/* 4306 uart */
 * 24) define	BCM4306_V90_ID		0x4323		/* 4306 v90 codec */
 * 25) define	BCM4306_D11DUAL_ID	0x4324		/* 4306 dual A+B */
 * 26) define	BCM4306_D11G_ID2	0x4325		/* BCM4306_D11G_ID; INF */
 * 27) define	BCM4321_D11N_ID		0x4328		/* 4321 802.11n dualband */
 * 28) define	BCM4321_D11N2G_ID	0x4329		/* 4321 802.11n 2.4Ghz band */
 * 29) define	BCM4321_D11N5G_ID	0x432a		/* 4321 802.11n 5Ghz band */
 * 30) define BCM4322_D11N_ID		0x432b		/* 4322 802.11n dualband */
 * 31) define BCM4322_D11N2G_ID	0x432c		/* 4322 802.11n 2.4GHz */
 * 32) define BCM4322_D11N5G_ID	0x432d		/* 4322 802.11n 5GHz */
 * 33) define BCM4329_D11N_ID		0x432e		/* 4329 802.11n dualband */
 * 34) define BCM4329_D11N2G_ID	0x432f		/* 4329 802.11n 2.4G */
 * 35) define BCM4329_D11N5G_ID	0x4330		/* 4329 802.11n 5G */
 * 36) define	BCM4315_D11DUAL_ID	0x4334		/* 4315 802.11a/g id */
 * 37) define	BCM4315_D11G_ID		0x4335		/* 4315 802.11g id */
 * 38) define	BCM4315_D11A_ID		0x4336		/* 4315 802.11a id */
 * 39) define BCM4319_D11N_ID		0x4337		/* 4319 802.11n dualband */
 * 40) define BCM4319_D11N2G_ID	0x4338		/* 4319 802.11n 2.4G */
 * 41) define BCM4319_D11N5G_ID	0x4339		/* 4319 802.11n 5G device */
 * 42) define BCM43231_D11N2G_ID	0x4340		/* 43231 802.11n 2.4GHz */
 * 43) define BCM43221_D11N2G_ID	0x4341		/* 43221 802.11n 2.4GHz */
 * 44) define BCM43222_D11N_ID	0x4350		/* 43222 802.11n dualband */
 * 45) define BCM43222_D11N2G_ID	0x4351		/* 43222 802.11n 2.4GHz */
 * 46) define BCM43222_D11N5G_ID	0x4352		/* 43222 802.11n 5GHz */
 * 47) define BCM43224_D11N_ID	0x4353		/* 43224 802.11n dualband */
 * 48) define BCM43224_D11N_ID_VEN1	0x0576		/* Vendor spec. 43224 802.11n db */
 * 49) define BCM43226_D11N_ID	0x4354		/* 43226 802.11n dualband */
 * 50) define BCM43236_D11N_ID	0x4346		/* 43236 802.11n dualband */
 * 51) define BCM43236_D11N2G_ID	0x4347		/* 43236 802.11n 2.4GHz */
 * 52) define BCM43236_D11N5G_ID	0x4348		/* 43236 802.11n 5GHz */
 * 53) define BCM43225_D11N2G_ID	0x4357		/* 43225 802.11n 2.4GHz */
 * 54) define BCM43421_D11N_ID	0xA99D		/* 43421 802.11n dualband device */
 * 55) define BCM4313_D11N2G_ID	0x4727		/* 4313 802.11n 2.4G device */
 * 56) define BCM4330_D11N_ID        0x4360          /* 4330 802.11n dualband device */
 * 57) define BCM4330_D11N2G_ID      0x4361          /* 4330 802.11n 2.4G device */
 * 58) define BCM4330_D11N5G_ID      0x4362          /* 4330 802.11n 5G device */
 * 59) define BCM4336_D11N_ID		0x4343		/* 4336 802.11n 2.4GHz device */
 * 60) define BCM6362_D11N_ID		0x435f		/* 6362 802.11n dualband device */
 * 61) define BCM6362_D11N2G_ID	0x433f		/* 6362 802.11n 2.4Ghz band id */
 * 62) define BCM6362_D11N5G_ID	0x434f		/* 6362 802.11n 5Ghz band id */
 * 63) define BCM4331_D11N_ID		0x4331		/* 4331 802.11n dualband id */
 * 64) define BCM4331_D11N2G_ID	0x4332		/* 4331 802.11n 2.4Ghz band id */
 * 65) define BCM4331_D11N5G_ID	0x4333		/* 4331 802.11n 5Ghz band id */
 * 66) define BCM43237_D11N_ID	0x4355		/* 43237 802.11n dualband device */
 * 67) define BCM43237_D11N5G_ID	0x4356		/* 43237 802.11n 5GHz device */
 * 68) define BCM43227_D11N2G_ID	0x4358		/* 43228 802.11n 2.4GHz device */
 * 69) define BCM43228_D11N_ID	0x4359		/* 43228 802.11n DualBand device */
 * 70) define BCM43228_D11N5G_ID	0x435a		/* 43228 802.11n 5GHz device */
 * 71) define BCM43362_D11N_ID	0x4363		/* 43362 802.11n 2.4GHz device */
 * 72) define BCM43239_D11N_ID	0x4370		/* 43239 802.11n dualband device */
 * 73) define BCM4324_D11N_ID		0x4374		/* 4324 802.11n dualband device */
 * 74) define BCM43217_D11N2G_ID	0x43a9		/* 43217 802.11n 2.4GHz device */
 * 75) define BCM43131_D11N2G_ID	0x43aa		/* 43131 802.11n 2.4GHz device */
 * 76) define BCM4314_D11N2G_ID	0x4364		/* 4314 802.11n 2.4G device */
 * 77) define BCM43142_D11N2G_ID	0x4365		/* 43142 802.11n 2.4G device */
 * 78) define BCM43143_D11N2G_ID	0x4366		/* 43143 802.11n 2.4G device */
 * 79) define BCM4334_D11N_ID		0x4380		/* 4334 802.11n dualband device */
 * 80) define BCM4334_D11N2G_ID	0x4381		/* 4334 802.11n 2.4G device */
 * 81) define BCM4334_D11N5G_ID	0x4382		/* 4334 802.11n 5G device */
 * 82) define BCM43342_D11N_ID	0x4383		/* 43342 802.11n dualband device */
 * 83) define BCM43342_D11N2G_ID	0x4384		/* 43342 802.11n 2.4G device */
 * 84) define BCM43342_D11N5G_ID	0x4385		/* 43342 802.11n 5G device */
 * 85) define BCM43341_D11N_ID	0x4386		/* 43341 802.11n dualband device */
 * 86) define BCM43341_D11N2G_ID	0x4387		/* 43341 802.11n 2.4G device */
 * 87) define BCM43341_D11N5G_ID	0x4388		/* 43341 802.11n 5G device */
 * 88) define BCM4360_D11AC_ID	0x43a0
 * 89) define BCM4360_D11AC2G_ID	0x43a1
 * 90) define BCM4360_D11AC5G_ID	0x43a2
 * 91) define BCM4345_D11AC_ID	0x43ab		/* 4345 802.11ac dualband device */
 * 92) define BCM4345_D11AC2G_ID	0x43ac		/* 4345 802.11ac 2.4G device */
 * 93) define BCM4345_D11AC5G_ID	0x43ad		/* 4345 802.11ac 5G device */
 * 94) define BCM4335_D11AC_ID	0x43ae
 * 95) define BCM4335_D11AC2G_ID	0x43af
 * 96) define BCM4335_D11AC5G_ID	0x43b0
 * 97) define BCM4352_D11AC_ID	0x43b1		/* 4352 802.11ac dualband device */
 * 98) define BCM4352_D11AC2G_ID	0x43b2		/* 4352 802.11ac 2.4G device */
 * 99) define BCM4352_D11AC5G_ID	0x43b3		/* 4352 802.11ac 5G device */
 * 100) define BCM43602_D11AC_ID	0x43ba		/* ac dualband PCI devid SPROM programmed */
 * 101) define BCM43602_D11AC2G_ID	0x43bb		/* 43602 802.11ac 2.4G device */
 * 102) define BCM43602_D11AC5G_ID	0x43bc		/* 43602 802.11ac 5G device */
 * 103) define BCM4349_D11AC_ID	0x4349		/* 4349 802.11ac dualband device */
 * 104) define BCM4349_D11AC2G_ID	0x43dd		/* 4349 802.11ac 2.4G device */
 * 105) define BCM4349_D11AC5G_ID	0x43de		/* 4349 802.11ac 5G device */
 * 106) define BCM4355_D11AC_ID	0x43d3		/* 4355 802.11ac dualband device */
 * 107) define BCM4355_D11AC2G_ID	0x43d4		/* 4355 802.11ac 2.4G device */
 * 108) define BCM4355_D11AC5G_ID	0x43d5		/* 4355 802.11ac 5G device */
 * 109) define BCM4359_D11AC_ID	0x43d6		/* 4359 802.11ac dualband device */
 * 110) define BCM4359_D11AC2G_ID	0x43d7		/* 4359 802.11ac 2.4G device */
 * 111) define BCM4359_D11AC5G_ID	0x43d8		/* 4359 802.11ac 5G device */

--- /* PCI Subsystem ID */
 * 1) define BCM943228HMB_SSID_VEN1	0x0607
 * 2) define BCM94313HMGBL_SSID_VEN1	0x0608
 * 3) define BCM94313HMG_SSID_VEN1	0x0609
 * 4) define BCM943142HM_SSID_VEN1	0x0611
 * 5) define BCM43143_D11N2G_ID	0x4366		/* 43143 802.11n 2.4G */
 * 6) define BCM43242_D11N_ID	0x4367		/* 43242 802.11n dualband */
 * 7) define BCM43242_D11N2G_ID	0x4368		/* 43242 802.11n 2.4G */
 * 8) define BCM43242_D11N5G_ID	0x4369		/* 43242 802.11n 5G */
 * 9) define BCM4350_D11AC_ID	0x43a3
 * 10) define BCM4350_D11AC2G_ID	0x43a4
 * 11) define BCM4350_D11AC5G_ID	0x43a5
 * 12) define BCM43556_D11AC_ID	0x43b7
 * 13) define BCM43556_D11AC2G_ID	0x43b8
 * 14) define BCM43556_D11AC5G_ID	0x43b9
 * 15) define BCM43558_D11AC_ID	0x43c0
 * 16) define BCM43558_D11AC2G_ID	0x43c1
 * 17) define BCM43558_D11AC5G_ID	0x43c2
 * 18) define BCM43566_D11AC_ID	0x43d3
 * 19) define BCM43566_D11AC2G_ID	0x43d4
 * 20) define BCM43566_D11AC5G_ID	0x43d5
 * 21) define BCM43568_D11AC_ID	0x43d6
 * 22) define BCM43568_D11AC2G_ID	0x43d7
 * 23) define BCM43568_D11AC5G_ID	0x43d8
 * 24) define BCM43569_D11AC_ID	0x43d9
 * 25) define BCM43569_D11AC2G_ID	0x43da
 * 26) define BCM43569_D11AC5G_ID	0x43db
 * 27) define BCM43570_D11AC_ID	0x43d9
 * 28) define BCM43570_D11AC2G_ID	0x43da
 * 29) define BCM43570_D11AC5G_ID	0x43db
 * 30) define BCM4354_D11AC_ID	0x43df		/* 4354 802.11ac dualband */
 * 31) define BCM4354_D11AC2G_ID	0x43e0		/* 4354 802.11ac 2.4G */
 * 32) define BCM4354_D11AC5G_ID	0x43e1		/* 4354 802.11ac 5G */
 * 33) define BCM43430_D11N2G_ID	0x43e2		/* 43430 802.11n 2.4G */
 * 34) define BCM43349_D11N_ID	0x43e6		/* 43349 802.11n dualband */
 * 35) define BCM43349_D11N2G_ID	0x43e7		/* 43349 802.11n 2.4Ghz band */
 * 36) define BCM43349_D11N5G_ID	0x43e8		/* 43349 802.11n 5Ghz band */
 * 37) define BCM4358_D11AC_ID       0x43e9          /* 4358 802.11ac dualband */
 * 38) define BCM4358_D11AC2G_ID     0x43ea          /* 4358 802.11ac 2.4G */
 * 39) define BCM4358_D11AC5G_ID     0x43eb          /* 4358 802.11ac 5G */
 * 40) define BCM4356_D11AC_ID	0x43ec		/* 4356 802.11ac dualband */
 * 41) define BCM4356_D11AC2G_ID	0x43ed		/* 4356 802.11ac 2.4G device */
 * 42) define BCM4356_D11AC5G_ID	0x43ee		/* 4356 802.11ac 5G device */


 * 1) define	BCMGPRS_UART_ID		0x4333		/* Uart id used by 4306/gprs card */
 * 2) define	BCMGPRS2_UART_ID	0x4344		/* Uart id used by 4306/gprs card */
 * 3) define FPGA_JTAGM_ID		0x43f0		/* FPGA jtagm device id */
 * 4) define BCM_JTAGM_ID		0x43f1		/* BCM jtagm device id */
 * 5) define SDIOH_FPGA_ID		0x43f2		/* sdio host fpga */
 * 6) define BCM_SDIOH_ID		0x43f3		/* BCM sdio host id */
 * 7) define SDIOD_FPGA_ID		0x43f4		/* sdio device fpga */
 * 8) define SPIH_FPGA_ID		0x43f5		/* PCI SPI Host Controller FPGA */
 * 9) define BCM_SPIH_ID		0x43f6		/* Synopsis SPI Host Controller */
 * 10) define MIMO_FPGA_ID		0x43f8		/* FPGA mimo minimacphy device id */
 * 11) define BCM_JTAGM2_ID		0x43f9		/* BCM alternate jtagm device id */
 * 12) define SDHCI_FPGA_ID		0x43fa		/* Standard SDIO Host Controller FPGA */

---
 * 1) define	BCM4402_ENET_ID		0x4402		/* 4402 enet */
 * 2) define	BCM4402_V90_ID		0x4403		/* 4402 v90 codec */
 * 3) define	BCM4410_DEVICE_ID	0x4410		/* bcm44xx family pci iline */
 * 4) define	BCM4412_DEVICE_ID	0x4412		/* bcm44xx family pci enet */
 * 5) define	BCM4430_DEVICE_ID	0x4430		/* bcm44xx family cardbus iline */
 * 6) define	BCM4432_DEVICE_ID	0x4432		/* bcm44xx family cardbus enet */
 * 7) define	BCM4704_ENET_ID		0x4706		/* 4704 enet (Use 47XX_ENET_ID instead!) */
 * 8) define	BCM4710_DEVICE_ID	0x4710		/* 4710 primary function 0 */
 * 9) define	BCM47XX_AUDIO_ID	0x4711		/* 47xx audio codec */
 * 10) define	BCM47XX_V90_ID		0x4712		/* 47xx v90 codec */
 * 11) define	BCM47XX_ENET_ID		0x4713		/* 47xx enet */
 * 12) define	BCM47XX_EXT_ID		0x4714		/* 47xx external i/f */
 * 13) define	BCM47XX_GMAC_ID		0x4715		/* 47xx Unimac based GbE */
 * 14) define	BCM47XX_USBH_ID		0x4716		/* 47xx usb host */
 * 15) define	BCM47XX_USBD_ID		0x4717		/* 47xx usb device */
 * 16) define	BCM47XX_IPSEC_ID	0x4718		/* 47xx ipsec */
 * 17) define	BCM47XX_ROBO_ID		0x4719		/* 47xx/53xx roboswitch core */
 * 18) define	BCM47XX_USB20H_ID	0x471a		/* 47xx usb 2.0 host */
 * 19) define	BCM47XX_USB20D_ID	0x471b		/* 47xx usb 2.0 device */
 * 20) define	BCM47XX_ATA100_ID	0x471d		/* 47xx parallel ATA */
 * 21) define	BCM47XX_SATAXOR_ID	0x471e		/* 47xx serial ATA & XOR DMA */
 * 22) define	BCM47XX_GIGETH_ID	0x471f		/* 47xx GbE (5700) */
 * 23) define	BCM4712_MIPS_ID		0x4720		/* 4712 base devid */
 * 24) define	BCM4716_DEVICE_ID	0x4722		/* 4716 base devid */
 * 25) define	BCM47XX_USB30H_ID	0x472a		/* 47xx usb 3.0 host */
 * 26) define	BCM47XX_USB30D_ID	0x472b		/* 47xx usb 3.0 device */
 * 27) define BCM47XX_SMBUS_EMU_ID	0x47fe		/* 47xx emulated SMBus device */
 * 28) define	BCM47XX_XOR_EMU_ID	0x47ff		/* 47xx emulated XOR engine */


 * 1) define	EPI41210_DEVICE_ID	0xa0fa		/* bcm4210 */
 * 2) define	EPI41230_DEVICE_ID	0xa10e		/* bcm4230 */
 * 3) define JINVANI_SDIOH_ID	0x4743		/* Jinvani SDIO Gold Host */
 * 4) define BCM27XX_SDIOH_ID	0x2702		/* BCM27xx Standard SDIO Host */
 * 5) define PCIXX21_FLASHMEDIA_ID	0x803b		/* TI PCI xx21 Standard Host Controller */
 * 6) define PCIXX21_SDIOH_ID	0x803c		/* TI PCI xx21 Standard Host Controller */
 * 7) define R5C822_SDIOH_ID		0x0822		/* Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host */
 * 8) define JMICRON_SDIOH_ID	0x2381		/* JMicron Standard SDIO Host Controller */

- /* Chip IDs */ (CHIPID(chipid) == BCM4354_CHIP_ID) || \ (CHIPID(chipid) == BCM4356_CHIP_ID) || \ (CHIPID(chipid) == BCM43556_CHIP_ID) || \ (CHIPID(chipid) == BCM43558_CHIP_ID) || \ (CHIPID(chipid) == BCM43566_CHIP_ID) || \ (CHIPID(chipid) == BCM43568_CHIP_ID) || \ (CHIPID(chipid) == BCM43569_CHIP_ID) || \ (CHIPID(chipid) == BCM43570_CHIP_ID) || \ (CHIPID(chipid) == BCM4358_CHIP_ID)) /* 4350 variations */				(CHIPID(chipid) == BCM4355_CHIP_ID) || \				(CHIPID(chipid) == BCM4359_CHIP_ID)) case BCM4355_CHIP_ID: \ case BCM4359_CHIP_ID
 * 1) define	BCM4306_CHIP_ID		0x4306		/* 4306 chipcommon chipid */
 * 2) define	BCM4311_CHIP_ID		0x4311		/* 4311 PCIe 802.11a/b/g */
 * 3) define	BCM43111_CHIP_ID	43111		/* 43111 chipcommon chipid (OTP chipid) */
 * 4) define	BCM43112_CHIP_ID	43112		/* 43112 chipcommon chipid (OTP chipid) */
 * 5) define	BCM4312_CHIP_ID		0x4312		/* 4312 chipcommon chipid */
 * 6) define BCM4313_CHIP_ID		0x4313		/* 4313 chip id */
 * 7) define	BCM43131_CHIP_ID	43131		/* 43131 chip id (OTP chipid) */
 * 8) define	BCM4315_CHIP_ID		0x4315		/* 4315 chip id */
 * 9) define	BCM4318_CHIP_ID		0x4318		/* 4318 chipcommon chipid */
 * 10) define	BCM4319_CHIP_ID		0x4319		/* 4319 chip id */
 * 11) define	BCM4320_CHIP_ID		0x4320		/* 4320 chipcommon chipid */
 * 12) define	BCM4321_CHIP_ID		0x4321		/* 4321 chipcommon chipid */
 * 13) define	BCM43217_CHIP_ID	43217		/* 43217 chip id (OTP chipid) */
 * 14) define	BCM4322_CHIP_ID		0x4322		/* 4322 chipcommon chipid */
 * 15) define	BCM43221_CHIP_ID	43221		/* 43221 chipcommon chipid (OTP chipid) */
 * 16) define	BCM43222_CHIP_ID	43222		/* 43222 chipcommon chipid */
 * 17) define	BCM43224_CHIP_ID	43224		/* 43224 chipcommon chipid */
 * 18) define	BCM43225_CHIP_ID	43225		/* 43225 chipcommon chipid */
 * 19) define	BCM43227_CHIP_ID	43227		/* 43227 chipcommon chipid */
 * 20) define	BCM43228_CHIP_ID	43228		/* 43228 chipcommon chipid */
 * 21) define	BCM43226_CHIP_ID	43226		/* 43226 chipcommon chipid */
 * 22) define	BCM43231_CHIP_ID	43231		/* 43231 chipcommon chipid (OTP chipid) */
 * 23) define	BCM43234_CHIP_ID	43234		/* 43234 chipcommon chipid */
 * 24) define	BCM43235_CHIP_ID	43235		/* 43235 chipcommon chipid */
 * 25) define	BCM43236_CHIP_ID	43236		/* 43236 chipcommon chipid */
 * 26) define	BCM43237_CHIP_ID	43237		/* 43237 chipcommon chipid */
 * 27) define	BCM43238_CHIP_ID	43238		/* 43238 chipcommon chipid */
 * 28) define	BCM43239_CHIP_ID	43239		/* 43239 chipcommon chipid */
 * 29) define	BCM43420_CHIP_ID	43420		/* 43222 chipcommon chipid (OTP, RBBU) */
 * 30) define	BCM43421_CHIP_ID	43421		/* 43224 chipcommon chipid (OTP, RBBU) */
 * 31) define	BCM43428_CHIP_ID	43428		/* 43228 chipcommon chipid (OTP, RBBU) */
 * 32) define	BCM43431_CHIP_ID	43431		/* 4331 chipcommon chipid (OTP, RBBU) */
 * 33) define	BCM43460_CHIP_ID	43460		/* 4360 chipcommon chipid (OTP, RBBU) */
 * 34) define	BCM4325_CHIP_ID		0x4325		/* 4325 chip id */
 * 35) define	BCM4328_CHIP_ID		0x4328		/* 4328 chip id */
 * 36) define	BCM4329_CHIP_ID		0x4329		/* 4329 chipcommon chipid */
 * 37) define	BCM4331_CHIP_ID		0x4331		/* 4331 chipcommon chipid */
 * 38) define BCM4336_CHIP_ID		0x4336		/* 4336 chipcommon chipid */
 * 39) define BCM43362_CHIP_ID	43362		/* 43362 chipcommon chipid */
 * 40) define BCM4330_CHIP_ID		0x4330		/* 4330 chipcommon chipid */
 * 41) define BCM6362_CHIP_ID		0x6362		/* 6362 chipcommon chipid */
 * 42) define BCM4314_CHIP_ID		0x4314		/* 4314 chipcommon chipid */
 * 43) define BCM43142_CHIP_ID	43142		/* 43142 chipcommon chipid */
 * 44) define BCM43143_CHIP_ID	43143		/* 43143 chipcommon chipid */
 * 45) define	BCM4324_CHIP_ID		0x4324		/* 4324 chipcommon chipid */
 * 46) define	BCM43242_CHIP_ID	43242		/* 43242 chipcommon chipid */
 * 47) define	BCM43243_CHIP_ID	43243		/* 43243 chipcommon chipid */
 * 48) define BCM4334_CHIP_ID		0x4334		/* 4334 chipcommon chipid */
 * 49) define BCM4335_CHIP_ID		0x4335		/* 4335 chipcommon chipid */
 * 50) define BCM4339_CHIP_ID		0x4339		/* 4339 chipcommon chipid */
 * 51) define BCM43349_CHIP_ID	43349			/* 43349(0xA955) chipcommon chipid */
 * 52) define BCM4360_CHIP_ID		0x4360         /* 4360 chipcommon chipid */
 * 53) define BCM4352_CHIP_ID		0x4352         /* 4352 chipcommon chipid */
 * 54) define BCM43526_CHIP_ID	0xAA06
 * 55) define BCM43340_CHIP_ID	43340		/* 43340 chipcommon chipid */
 * 56) define BCM43341_CHIP_ID	43341		/* 43341 chipcommon chipid */
 * 57) define BCM43342_CHIP_ID	43342		/* 43342 chipcommon chipid */
 * 58) define BCM4350_CHIP_ID		0x4350         /* 4350 chipcommon chipid */
 * 59) define BCM4354_CHIP_ID		0x4354         /* 4354 chipcommon chipid */
 * 60) define BCM4356_CHIP_ID		0x4356         /* 4356 chipcommon chipid */
 * 61) define BCM43556_CHIP_ID	0xAA24         /* 43556 chipcommon chipid */
 * 62) define BCM43558_CHIP_ID	0xAA26         /* 43558 chipcommon chipid */
 * 63) define BCM43566_CHIP_ID	0xAA2E         /* 43566 chipcommon chipid */
 * 64) define BCM43568_CHIP_ID	0xAA30         /* 43568 chipcommon chipid */
 * 65) define BCM43569_CHIP_ID	0xAA31         /* 43569 chipcommon chipid */
 * 66) define BCM43570_CHIP_ID	0xAA32         /* 43570 chipcommon chipid */
 * 67) define BCM4358_CHIP_ID        0x4358          /* 4358 chipcommon chipid */
 * 68) define BCM4350_CHIP(chipid)	((CHIPID(chipid) == BCM4350_CHIP_ID) || \
 * 1) define BCM4345_CHIP_ID		0x4345		/* 4345 chipcommon chipid */
 * 2) define BCM43430_CHIP_ID	43430		/* 43430 chipcommon chipid */
 * 3) define BCM4349_CHIP_ID		0x4349		/* 4349 chipcommon chipid */
 * 4) define BCM4355_CHIP_ID		0x4355		/* 4355 chipcommon chipid */
 * 5) define BCM4359_CHIP_ID		0x4359		/* 4359 chipcommon chipid */
 * 6) define BCM4349_CHIP(chipid)	((CHIPID(chipid) == BCM4349_CHIP_ID) || \
 * 1) define BCM4349_CHIP_GRPID		BCM4349_CHIP_ID: \
 * 1) define BCM43602_CHIP_ID	0xaa52		/* 43602 chipcommon chipid */
 * 2) define BCM43462_CHIP_ID	0xa9c6		/* 43462 chipcommon chipid */
 * 3) define	BCM4342_CHIP_ID		4342		/* 4342 chipcommon chipid (OTP, RBBU) */
 * 4) define	BCM4402_CHIP_ID		0x4402		/* 4402 chipid */
 * 5) define	BCM4704_CHIP_ID		0x4704		/* 4704 chipcommon chipid */
 * 6) define	BCM4706_CHIP_ID		0x5300		/* 4706 chipcommon chipid */
 * 7) define BCM4707_CHIP_ID		53010		/* 4707 chipcommon chipid */
 * 8) define BCM53018_CHIP_ID	53018		/* 53018 chipcommon chipid */
 * 9) define BCM4707_CHIP(chipid)	(((chipid) == BCM4707_CHIP_ID) || ((chipid) == BCM53018_CHIP_ID))
 * 10) define	BCM4710_CHIP_ID		0x4710		/* 4710 chipid */
 * 11) define	BCM4712_CHIP_ID		0x4712		/* 4712 chipcommon chipid */
 * 12) define	BCM4716_CHIP_ID		0x4716		/* 4716 chipcommon chipid */
 * 13) define	BCM47162_CHIP_ID	47162		/* 47162 chipcommon chipid */
 * 14) define	BCM4748_CHIP_ID		0x4748		/* 4716 chipcommon chipid (OTP, RBBU) */
 * 15) define	BCM4749_CHIP_ID		0x4749		/* 5357 chipcommon chipid (OTP, RBBU) */
 * 16) define BCM4785_CHIP_ID		0x4785		/* 4785 chipcommon chipid */
 * 17) define	BCM5350_CHIP_ID		0x5350		/* 5350 chipcommon chipid */
 * 18) define	BCM5352_CHIP_ID		0x5352		/* 5352 chipcommon chipid */
 * 19) define	BCM5354_CHIP_ID		0x5354		/* 5354 chipcommon chipid */
 * 20) define BCM5365_CHIP_ID		0x5365		/* 5365 chipcommon chipid */
 * 21) define	BCM5356_CHIP_ID		0x5356		/* 5356 chipcommon chipid */
 * 22) define	BCM5357_CHIP_ID		0x5357		/* 5357 chipcommon chipid */
 * 23) define	BCM53572_CHIP_ID	53572		/* 53572 chipcommon chipid */

/* Package IDs */
 * 1) define	BCM4303_PKG_ID		2		/* 4303 package id */
 * 2) define	BCM4309_PKG_ID		1		/* 4309 package id */
 * 3) define	BCM4712LARGE_PKG_ID	0		/* 340pin 4712 package id */
 * 4) define	BCM4712SMALL_PKG_ID	1		/* 200pin 4712 package id */
 * 5) define	BCM4712MID_PKG_ID	2		/* 225pin 4712 package id */
 * 6) define BCM4328USBD11G_PKG_ID	2		/* 4328 802.11g USB package id */
 * 7) define BCM4328USBDUAL_PKG_ID	3		/* 4328 802.11a/g USB package id */
 * 8) define BCM4328SDIOD11G_PKG_ID	4		/* 4328 802.11g SDIO package id */
 * 9) define BCM4328SDIODUAL_PKG_ID	5		/* 4328 802.11a/g SDIO package id */
 * 10) define BCM4329_289PIN_PKG_ID	0		/* 4329 289-pin package id */
 * 11) define BCM4329_182PIN_PKG_ID	1		/* 4329N 182-pin package id */
 * 12) define BCM5354E_PKG_ID		1		/* 5354E package id */
 * 13) define	BCM4716_PKG_ID		8		/* 4716 package id */
 * 14) define	BCM4717_PKG_ID		9		/* 4717 package id */
 * 15) define	BCM4718_PKG_ID		10		/* 4718 package id */
 * 16) define BCM5356_PKG_NONMODE	1		/* 5356 package without nmode suppport */
 * 17) define BCM5358U_PKG_ID		8		/* 5358U package id */
 * 18) define BCM5358_PKG_ID		9		/* 5358 package id */
 * 19) define BCM47186_PKG_ID		10		/* 47186 package id */
 * 20) define BCM5357_PKG_ID		11		/* 5357 package id */
 * 21) define BCM5356U_PKG_ID		12		/* 5356U package id */
 * 22) define BCM53572_PKG_ID		8		/* 53572 package id */
 * 23) define BCM5357C0_PKG_ID	8		/* 5357c0 package id (the same as 53572) */
 * 24) define BCM47188_PKG_ID		9		/* 47188 package id */
 * 25) define BCM5358C0_PKG_ID	0xa		/* 5358c0 package id */
 * 26) define BCM5356C0_PKG_ID	0xb		/* 5356c0 package id */
 * 27) define BCM4331TT_PKG_ID       8		/* 4331 12x12 package id */
 * 28) define BCM4331TN_PKG_ID       9		/* 4331 12x9 package id */
 * 29) define BCM4331TNA0_PKG_ID    0xb		/* 4331 12x9 package id */
 * 30) define	BCM4706L_PKG_ID		1		/* 4706L package id */
 * 31) define HDLSIM5350_PKG_ID	1		/* HDL simulator package id for a 5350 */
 * 32) define HDLSIM_PKG_ID		14		/* HDL simulator package id */
 * 33) define HWSIM_PKG_ID		15		/* Hardware simulator package id */
 * 34) define BCM43224_FAB_CSM	0x8		/* the chip is manufactured by CSM */
 * 35) define BCM43224_FAB_SMIC	0xa		/* the chip is manufactured by SMIC */
 * 36) define BCM4336_WLBGA_PKG_ID	0x8
 * 37) define BCM4330_WLBGA_PKG_ID	0x0
 * 38) define BCM4314PCIE_ARM_PKG_ID		(8 | 0)	/* 4314 QFN PCI package id, bit 3 tie high */
 * 39) define BCM4314SDIO_PKG_ID		(8 | 1)	/* 4314 QFN SDIO package id */
 * 40) define BCM4314PCIE_PKG_ID		(8 | 2)	/* 4314 QFN PCI (ARM-less) package id */
 * 41) define BCM4314SDIO_ARM_PKG_ID		(8 | 3)	/* 4314 QFN SDIO (ARM-less) package id */
 * 42) define BCM4314SDIO_FPBGA_PKG_ID	(8 | 4)	/* 4314 FpBGA SDIO package id */
 * 43) define BCM4314DEV_PKG_ID		(8 | 6)	/* 4314 Developement package id */
 * 44) define BCM4707_PKG_ID		1		/* 4707 package id */
 * 45) define BCM4708_PKG_ID		2		/* 4708 package id */
 * 46) define BCM4709_PKG_ID		0		/* 4709 package id */
 * 47) define PCIXX21_FLASHMEDIA0_ID	0x8033		/* TI PCI xx21 Standard Host Controller */
 * 48) define PCIXX21_SDIOH0_ID	0x8034		/* TI PCI xx21 Standard Host Controller */
 * 49) define BCM4335_WLCSP_PKG_ID	(0x0)	/* WLCSP Module/Mobile SDIO/HSIC. */
 * 50) define BCM4335_FCBGA_PKG_ID	(0x1)	/* FCBGA PC/Embeded/Media PCIE/SDIO */
 * 51) define BCM4335_WLBGA_PKG_ID	(0x2)	/* WLBGA COB/Mobile SDIO/HSIC. */
 * 52) define BCM4335_FCBGAD_PKG_ID	(0x3)	/* FCBGA Debug Debug/Dev All if's. */
 * 53) define BCM4335_PKG_MASK	(0x3)

-- /* boardflags */ * when this flag is set */
 * 1) define	BFL_BTC2WIRE		0x00000001 /* old 2wire Bluetooth coexistence, OBSOLETE */
 * 2) define BFL_BTCOEX     0x00000001      /* Board supports BTCOEX */
 * 3) define	BFL_PACTRL		0x00000002 /* Board has gpio 9 controlling the PA */
 * 4) define BFL_AIRLINEMODE	0x00000004 /* Board implements gpio 13 radio disable indication, UNUSED */
 * 5) define	BFL_ADCDIV		0x00000008 /* Board has the rssi ADC divider */
 * 6) define BFL_DIS_256QAM		0x00000008
 * 7) define	BFL_ENETROBO		0x00000010 /* Board has robo switch or core */
 * 8) define	BFL_TSSIAVG  		0x00000010  /* TSSI averaging for ACPHY chips */
 * 9) define	BFL_NOPLLDOWN		0x00000020 /* Not ok to power down the chip pll and oscillator */
 * 10) define	BFL_CCKHIPWR		0x00000040 /* Can do high-power CCK transmission */
 * 11) define	BFL_ENETADM		0x00000080 /* Board has ADMtek switch */
 * 12) define	BFL_ENETVLAN		0x00000100 /* Board has VLAN capability */
 * 13) define	BFL_LTECOEX		0x00000200 /* LTE Coex enabled */
 * 14) define BFL_NOPCI		0x00000400 /* Board leaves PCI floating */
 * 15) define BFL_FEM			0x00000800 /* Board supports the Front End Module */
 * 16) define BFL_EXTLNA		0x00001000 /* Board has an external LNA in 2.4GHz band */
 * 17) define BFL_HGPA		0x00002000 /* Board has a high gain PA */
 * 18) define	BFL_BTC2WIRE_ALTGPIO	0x00004000 /* Board's BTC 2wire is in the alternate gpios */
 * 19) define	BFL_ALTIQ		0x00008000 /* Alternate I/Q settings */
 * 20) define BFL_NOPA		0x00010000 /* Board has no PA */
 * 21) define BFL_RSSIINV		0x00020000 /* Board's RSSI uses positive slope(not TSSI) */
 * 22) define BFL_PAREF		0x00040000 /* Board uses the PARef LDO */
 * 23) define BFL_3TSWITCH		0x00080000 /* Board uses a triple throw switch shared with BT */
 * 24) define BFL_PHASESHIFT		0x00100000 /* Board can support phase shifter */
 * 25) define BFL_BUCKBOOST		0x00200000 /* Power topology uses BUCKBOOST */
 * 26) define BFL_FEM_BT		0x00400000 /* Board has FEM and switch to share antenna w/ BT */
 * 27) define BFL_NOCBUCK		0x00800000 /* Power topology doesn't use CBUCK */
 * 28) define BFL_CCKFAVOREVM		0x01000000 /* Favor CCK EVM over spectral mask */
 * 29) define BFL_PALDO		0x02000000 /* Power topology uses PALDO */
 * 30) define BFL_LNLDO2_2P5		0x04000000 /* Select 2.5V as LNLDO2 output voltage */
 * 31) define BFL_FASTPWR		0x08000000
 * 32) define BFL_UCPWRCTL_MININDX	0x08000000 /* Enforce min power index to avoid FEM damage */
 * 33) define BFL_EXTLNA_5GHz		0x10000000 /* Board has an external LNA in 5GHz band */
 * 34) define BFL_TRSW_1by2		0x20000000 /* Board has 2 TRSW's in 1by2 designs */
 * 35) define BFL_GAINBOOSTA01       0x20000000  /* 5g Gainboost for core0 and core1 */
 * 36) define BFL_LO_TRSW_R_5GHz	0x40000000 /* In 5G do not throw TRSW to T for clipLO gain */
 * 37) define BFL_ELNA_GAINDEF	0x80000000 /* Backoff InitGain based on elna_2g/5g field
 * 1) define BFL_EXTLNA_TX	0x20000000	/* Temp boardflag to indicate to */

/* boardflags2 */ * BFL2_BTC3WIRE */				/* Most drivers will turn it off without this flag */ /* to save power. */					    * than programmed. The exact delta is decided by * driver per chip/boardtype. This can be used * when tempsense qualification happens after shipment */						/* ucode control of eLNA during Tx */
 * 1) define BFL2_RXBB_INT_REG_DIS	0x00000001 /* Board has an external rxbb regulator */
 * 2) define BFL2_APLL_WAR		0x00000002 /* Flag to implement alternative A-band PLL settings */
 * 3) define BFL2_TXPWRCTRL_EN	0x00000004 /* Board permits enabling TX Power Control */
 * 4) define BFL2_2X4_DIV		0x00000008 /* Board supports the 2X4 diversity switch */
 * 5) define BFL2_5G_PWRGAIN		0x00000010 /* Board supports 5G band power gain */
 * 6) define BFL2_PCIEWAR_OVR	0x00000020 /* Board overrides ASPM and Clkreq settings */
 * 7) define BFL2_CAESERS_BRD	0x00000040 /* Board is Caesers brd (unused by sw) */
 * 8) define BFL2_BTC3WIRE		0x00000080 /* Board support legacy 3 wire or 4 wire */
 * 9) define BFL2_BTCLEGACY         0x00000080  /* Board support legacy 3/4 wire, to replace
 * 1) define BFL2_SKWRKFEM_BRD	0x00000100 /* 4321mcm93 board uses Skyworks FEM */
 * 2) define BFL2_SPUR_WAR		0x00000200 /* Board has a WAR for clock-harmonic spurs */
 * 3) define BFL2_GPLL_WAR		0x00000400 /* Flag to narrow G-band PLL loop b/w */
 * 4) define BFL2_TRISTATE_LED	0x00000800 /* Tri-state the LED */
 * 5) define BFL2_SINGLEANT_CCK	0x00001000 /* Tx CCK pkts on Ant 0 only */
 * 6) define BFL2_2G_SPUR_WAR	0x00002000 /* WAR to reduce and avoid clock-harmonic spurs in 2G */
 * 7) define BFL2_BPHY_ALL_TXCORES	0x00004000 /* Transmit bphy frames using all tx cores */
 * 8) define BFL2_FCC_BANDEDGE_WAR	0x00008000 /* Activates WAR to improve FCC bandedge performance */
 * 9) define BFL2_DAC_SPUR_IMPROVEMENT 0x00008000      /* Reducing DAC Spurs */
 * 10) define BFL2_GPLL_WAR2	       0x00010000  /* Flag to widen G-band PLL loop b/w */
 * 11) define BFL2_REDUCED_PA_TURNONTIME 0x00010000 /* Flag to reduce PA turn on Time */
 * 12) define BFL2_IPALVLSHIFT_3P3   0x00020000
 * 13) define BFL2_INTERNDET_TXIQCAL 0x00040000  /* Use internal envelope detector for TX IQCAL */
 * 14) define BFL2_XTALBUFOUTEN      0x00080000  /* Keep the buffered Xtal output from radio on */
 * 1) define BFL2_ANAPACTRL_2G	0x00100000 /* 2G ext PAs are controlled by analog PA ctrl lines */
 * 2) define BFL2_ANAPACTRL_5G	0x00200000 /* 5G ext PAs are controlled by analog PA ctrl lines */
 * 3) define BFL2_ELNACTRL_TRSW_2G	0x00400000 /* AZW4329: 2G gmode_elna_gain controls TR Switch */
 * 4) define BFL2_BT_SHARE_ANT0	0x00800000 /* share core0 antenna with BT */
 * 5) define BFL2_TEMPSENSE_HIGHER	0x01000000 /* The tempsense threshold can sustain higher value
 * 1) define BFL2_BTC3WIREONLY      0x02000000  /* standard 3 wire btc only.  4 wire not supported */
 * 2) define BFL2_PWR_NOMINAL	0x04000000 /* 0: power reduction on, 1: no power reduction */
 * 3) define BFL2_EXTLNA_PWRSAVE	0x08000000 /* boardflag to enable ucode to apply power save */
 * 1) define BFL2_4313_RADIOREG	0x10000000

-									  /*  board rework */ /* SROM 11 - 11ac boardflag definitions */
 * 1) define BFL2_DYNAMIC_VMID	0x10000000 /* enable dynamic Vmid in idle TSSI CAL for 4331 */
 * 2) define BFL2_SDR_EN		0x20000000 /* SDR enabled or disabled */
 * 3) define BFL2_DYNAMIC_VMID	0x10000000 /* boardflag to enable dynamic Vmid idle TSSI CAL */
 * 4) define BFL2_LNA1BYPFORTR2G	0x40000000 /* acphy, enable lna1 bypass for clip gain, 2g */
 * 5) define BFL2_LNA1BYPFORTR5G	0x80000000 /* acphy, enable lna1 bypass for clip gain, 5g */
 * 1) define BFL_SROM11_BTCOEX 0x00000001  /* Board supports BTCOEX */
 * 2) define BFL_SROM11_WLAN_BT_SH_XTL 0x00000002  /* bluetooth and wlan share same crystal */
 * 3) define BFL_SROM11_EXTLNA	0x00001000 /* Board has an external LNA in 2.4GHz band */
 * 4) define BFL_SROM11_EPA_TURNON_TIME    0x00018000  /* 2 bits for different PA turn on times */
 * 5) define BFL_SROM11_EPA_TURNON_TIME_SHIFT 15
 * 6) define BFL_SROM11_EXTLNA_5GHz	0x10000000 /* Board has an external LNA in 5GHz band */
 * 7) define BFL_SROM11_GAINBOOSTA01	0x20000000 /* 5g Gainboost for core0 and core1 */
 * 8) define BFL2_SROM11_APLL_WAR	0x00000002 /* Flag to implement alternative A-band PLL settings */
 * 9) define BFL2_SROM11_ANAPACTRL_2G 0x00100000  /* 2G ext PAs are ctrl-ed by analog PA ctrl lines */
 * 10) define BFL2_SROM11_ANAPACTRL_5G 0x00200000  /* 5G ext PAs are ctrl-ed by analog PA ctrl lines */
 * 11) define BFL2_SROM11_SINGLEANT_CCK	0x00001000 /* Tx CCK pkts on Ant 0 only */

--- /* boardflags3 */ /* acphy, to use backed off gaintbl for lte-coex */ /* acphy, to use backed off gaintbl for lte-coex */ /* acphy: lpmode2g and lpmode_5g related boardflags */ /* board specific GPIO assignment, gpio 0-3 are also customer-configurable led */
 * 1) define BFL3_FEMCTRL_SUB	 0x00000007  /* acphy, subrevs of femctrl on top of srom_femctrl */
 * 2) define BFL3_RCAL_WAR		 0x00000008  /* acphy, rcal war active on this board (4335a0) */
 * 3) define BFL3_TXGAINTBLID	 0x00000070  /* acphy, txgain table id */
 * 4) define BFL3_TXGAINTBLID_SHIFT	 0x4         /* acphy, txgain table id shift bit */
 * 5) define BFL3_TSSI_DIV_WAR	 0x00000080  /* acphy, Seperate paparam for 20/40/80 */
 * 6) define BFL3_TSSI_DIV_WAR_SHIFT	 0x7         /* acphy, Seperate paparam for 20/40/80 shift bit */
 * 7) define BFL3_FEMTBL_FROM_NVRAM   0x00000100  /* acphy, femctrl table is read from nvram */
 * 8) define BFL3_FEMTBL_FROM_NVRAM_SHIFT 0x8        /* acphy, femctrl table is read from nvram */
 * 9) define BFL3_AGC_CFG_2G          0x00000200  /* acphy, gain control configuration for 2G */
 * 10) define BFL3_AGC_CFG_5G          0x00000400  /* acphy, gain control configuration for 5G */
 * 11) define BFL3_PPR_BIT_EXT         0x00000800  /* acphy, bit position for 1bit extension for ppr */
 * 12) define BFL3_PPR_BIT_EXT_SHIFT   11          /* acphy, bit shift for 1bit extension for ppr */
 * 13) define BFL3_BBPLL_SPR_MODE_DIS	 0x00001000  /* acphy, disables bbpll spur modes */
 * 14) define BFL3_RCAL_OTP_VAL_EN     0x00002000  /* acphy, to read rcal_trim value from otp */
 * 15) define BFL3_2GTXGAINTBL_BLANK	 0x00004000  /* acphy, blank the first X ticks of 2g gaintbl */
 * 16) define BFL3_2GTXGAINTBL_BLANK_SHIFT 14      /* acphy, blank the first X ticks of 2g gaintbl */
 * 17) define BFL3_5GTXGAINTBL_BLANK	 0x00008000  /* acphy, blank the first X ticks of 5g gaintbl */
 * 18) define BFL3_5GTXGAINTBL_BLANK_SHIFT 15      /* acphy, blank the first X ticks of 5g gaintbl */
 * 19) define BFL3_PHASETRACK_MAX_ALPHABETA	 0x00010000  /* acphy, to max out alpha,beta to 511 */
 * 20) define BFL3_PHASETRACK_MAX_ALPHABETA_SHIFT 16      /* acphy, to max out alpha,beta to 511 */
 * 1) define BFL3_LTECOEX_GAINTBL_EN          0x00060000
 * 1) define BFL3_LTECOEX_GAINTBL_EN_SHIFT 17
 * 2) define BFL3_5G_SPUR_WAR         0x00080000  /* acphy, enable spur WAR in 5G band */
 * 3) define BFL3_1X1_RSDB_ANT	 0x01000000  /* to find if 2-ant RSDB board or 1-ant RSDB board */
 * 4) define BFL3_1X1_RSDB_ANT_SHIFT          24
 * 1) define BFL3_ACPHY_LPMODE_2G	 0x00300000  /* bits 20:21 for lpmode_2g choice */
 * 2) define BFL3_ACPHY_LPMODE_2G_SHIFT	 20
 * 3) define BFL3_ACPHY_LPMODE_5G	 0x00C00000  /* bits 22:23 for lpmode_5g choice */
 * 4) define BFL3_ACPHY_LPMODE_5G_SHIFT	 22
 * 5) define BFL3_EXT_LPO_ISCLOCK     0x02000000  /* External LPO is clock, not x-tal */
 * 6) define BFL3_FORCE_INT_LPO_SEL   0x04000000  /* Force internal lpo */
 * 7) define BFL3_FORCE_EXT_LPO_SEL   0x08000000  /* Force external lpo */
 * 8) define BFL3_EN_BRCM_IMPBF       0x10000000  /* acphy, Allow BRCM Implicit TxBF */
 * 9) define BFL3_AVVMID_FROM_NVRAM   0x40000000  /* Read Av Vmid from NVRAM  */
 * 10) define BFL3_VLIN_EN_FROM_NVRAM   0x80000000  /* Read Vlin En from NVRAM  */
 * 11) define BFL3_AVVMID_FROM_NVRAM_SHIFT  30   /* Read Av Vmid from NVRAM  */
 * 12) define BFL3_VLIN_EN_FROM_NVRAM_SHIFT  31   /* Enable Vlin  from NVRAM  */
 * 1) define	BOARD_GPIO_BTC3W_IN	0x850	/* bit 4 is RF_ACTIVE, bit 6 is STATUS, bit 11 is PRI */
 * 2) define	BOARD_GPIO_BTC3W_OUT	0x020	/* bit 5 is TX_CONF */
 * 3) define	BOARD_GPIO_BTCMOD_IN	0x010	/* bit 4 is the alternate BT Coexistence Input */
 * 4) define	BOARD_GPIO_BTCMOD_OUT	0x020	/* bit 5 is the alternate BT Coexistence Out */
 * 5) define	BOARD_GPIO_BTC_IN	0x080	/* bit 7 is BT Coexistence Input */
 * 6) define	BOARD_GPIO_BTC_OUT	0x100	/* bit 8 is BT Coexistence Out */
 * 7) define	BOARD_GPIO_PACTRL	0x200	/* bit 9 controls the PA on new 4306 boards */
 * 8) define BOARD_GPIO_12		0x1000	/* gpio 12 */
 * 9) define BOARD_GPIO_13		0x2000	/* gpio 13 */
 * 10) define BOARD_GPIO_BTC4_IN	0x0800	/* gpio 11, coex4, in */
 * 11) define BOARD_GPIO_BTC4_BT	0x2000	/* gpio 12, coex4, bt active */
 * 12) define BOARD_GPIO_BTC4_STAT	0x4000	/* gpio 14, coex4, status */
 * 13) define BOARD_GPIO_BTC4_WLAN	0x8000	/* gpio 15, coex4, wlan active */
 * 14) define	BOARD_GPIO_1_WLAN_PWR	0x02	/* throttle WLAN power on X21 board */
 * 15) define	BOARD_GPIO_2_WLAN_PWR	0x04	/* throttle WLAN power on X29C board */
 * 16) define	BOARD_GPIO_3_WLAN_PWR	0x08	/* throttle WLAN power on X28 board */
 * 17) define	BOARD_GPIO_4_WLAN_PWR	0x10	/* throttle WLAN power on X19 board */
 * 18) define GPIO_BTC4W_OUT_4312 0x010  /* bit 4 is BT_IODISABLE */
 * 19) define GPIO_BTC4W_OUT_43224 0x020  /* bit 5 is BT_IODISABLE */
 * 20) define GPIO_BTC4W_OUT_43224_SHARED 0x0e0  /* bit 5 is BT_IODISABLE */
 * 21) define GPIO_BTC4W_OUT_43225 0x0e0  /* bit 5 BT_IODISABLE, bit 6 SW_BT, bit 7 SW_WL */
 * 22) define GPIO_BTC4W_OUT_43421 0x020  /* bit 5 is BT_IODISABLE */
 * 23) define GPIO_BTC4W_OUT_4313 0x060  /* bit 5 SW_BT, bit 6 SW_WL */
 * 24) define GPIO_BTC4W_OUT_4331_SHARED 0x010  /* GPIO 4  */
 * 25) define	PCI_CFG_GPIO_SCS	0x10	/* PCI config space bit 4 for 4306c0 slow clock source */
 * 26) define PCI_CFG_GPIO_HWRAD	0x20	/* PCI config space GPIO 13 for hw radio disable */
 * 27) define PCI_CFG_GPIO_XTAL	0x40	/* PCI config space GPIO 14 for Xtal power-up */
 * 28) define PCI_CFG_GPIO_PLL	0x80	/* PCI config space GPIO 15 for PLL power-down */

- /* power control defines */ /* 43341 Boards */ /* 43342 Boards */ /* 43602 Boards, unclear yet what boards will be created. */ /* # of GPIO pins */ /* These values are used by dhd host driver. */ /* generic defs for nvram "muxenab" bits /* Boot flags */
 * 1) define PLL_DELAY		150		/* us pll on delay */
 * 2) define FREF_DELAY		200		/* us fref change delay */
 * 3) define MIN_SLOW_CLK		32		/* us Slow clock period */
 * 4) define	XTAL_ON_DELAY		1000		/* us crystal power-on delay */
 * 1) define BCM943341WLABGS_SSID	0x062d
 * 1) define BCM943342FCAGBI_SSID	0x0641
 * 1) define BCM943602RSVD1_SSID	0x06a5
 * 2) define BCM943602RSVD2_SSID	0x06a6
 * 3) define BCM943602X87           0X0133
 * 4) define BCM943602X238          0X0132
 * 1) define GPIO_NUMPINS		32
 * 1) define RDL_RAM_BASE_4319 0x60000000
 * 2) define RDL_RAM_BASE_4329 0x60000000
 * 3) define RDL_RAM_SIZE_4319 0x48000
 * 4) define RDL_RAM_SIZE_4329 0x48000
 * 5) define RDL_RAM_SIZE_43236 0x70000
 * 6) define RDL_RAM_BASE_43236 0x60000000
 * 7) define RDL_RAM_SIZE_4328 0x60000
 * 8) define RDL_RAM_BASE_4328 0x80000000
 * 9) define RDL_RAM_SIZE_4322 0x60000
 * 10) define RDL_RAM_BASE_4322 0x60000000
 * 11) define RDL_RAM_SIZE_4360 0xA0000
 * 12) define RDL_RAM_BASE_4360 0x60000000
 * 13) define RDL_RAM_SIZE_43242 0x90000
 * 14) define RDL_RAM_BASE_43242 0x60000000
 * 15) define RDL_RAM_SIZE_43143 0x70000
 * 16) define RDL_RAM_BASE_43143 0x60000000
 * 17) define RDL_RAM_SIZE_4350 0xC0000
 * 18) define RDL_RAM_BASE_4350 0x180800
 * Note: these differ for 4335a0. refer bcmchipc.h for specific mux options.
 * 1) define MUXENAB_UART		0x00000001
 * 2) define MUXENAB_GPIO		0x00000002
 * 3) define MUXENAB_ERCX		0x00000004	/* External Radio BT coex */
 * 4) define MUXENAB_JTAG		0x00000008
 * 5) define MUXENAB_HOST_WAKE	0x00000010	/* configure GPIO for SDIO host_wake */
 * 6) define MUXENAB_I2S_EN		0x00000020
 * 7) define MUXENAB_I2S_MASTER	0x00000040
 * 8) define MUXENAB_I2S_FULL	0x00000080
 * 9) define MUXENAB_SFLASH		0x00000100
 * 10) define MUXENAB_RFSWCTRL0	0x00000200
 * 11) define MUXENAB_RFSWCTRL1	0x00000400
 * 12) define MUXENAB_RFSWCTRL2	0x00000800
 * 13) define MUXENAB_SECI		0x00001000
 * 14) define MUXENAB_BT_LEGACY	0x00002000
 * 15) define MUXENAB_HOST_WAKE1	0x00004000	/* configure alternative GPIO for SDIO host_wake */
 * 1) define MUXENAB_HOST_WAKE1	0x00004000	/* configure alternative GPIO for SDIO host_wake */
 * 1) define FLASH_KERNEL_NFLASH	0x00000001
 * 2) define FLASH_BOOT_NFLASH	0x00000002
 * 3) endif /* _BCMDEVS_H */