1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

New transceiver control reigster definitions

This commit is contained in:
Alex Forencich 2020-09-19 16:42:54 -07:00
parent 3284ec3848
commit a37d9b3465
2 changed files with 22 additions and 0 deletions

View File

@ -75,6 +75,17 @@ MQNIC_REG_GPIO_I2C_SCL_OUT = 0x00000002
MQNIC_REG_GPIO_I2C_SDA_IN = 0x00000100 MQNIC_REG_GPIO_I2C_SDA_IN = 0x00000100
MQNIC_REG_GPIO_I2C_SDA_OUT = 0x00000200 MQNIC_REG_GPIO_I2C_SDA_OUT = 0x00000200
MQNIC_REG_GPIO_XCVR_0123 = 0x0120
MQNIC_REG_GPIO_XCVR_4567 = 0x0124
MQNIC_REG_GPIO_XCVR_PRSNT_IN = 0x01
MQNIC_REG_GPIO_XCVR_TX_FAULT_INT_IN = 0x02
MQNIC_REG_GPIO_XCVR_RX_LOS_IN = 0x03
MQNIC_REG_GPIO_XCVR_RST_OUT = 0x10
MQNIC_REG_GPIO_XCVR_TX_DIS_LPMODE_OUT = 0x20
MQNIC_REG_GPIO_XCVR_RS0_OUT = 0x40
MQNIC_REG_GPIO_XCVR_RS1_OUT = 0x80
MQNIC_PHC_REG_FEATURES = 0x0000 MQNIC_PHC_REG_FEATURES = 0x0000
MQNIC_PHC_REG_PTP_CUR_FNS = 0x0010 MQNIC_PHC_REG_PTP_CUR_FNS = 0x0010
MQNIC_PHC_REG_PTP_CUR_NS = 0x0014 MQNIC_PHC_REG_PTP_CUR_NS = 0x0014

View File

@ -90,6 +90,17 @@ either expressed or implied, of The Regents of the University of California.
#define MQNIC_REG_GPIO_I2C_SDA_IN 0x00000100 #define MQNIC_REG_GPIO_I2C_SDA_IN 0x00000100
#define MQNIC_REG_GPIO_I2C_SDA_OUT 0x00000200 #define MQNIC_REG_GPIO_I2C_SDA_OUT 0x00000200
#define MQNIC_REG_GPIO_XCVR_0123 0x0120
#define MQNIC_REG_GPIO_XCVR_4567 0x0124
#define MQNIC_REG_GPIO_XCVR_PRSNT_IN 0x01
#define MQNIC_REG_GPIO_XCVR_TX_FAULT_INT_IN 0x02
#define MQNIC_REG_GPIO_XCVR_RX_LOS_IN 0x03
#define MQNIC_REG_GPIO_XCVR_RST_OUT 0x10
#define MQNIC_REG_GPIO_XCVR_TX_DIS_LPMODE_OUT 0x20
#define MQNIC_REG_GPIO_XCVR_RS0_OUT 0x40
#define MQNIC_REG_GPIO_XCVR_RS1_OUT 0x80
#define MQNIC_PHC_REG_FEATURES 0x0000 #define MQNIC_PHC_REG_FEATURES 0x0000
#define MQNIC_PHC_REG_PTP_CUR_FNS 0x0010 #define MQNIC_PHC_REG_PTP_CUR_FNS 0x0010
#define MQNIC_PHC_REG_PTP_CUR_NS 0x0014 #define MQNIC_PHC_REG_PTP_CUR_NS 0x0014