xref: /OK3568_Linux_fs/buildroot/package/linuxptp/linuxptp.cfg (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# LinuxPTP configuration file for synchronizing the system clock to
2*4882a593Smuzhiyun# a remote PTP master in slave-only mode.
3*4882a593Smuzhiyun#
4*4882a593Smuzhiyun# By default synchronize time in slave-only mode using UDP and hardware time
5*4882a593Smuzhiyun# stamps on eth0. If the difference to master is >1.0 second correct by
6*4882a593Smuzhiyun# stepping the clock instead of adjusting the frequency.
7*4882a593Smuzhiyun#
8*4882a593Smuzhiyun# If you change the configuration don't forget to update the phc2sys
9*4882a593Smuzhiyun# parameters accordingly in linuxptp-system-clock.service (systemd)
10*4882a593Smuzhiyun# or the linuxptp SysV init script.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun[global]
13*4882a593SmuzhiyunslaveOnly		1
14*4882a593Smuzhiyundelay_mechanism		Auto
15*4882a593Smuzhiyunnetwork_transport	UDPv4
16*4882a593Smuzhiyuntime_stamping		hardware
17*4882a593Smuzhiyunstep_threshold		1.0
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun[eth0]
20