linux/drivers/net/phy/mdio-open-alliance.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * mdio-open-alliance.h - definition of OPEN Alliance SIG standard registers
 */

#ifndef __MDIO_OPEN_ALLIANCE__
#define __MDIO_OPEN_ALLIANCE__

#include <linux/mdio.h>

/* NOTE: all OATC14 registers are located in MDIO_MMD_VEND2 */

/* Open Alliance TC14 (10BASE-T1S) registers */
#define MDIO_OATC14_PLCA_IDVER
#define MDIO_OATC14_PLCA_CTRL0
#define MDIO_OATC14_PLCA_CTRL1
#define MDIO_OATC14_PLCA_STATUS
#define MDIO_OATC14_PLCA_TOTMR
#define MDIO_OATC14_PLCA_BURST

/* Open Alliance TC14 PLCA IDVER register */
#define MDIO_OATC14_PLCA_IDM
#define MDIO_OATC14_PLCA_VER

/* Open Alliance TC14 PLCA CTRL0 register */
#define MDIO_OATC14_PLCA_EN
#define MDIO_OATC14_PLCA_RST

/* Open Alliance TC14 PLCA CTRL1 register */
#define MDIO_OATC14_PLCA_NCNT
#define MDIO_OATC14_PLCA_ID

/* Open Alliance TC14 PLCA STATUS register */
#define MDIO_OATC14_PLCA_PST

/* Open Alliance TC14 PLCA TOTMR register */
#define MDIO_OATC14_PLCA_TOT

/* Open Alliance TC14 PLCA BURST register */
#define MDIO_OATC14_PLCA_MAXBC
#define MDIO_OATC14_PLCA_BTMR

/* Version Identifiers */
#define OATC14_IDM

#endif /* __MDIO_OPEN_ALLIANCE__ */