aboutsummaryrefslogtreecommitdiff
path: root/include/soc/mscc/ocelot_ptp.h
diff options
context:
space:
mode:
authorYangbo Lu2020-04-20 10:46:48 +0800
committerDavid S. Miller2020-04-21 15:38:33 -0700
commit94aca0824443d32987b31e656044ff7da425c523 (patch)
tree34e01d10a3c5da0dbd431f70022c235b69ff6253 /include/soc/mscc/ocelot_ptp.h
parent3007bc7321e3c37de9d7d965cb9fb95aaa00113b (diff)
net: mscc: ocelot: add wave programming registers definitions
Add wave programming registers definitions for Ocelot platforms. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc/mscc/ocelot_ptp.h')
-rw-r--r--include/soc/mscc/ocelot_ptp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/mscc/ocelot_ptp.h b/include/soc/mscc/ocelot_ptp.h
index f01b0ce4e4cb..aae1570eecb1 100644
--- a/include/soc/mscc/ocelot_ptp.h
+++ b/include/soc/mscc/ocelot_ptp.h
@@ -17,6 +17,8 @@
#define PTP_PIN_TOD_SEC_MSB_RSZ PTP_PIN_CFG_RSZ
#define PTP_PIN_TOD_SEC_LSB_RSZ PTP_PIN_CFG_RSZ
#define PTP_PIN_TOD_NSEC_RSZ PTP_PIN_CFG_RSZ
+#define PTP_PIN_WF_HIGH_PERIOD_RSZ PTP_PIN_CFG_RSZ
+#define PTP_PIN_WF_LOW_PERIOD_RSZ PTP_PIN_CFG_RSZ
#define PTP_PIN_CFG_DOM BIT(0)
#define PTP_PIN_CFG_SYNC BIT(2)