Precision timing on BeagleY-AI

It turns out that BeagleY-AI has a very unusual capability related to precision timing. With a suitable overlay it is able to hardware timestamp a PPS signal. This allows for nanosecond-level accuracy, several orders of magnitude better than what you get with normal kernel timestamping of a PPS on a GPIO. It is also the essential hardware capability needed to create a PTP grandmaster. Up to now the only inexpensive platforms that supported this were the Raspberry Pi CM4 and CM5.

There are some more details and the necessary overlay in this PR:

The necessary support in my satpulse software has now been merged.

James

@jclark sorry i was traveling this week, so away from my builders, i’ve merged it as is. But can you please add your copyright notice:

src/arm64/overlays/k3-am67a-beagley-ai-cpts-hw1tspush-gpio13.dtso: no copyright notice
* Copyright (C) Name/etc

I have also got PPS output working.

I blogged about it here: BeagleY-AI as a PTP grandmaster - SatPulse

BeagleY-AI is clearly the best available SBC for precision network timing at the moment.

awesome work @jclark (and i forgot to merge your timing patch last night) i’ll work on that this week while on the road..