/*
* Copyright (c) 2010 Broadcom Corporation
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _BRCM_PHY_RADIO_H_
#define _BRCM_PHY_RADIO_H_
#define RADIO_IDCODE 0x01
#define RADIO_DEFAULT_CORE 0
#define RXC0_RSSI_RST 0x80
#define RXC0_MODE_RSSI 0x40
#define RXC0_MODE_OFF 0x20
#define RXC0_MODE_CM 0x10
#define RXC0_LAN_LOAD 0x08
#define RXC0_OFF_ADJ_MASK 0x07
#define TXC0_MODE_TXLPF 0x04
#define TXC0_PA_TSSI_EN 0x02
#define TXC0_TSSI_EN 0x01
#define TXC1_PA_GAIN_MASK 0x60
#define TXC1_PA_GAIN_3DB 0x40
#define TXC1_PA_GAIN_2DB 0x20
#define TXC1_TX_MIX_GAIN 0x10
#define TXC1_OFF_I_MASK 0x0c
#define TXC1_OFF_Q_MASK 0x03
#define RADIO_2055_READ_OFF 0x100
#define RADIO_2057_READ_OFF 0x200
#define RADIO_2055_GEN_SPARE 0x00
#define RADIO_2055_SP_PIN_PD 0x02
#define RADIO_2055_SP_RSSI_CORE1 0x03
#define RADIO_2055_SP_PD_MISC_CORE1 0x04
#define RADIO_2055_SP_RSSI_CORE2 0x05
#define RADIO_2055_SP_PD_MISC_CORE2 0x06
#define RADIO_2055_SP_RX_GC1_CORE1 0x07
#define RADIO_2055_SP_RX_GC2_CORE1 0x08
#define RADIO_2055_SP_RX_GC1_CORE2 0x09
#define RADIO_2055_SP_RX_GC2_CORE2 0x0a