1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Add flash control registers to mqnic_hw.h

This commit is contained in:
Alex Forencich 2020-10-04 00:43:36 -07:00
parent e7c0f17c32
commit dd3374626f

View File

@ -104,6 +104,13 @@ either expressed or implied, of The Regents of the University of California.
#define MQNIC_REG_GPIO_XCVR_RS0_OUT 0x40
#define MQNIC_REG_GPIO_XCVR_RS1_OUT 0x80
#define MQNIC_REG_FLASH_ID 0x0140
#define MQNIC_REG_FLASH_BPI_ADDR 0x0144
#define MQNIC_REG_FLASH_BPI_DATA 0x0148
#define MQNIC_REG_FLASH_BPI_CTRL 0x014c
#define MQNIC_REG_FLASH_SPI_0_CTRL 0x0144
#define MQNIC_REG_FLASH_SPI_1_CTRL 0x0148
#define MQNIC_PHC_REG_FEATURES 0x0000
#define MQNIC_PHC_REG_PTP_CUR_FNS 0x0010
#define MQNIC_PHC_REG_PTP_CUR_NS 0x0014