summaryrefslogtreecommitdiff
path: root/src/drivers/net/phy/m88e1512/m88e1512.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/phy/m88e1512/m88e1512.h')
-rw-r--r--src/drivers/net/phy/m88e1512/m88e1512.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/net/phy/m88e1512/m88e1512.h b/src/drivers/net/phy/m88e1512/m88e1512.h
index 449cc57531..3310c8b994 100644
--- a/src/drivers/net/phy/m88e1512/m88e1512.h
+++ b/src/drivers/net/phy/m88e1512/m88e1512.h
@@ -13,6 +13,12 @@
#define DOWNSHIFT_CNT_MAX 8
#define DOWNSHIFT_CNT(cnt) ((cnt - 1) << 12)
#define DOWNSHIFT_EN (1 << 11)
+/* Page 2 registers */
+#define OUT_IMP_CAL_OVERRIDE_REG 0x18
+#define MOS_VALUE_MASK 0x0F4F
+#define PMOS_VALUE(pmos) (pmos << 8)
+#define FORCE_MOS (1 << 6)
+#define NMOS_VALUE(nmos) (nmos << 0)
/* Page 3 registers */
#define LED_FUNC_CTRL_REG 0x10
#define LED_FUNC_CTRL_MASK 0x0FFF