aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2022-04-27 08:51:24 +0200
committerDavid S. Miller <davem@davemloft.net>2022-04-27 12:03:18 +0100
commit77f2accb501ab7ff3d734bbf09b5872cba4285f1 (patch)
treea5196e7c1f46e5c7b5e70e611c5a56cf810ada2d /drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
parentdt-bindings: net: lan966x: Extend with the ptp external interrupt. (diff)
downloadlinux-dev-77f2accb501ab7ff3d734bbf09b5872cba4285f1.tar.xz
linux-dev-77f2accb501ab7ff3d734bbf09b5872cba4285f1.zip
net: lan966x: Change the PTP pin used to read/write the PHC.
To read/write a value to a PHC, it is required to use a PTP pin. Currently it is used pin 5, but change to pin 7 as is the last pin. All the other pins will have different functions. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c b/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
index 0a1041da4384..3e455a3fad08 100644
--- a/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
+++ b/drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
@@ -16,7 +16,7 @@
*/
#define LAN966X_1PPB_FORMAT 3480517749LL
-#define TOD_ACC_PIN 0x5
+#define TOD_ACC_PIN 0x7
enum {
PTP_PIN_ACTION_IDLE = 0,