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. Changes in v2: - Patch 2: set the bit in a set_phy_mode() for Agilex 5 (Maxime Chevallier) - Patch 2: note in the message that fpgaintf_en_3 was disabled during the test - Link to v1: https://lore.kernel.org/netdev/cove…@jclark.com/ 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 +++++++++ .../ethernet/stmicro/stmmac/dwmac-socfpga.c | 21 ++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) base-commit: 62ae6527877e8012d85942763a8f3e9a66839e3e
-- 2.56.1