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>
This commit is contained in:
Horatiu Vultur 2022-04-27 08:51:24 +02:00 committed by David S. Miller
parent c1a519919d
commit 77f2accb50

View file

@ -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,