Skip to content

Commit 3007bc7

Browse files
yangbolu1991davem330
authored andcommitted
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: Yangbo Lu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d2b09a8 commit 3007bc7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

include/soc/mscc/ocelot.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,11 @@ enum ocelot_regfield {
440440
REGFIELD_MAX
441441
};
442442

443-
enum ocelot_clk_pins {
444-
ALT_PPS_PIN = 1,
445-
EXT_CLK_PIN,
446-
ALT_LDST_PIN,
443+
enum ocelot_ptp_pins {
444+
PTP_PIN_0,
445+
PTP_PIN_1,
446+
PTP_PIN_2,
447+
PTP_PIN_3,
447448
TOD_ACC_PIN
448449
};
449450

0 commit comments

Comments
 (0)