I am trying to figure out if it's possible to enable hardware timestamps in the ethernet MAC in the N2+.
I know the PHY doesn't support hardware timestamps
However, according to the S922X datasheet, the MAC is Synopsis DesigWare GMAC v3.70 (https://www.synopsys.com/dw/ipdir.php?d ... 1000_unive) which lists PTP hardware timestamp support.
I've tried the suggestion from here: viewtopic.php?t=24805 but it seems that the DMA hardware features register does not list timestamp support so the stmmac driver does not enable it.
I was wondering if someone from hardkernel could reach out to Amlogic and ask if this can be enabled in the MAC? I don't have access to the DesignWare GMAC documentation but maybe there is some register in there that would enable the feature?
Running CoreElec which has the BSP kernel shows this:
Code: Select all
============================== DMA HW features ============================== 10/100 Mbps Y 1000 Mbps Y Half duple Y Hash Filter: Y Multiple MAC address registers: Y PCS (TBI/SGMII/RTBI PHY interfatces): N SMA (MDIO) Interface: Y PMT Remote wake up: Y PMT Magic Frame: Y RMON module: Y IEEE 1588-2002 Time Stamp: N IEEE 1588-2008 Advanced Time Stamp:N 802.3az - Energy-Efficient Ethernet (EEE) Y AV features: N Checksum Offload in TX: Y IP Checksum Offload (type1) in RX: N IP Checksum Offload (type2) in RX: Y RXFIFO > 2048bytes: Y Number of Additional RX channel: 0 Number of Additional TX channel: 0 Enhanced descriptors: N