Commit 3007bc73 authored by Yangbo Lu's avatar Yangbo Lu Committed by David S. Miller

net: mscc: ocelot: redefine PTP pins

There are 5 PTP_PINS register groups on Ocelot switch.
Except the one used for TOD operations, there are still
4 register groups for programmable pins. So redefine the
4 programmable pins.
Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d2b09a8e
...@@ -440,10 +440,11 @@ enum ocelot_regfield { ...@@ -440,10 +440,11 @@ enum ocelot_regfield {
REGFIELD_MAX REGFIELD_MAX
}; };
enum ocelot_clk_pins { enum ocelot_ptp_pins {
ALT_PPS_PIN = 1, PTP_PIN_0,
EXT_CLK_PIN, PTP_PIN_1,
ALT_LDST_PIN, PTP_PIN_2,
PTP_PIN_3,
TOD_ACC_PIN TOD_ACC_PIN
}; };
......
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