Commit c60723ad authored by Peter Jansweijer's avatar Peter Jansweijer

expose LPC_PHY STAT/CTRL and DBG_PRBS CONTROL/STATUS

parent 794ef617
......@@ -3,7 +3,7 @@
* File : endpoint_mdio.h
* Author : auto-generated by wbgen2 from pcs_regs.wb
* Created : Thu Aug 6 10:27:26 2015
* Created : 04/14/22 15:19:50
* Standard : ANSI C
THIS FILE WAS GENERATED BY wbgen2 FROM SOURCE FILE pcs_regs.wb
......@@ -14,7 +14,11 @@
#ifndef __WBGEN2_REGDEFS_PCS_REGS_WB
#define __WBGEN2_REGDEFS_PCS_REGS_WB
#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <inttypes.h>
#endif
#if defined( __GNUC__)
#define PACKED __attribute__ ((packed))
......@@ -389,6 +393,14 @@
#define MDIO_ECTRL_TX_PRBS_SEL_SHIFT 8
#define MDIO_ECTRL_TX_PRBS_SEL_W(value) WBGEN2_GEN_WRITE(value, 8, 3)
#define MDIO_ECTRL_TX_PRBS_SEL_R(reg) WBGEN2_GEN_READ(reg, 8, 3)
/* definitions for register: Low phase drift calibration status register */
/* definitions for register: Low phase drift calibration control register */
/* definitions for register: DBG PRBS Control */
/* definitions for register: DBG PRBS Status */
/* [0x0]: REG MDIO Control Register */
#define MDIO_REG_MCR 0x00000000
/* [0x4]: REG MDIO Status Register */
......@@ -409,4 +421,12 @@
#define MDIO_REG_WR_SPEC 0x00000040
/* [0x44]: REG MDIO Extended Control Register */
#define MDIO_REG_ECTRL 0x00000044
/* [0x48]: REG Low phase drift calibration status register */
#define MDIO_REG_LPC_PHY_STAT 0x00000048
/* [0x4c]: REG Low phase drift calibration control register */
#define MDIO_REG_LPC_PHY_CTRL 0x0000004c
/* [0x50]: REG DBG PRBS Control */
#define MDIO_REG_DBG_PRBS_CONTROL 0x00000050
/* [0x54]: REG DBG PRBS Status */
#define MDIO_REG_DBG_PRBS_STATUS 0x00000054
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment