Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add Intel Agilex5 SoCDK TSN Config2 board
@ 2026-07-07  6:13 muhammad.nazim.amirul.nazle.asmade
  2026-07-07  6:13 ` [PATCH v2 1/4] dt-bindings: arm: altera: Add " muhammad.nazim.amirul.nazle.asmade
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: muhammad.nazim.amirul.nazle.asmade @ 2026-07-07  6:13 UTC (permalink / raw)
  To: dinguyen, maxime.chevallier
  Cc: rmk+kernel, krzk+dt, conor+dt, robh, davem, edumazet, kuba,
	pabeni, andrew+netdev, devicetree, linux-arm-kernel, netdev,
	linux-kernel

From: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>

v2:
 - Replace mac-mode DT property with a board-specific compatible string
   "altr,socfpga-stmmac-agilex5-tsn" to identify gmac1 on the TSN Config2
   board, per Andrew Lunn's feedback.
 - Change phy-mode from "rgmii" to "rgmii-id" on both gmac1 and gmac2,
   since the FPGA GMII-to-RGMII converter provides the TX/RX clock delays
   (acting as MAC-side delays).
 - Add a new patch (3/4) documenting the new MAC compatible string in
   the altr,socfpga-stmmac binding.
 - Fix DTS Makefile indentation (Krzysztof Kozlowski).

---
This series adds DT binding, device tree, and driver support for the
Intel SoCFPGA Agilex5 SoCDK TSN Config2 board.

The board has two Ethernet ports: gmac2 is a standard RGMII port, while
gmac1 is the TSN port. On gmac1, an FPGA GMII-to-RGMII converter sits
between the MAC and the PHY. This converter provides the RGMII TX/RX
clock delays, so phy-mode is set to "rgmii-id". The driver uses the
new "altr,socfpga-stmmac-agilex5-tsn" compatible to detect this setup
and configure the MAC interface selector for GMII while ensuring the
PHY is not asked to add delays a second time.

Nazim Amirul (4):
  dt-bindings: arm: altera: Add Agilex5 SoCDK TSN Config2 board
  arm64: dts: socfpga: agilex5: Add SoCDK TSN Config2 board
  dt-bindings: net: altr,socfpga-stmmac: Add
    altr,socfpga-stmmac-agilex5-tsn compatible
  net: stmmac: dwmac-socfpga: Add support for Agilex5 TSN GMAC with FPGA
    converter

 .../devicetree/bindings/arm/altera.yaml       |   1 +
 .../bindings/net/altr,socfpga-stmmac.yaml     |   5 +
 arch/arm64/boot/dts/intel/Makefile            |   1 +
 .../intel/socfpga_agilex5_socdk_tsn_cfg2.dts  | 131 ++++++++++++++++++
 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   |  13 +-
 5 files changed, 150 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex5_socdk_tsn_cfg2.dts

-- 
2.43.7


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-08  6:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07  6:13 [PATCH v2 0/4] Add Intel Agilex5 SoCDK TSN Config2 board muhammad.nazim.amirul.nazle.asmade
2026-07-07  6:13 ` [PATCH v2 1/4] dt-bindings: arm: altera: Add " muhammad.nazim.amirul.nazle.asmade
2026-07-07  6:41   ` Krzysztof Kozlowski
2026-07-07  8:08     ` Nazle Asmade, Muhammad Nazim Amirul
2026-07-07  6:13 ` [PATCH v2 2/4] arm64: dts: socfpga: agilex5: Add " muhammad.nazim.amirul.nazle.asmade
2026-07-08  6:13   ` sashiko-bot
2026-07-07  6:13 ` [PATCH v2 3/4] dt-bindings: net: altr,socfpga-stmmac: Add altr,socfpga-stmmac-agilex5-tsn compatible muhammad.nazim.amirul.nazle.asmade
2026-07-07  6:13 ` [PATCH net-next v2 4/4] net: stmmac: dwmac-socfpga: Add support for Agilex5 TSN GMAC with FPGA converter muhammad.nazim.amirul.nazle.asmade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox