[PATCH net-next 0/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA

James Clark jjc at jclark.com
Tue Dec 1 00:29:21 PST 2026


On Agilex 5, an external timestamp trigger driven by the FPGA design
never reaches the EMAC. The EMAC's trigger input takes its signal from
an HPS pin unless a bit in the System Manager selects the FPGA fabric.
Nothing in the kernel sets that bit.

Patch 1 adds a boolean device tree property for an EMAC whose trigger
is driven by the FPGA design. Patch 2 makes dwmac-socfpga set the bit
from it.

Tested on a Terasic DE25-Nano, where the trigger can only come from the
FPGA. External timestamp events on XGMAC cores also need a separate
series, which will follow.

I used an LLM coding assistant to help prepare these patches.

James Clark (2):
  dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig
  net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from
    the FPGA

 .../bindings/net/altr,socfpga-stmmac.yaml       | 10 ++++++++++
 .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 17 +++++++++++++++++
 2 files changed, 27 insertions(+)


base-commit: d35a725a7c96504f7deece4dfaa83bee6a98fe0e
-- 
2.56.1




More information about the linux-arm-kernel mailing list