From: James Clark <jjc@jclark.com>
To: Maxime Chevallier <maxime.chevallier@bootlin.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Richard Cochran <richardcochran@gmail.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: add altr,f2h-ptp-aux-trig
Date: Tue, 1 Dec 2026 15:29:22 +0700 [thread overview]
Message-ID: <4acd4753fcf66dac0f9e7a0ce4e4aeb804d64f64.1796106489.git.jjc@jclark.com> (raw)
In-Reply-To: <cover.1796106489.git.jjc@jclark.com>
On Agilex 5, the trigger input that an EMAC uses for external
timestamps, auxiliary snapshot trigger input 1, comes either from an
HPS pin or from the FPGA fabric. The ppstrig_sel bit of the EMAC's tsn
register in the System Manager selects which. Which one is right
depends on the board's FPGA design. On the Terasic DE25-Nano, the
trigger can only come from the FPGA.
Add a boolean property for an EMAC whose trigger input 1 is driven by
the FPGA design. As the FPGA design is often loaded at run time, the
property will usually be set by the overlay that goes with the design,
which has to be applied before the EMAC is probed.
Signed-off-by: James Clark <jjc@jclark.com>
---
.../devicetree/bindings/net/altr,socfpga-stmmac.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
index ce1bd5f2c470..d634920469e4 100644
--- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
+++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
@@ -130,6 +130,14 @@ properties:
Should be the phandle to the emac splitter soft IP node if DWMAC
controller is connected an emac splitter.
+ altr,f2h-ptp-aux-trig:
+ type: boolean
+ description:
+ If present, indicates that the FPGA design drives auxiliary snapshot
+ trigger input 1 of the EMAC (ptp_aux_ts_trig_i[1], used for external
+ timestamps). Otherwise, the input is taken from the HPS I/O pin
+ multiplexer.
+
altr,f2h_ptp_ref_clk:
$ref: /schemas/types.yaml#/definitions/phandle
description:
@@ -196,6 +204,8 @@ allOf:
interrupt-names:
maxItems: 1
+ altr,f2h-ptp-aux-trig: false
+
dma-coherent: false
unevaluatedProperties: false
--
2.56.1
next prev parent reply other threads:[~2026-12-01 8:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 8:29 [PATCH net-next 0/2] net: stmmac: dwmac-socfpga: route the auxiliary snapshot trigger from the FPGA James Clark
2026-12-01 8:29 ` James Clark [this message]
2026-12-01 8:29 ` [PATCH net-next 2/2] " James Clark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4acd4753fcf66dac0f9e7a0ce4e4aeb804d64f64.1796106489.git.jjc@jclark.com \
--to=jjc@jclark.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox