Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: enetc: add i.MX952 NETC v4.6 support
@ 2026-11-04  9:22 xiaoning.wang
  2026-11-04  9:22 ` [PATCH net-next 1/4] dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX952 platforms xiaoning.wang
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: xiaoning.wang @ 2026-11-04  9:22 UTC (permalink / raw)
  To: netdev
  Cc: Claudiu Manoil, Vladimir Oltean, Wei Fang, Andrew Lunn,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Richard Cochran,
	imx, devicetree, linux-kernel, Clark Wang

From: Clark Wang <xiaoning.wang@nxp.com>

This series adds Ethernet support for the NXP i.MX952, whose NETC is
revision 4.6. Its NETC integration differs from i.MX95 and i.MX94 in
the following ways:
 - there are two standalone ENETCs and no switch: ENETC 0 on PCIe bus 0
   (RMII/RGMII) and ENETC 1 on PCIe bus 1 (RMII/RGMII/SGMII), plus a
   single IEEE 1588 timer;
 - the NETC system clock is 133 MHz instead of 333 MHz;
 - the reset value of the ENETC 0 Tx byte credit registers is too small
   for jumbo frames.

The DTS patch set will be sent separately after this series is applied.

Clark Wang (4):
  dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX952
    platforms
  net: enetc: add i.MX952 NETC blocks control support
  net: enetc: add i.MX952 ENETC support
  ptp: netc: use 133MHz as the default reference clock rate for i.MX952

 .../bindings/net/nxp,netc-blk-ctrl.yaml       |  1 +
 drivers/net/ethernet/freescale/enetc/enetc.c  | 23 ++++++
 .../ethernet/freescale/enetc/enetc_ethtool.c  |  1 +
 .../net/ethernet/freescale/enetc/enetc_hw.h   |  2 +
 .../ethernet/freescale/enetc/netc_blk_ctrl.c  | 76 +++++++++++++++++++
 drivers/ptp/ptp_netc.c                        |  7 +-
 6 files changed, 109 insertions(+), 1 deletion(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH net-next 0/4] net: enetc: Add i.MX952 support
@ 2026-11-18 10:37 Frieder Schrempf
  2026-11-18 10:37 ` [PATCH net-next 3/4] net: enetc: add i.MX952 ENETC support Frieder Schrempf
  0 siblings, 1 reply; 9+ messages in thread
From: Frieder Schrempf @ 2026-11-18 10:37 UTC (permalink / raw)
  To: Claudiu Manoil, Vladimir Oltean, Wei Fang, Clark Wang,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Richard Cochran
  Cc: imx, netdev, devicetree, linux-kernel, Frieder Schrempf

This adds support for the NETC Ethernet controller on the i.MX952 SoC.

i.MX952 has two ENETC instances (IP revision 4.6), each on its own
PCIe bus. ENETC0 shares bus 0 with the NETC timer and the central EMDIO,
ENETC1 sits alone on bus 1. The NETC system clock runs at 133 MHz,
compared to 333 MHz on i.MX95.

The patches are ported from NXP's lf-6.18.y vendor kernel. The device
tree changes for imx952.dtsi and the i.MX952 EVK will be sent separately
to the i.MX tree.

Tested on the i.MX952 EVK with ENETC0 (RGMII): the link works,
hardware timestamping is available and the PHC runs at the correct
rate. ENETC1 is untested as it needs an add-on board.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Clark Wang (2):
      net: enetc: netc_blk_ctrl: add i.MX952 support
      ptp: netc: use 133 MHz system clock on i.MX952

Frieder Schrempf (1):
      dt-bindings: net: nxp,netc-blk-ctrl: add i.MX952 compatible

Wei Fang (1):
      net: enetc: add i.MX952 ENETC support

 .../devicetree/bindings/net/nxp,netc-blk-ctrl.yaml |  1 +
 drivers/net/ethernet/freescale/enetc/enetc.c       | 23 +++++++
 .../net/ethernet/freescale/enetc/enetc_ethtool.c   |  1 +
 drivers/net/ethernet/freescale/enetc/enetc_hw.h    |  2 +
 .../net/ethernet/freescale/enetc/netc_blk_ctrl.c   | 73 ++++++++++++++++++++++
 drivers/ptp/ptp_netc.c                             |  7 ++-
 6 files changed, 106 insertions(+), 1 deletion(-)
---
base-commit: d6816d9a93b66a12bf01e10037e377f3333ad6cc
change-id: 20261118-imx952-enetc-bd2bc331e1b5

Best regards,
--  
Frieder Schrempf <frieder.schrempf@kontron.de>


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

end of thread, other threads:[~2026-11-18 10:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04  9:22 [PATCH net-next 0/4] net: enetc: add i.MX952 NETC v4.6 support xiaoning.wang
2026-11-04  9:22 ` [PATCH net-next 1/4] dt-bindings: net: netc-blk-ctrl: add compatible string for i.MX952 platforms xiaoning.wang
2026-11-04  9:22 ` [PATCH net-next 2/4] net: enetc: add i.MX952 NETC blocks control support xiaoning.wang
2026-11-04  9:22 ` [PATCH net-next 3/4] net: enetc: add i.MX952 ENETC support xiaoning.wang
2026-11-04  9:22 ` [PATCH net-next 4/4] ptp: netc: use 133MHz as the default reference clock rate for i.MX952 xiaoning.wang
2026-11-04  9:43   ` Daniel Baluta
2026-11-06  9:19     ` Clark Wang (OSS)
2026-11-18 10:52 ` [PATCH net-next 0/4] net: enetc: add i.MX952 NETC v4.6 support Frieder Schrempf
  -- strict thread matches above, loose matches on Subject: below --
2026-11-18 10:37 [PATCH net-next 0/4] net: enetc: Add i.MX952 support Frieder Schrempf
2026-11-18 10:37 ` [PATCH net-next 3/4] net: enetc: add i.MX952 ENETC support Frieder Schrempf

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