Pi5 PTP clock – /dev/ptp0

  • Pi5 has ptp
root@lp-arm-5:~# ethtool -T eth0
Time stamping parameters for eth0:
Capabilities:
	hardware-transmit
	software-transmit
	hardware-receive
	software-receive
	software-system-clock
	hardware-raw-clock
Hardware timestamp provider index: 0
Hardware timestamp provider qualifier: Precise (IEEE 1588 quality)
Hardware Transmit Timestamp Modes:
	off
	on
	onestep-sync
Hardware Receive Filter Modes:
	none
	all

root@lp-arm-5:~# phc_ctl /dev/ptp0 get
phc_ctl[644486.511]: clock time is 1787465854.590438111 or Sun Aug 23 11:47:34 2026

root@lp-arm-5:~# phc_ctl /dev/ptp0 caps
phc_ctl[644504.310]: 
capabilities:
  64000000 maximum frequency adjustment (ppb)
  0 programable alarms
  0 external time stamp channels
  0 programmable periodic signals
  0 configurable input/output pins
  has pulse per second support
  doesn't have cross timestamping support
  doesn't have adjust phase support


root@lp-arm-5:~# date
sudo phc_ctl /dev/ptp0 get
sudo hwclock -r
Sun Aug 23 13:21:04 IST 2026
phc_ctl[645456.567]: clock time is 1787466824.601451911 or Sun Aug 23 12:03:44 2026

2026-08-23 13:21:04.580550+05:30

Published by

Leave a Reply

Your email address will not be published. Required fields are marked *