1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 258619b14SKalle Valo #ifndef B43_RADIO_2056_H_ 358619b14SKalle Valo #define B43_RADIO_2056_H_ 458619b14SKalle Valo 558619b14SKalle Valo #include <linux/types.h> 658619b14SKalle Valo 758619b14SKalle Valo #include "tables_nphy.h" 858619b14SKalle Valo 958619b14SKalle Valo #define B2056_SYN (0x0 << 12) 1058619b14SKalle Valo #define B2056_TX0 (0x2 << 12) 1158619b14SKalle Valo #define B2056_TX1 (0x3 << 12) 1258619b14SKalle Valo #define B2056_RX0 (0x6 << 12) 1358619b14SKalle Valo #define B2056_RX1 (0x7 << 12) 1458619b14SKalle Valo #define B2056_ALLTX (0xE << 12) 1558619b14SKalle Valo #define B2056_ALLRX (0xF << 12) 1658619b14SKalle Valo 1758619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR0 0x00 1858619b14SKalle Valo #define B2056_SYN_IDCODE 0x01 1958619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR2 0x02 2058619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR3 0x03 2158619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR4 0x04 2258619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR5 0x05 2358619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR6 0x06 2458619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR7 0x07 2558619b14SKalle Valo #define B2056_SYN_COM_CTRL 0x08 2658619b14SKalle Valo #define B2056_SYN_COM_PU 0x09 2758619b14SKalle Valo #define B2056_SYN_COM_OVR 0x0A 2858619b14SKalle Valo #define B2056_SYN_COM_RESET 0x0B 2958619b14SKalle Valo #define B2056_SYN_COM_RCAL 0x0C 3058619b14SKalle Valo #define B2056_SYN_COM_RC_RXLPF 0x0D 3158619b14SKalle Valo #define B2056_SYN_COM_RC_TXLPF 0x0E 3258619b14SKalle Valo #define B2056_SYN_COM_RC_RXHPF 0x0F 3358619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR16 0x10 3458619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR17 0x11 3558619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR18 0x12 3658619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR19 0x13 3758619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR20 0x14 3858619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR21 0x15 3958619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR22 0x16 4058619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR23 0x17 4158619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR24 0x18 4258619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR25 0x19 4358619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR26 0x1A 4458619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR27 0x1B 4558619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR28 0x1C 4658619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR29 0x1D 4758619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR30 0x1E 4858619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR31 0x1F 4958619b14SKalle Valo #define B2056_SYN_GPIO_MASTER1 0x20 5058619b14SKalle Valo #define B2056_SYN_GPIO_MASTER2 0x21 5158619b14SKalle Valo #define B2056_SYN_TOPBIAS_MASTER 0x22 5258619b14SKalle Valo #define B2056_SYN_TOPBIAS_RCAL 0x23 5358619b14SKalle Valo #define B2056_SYN_AFEREG 0x24 5458619b14SKalle Valo #define B2056_SYN_TEMPPROCSENSE 0x25 5558619b14SKalle Valo #define B2056_SYN_TEMPPROCSENSEIDAC 0x26 5658619b14SKalle Valo #define B2056_SYN_TEMPPROCSENSERCAL 0x27 5758619b14SKalle Valo #define B2056_SYN_LPO 0x28 5858619b14SKalle Valo #define B2056_SYN_VDDCAL_MASTER 0x29 5958619b14SKalle Valo #define B2056_SYN_VDDCAL_IDAC 0x2A 6058619b14SKalle Valo #define B2056_SYN_VDDCAL_STATUS 0x2B 6158619b14SKalle Valo #define B2056_SYN_RCAL_MASTER 0x2C 6258619b14SKalle Valo #define B2056_SYN_RCAL_CODE_OUT 0x2D 6358619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL0 0x2E 6458619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL1 0x2F 6558619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL2 0x30 6658619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL3 0x31 6758619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL4 0x32 6858619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL5 0x33 6958619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL6 0x34 7058619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL7 0x35 7158619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL8 0x36 7258619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL9 0x37 7358619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL10 0x38 7458619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL11 0x39 7558619b14SKalle Valo #define B2056_SYN_ZCAL_SPARE1 0x3A 7658619b14SKalle Valo #define B2056_SYN_ZCAL_SPARE2 0x3B 7758619b14SKalle Valo #define B2056_SYN_PLL_MAST1 0x3C 7858619b14SKalle Valo #define B2056_SYN_PLL_MAST2 0x3D 7958619b14SKalle Valo #define B2056_SYN_PLL_MAST3 0x3E 8058619b14SKalle Valo #define B2056_SYN_PLL_BIAS_RESET 0x3F 8158619b14SKalle Valo #define B2056_SYN_PLL_XTAL0 0x40 8258619b14SKalle Valo #define B2056_SYN_PLL_XTAL1 0x41 8358619b14SKalle Valo #define B2056_SYN_PLL_XTAL3 0x42 8458619b14SKalle Valo #define B2056_SYN_PLL_XTAL4 0x43 8558619b14SKalle Valo #define B2056_SYN_PLL_XTAL5 0x44 8658619b14SKalle Valo #define B2056_SYN_PLL_XTAL6 0x45 8758619b14SKalle Valo #define B2056_SYN_PLL_REFDIV 0x46 8858619b14SKalle Valo #define B2056_SYN_PLL_PFD 0x47 8958619b14SKalle Valo #define B2056_SYN_PLL_CP1 0x48 9058619b14SKalle Valo #define B2056_SYN_PLL_CP2 0x49 9158619b14SKalle Valo #define B2056_SYN_PLL_CP3 0x4A 9258619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER1 0x4B 9358619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER2 0x4C 9458619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER3 0x4D 9558619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER4 0x4E 9658619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER5 0x4F 9758619b14SKalle Valo #define B2056_SYN_PLL_MMD1 0x50 9858619b14SKalle Valo #define B2056_SYN_PLL_MMD2 0x51 9958619b14SKalle Valo #define B2056_SYN_PLL_VCO1 0x52 10058619b14SKalle Valo #define B2056_SYN_PLL_VCO2 0x53 10158619b14SKalle Valo #define B2056_SYN_PLL_MONITOR1 0x54 10258619b14SKalle Valo #define B2056_SYN_PLL_MONITOR2 0x55 10358619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL1 0x56 10458619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL2 0x57 10558619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL4 0x58 10658619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL5 0x59 10758619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL6 0x5A 10858619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL7 0x5B 10958619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL8 0x5C 11058619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL9 0x5D 11158619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL10 0x5E 11258619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL11 0x5F 11358619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL12 0x60 11458619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL13 0x61 11558619b14SKalle Valo #define B2056_SYN_PLL_VREG 0x62 11658619b14SKalle Valo #define B2056_SYN_PLL_STATUS1 0x63 11758619b14SKalle Valo #define B2056_SYN_PLL_STATUS2 0x64 11858619b14SKalle Valo #define B2056_SYN_PLL_STATUS3 0x65 11958619b14SKalle Valo #define B2056_SYN_LOGEN_PU0 0x66 12058619b14SKalle Valo #define B2056_SYN_LOGEN_PU1 0x67 12158619b14SKalle Valo #define B2056_SYN_LOGEN_PU2 0x68 12258619b14SKalle Valo #define B2056_SYN_LOGEN_PU3 0x69 12358619b14SKalle Valo #define B2056_SYN_LOGEN_PU5 0x6A 12458619b14SKalle Valo #define B2056_SYN_LOGEN_PU6 0x6B 12558619b14SKalle Valo #define B2056_SYN_LOGEN_PU7 0x6C 12658619b14SKalle Valo #define B2056_SYN_LOGEN_PU8 0x6D 12758619b14SKalle Valo #define B2056_SYN_LOGEN_BIAS_RESET 0x6E 12858619b14SKalle Valo #define B2056_SYN_LOGEN_RCCR1 0x6F 12958619b14SKalle Valo #define B2056_SYN_LOGEN_VCOBUF1 0x70 13058619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER1 0x71 13158619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER2 0x72 13258619b14SKalle Valo #define B2056_SYN_LOGEN_BUF1 0x73 13358619b14SKalle Valo #define B2056_SYN_LOGENBUF2 0x74 13458619b14SKalle Valo #define B2056_SYN_LOGEN_BUF3 0x75 13558619b14SKalle Valo #define B2056_SYN_LOGEN_BUF4 0x76 13658619b14SKalle Valo #define B2056_SYN_LOGEN_DIV1 0x77 13758619b14SKalle Valo #define B2056_SYN_LOGEN_DIV2 0x78 13858619b14SKalle Valo #define B2056_SYN_LOGEN_DIV3 0x79 13958619b14SKalle Valo #define B2056_SYN_LOGEN_ACL1 0x7A 14058619b14SKalle Valo #define B2056_SYN_LOGEN_ACL2 0x7B 14158619b14SKalle Valo #define B2056_SYN_LOGEN_ACL3 0x7C 14258619b14SKalle Valo #define B2056_SYN_LOGEN_ACL4 0x7D 14358619b14SKalle Valo #define B2056_SYN_LOGEN_ACL5 0x7E 14458619b14SKalle Valo #define B2056_SYN_LOGEN_ACL6 0x7F 14558619b14SKalle Valo #define B2056_SYN_LOGEN_ACLOUT 0x80 14658619b14SKalle Valo #define B2056_SYN_LOGEN_ACLCAL1 0x81 14758619b14SKalle Valo #define B2056_SYN_LOGEN_ACLCAL2 0x82 14858619b14SKalle Valo #define B2056_SYN_LOGEN_ACLCAL3 0x83 14958619b14SKalle Valo #define B2056_SYN_CALEN 0x84 15058619b14SKalle Valo #define B2056_SYN_LOGEN_PEAKDET1 0x85 15158619b14SKalle Valo #define B2056_SYN_LOGEN_CORE_ACL_OVR 0x86 15258619b14SKalle Valo #define B2056_SYN_LOGEN_RX_DIFF_ACL_OVR 0x87 15358619b14SKalle Valo #define B2056_SYN_LOGEN_TX_DIFF_ACL_OVR 0x88 15458619b14SKalle Valo #define B2056_SYN_LOGEN_RX_CMOS_ACL_OVR 0x89 15558619b14SKalle Valo #define B2056_SYN_LOGEN_TX_CMOS_ACL_OVR 0x8A 15658619b14SKalle Valo #define B2056_SYN_LOGEN_VCOBUF2 0x8B 15758619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER3 0x8C 15858619b14SKalle Valo #define B2056_SYN_LOGEN_BUF5 0x8D 15958619b14SKalle Valo #define B2056_SYN_LOGEN_BUF6 0x8E 16058619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX1 0x8F 16158619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX2 0x90 16258619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX3 0x91 16358619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX4 0x92 16458619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX1 0x93 16558619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX2 0x94 16658619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX3 0x95 16758619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX4 0x96 16858619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX1 0x97 16958619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX2 0x98 17058619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX3 0x99 17158619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX4 0x9A 17258619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX1 0x9B 17358619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX2 0x9C 17458619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX3 0x9D 17558619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX4 0x9E 17658619b14SKalle Valo #define B2056_SYN_LOGEN_VCOBUF2_OVRVAL 0x9F 17758619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER3_OVRVAL 0xA0 17858619b14SKalle Valo #define B2056_SYN_LOGEN_BUF5_OVRVAL 0xA1 17958619b14SKalle Valo #define B2056_SYN_LOGEN_BUF6_OVRVAL 0xA2 18058619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX1_OVRVAL 0xA3 18158619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX2_OVRVAL 0xA4 18258619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX3_OVRVAL 0xA5 18358619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX4_OVRVAL 0xA6 18458619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX1_OVRVAL 0xA7 18558619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX2_OVRVAL 0xA8 18658619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX3_OVRVAL 0xA9 18758619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX4_OVRVAL 0xAA 18858619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX1_OVRVAL 0xAB 18958619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX2_OVRVAL 0xAC 19058619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX3_OVRVAL 0xAD 19158619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX4_OVRVAL 0xAE 19258619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX1_OVRVAL 0xAF 19358619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX2_OVRVAL 0xB0 19458619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX3_OVRVAL 0xB1 19558619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX4_OVRVAL 0xB2 19658619b14SKalle Valo #define B2056_SYN_LOGEN_ACL_WAITCNT 0xB3 19758619b14SKalle Valo #define B2056_SYN_LOGEN_CORE_CALVALID 0xB4 19858619b14SKalle Valo #define B2056_SYN_LOGEN_RX_CMOS_CALVALID 0xB5 19958619b14SKalle Valo #define B2056_SYN_LOGEN_TX_CMOS_VALID 0xB6 20058619b14SKalle Valo 20158619b14SKalle Valo #define B2056_TX_RESERVED_ADDR0 0x00 20258619b14SKalle Valo #define B2056_TX_IDCODE 0x01 20358619b14SKalle Valo #define B2056_TX_RESERVED_ADDR2 0x02 20458619b14SKalle Valo #define B2056_TX_RESERVED_ADDR3 0x03 20558619b14SKalle Valo #define B2056_TX_RESERVED_ADDR4 0x04 20658619b14SKalle Valo #define B2056_TX_RESERVED_ADDR5 0x05 20758619b14SKalle Valo #define B2056_TX_RESERVED_ADDR6 0x06 20858619b14SKalle Valo #define B2056_TX_RESERVED_ADDR7 0x07 20958619b14SKalle Valo #define B2056_TX_COM_CTRL 0x08 21058619b14SKalle Valo #define B2056_TX_COM_PU 0x09 21158619b14SKalle Valo #define B2056_TX_COM_OVR 0x0A 21258619b14SKalle Valo #define B2056_TX_COM_RESET 0x0B 21358619b14SKalle Valo #define B2056_TX_COM_RCAL 0x0C 21458619b14SKalle Valo #define B2056_TX_COM_RC_RXLPF 0x0D 21558619b14SKalle Valo #define B2056_TX_COM_RC_TXLPF 0x0E 21658619b14SKalle Valo #define B2056_TX_COM_RC_RXHPF 0x0F 21758619b14SKalle Valo #define B2056_TX_RESERVED_ADDR16 0x10 21858619b14SKalle Valo #define B2056_TX_RESERVED_ADDR17 0x11 21958619b14SKalle Valo #define B2056_TX_RESERVED_ADDR18 0x12 22058619b14SKalle Valo #define B2056_TX_RESERVED_ADDR19 0x13 22158619b14SKalle Valo #define B2056_TX_RESERVED_ADDR20 0x14 22258619b14SKalle Valo #define B2056_TX_RESERVED_ADDR21 0x15 22358619b14SKalle Valo #define B2056_TX_RESERVED_ADDR22 0x16 22458619b14SKalle Valo #define B2056_TX_RESERVED_ADDR23 0x17 22558619b14SKalle Valo #define B2056_TX_RESERVED_ADDR24 0x18 22658619b14SKalle Valo #define B2056_TX_RESERVED_ADDR25 0x19 22758619b14SKalle Valo #define B2056_TX_RESERVED_ADDR26 0x1A 22858619b14SKalle Valo #define B2056_TX_RESERVED_ADDR27 0x1B 22958619b14SKalle Valo #define B2056_TX_RESERVED_ADDR28 0x1C 23058619b14SKalle Valo #define B2056_TX_RESERVED_ADDR29 0x1D 23158619b14SKalle Valo #define B2056_TX_RESERVED_ADDR30 0x1E 23258619b14SKalle Valo #define B2056_TX_RESERVED_ADDR31 0x1F 23358619b14SKalle Valo #define B2056_TX_IQCAL_GAIN_BW 0x20 23458619b14SKalle Valo #define B2056_TX_LOFT_FINE_I 0x21 23558619b14SKalle Valo #define B2056_TX_LOFT_FINE_Q 0x22 23658619b14SKalle Valo #define B2056_TX_LOFT_COARSE_I 0x23 23758619b14SKalle Valo #define B2056_TX_LOFT_COARSE_Q 0x24 23858619b14SKalle Valo #define B2056_TX_TX_COM_MASTER1 0x25 23958619b14SKalle Valo #define B2056_TX_TX_COM_MASTER2 0x26 24058619b14SKalle Valo #define B2056_TX_RXIQCAL_TXMUX 0x27 24158619b14SKalle Valo #define B2056_TX_TX_SSI_MASTER 0x28 24258619b14SKalle Valo #define B2056_TX_IQCAL_VCM_HG 0x29 24358619b14SKalle Valo #define B2056_TX_IQCAL_IDAC 0x2A 24458619b14SKalle Valo #define B2056_TX_TSSI_VCM 0x2B 24558619b14SKalle Valo #define B2056_TX_TX_AMP_DET 0x2C 24658619b14SKalle Valo #define B2056_TX_TX_SSI_MUX 0x2D 24758619b14SKalle Valo #define B2056_TX_TSSIA 0x2E 24858619b14SKalle Valo #define B2056_TX_TSSIG 0x2F 24958619b14SKalle Valo #define B2056_TX_TSSI_MISC1 0x30 25058619b14SKalle Valo #define B2056_TX_TSSI_MISC2 0x31 25158619b14SKalle Valo #define B2056_TX_TSSI_MISC3 0x32 25258619b14SKalle Valo #define B2056_TX_PA_SPARE1 0x33 25358619b14SKalle Valo #define B2056_TX_PA_SPARE2 0x34 25458619b14SKalle Valo #define B2056_TX_INTPAA_MASTER 0x35 25558619b14SKalle Valo #define B2056_TX_INTPAA_GAIN 0x36 25658619b14SKalle Valo #define B2056_TX_INTPAA_BOOST_TUNE 0x37 25758619b14SKalle Valo #define B2056_TX_INTPAA_IAUX_STAT 0x38 25858619b14SKalle Valo #define B2056_TX_INTPAA_IAUX_DYN 0x39 25958619b14SKalle Valo #define B2056_TX_INTPAA_IMAIN_STAT 0x3A 26058619b14SKalle Valo #define B2056_TX_INTPAA_IMAIN_DYN 0x3B 26158619b14SKalle Valo #define B2056_TX_INTPAA_CASCBIAS 0x3C 26258619b14SKalle Valo #define B2056_TX_INTPAA_PASLOPE 0x3D 26358619b14SKalle Valo #define B2056_TX_INTPAA_PA_MISC 0x3E 26458619b14SKalle Valo #define B2056_TX_INTPAG_MASTER 0x3F 26558619b14SKalle Valo #define B2056_TX_INTPAG_GAIN 0x40 26658619b14SKalle Valo #define B2056_TX_INTPAG_BOOST_TUNE 0x41 26758619b14SKalle Valo #define B2056_TX_INTPAG_IAUX_STAT 0x42 26858619b14SKalle Valo #define B2056_TX_INTPAG_IAUX_DYN 0x43 26958619b14SKalle Valo #define B2056_TX_INTPAG_IMAIN_STAT 0x44 27058619b14SKalle Valo #define B2056_TX_INTPAG_IMAIN_DYN 0x45 27158619b14SKalle Valo #define B2056_TX_INTPAG_CASCBIAS 0x46 27258619b14SKalle Valo #define B2056_TX_INTPAG_PASLOPE 0x47 27358619b14SKalle Valo #define B2056_TX_INTPAG_PA_MISC 0x48 27458619b14SKalle Valo #define B2056_TX_PADA_MASTER 0x49 27558619b14SKalle Valo #define B2056_TX_PADA_IDAC 0x4A 27658619b14SKalle Valo #define B2056_TX_PADA_CASCBIAS 0x4B 27758619b14SKalle Valo #define B2056_TX_PADA_GAIN 0x4C 27858619b14SKalle Valo #define B2056_TX_PADA_BOOST_TUNE 0x4D 27958619b14SKalle Valo #define B2056_TX_PADA_SLOPE 0x4E 28058619b14SKalle Valo #define B2056_TX_PADG_MASTER 0x4F 28158619b14SKalle Valo #define B2056_TX_PADG_IDAC 0x50 28258619b14SKalle Valo #define B2056_TX_PADG_CASCBIAS 0x51 28358619b14SKalle Valo #define B2056_TX_PADG_GAIN 0x52 28458619b14SKalle Valo #define B2056_TX_PADG_BOOST_TUNE 0x53 28558619b14SKalle Valo #define B2056_TX_PADG_SLOPE 0x54 28658619b14SKalle Valo #define B2056_TX_PGAA_MASTER 0x55 28758619b14SKalle Valo #define B2056_TX_PGAA_IDAC 0x56 28858619b14SKalle Valo #define B2056_TX_PGAA_GAIN 0x57 28958619b14SKalle Valo #define B2056_TX_PGAA_BOOST_TUNE 0x58 29058619b14SKalle Valo #define B2056_TX_PGAA_SLOPE 0x59 29158619b14SKalle Valo #define B2056_TX_PGAA_MISC 0x5A 29258619b14SKalle Valo #define B2056_TX_PGAG_MASTER 0x5B 29358619b14SKalle Valo #define B2056_TX_PGAG_IDAC 0x5C 29458619b14SKalle Valo #define B2056_TX_PGAG_GAIN 0x5D 29558619b14SKalle Valo #define B2056_TX_PGAG_BOOST_TUNE 0x5E 29658619b14SKalle Valo #define B2056_TX_PGAG_SLOPE 0x5F 29758619b14SKalle Valo #define B2056_TX_PGAG_MISC 0x60 29858619b14SKalle Valo #define B2056_TX_MIXA_MASTER 0x61 29958619b14SKalle Valo #define B2056_TX_MIXA_BOOST_TUNE 0x62 30058619b14SKalle Valo #define B2056_TX_MIXG 0x63 30158619b14SKalle Valo #define B2056_TX_MIXG_BOOST_TUNE 0x64 30258619b14SKalle Valo #define B2056_TX_BB_GM_MASTER 0x65 30358619b14SKalle Valo #define B2056_TX_GMBB_GM 0x66 30458619b14SKalle Valo #define B2056_TX_GMBB_IDAC 0x67 30558619b14SKalle Valo #define B2056_TX_TXLPF_MASTER 0x68 30658619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL 0x69 30758619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF0 0x6A 30858619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF1 0x6B 30958619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF2 0x6C 31058619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF3 0x6D 31158619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF4 0x6E 31258619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF5 0x6F 31358619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF6 0x70 31458619b14SKalle Valo #define B2056_TX_TXLPF_BW 0x71 31558619b14SKalle Valo #define B2056_TX_TXLPF_GAIN 0x72 31658619b14SKalle Valo #define B2056_TX_TXLPF_IDAC 0x73 31758619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_0 0x74 31858619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_1 0x75 31958619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_2 0x76 32058619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_3 0x77 32158619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_4 0x78 32258619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_5 0x79 32358619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_6 0x7A 32458619b14SKalle Valo #define B2056_TX_TXLPF_OPAMP_IDAC 0x7B 32558619b14SKalle Valo #define B2056_TX_TXLPF_MISC 0x7C 32658619b14SKalle Valo #define B2056_TX_TXSPARE1 0x7D 32758619b14SKalle Valo #define B2056_TX_TXSPARE2 0x7E 32858619b14SKalle Valo #define B2056_TX_TXSPARE3 0x7F 32958619b14SKalle Valo #define B2056_TX_TXSPARE4 0x80 33058619b14SKalle Valo #define B2056_TX_TXSPARE5 0x81 33158619b14SKalle Valo #define B2056_TX_TXSPARE6 0x82 33258619b14SKalle Valo #define B2056_TX_TXSPARE7 0x83 33358619b14SKalle Valo #define B2056_TX_TXSPARE8 0x84 33458619b14SKalle Valo #define B2056_TX_TXSPARE9 0x85 33558619b14SKalle Valo #define B2056_TX_TXSPARE10 0x86 33658619b14SKalle Valo #define B2056_TX_TXSPARE11 0x87 33758619b14SKalle Valo #define B2056_TX_TXSPARE12 0x88 33858619b14SKalle Valo #define B2056_TX_TXSPARE13 0x89 33958619b14SKalle Valo #define B2056_TX_TXSPARE14 0x8A 34058619b14SKalle Valo #define B2056_TX_TXSPARE15 0x8B 34158619b14SKalle Valo #define B2056_TX_TXSPARE16 0x8C 34258619b14SKalle Valo #define B2056_TX_STATUS_INTPA_GAIN 0x8D 34358619b14SKalle Valo #define B2056_TX_STATUS_PAD_GAIN 0x8E 34458619b14SKalle Valo #define B2056_TX_STATUS_PGA_GAIN 0x8F 34558619b14SKalle Valo #define B2056_TX_STATUS_GM_TXLPF_GAIN 0x90 34658619b14SKalle Valo #define B2056_TX_STATUS_TXLPF_BW 0x91 34758619b14SKalle Valo #define B2056_TX_STATUS_TXLPF_RC 0x92 34858619b14SKalle Valo #define B2056_TX_GMBB_IDAC0 0x93 34958619b14SKalle Valo #define B2056_TX_GMBB_IDAC1 0x94 35058619b14SKalle Valo #define B2056_TX_GMBB_IDAC2 0x95 35158619b14SKalle Valo #define B2056_TX_GMBB_IDAC3 0x96 35258619b14SKalle Valo #define B2056_TX_GMBB_IDAC4 0x97 35358619b14SKalle Valo #define B2056_TX_GMBB_IDAC5 0x98 35458619b14SKalle Valo #define B2056_TX_GMBB_IDAC6 0x99 35558619b14SKalle Valo #define B2056_TX_GMBB_IDAC7 0x9A 35658619b14SKalle Valo 35758619b14SKalle Valo #define B2056_RX_RESERVED_ADDR0 0x00 35858619b14SKalle Valo #define B2056_RX_IDCODE 0x01 35958619b14SKalle Valo #define B2056_RX_RESERVED_ADDR2 0x02 36058619b14SKalle Valo #define B2056_RX_RESERVED_ADDR3 0x03 36158619b14SKalle Valo #define B2056_RX_RESERVED_ADDR4 0x04 36258619b14SKalle Valo #define B2056_RX_RESERVED_ADDR5 0x05 36358619b14SKalle Valo #define B2056_RX_RESERVED_ADDR6 0x06 36458619b14SKalle Valo #define B2056_RX_RESERVED_ADDR7 0x07 36558619b14SKalle Valo #define B2056_RX_COM_CTRL 0x08 36658619b14SKalle Valo #define B2056_RX_COM_PU 0x09 36758619b14SKalle Valo #define B2056_RX_COM_OVR 0x0A 36858619b14SKalle Valo #define B2056_RX_COM_RESET 0x0B 36958619b14SKalle Valo #define B2056_RX_COM_RCAL 0x0C 37058619b14SKalle Valo #define B2056_RX_COM_RC_RXLPF 0x0D 37158619b14SKalle Valo #define B2056_RX_COM_RC_TXLPF 0x0E 37258619b14SKalle Valo #define B2056_RX_COM_RC_RXHPF 0x0F 37358619b14SKalle Valo #define B2056_RX_RESERVED_ADDR16 0x10 37458619b14SKalle Valo #define B2056_RX_RESERVED_ADDR17 0x11 37558619b14SKalle Valo #define B2056_RX_RESERVED_ADDR18 0x12 37658619b14SKalle Valo #define B2056_RX_RESERVED_ADDR19 0x13 37758619b14SKalle Valo #define B2056_RX_RESERVED_ADDR20 0x14 37858619b14SKalle Valo #define B2056_RX_RESERVED_ADDR21 0x15 37958619b14SKalle Valo #define B2056_RX_RESERVED_ADDR22 0x16 38058619b14SKalle Valo #define B2056_RX_RESERVED_ADDR23 0x17 38158619b14SKalle Valo #define B2056_RX_RESERVED_ADDR24 0x18 38258619b14SKalle Valo #define B2056_RX_RESERVED_ADDR25 0x19 38358619b14SKalle Valo #define B2056_RX_RESERVED_ADDR26 0x1A 38458619b14SKalle Valo #define B2056_RX_RESERVED_ADDR27 0x1B 38558619b14SKalle Valo #define B2056_RX_RESERVED_ADDR28 0x1C 38658619b14SKalle Valo #define B2056_RX_RESERVED_ADDR29 0x1D 38758619b14SKalle Valo #define B2056_RX_RESERVED_ADDR30 0x1E 38858619b14SKalle Valo #define B2056_RX_RESERVED_ADDR31 0x1F 38958619b14SKalle Valo #define B2056_RX_RXIQCAL_RXMUX 0x20 39058619b14SKalle Valo #define B2056_RX_RSSI_PU 0x21 39158619b14SKalle Valo #define B2056_RX_RSSI_SEL 0x22 39258619b14SKalle Valo #define B2056_RX_RSSI_GAIN 0x23 39358619b14SKalle Valo #define B2056_RX_RSSI_NB_IDAC 0x24 39458619b14SKalle Valo #define B2056_RX_RSSI_WB2I_IDAC_1 0x25 39558619b14SKalle Valo #define B2056_RX_RSSI_WB2I_IDAC_2 0x26 39658619b14SKalle Valo #define B2056_RX_RSSI_WB2Q_IDAC_1 0x27 39758619b14SKalle Valo #define B2056_RX_RSSI_WB2Q_IDAC_2 0x28 39858619b14SKalle Valo #define B2056_RX_RSSI_POLE 0x29 39958619b14SKalle Valo #define B2056_RX_RSSI_WB1_IDAC 0x2A 40058619b14SKalle Valo #define B2056_RX_RSSI_MISC 0x2B 40158619b14SKalle Valo #define B2056_RX_LNAA_MASTER 0x2C 40258619b14SKalle Valo #define B2056_RX_LNAA_TUNE 0x2D 40358619b14SKalle Valo #define B2056_RX_LNAA_GAIN 0x2E 40458619b14SKalle Valo #define B2056_RX_LNA_A_SLOPE 0x2F 40558619b14SKalle Valo #define B2056_RX_BIASPOLE_LNAA1_IDAC 0x30 40658619b14SKalle Valo #define B2056_RX_LNAA2_IDAC 0x31 40758619b14SKalle Valo #define B2056_RX_LNA1A_MISC 0x32 40858619b14SKalle Valo #define B2056_RX_LNAG_MASTER 0x33 40958619b14SKalle Valo #define B2056_RX_LNAG_TUNE 0x34 41058619b14SKalle Valo #define B2056_RX_LNAG_GAIN 0x35 41158619b14SKalle Valo #define B2056_RX_LNA_G_SLOPE 0x36 41258619b14SKalle Valo #define B2056_RX_BIASPOLE_LNAG1_IDAC 0x37 41358619b14SKalle Valo #define B2056_RX_LNAG2_IDAC 0x38 41458619b14SKalle Valo #define B2056_RX_LNA1G_MISC 0x39 41558619b14SKalle Valo #define B2056_RX_MIXA_MASTER 0x3A 41658619b14SKalle Valo #define B2056_RX_MIXA_VCM 0x3B 41758619b14SKalle Valo #define B2056_RX_MIXA_CTRLPTAT 0x3C 41858619b14SKalle Valo #define B2056_RX_MIXA_LOB_BIAS 0x3D 41958619b14SKalle Valo #define B2056_RX_MIXA_CORE_IDAC 0x3E 42058619b14SKalle Valo #define B2056_RX_MIXA_CMFB_IDAC 0x3F 42158619b14SKalle Valo #define B2056_RX_MIXA_BIAS_AUX 0x40 42258619b14SKalle Valo #define B2056_RX_MIXA_BIAS_MAIN 0x41 42358619b14SKalle Valo #define B2056_RX_MIXA_BIAS_MISC 0x42 42458619b14SKalle Valo #define B2056_RX_MIXA_MAST_BIAS 0x43 42558619b14SKalle Valo #define B2056_RX_MIXG_MASTER 0x44 42658619b14SKalle Valo #define B2056_RX_MIXG_VCM 0x45 42758619b14SKalle Valo #define B2056_RX_MIXG_CTRLPTAT 0x46 42858619b14SKalle Valo #define B2056_RX_MIXG_LOB_BIAS 0x47 42958619b14SKalle Valo #define B2056_RX_MIXG_CORE_IDAC 0x48 43058619b14SKalle Valo #define B2056_RX_MIXG_CMFB_IDAC 0x49 43158619b14SKalle Valo #define B2056_RX_MIXG_BIAS_AUX 0x4A 43258619b14SKalle Valo #define B2056_RX_MIXG_BIAS_MAIN 0x4B 43358619b14SKalle Valo #define B2056_RX_MIXG_BIAS_MISC 0x4C 43458619b14SKalle Valo #define B2056_RX_MIXG_MAST_BIAS 0x4D 43558619b14SKalle Valo #define B2056_RX_TIA_MASTER 0x4E 43658619b14SKalle Valo #define B2056_RX_TIA_IOPAMP 0x4F 43758619b14SKalle Valo #define B2056_RX_TIA_QOPAMP 0x50 43858619b14SKalle Valo #define B2056_RX_TIA_IMISC 0x51 43958619b14SKalle Valo #define B2056_RX_TIA_QMISC 0x52 44058619b14SKalle Valo #define B2056_RX_TIA_GAIN 0x53 44158619b14SKalle Valo #define B2056_RX_TIA_SPARE1 0x54 44258619b14SKalle Valo #define B2056_RX_TIA_SPARE2 0x55 44358619b14SKalle Valo #define B2056_RX_BB_LPF_MASTER 0x56 44458619b14SKalle Valo #define B2056_RX_AACI_MASTER 0x57 44558619b14SKalle Valo #define B2056_RX_RXLPF_IDAC 0x58 44658619b14SKalle Valo #define B2056_RX_RXLPF_OPAMPBIAS_LOWQ 0x59 44758619b14SKalle Valo #define B2056_RX_RXLPF_OPAMPBIAS_HIGHQ 0x5A 44858619b14SKalle Valo #define B2056_RX_RXLPF_BIAS_DCCANCEL 0x5B 44958619b14SKalle Valo #define B2056_RX_RXLPF_OUTVCM 0x5C 45058619b14SKalle Valo #define B2056_RX_RXLPF_INVCM_BODY 0x5D 45158619b14SKalle Valo #define B2056_RX_RXLPF_CC_OP 0x5E 45258619b14SKalle Valo #define B2056_RX_RXLPF_GAIN 0x5F 45358619b14SKalle Valo #define B2056_RX_RXLPF_Q_BW 0x60 45458619b14SKalle Valo #define B2056_RX_RXLPF_HP_CORNER_BW 0x61 45558619b14SKalle Valo #define B2056_RX_RXLPF_RCCAL_HPC 0x62 45658619b14SKalle Valo #define B2056_RX_RXHPF_OFF0 0x63 45758619b14SKalle Valo #define B2056_RX_RXHPF_OFF1 0x64 45858619b14SKalle Valo #define B2056_RX_RXHPF_OFF2 0x65 45958619b14SKalle Valo #define B2056_RX_RXHPF_OFF3 0x66 46058619b14SKalle Valo #define B2056_RX_RXHPF_OFF4 0x67 46158619b14SKalle Valo #define B2056_RX_RXHPF_OFF5 0x68 46258619b14SKalle Valo #define B2056_RX_RXHPF_OFF6 0x69 46358619b14SKalle Valo #define B2056_RX_RXHPF_OFF7 0x6A 46458619b14SKalle Valo #define B2056_RX_RXLPF_RCCAL_LPC 0x6B 46558619b14SKalle Valo #define B2056_RX_RXLPF_OFF_0 0x6C 46658619b14SKalle Valo #define B2056_RX_RXLPF_OFF_1 0x6D 46758619b14SKalle Valo #define B2056_RX_RXLPF_OFF_2 0x6E 46858619b14SKalle Valo #define B2056_RX_RXLPF_OFF_3 0x6F 46958619b14SKalle Valo #define B2056_RX_RXLPF_OFF_4 0x70 47058619b14SKalle Valo #define B2056_RX_UNUSED 0x71 47158619b14SKalle Valo #define B2056_RX_VGA_MASTER 0x72 47258619b14SKalle Valo #define B2056_RX_VGA_BIAS 0x73 47358619b14SKalle Valo #define B2056_RX_VGA_BIAS_DCCANCEL 0x74 47458619b14SKalle Valo #define B2056_RX_VGA_GAIN 0x75 47558619b14SKalle Valo #define B2056_RX_VGA_HP_CORNER_BW 0x76 47658619b14SKalle Valo #define B2056_RX_VGABUF_BIAS 0x77 47758619b14SKalle Valo #define B2056_RX_VGABUF_GAIN_BW 0x78 47858619b14SKalle Valo #define B2056_RX_TXFBMIX_A 0x79 47958619b14SKalle Valo #define B2056_RX_TXFBMIX_G 0x7A 48058619b14SKalle Valo #define B2056_RX_RXSPARE1 0x7B 48158619b14SKalle Valo #define B2056_RX_RXSPARE2 0x7C 48258619b14SKalle Valo #define B2056_RX_RXSPARE3 0x7D 48358619b14SKalle Valo #define B2056_RX_RXSPARE4 0x7E 48458619b14SKalle Valo #define B2056_RX_RXSPARE5 0x7F 48558619b14SKalle Valo #define B2056_RX_RXSPARE6 0x80 48658619b14SKalle Valo #define B2056_RX_RXSPARE7 0x81 48758619b14SKalle Valo #define B2056_RX_RXSPARE8 0x82 48858619b14SKalle Valo #define B2056_RX_RXSPARE9 0x83 48958619b14SKalle Valo #define B2056_RX_RXSPARE10 0x84 49058619b14SKalle Valo #define B2056_RX_RXSPARE11 0x85 49158619b14SKalle Valo #define B2056_RX_RXSPARE12 0x86 49258619b14SKalle Valo #define B2056_RX_RXSPARE13 0x87 49358619b14SKalle Valo #define B2056_RX_RXSPARE14 0x88 49458619b14SKalle Valo #define B2056_RX_RXSPARE15 0x89 49558619b14SKalle Valo #define B2056_RX_RXSPARE16 0x8A 49658619b14SKalle Valo #define B2056_RX_STATUS_LNAA_GAIN 0x8B 49758619b14SKalle Valo #define B2056_RX_STATUS_LNAG_GAIN 0x8C 49858619b14SKalle Valo #define B2056_RX_STATUS_MIXTIA_GAIN 0x8D 49958619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_GAIN 0x8E 50058619b14SKalle Valo #define B2056_RX_STATUS_VGA_BUF_GAIN 0x8F 50158619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_Q 0x90 50258619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_BUF_BW 0x91 50358619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_VGA_HPC 0x92 50458619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_RC 0x93 50558619b14SKalle Valo #define B2056_RX_STATUS_HPC_RC 0x94 50658619b14SKalle Valo 50758619b14SKalle Valo #define B2056_LNA1_A_PU 0x01 50858619b14SKalle Valo #define B2056_LNA2_A_PU 0x02 50958619b14SKalle Valo #define B2056_LNA1_G_PU 0x01 51058619b14SKalle Valo #define B2056_LNA2_G_PU 0x02 51158619b14SKalle Valo #define B2056_MIXA_PU_I 0x01 51258619b14SKalle Valo #define B2056_MIXA_PU_Q 0x02 51358619b14SKalle Valo #define B2056_MIXA_PU_GM 0x10 51458619b14SKalle Valo #define B2056_MIXG_PU_I 0x01 51558619b14SKalle Valo #define B2056_MIXG_PU_Q 0x02 51658619b14SKalle Valo #define B2056_MIXG_PU_GM 0x10 51758619b14SKalle Valo #define B2056_TIA_PU 0x01 51858619b14SKalle Valo #define B2056_BB_LPF_PU 0x20 51958619b14SKalle Valo #define B2056_W1_PU 0x02 52058619b14SKalle Valo #define B2056_W2_PU 0x04 52158619b14SKalle Valo #define B2056_NB_PU 0x08 52258619b14SKalle Valo #define B2056_RSSI_W1_SEL 0x02 52358619b14SKalle Valo #define B2056_RSSI_W2_SEL 0x04 52458619b14SKalle Valo #define B2056_RSSI_NB_SEL 0x08 52558619b14SKalle Valo #define B2056_VCM_MASK 0x1C 52658619b14SKalle Valo #define B2056_RSSI_VCM_SHIFT 0x02 52758619b14SKalle Valo 52858619b14SKalle Valo #define B2056_SYN (0x0 << 12) 52958619b14SKalle Valo #define B2056_TX0 (0x2 << 12) 53058619b14SKalle Valo #define B2056_TX1 (0x3 << 12) 53158619b14SKalle Valo #define B2056_RX0 (0x6 << 12) 53258619b14SKalle Valo #define B2056_RX1 (0x7 << 12) 53358619b14SKalle Valo #define B2056_ALLTX (0xE << 12) 53458619b14SKalle Valo #define B2056_ALLRX (0xF << 12) 53558619b14SKalle Valo 53658619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR0 0x00 53758619b14SKalle Valo #define B2056_SYN_IDCODE 0x01 53858619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR2 0x02 53958619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR3 0x03 54058619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR4 0x04 54158619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR5 0x05 54258619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR6 0x06 54358619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR7 0x07 54458619b14SKalle Valo #define B2056_SYN_COM_CTRL 0x08 54558619b14SKalle Valo #define B2056_SYN_COM_PU 0x09 54658619b14SKalle Valo #define B2056_SYN_COM_OVR 0x0A 54758619b14SKalle Valo #define B2056_SYN_COM_RESET 0x0B 54858619b14SKalle Valo #define B2056_SYN_COM_RCAL 0x0C 54958619b14SKalle Valo #define B2056_SYN_COM_RC_RXLPF 0x0D 55058619b14SKalle Valo #define B2056_SYN_COM_RC_TXLPF 0x0E 55158619b14SKalle Valo #define B2056_SYN_COM_RC_RXHPF 0x0F 55258619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR16 0x10 55358619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR17 0x11 55458619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR18 0x12 55558619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR19 0x13 55658619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR20 0x14 55758619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR21 0x15 55858619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR22 0x16 55958619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR23 0x17 56058619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR24 0x18 56158619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR25 0x19 56258619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR26 0x1A 56358619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR27 0x1B 56458619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR28 0x1C 56558619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR29 0x1D 56658619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR30 0x1E 56758619b14SKalle Valo #define B2056_SYN_RESERVED_ADDR31 0x1F 56858619b14SKalle Valo #define B2056_SYN_GPIO_MASTER1 0x20 56958619b14SKalle Valo #define B2056_SYN_GPIO_MASTER2 0x21 57058619b14SKalle Valo #define B2056_SYN_TOPBIAS_MASTER 0x22 57158619b14SKalle Valo #define B2056_SYN_TOPBIAS_RCAL 0x23 57258619b14SKalle Valo #define B2056_SYN_AFEREG 0x24 57358619b14SKalle Valo #define B2056_SYN_TEMPPROCSENSE 0x25 57458619b14SKalle Valo #define B2056_SYN_TEMPPROCSENSEIDAC 0x26 57558619b14SKalle Valo #define B2056_SYN_TEMPPROCSENSERCAL 0x27 57658619b14SKalle Valo #define B2056_SYN_LPO 0x28 57758619b14SKalle Valo #define B2056_SYN_VDDCAL_MASTER 0x29 57858619b14SKalle Valo #define B2056_SYN_VDDCAL_IDAC 0x2A 57958619b14SKalle Valo #define B2056_SYN_VDDCAL_STATUS 0x2B 58058619b14SKalle Valo #define B2056_SYN_RCAL_MASTER 0x2C 58158619b14SKalle Valo #define B2056_SYN_RCAL_CODE_OUT 0x2D 58258619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL0 0x2E 58358619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL1 0x2F 58458619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL2 0x30 58558619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL3 0x31 58658619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL4 0x32 58758619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL5 0x33 58858619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL6 0x34 58958619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL7 0x35 59058619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL8 0x36 59158619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL9 0x37 59258619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL10 0x38 59358619b14SKalle Valo #define B2056_SYN_RCCAL_CTRL11 0x39 59458619b14SKalle Valo #define B2056_SYN_ZCAL_SPARE1 0x3A 59558619b14SKalle Valo #define B2056_SYN_ZCAL_SPARE2 0x3B 59658619b14SKalle Valo #define B2056_SYN_PLL_MAST1 0x3C 59758619b14SKalle Valo #define B2056_SYN_PLL_MAST2 0x3D 59858619b14SKalle Valo #define B2056_SYN_PLL_MAST3 0x3E 59958619b14SKalle Valo #define B2056_SYN_PLL_BIAS_RESET 0x3F 60058619b14SKalle Valo #define B2056_SYN_PLL_XTAL0 0x40 60158619b14SKalle Valo #define B2056_SYN_PLL_XTAL1 0x41 60258619b14SKalle Valo #define B2056_SYN_PLL_XTAL3 0x42 60358619b14SKalle Valo #define B2056_SYN_PLL_XTAL4 0x43 60458619b14SKalle Valo #define B2056_SYN_PLL_XTAL5 0x44 60558619b14SKalle Valo #define B2056_SYN_PLL_XTAL6 0x45 60658619b14SKalle Valo #define B2056_SYN_PLL_REFDIV 0x46 60758619b14SKalle Valo #define B2056_SYN_PLL_PFD 0x47 60858619b14SKalle Valo #define B2056_SYN_PLL_CP1 0x48 60958619b14SKalle Valo #define B2056_SYN_PLL_CP2 0x49 61058619b14SKalle Valo #define B2056_SYN_PLL_CP3 0x4A 61158619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER1 0x4B 61258619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER2 0x4C 61358619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER3 0x4D 61458619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER4 0x4E 61558619b14SKalle Valo #define B2056_SYN_PLL_LOOPFILTER5 0x4F 61658619b14SKalle Valo #define B2056_SYN_PLL_MMD1 0x50 61758619b14SKalle Valo #define B2056_SYN_PLL_MMD2 0x51 61858619b14SKalle Valo #define B2056_SYN_PLL_VCO1 0x52 61958619b14SKalle Valo #define B2056_SYN_PLL_VCO2 0x53 62058619b14SKalle Valo #define B2056_SYN_PLL_MONITOR1 0x54 62158619b14SKalle Valo #define B2056_SYN_PLL_MONITOR2 0x55 62258619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL1 0x56 62358619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL2 0x57 62458619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL4 0x58 62558619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL5 0x59 62658619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL6 0x5A 62758619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL7 0x5B 62858619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL8 0x5C 62958619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL9 0x5D 63058619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL10 0x5E 63158619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL11 0x5F 63258619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL12 0x60 63358619b14SKalle Valo #define B2056_SYN_PLL_VCOCAL13 0x61 63458619b14SKalle Valo #define B2056_SYN_PLL_VREG 0x62 63558619b14SKalle Valo #define B2056_SYN_PLL_STATUS1 0x63 63658619b14SKalle Valo #define B2056_SYN_PLL_STATUS2 0x64 63758619b14SKalle Valo #define B2056_SYN_PLL_STATUS3 0x65 63858619b14SKalle Valo #define B2056_SYN_LOGEN_PU0 0x66 63958619b14SKalle Valo #define B2056_SYN_LOGEN_PU1 0x67 64058619b14SKalle Valo #define B2056_SYN_LOGEN_PU2 0x68 64158619b14SKalle Valo #define B2056_SYN_LOGEN_PU3 0x69 64258619b14SKalle Valo #define B2056_SYN_LOGEN_PU5 0x6A 64358619b14SKalle Valo #define B2056_SYN_LOGEN_PU6 0x6B 64458619b14SKalle Valo #define B2056_SYN_LOGEN_PU7 0x6C 64558619b14SKalle Valo #define B2056_SYN_LOGEN_PU8 0x6D 64658619b14SKalle Valo #define B2056_SYN_LOGEN_BIAS_RESET 0x6E 64758619b14SKalle Valo #define B2056_SYN_LOGEN_RCCR1 0x6F 64858619b14SKalle Valo #define B2056_SYN_LOGEN_VCOBUF1 0x70 64958619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER1 0x71 65058619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER2 0x72 65158619b14SKalle Valo #define B2056_SYN_LOGEN_BUF1 0x73 65258619b14SKalle Valo #define B2056_SYN_LOGENBUF2 0x74 65358619b14SKalle Valo #define B2056_SYN_LOGEN_BUF3 0x75 65458619b14SKalle Valo #define B2056_SYN_LOGEN_BUF4 0x76 65558619b14SKalle Valo #define B2056_SYN_LOGEN_DIV1 0x77 65658619b14SKalle Valo #define B2056_SYN_LOGEN_DIV2 0x78 65758619b14SKalle Valo #define B2056_SYN_LOGEN_DIV3 0x79 65858619b14SKalle Valo #define B2056_SYN_LOGEN_ACL1 0x7A 65958619b14SKalle Valo #define B2056_SYN_LOGEN_ACL2 0x7B 66058619b14SKalle Valo #define B2056_SYN_LOGEN_ACL3 0x7C 66158619b14SKalle Valo #define B2056_SYN_LOGEN_ACL4 0x7D 66258619b14SKalle Valo #define B2056_SYN_LOGEN_ACL5 0x7E 66358619b14SKalle Valo #define B2056_SYN_LOGEN_ACL6 0x7F 66458619b14SKalle Valo #define B2056_SYN_LOGEN_ACLOUT 0x80 66558619b14SKalle Valo #define B2056_SYN_LOGEN_ACLCAL1 0x81 66658619b14SKalle Valo #define B2056_SYN_LOGEN_ACLCAL2 0x82 66758619b14SKalle Valo #define B2056_SYN_LOGEN_ACLCAL3 0x83 66858619b14SKalle Valo #define B2056_SYN_CALEN 0x84 66958619b14SKalle Valo #define B2056_SYN_LOGEN_PEAKDET1 0x85 67058619b14SKalle Valo #define B2056_SYN_LOGEN_CORE_ACL_OVR 0x86 67158619b14SKalle Valo #define B2056_SYN_LOGEN_RX_DIFF_ACL_OVR 0x87 67258619b14SKalle Valo #define B2056_SYN_LOGEN_TX_DIFF_ACL_OVR 0x88 67358619b14SKalle Valo #define B2056_SYN_LOGEN_RX_CMOS_ACL_OVR 0x89 67458619b14SKalle Valo #define B2056_SYN_LOGEN_TX_CMOS_ACL_OVR 0x8A 67558619b14SKalle Valo #define B2056_SYN_LOGEN_VCOBUF2 0x8B 67658619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER3 0x8C 67758619b14SKalle Valo #define B2056_SYN_LOGEN_BUF5 0x8D 67858619b14SKalle Valo #define B2056_SYN_LOGEN_BUF6 0x8E 67958619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX1 0x8F 68058619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX2 0x90 68158619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX3 0x91 68258619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX4 0x92 68358619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX1 0x93 68458619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX2 0x94 68558619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX3 0x95 68658619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX4 0x96 68758619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX1 0x97 68858619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX2 0x98 68958619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX3 0x99 69058619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX4 0x9A 69158619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX1 0x9B 69258619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX2 0x9C 69358619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX3 0x9D 69458619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX4 0x9E 69558619b14SKalle Valo #define B2056_SYN_LOGEN_VCOBUF2_OVRVAL 0x9F 69658619b14SKalle Valo #define B2056_SYN_LOGEN_MIXER3_OVRVAL 0xA0 69758619b14SKalle Valo #define B2056_SYN_LOGEN_BUF5_OVRVAL 0xA1 69858619b14SKalle Valo #define B2056_SYN_LOGEN_BUF6_OVRVAL 0xA2 69958619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX1_OVRVAL 0xA3 70058619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX2_OVRVAL 0xA4 70158619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX3_OVRVAL 0xA5 70258619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFRX4_OVRVAL 0xA6 70358619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX1_OVRVAL 0xA7 70458619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX2_OVRVAL 0xA8 70558619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX3_OVRVAL 0xA9 70658619b14SKalle Valo #define B2056_SYN_LOGEN_CBUFTX4_OVRVAL 0xAA 70758619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX1_OVRVAL 0xAB 70858619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX2_OVRVAL 0xAC 70958619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX3_OVRVAL 0xAD 71058619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSRX4_OVRVAL 0xAE 71158619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX1_OVRVAL 0xAF 71258619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX2_OVRVAL 0xB0 71358619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX3_OVRVAL 0xB1 71458619b14SKalle Valo #define B2056_SYN_LOGEN_CMOSTX4_OVRVAL 0xB2 71558619b14SKalle Valo #define B2056_SYN_LOGEN_ACL_WAITCNT 0xB3 71658619b14SKalle Valo #define B2056_SYN_LOGEN_CORE_CALVALID 0xB4 71758619b14SKalle Valo #define B2056_SYN_LOGEN_RX_CMOS_CALVALID 0xB5 71858619b14SKalle Valo #define B2056_SYN_LOGEN_TX_CMOS_VALID 0xB6 71958619b14SKalle Valo 72058619b14SKalle Valo #define B2056_TX_RESERVED_ADDR0 0x00 72158619b14SKalle Valo #define B2056_TX_IDCODE 0x01 72258619b14SKalle Valo #define B2056_TX_RESERVED_ADDR2 0x02 72358619b14SKalle Valo #define B2056_TX_RESERVED_ADDR3 0x03 72458619b14SKalle Valo #define B2056_TX_RESERVED_ADDR4 0x04 72558619b14SKalle Valo #define B2056_TX_RESERVED_ADDR5 0x05 72658619b14SKalle Valo #define B2056_TX_RESERVED_ADDR6 0x06 72758619b14SKalle Valo #define B2056_TX_RESERVED_ADDR7 0x07 72858619b14SKalle Valo #define B2056_TX_COM_CTRL 0x08 72958619b14SKalle Valo #define B2056_TX_COM_PU 0x09 73058619b14SKalle Valo #define B2056_TX_COM_OVR 0x0A 73158619b14SKalle Valo #define B2056_TX_COM_RESET 0x0B 73258619b14SKalle Valo #define B2056_TX_COM_RCAL 0x0C 73358619b14SKalle Valo #define B2056_TX_COM_RC_RXLPF 0x0D 73458619b14SKalle Valo #define B2056_TX_COM_RC_TXLPF 0x0E 73558619b14SKalle Valo #define B2056_TX_COM_RC_RXHPF 0x0F 73658619b14SKalle Valo #define B2056_TX_RESERVED_ADDR16 0x10 73758619b14SKalle Valo #define B2056_TX_RESERVED_ADDR17 0x11 73858619b14SKalle Valo #define B2056_TX_RESERVED_ADDR18 0x12 73958619b14SKalle Valo #define B2056_TX_RESERVED_ADDR19 0x13 74058619b14SKalle Valo #define B2056_TX_RESERVED_ADDR20 0x14 74158619b14SKalle Valo #define B2056_TX_RESERVED_ADDR21 0x15 74258619b14SKalle Valo #define B2056_TX_RESERVED_ADDR22 0x16 74358619b14SKalle Valo #define B2056_TX_RESERVED_ADDR23 0x17 74458619b14SKalle Valo #define B2056_TX_RESERVED_ADDR24 0x18 74558619b14SKalle Valo #define B2056_TX_RESERVED_ADDR25 0x19 74658619b14SKalle Valo #define B2056_TX_RESERVED_ADDR26 0x1A 74758619b14SKalle Valo #define B2056_TX_RESERVED_ADDR27 0x1B 74858619b14SKalle Valo #define B2056_TX_RESERVED_ADDR28 0x1C 74958619b14SKalle Valo #define B2056_TX_RESERVED_ADDR29 0x1D 75058619b14SKalle Valo #define B2056_TX_RESERVED_ADDR30 0x1E 75158619b14SKalle Valo #define B2056_TX_RESERVED_ADDR31 0x1F 75258619b14SKalle Valo #define B2056_TX_IQCAL_GAIN_BW 0x20 75358619b14SKalle Valo #define B2056_TX_LOFT_FINE_I 0x21 75458619b14SKalle Valo #define B2056_TX_LOFT_FINE_Q 0x22 75558619b14SKalle Valo #define B2056_TX_LOFT_COARSE_I 0x23 75658619b14SKalle Valo #define B2056_TX_LOFT_COARSE_Q 0x24 75758619b14SKalle Valo #define B2056_TX_TX_COM_MASTER1 0x25 75858619b14SKalle Valo #define B2056_TX_TX_COM_MASTER2 0x26 75958619b14SKalle Valo #define B2056_TX_RXIQCAL_TXMUX 0x27 76058619b14SKalle Valo #define B2056_TX_TX_SSI_MASTER 0x28 76158619b14SKalle Valo #define B2056_TX_IQCAL_VCM_HG 0x29 76258619b14SKalle Valo #define B2056_TX_IQCAL_IDAC 0x2A 76358619b14SKalle Valo #define B2056_TX_TSSI_VCM 0x2B 76458619b14SKalle Valo #define B2056_TX_TX_AMP_DET 0x2C 76558619b14SKalle Valo #define B2056_TX_TX_SSI_MUX 0x2D 76658619b14SKalle Valo #define B2056_TX_TSSIA 0x2E 76758619b14SKalle Valo #define B2056_TX_TSSIG 0x2F 76858619b14SKalle Valo #define B2056_TX_TSSI_MISC1 0x30 76958619b14SKalle Valo #define B2056_TX_TSSI_MISC2 0x31 77058619b14SKalle Valo #define B2056_TX_TSSI_MISC3 0x32 77158619b14SKalle Valo #define B2056_TX_PA_SPARE1 0x33 77258619b14SKalle Valo #define B2056_TX_PA_SPARE2 0x34 77358619b14SKalle Valo #define B2056_TX_INTPAA_MASTER 0x35 77458619b14SKalle Valo #define B2056_TX_INTPAA_GAIN 0x36 77558619b14SKalle Valo #define B2056_TX_INTPAA_BOOST_TUNE 0x37 77658619b14SKalle Valo #define B2056_TX_INTPAA_IAUX_STAT 0x38 77758619b14SKalle Valo #define B2056_TX_INTPAA_IAUX_DYN 0x39 77858619b14SKalle Valo #define B2056_TX_INTPAA_IMAIN_STAT 0x3A 77958619b14SKalle Valo #define B2056_TX_INTPAA_IMAIN_DYN 0x3B 78058619b14SKalle Valo #define B2056_TX_INTPAA_CASCBIAS 0x3C 78158619b14SKalle Valo #define B2056_TX_INTPAA_PASLOPE 0x3D 78258619b14SKalle Valo #define B2056_TX_INTPAA_PA_MISC 0x3E 78358619b14SKalle Valo #define B2056_TX_INTPAG_MASTER 0x3F 78458619b14SKalle Valo #define B2056_TX_INTPAG_GAIN 0x40 78558619b14SKalle Valo #define B2056_TX_INTPAG_BOOST_TUNE 0x41 78658619b14SKalle Valo #define B2056_TX_INTPAG_IAUX_STAT 0x42 78758619b14SKalle Valo #define B2056_TX_INTPAG_IAUX_DYN 0x43 78858619b14SKalle Valo #define B2056_TX_INTPAG_IMAIN_STAT 0x44 78958619b14SKalle Valo #define B2056_TX_INTPAG_IMAIN_DYN 0x45 79058619b14SKalle Valo #define B2056_TX_INTPAG_CASCBIAS 0x46 79158619b14SKalle Valo #define B2056_TX_INTPAG_PASLOPE 0x47 79258619b14SKalle Valo #define B2056_TX_INTPAG_PA_MISC 0x48 79358619b14SKalle Valo #define B2056_TX_PADA_MASTER 0x49 79458619b14SKalle Valo #define B2056_TX_PADA_IDAC 0x4A 79558619b14SKalle Valo #define B2056_TX_PADA_CASCBIAS 0x4B 79658619b14SKalle Valo #define B2056_TX_PADA_GAIN 0x4C 79758619b14SKalle Valo #define B2056_TX_PADA_BOOST_TUNE 0x4D 79858619b14SKalle Valo #define B2056_TX_PADA_SLOPE 0x4E 79958619b14SKalle Valo #define B2056_TX_PADG_MASTER 0x4F 80058619b14SKalle Valo #define B2056_TX_PADG_IDAC 0x50 80158619b14SKalle Valo #define B2056_TX_PADG_CASCBIAS 0x51 80258619b14SKalle Valo #define B2056_TX_PADG_GAIN 0x52 80358619b14SKalle Valo #define B2056_TX_PADG_BOOST_TUNE 0x53 80458619b14SKalle Valo #define B2056_TX_PADG_SLOPE 0x54 80558619b14SKalle Valo #define B2056_TX_PGAA_MASTER 0x55 80658619b14SKalle Valo #define B2056_TX_PGAA_IDAC 0x56 80758619b14SKalle Valo #define B2056_TX_PGAA_GAIN 0x57 80858619b14SKalle Valo #define B2056_TX_PGAA_BOOST_TUNE 0x58 80958619b14SKalle Valo #define B2056_TX_PGAA_SLOPE 0x59 81058619b14SKalle Valo #define B2056_TX_PGAA_MISC 0x5A 81158619b14SKalle Valo #define B2056_TX_PGAG_MASTER 0x5B 81258619b14SKalle Valo #define B2056_TX_PGAG_IDAC 0x5C 81358619b14SKalle Valo #define B2056_TX_PGAG_GAIN 0x5D 81458619b14SKalle Valo #define B2056_TX_PGAG_BOOST_TUNE 0x5E 81558619b14SKalle Valo #define B2056_TX_PGAG_SLOPE 0x5F 81658619b14SKalle Valo #define B2056_TX_PGAG_MISC 0x60 81758619b14SKalle Valo #define B2056_TX_MIXA_MASTER 0x61 81858619b14SKalle Valo #define B2056_TX_MIXA_BOOST_TUNE 0x62 81958619b14SKalle Valo #define B2056_TX_MIXG 0x63 82058619b14SKalle Valo #define B2056_TX_MIXG_BOOST_TUNE 0x64 82158619b14SKalle Valo #define B2056_TX_BB_GM_MASTER 0x65 82258619b14SKalle Valo #define B2056_TX_GMBB_GM 0x66 82358619b14SKalle Valo #define B2056_TX_GMBB_IDAC 0x67 82458619b14SKalle Valo #define B2056_TX_TXLPF_MASTER 0x68 82558619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL 0x69 82658619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF0 0x6A 82758619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF1 0x6B 82858619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF2 0x6C 82958619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF3 0x6D 83058619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF4 0x6E 83158619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF5 0x6F 83258619b14SKalle Valo #define B2056_TX_TXLPF_RCCAL_OFF6 0x70 83358619b14SKalle Valo #define B2056_TX_TXLPF_BW 0x71 83458619b14SKalle Valo #define B2056_TX_TXLPF_GAIN 0x72 83558619b14SKalle Valo #define B2056_TX_TXLPF_IDAC 0x73 83658619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_0 0x74 83758619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_1 0x75 83858619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_2 0x76 83958619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_3 0x77 84058619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_4 0x78 84158619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_5 0x79 84258619b14SKalle Valo #define B2056_TX_TXLPF_IDAC_6 0x7A 84358619b14SKalle Valo #define B2056_TX_TXLPF_OPAMP_IDAC 0x7B 84458619b14SKalle Valo #define B2056_TX_TXLPF_MISC 0x7C 84558619b14SKalle Valo #define B2056_TX_TXSPARE1 0x7D 84658619b14SKalle Valo #define B2056_TX_TXSPARE2 0x7E 84758619b14SKalle Valo #define B2056_TX_TXSPARE3 0x7F 84858619b14SKalle Valo #define B2056_TX_TXSPARE4 0x80 84958619b14SKalle Valo #define B2056_TX_TXSPARE5 0x81 85058619b14SKalle Valo #define B2056_TX_TXSPARE6 0x82 85158619b14SKalle Valo #define B2056_TX_TXSPARE7 0x83 85258619b14SKalle Valo #define B2056_TX_TXSPARE8 0x84 85358619b14SKalle Valo #define B2056_TX_TXSPARE9 0x85 85458619b14SKalle Valo #define B2056_TX_TXSPARE10 0x86 85558619b14SKalle Valo #define B2056_TX_TXSPARE11 0x87 85658619b14SKalle Valo #define B2056_TX_TXSPARE12 0x88 85758619b14SKalle Valo #define B2056_TX_TXSPARE13 0x89 85858619b14SKalle Valo #define B2056_TX_TXSPARE14 0x8A 85958619b14SKalle Valo #define B2056_TX_TXSPARE15 0x8B 86058619b14SKalle Valo #define B2056_TX_TXSPARE16 0x8C 86158619b14SKalle Valo #define B2056_TX_STATUS_INTPA_GAIN 0x8D 86258619b14SKalle Valo #define B2056_TX_STATUS_PAD_GAIN 0x8E 86358619b14SKalle Valo #define B2056_TX_STATUS_PGA_GAIN 0x8F 86458619b14SKalle Valo #define B2056_TX_STATUS_GM_TXLPF_GAIN 0x90 86558619b14SKalle Valo #define B2056_TX_STATUS_TXLPF_BW 0x91 86658619b14SKalle Valo #define B2056_TX_STATUS_TXLPF_RC 0x92 86758619b14SKalle Valo #define B2056_TX_GMBB_IDAC0 0x93 86858619b14SKalle Valo #define B2056_TX_GMBB_IDAC1 0x94 86958619b14SKalle Valo #define B2056_TX_GMBB_IDAC2 0x95 87058619b14SKalle Valo #define B2056_TX_GMBB_IDAC3 0x96 87158619b14SKalle Valo #define B2056_TX_GMBB_IDAC4 0x97 87258619b14SKalle Valo #define B2056_TX_GMBB_IDAC5 0x98 87358619b14SKalle Valo #define B2056_TX_GMBB_IDAC6 0x99 87458619b14SKalle Valo #define B2056_TX_GMBB_IDAC7 0x9A 87558619b14SKalle Valo 87658619b14SKalle Valo #define B2056_RX_RESERVED_ADDR0 0x00 87758619b14SKalle Valo #define B2056_RX_IDCODE 0x01 87858619b14SKalle Valo #define B2056_RX_RESERVED_ADDR2 0x02 87958619b14SKalle Valo #define B2056_RX_RESERVED_ADDR3 0x03 88058619b14SKalle Valo #define B2056_RX_RESERVED_ADDR4 0x04 88158619b14SKalle Valo #define B2056_RX_RESERVED_ADDR5 0x05 88258619b14SKalle Valo #define B2056_RX_RESERVED_ADDR6 0x06 88358619b14SKalle Valo #define B2056_RX_RESERVED_ADDR7 0x07 88458619b14SKalle Valo #define B2056_RX_COM_CTRL 0x08 88558619b14SKalle Valo #define B2056_RX_COM_PU 0x09 88658619b14SKalle Valo #define B2056_RX_COM_OVR 0x0A 88758619b14SKalle Valo #define B2056_RX_COM_RESET 0x0B 88858619b14SKalle Valo #define B2056_RX_COM_RCAL 0x0C 88958619b14SKalle Valo #define B2056_RX_COM_RC_RXLPF 0x0D 89058619b14SKalle Valo #define B2056_RX_COM_RC_TXLPF 0x0E 89158619b14SKalle Valo #define B2056_RX_COM_RC_RXHPF 0x0F 89258619b14SKalle Valo #define B2056_RX_RESERVED_ADDR16 0x10 89358619b14SKalle Valo #define B2056_RX_RESERVED_ADDR17 0x11 89458619b14SKalle Valo #define B2056_RX_RESERVED_ADDR18 0x12 89558619b14SKalle Valo #define B2056_RX_RESERVED_ADDR19 0x13 89658619b14SKalle Valo #define B2056_RX_RESERVED_ADDR20 0x14 89758619b14SKalle Valo #define B2056_RX_RESERVED_ADDR21 0x15 89858619b14SKalle Valo #define B2056_RX_RESERVED_ADDR22 0x16 89958619b14SKalle Valo #define B2056_RX_RESERVED_ADDR23 0x17 90058619b14SKalle Valo #define B2056_RX_RESERVED_ADDR24 0x18 90158619b14SKalle Valo #define B2056_RX_RESERVED_ADDR25 0x19 90258619b14SKalle Valo #define B2056_RX_RESERVED_ADDR26 0x1A 90358619b14SKalle Valo #define B2056_RX_RESERVED_ADDR27 0x1B 90458619b14SKalle Valo #define B2056_RX_RESERVED_ADDR28 0x1C 90558619b14SKalle Valo #define B2056_RX_RESERVED_ADDR29 0x1D 90658619b14SKalle Valo #define B2056_RX_RESERVED_ADDR30 0x1E 90758619b14SKalle Valo #define B2056_RX_RESERVED_ADDR31 0x1F 90858619b14SKalle Valo #define B2056_RX_RXIQCAL_RXMUX 0x20 90958619b14SKalle Valo #define B2056_RX_RSSI_PU 0x21 91058619b14SKalle Valo #define B2056_RX_RSSI_SEL 0x22 91158619b14SKalle Valo #define B2056_RX_RSSI_GAIN 0x23 91258619b14SKalle Valo #define B2056_RX_RSSI_NB_IDAC 0x24 91358619b14SKalle Valo #define B2056_RX_RSSI_WB2I_IDAC_1 0x25 91458619b14SKalle Valo #define B2056_RX_RSSI_WB2I_IDAC_2 0x26 91558619b14SKalle Valo #define B2056_RX_RSSI_WB2Q_IDAC_1 0x27 91658619b14SKalle Valo #define B2056_RX_RSSI_WB2Q_IDAC_2 0x28 91758619b14SKalle Valo #define B2056_RX_RSSI_POLE 0x29 91858619b14SKalle Valo #define B2056_RX_RSSI_WB1_IDAC 0x2A 91958619b14SKalle Valo #define B2056_RX_RSSI_MISC 0x2B 92058619b14SKalle Valo #define B2056_RX_LNAA_MASTER 0x2C 92158619b14SKalle Valo #define B2056_RX_LNAA_TUNE 0x2D 92258619b14SKalle Valo #define B2056_RX_LNAA_GAIN 0x2E 92358619b14SKalle Valo #define B2056_RX_LNA_A_SLOPE 0x2F 92458619b14SKalle Valo #define B2056_RX_BIASPOLE_LNAA1_IDAC 0x30 92558619b14SKalle Valo #define B2056_RX_LNAA2_IDAC 0x31 92658619b14SKalle Valo #define B2056_RX_LNA1A_MISC 0x32 92758619b14SKalle Valo #define B2056_RX_LNAG_MASTER 0x33 92858619b14SKalle Valo #define B2056_RX_LNAG_TUNE 0x34 92958619b14SKalle Valo #define B2056_RX_LNAG_GAIN 0x35 93058619b14SKalle Valo #define B2056_RX_LNA_G_SLOPE 0x36 93158619b14SKalle Valo #define B2056_RX_BIASPOLE_LNAG1_IDAC 0x37 93258619b14SKalle Valo #define B2056_RX_LNAG2_IDAC 0x38 93358619b14SKalle Valo #define B2056_RX_LNA1G_MISC 0x39 93458619b14SKalle Valo #define B2056_RX_MIXA_MASTER 0x3A 93558619b14SKalle Valo #define B2056_RX_MIXA_VCM 0x3B 93658619b14SKalle Valo #define B2056_RX_MIXA_CTRLPTAT 0x3C 93758619b14SKalle Valo #define B2056_RX_MIXA_LOB_BIAS 0x3D 93858619b14SKalle Valo #define B2056_RX_MIXA_CORE_IDAC 0x3E 93958619b14SKalle Valo #define B2056_RX_MIXA_CMFB_IDAC 0x3F 94058619b14SKalle Valo #define B2056_RX_MIXA_BIAS_AUX 0x40 94158619b14SKalle Valo #define B2056_RX_MIXA_BIAS_MAIN 0x41 94258619b14SKalle Valo #define B2056_RX_MIXA_BIAS_MISC 0x42 94358619b14SKalle Valo #define B2056_RX_MIXA_MAST_BIAS 0x43 94458619b14SKalle Valo #define B2056_RX_MIXG_MASTER 0x44 94558619b14SKalle Valo #define B2056_RX_MIXG_VCM 0x45 94658619b14SKalle Valo #define B2056_RX_MIXG_CTRLPTAT 0x46 94758619b14SKalle Valo #define B2056_RX_MIXG_LOB_BIAS 0x47 94858619b14SKalle Valo #define B2056_RX_MIXG_CORE_IDAC 0x48 94958619b14SKalle Valo #define B2056_RX_MIXG_CMFB_IDAC 0x49 95058619b14SKalle Valo #define B2056_RX_MIXG_BIAS_AUX 0x4A 95158619b14SKalle Valo #define B2056_RX_MIXG_BIAS_MAIN 0x4B 95258619b14SKalle Valo #define B2056_RX_MIXG_BIAS_MISC 0x4C 95358619b14SKalle Valo #define B2056_RX_MIXG_MAST_BIAS 0x4D 95458619b14SKalle Valo #define B2056_RX_TIA_MASTER 0x4E 95558619b14SKalle Valo #define B2056_RX_TIA_IOPAMP 0x4F 95658619b14SKalle Valo #define B2056_RX_TIA_QOPAMP 0x50 95758619b14SKalle Valo #define B2056_RX_TIA_IMISC 0x51 95858619b14SKalle Valo #define B2056_RX_TIA_QMISC 0x52 95958619b14SKalle Valo #define B2056_RX_TIA_GAIN 0x53 96058619b14SKalle Valo #define B2056_RX_TIA_SPARE1 0x54 96158619b14SKalle Valo #define B2056_RX_TIA_SPARE2 0x55 96258619b14SKalle Valo #define B2056_RX_BB_LPF_MASTER 0x56 96358619b14SKalle Valo #define B2056_RX_AACI_MASTER 0x57 96458619b14SKalle Valo #define B2056_RX_RXLPF_IDAC 0x58 96558619b14SKalle Valo #define B2056_RX_RXLPF_OPAMPBIAS_LOWQ 0x59 96658619b14SKalle Valo #define B2056_RX_RXLPF_OPAMPBIAS_HIGHQ 0x5A 96758619b14SKalle Valo #define B2056_RX_RXLPF_BIAS_DCCANCEL 0x5B 96858619b14SKalle Valo #define B2056_RX_RXLPF_OUTVCM 0x5C 96958619b14SKalle Valo #define B2056_RX_RXLPF_INVCM_BODY 0x5D 97058619b14SKalle Valo #define B2056_RX_RXLPF_CC_OP 0x5E 97158619b14SKalle Valo #define B2056_RX_RXLPF_GAIN 0x5F 97258619b14SKalle Valo #define B2056_RX_RXLPF_Q_BW 0x60 97358619b14SKalle Valo #define B2056_RX_RXLPF_HP_CORNER_BW 0x61 97458619b14SKalle Valo #define B2056_RX_RXLPF_RCCAL_HPC 0x62 97558619b14SKalle Valo #define B2056_RX_RXHPF_OFF0 0x63 97658619b14SKalle Valo #define B2056_RX_RXHPF_OFF1 0x64 97758619b14SKalle Valo #define B2056_RX_RXHPF_OFF2 0x65 97858619b14SKalle Valo #define B2056_RX_RXHPF_OFF3 0x66 97958619b14SKalle Valo #define B2056_RX_RXHPF_OFF4 0x67 98058619b14SKalle Valo #define B2056_RX_RXHPF_OFF5 0x68 98158619b14SKalle Valo #define B2056_RX_RXHPF_OFF6 0x69 98258619b14SKalle Valo #define B2056_RX_RXHPF_OFF7 0x6A 98358619b14SKalle Valo #define B2056_RX_RXLPF_RCCAL_LPC 0x6B 98458619b14SKalle Valo #define B2056_RX_RXLPF_OFF_0 0x6C 98558619b14SKalle Valo #define B2056_RX_RXLPF_OFF_1 0x6D 98658619b14SKalle Valo #define B2056_RX_RXLPF_OFF_2 0x6E 98758619b14SKalle Valo #define B2056_RX_RXLPF_OFF_3 0x6F 98858619b14SKalle Valo #define B2056_RX_RXLPF_OFF_4 0x70 98958619b14SKalle Valo #define B2056_RX_UNUSED 0x71 99058619b14SKalle Valo #define B2056_RX_VGA_MASTER 0x72 99158619b14SKalle Valo #define B2056_RX_VGA_BIAS 0x73 99258619b14SKalle Valo #define B2056_RX_VGA_BIAS_DCCANCEL 0x74 99358619b14SKalle Valo #define B2056_RX_VGA_GAIN 0x75 99458619b14SKalle Valo #define B2056_RX_VGA_HP_CORNER_BW 0x76 99558619b14SKalle Valo #define B2056_RX_VGABUF_BIAS 0x77 99658619b14SKalle Valo #define B2056_RX_VGABUF_GAIN_BW 0x78 99758619b14SKalle Valo #define B2056_RX_TXFBMIX_A 0x79 99858619b14SKalle Valo #define B2056_RX_TXFBMIX_G 0x7A 99958619b14SKalle Valo #define B2056_RX_RXSPARE1 0x7B 100058619b14SKalle Valo #define B2056_RX_RXSPARE2 0x7C 100158619b14SKalle Valo #define B2056_RX_RXSPARE3 0x7D 100258619b14SKalle Valo #define B2056_RX_RXSPARE4 0x7E 100358619b14SKalle Valo #define B2056_RX_RXSPARE5 0x7F 100458619b14SKalle Valo #define B2056_RX_RXSPARE6 0x80 100558619b14SKalle Valo #define B2056_RX_RXSPARE7 0x81 100658619b14SKalle Valo #define B2056_RX_RXSPARE8 0x82 100758619b14SKalle Valo #define B2056_RX_RXSPARE9 0x83 100858619b14SKalle Valo #define B2056_RX_RXSPARE10 0x84 100958619b14SKalle Valo #define B2056_RX_RXSPARE11 0x85 101058619b14SKalle Valo #define B2056_RX_RXSPARE12 0x86 101158619b14SKalle Valo #define B2056_RX_RXSPARE13 0x87 101258619b14SKalle Valo #define B2056_RX_RXSPARE14 0x88 101358619b14SKalle Valo #define B2056_RX_RXSPARE15 0x89 101458619b14SKalle Valo #define B2056_RX_RXSPARE16 0x8A 101558619b14SKalle Valo #define B2056_RX_STATUS_LNAA_GAIN 0x8B 101658619b14SKalle Valo #define B2056_RX_STATUS_LNAG_GAIN 0x8C 101758619b14SKalle Valo #define B2056_RX_STATUS_MIXTIA_GAIN 0x8D 101858619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_GAIN 0x8E 101958619b14SKalle Valo #define B2056_RX_STATUS_VGA_BUF_GAIN 0x8F 102058619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_Q 0x90 102158619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_BUF_BW 0x91 102258619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_VGA_HPC 0x92 102358619b14SKalle Valo #define B2056_RX_STATUS_RXLPF_RC 0x93 102458619b14SKalle Valo #define B2056_RX_STATUS_HPC_RC 0x94 102558619b14SKalle Valo 102658619b14SKalle Valo #define B2056_LNA1_A_PU 0x01 102758619b14SKalle Valo #define B2056_LNA2_A_PU 0x02 102858619b14SKalle Valo #define B2056_LNA1_G_PU 0x01 102958619b14SKalle Valo #define B2056_LNA2_G_PU 0x02 103058619b14SKalle Valo #define B2056_MIXA_PU_I 0x01 103158619b14SKalle Valo #define B2056_MIXA_PU_Q 0x02 103258619b14SKalle Valo #define B2056_MIXA_PU_GM 0x10 103358619b14SKalle Valo #define B2056_MIXG_PU_I 0x01 103458619b14SKalle Valo #define B2056_MIXG_PU_Q 0x02 103558619b14SKalle Valo #define B2056_MIXG_PU_GM 0x10 103658619b14SKalle Valo #define B2056_TIA_PU 0x01 103758619b14SKalle Valo #define B2056_BB_LPF_PU 0x20 103858619b14SKalle Valo #define B2056_W1_PU 0x02 103958619b14SKalle Valo #define B2056_W2_PU 0x04 104058619b14SKalle Valo #define B2056_NB_PU 0x08 104158619b14SKalle Valo #define B2056_RSSI_W1_SEL 0x02 104258619b14SKalle Valo #define B2056_RSSI_W2_SEL 0x04 104358619b14SKalle Valo #define B2056_RSSI_NB_SEL 0x08 104458619b14SKalle Valo #define B2056_VCM_MASK 0x1C 104558619b14SKalle Valo #define B2056_RSSI_VCM_SHIFT 0x02 104658619b14SKalle Valo 104758619b14SKalle Valo struct b43_nphy_channeltab_entry_rev3 { 104858619b14SKalle Valo /* The channel frequency in MHz */ 104958619b14SKalle Valo u16 freq; 105058619b14SKalle Valo /* Radio register values on channelswitch */ 105158619b14SKalle Valo u8 radio_syn_pll_vcocal1; 105258619b14SKalle Valo u8 radio_syn_pll_vcocal2; 105358619b14SKalle Valo u8 radio_syn_pll_refdiv; 105458619b14SKalle Valo u8 radio_syn_pll_mmd2; 105558619b14SKalle Valo u8 radio_syn_pll_mmd1; 105658619b14SKalle Valo u8 radio_syn_pll_loopfilter1; 105758619b14SKalle Valo u8 radio_syn_pll_loopfilter2; 105858619b14SKalle Valo u8 radio_syn_pll_loopfilter3; 105958619b14SKalle Valo u8 radio_syn_pll_loopfilter4; 106058619b14SKalle Valo u8 radio_syn_pll_loopfilter5; 106158619b14SKalle Valo u8 radio_syn_reserved_addr27; 106258619b14SKalle Valo u8 radio_syn_reserved_addr28; 106358619b14SKalle Valo u8 radio_syn_reserved_addr29; 106458619b14SKalle Valo u8 radio_syn_logen_vcobuf1; 106558619b14SKalle Valo u8 radio_syn_logen_mixer2; 106658619b14SKalle Valo u8 radio_syn_logen_buf3; 106758619b14SKalle Valo u8 radio_syn_logen_buf4; 106858619b14SKalle Valo u8 radio_rx0_lnaa_tune; 106958619b14SKalle Valo u8 radio_rx0_lnag_tune; 107058619b14SKalle Valo u8 radio_tx0_intpaa_boost_tune; 107158619b14SKalle Valo u8 radio_tx0_intpag_boost_tune; 107258619b14SKalle Valo u8 radio_tx0_pada_boost_tune; 107358619b14SKalle Valo u8 radio_tx0_padg_boost_tune; 107458619b14SKalle Valo u8 radio_tx0_pgaa_boost_tune; 107558619b14SKalle Valo u8 radio_tx0_pgag_boost_tune; 107658619b14SKalle Valo u8 radio_tx0_mixa_boost_tune; 107758619b14SKalle Valo u8 radio_tx0_mixg_boost_tune; 107858619b14SKalle Valo u8 radio_rx1_lnaa_tune; 107958619b14SKalle Valo u8 radio_rx1_lnag_tune; 108058619b14SKalle Valo u8 radio_tx1_intpaa_boost_tune; 108158619b14SKalle Valo u8 radio_tx1_intpag_boost_tune; 108258619b14SKalle Valo u8 radio_tx1_pada_boost_tune; 108358619b14SKalle Valo u8 radio_tx1_padg_boost_tune; 108458619b14SKalle Valo u8 radio_tx1_pgaa_boost_tune; 108558619b14SKalle Valo u8 radio_tx1_pgag_boost_tune; 108658619b14SKalle Valo u8 radio_tx1_mixa_boost_tune; 108758619b14SKalle Valo u8 radio_tx1_mixg_boost_tune; 108858619b14SKalle Valo /* PHY register values on channelswitch */ 108958619b14SKalle Valo struct b43_phy_n_sfo_cfg phy_regs; 109058619b14SKalle Valo }; 109158619b14SKalle Valo 109258619b14SKalle Valo void b2056_upload_inittabs(struct b43_wldev *dev, 109358619b14SKalle Valo bool ghz5, bool ignore_uploadflag); 109458619b14SKalle Valo void b2056_upload_syn_pll_cp2(struct b43_wldev *dev, bool ghz5); 109558619b14SKalle Valo 109658619b14SKalle Valo /* Get the NPHY Channel Switch Table entry for a channel. 109758619b14SKalle Valo * Returns NULL on failure to find an entry. */ 109858619b14SKalle Valo const struct b43_nphy_channeltab_entry_rev3 * 109958619b14SKalle Valo b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq); 110058619b14SKalle Valo 110158619b14SKalle Valo #endif /* B43_RADIO_2056_H_ */ 1102