Dear TI,
I am currently trying to generate a 1 PPS signal and want to bring it out on one of the SYNC_OUT pins. The controlling PTP will run on one of the two PRU subsystems, which one will be up to the customer.
I got the big picture from this thread, but I still have trouble understanding how to adapt the device tree file for this specific use case. The end of the file k3-am642-sk.dts contains the following two TS_OFFSET entries:
TS_OFFSET(37, 22)
TS_OFFSET(26, 22)
How do I change these two lines in order to get time synching / PPS generation running on either PRUSS0 or PRUSS1? I can't see the connection between the numbers (22, 26, 37) and the pins.
In a second step, how can I map the output PPS signal onto one of the SYNC0, SYNC1 etc.? I will probably have to map either PRUSS onto one of the SYNC_OUT and then feed one of the SYNC_OUTs to the other ICs on our board, depending on which PRUSS is running PTP.
Many thanks,
Leon Rigoni