[PATCH 0/3] NXP S32G3 SoC initial bring-up

Wadim Mueller wafgo01 at gmail.com
Fri Mar 15 15:27:46 PDT 2024


This series brings up initial support for the NXP S32G3 SoC (8 x cortex-a53), used on the S32G-VNP-RDB3 board [1].

The following features are supported in this initial port:

  Devicetree for the S32G-VNP-RDB3 
  UART (fsl-linflexuart) with earlycon support
  SDHC: fsl-imx-esdhc (SD/eMMC)
  Ethernet: synopsys gmac/stmac. This is based on a patch series provided by Chester Lin in [2]


[1] https://www.nxp.com/design/design-center/designs/s32g3-vehicle-networking-reference-design:S32G-VNP-RDB3
[2] https://patchwork.kernel.org/project/netdevbpf/patch/20221031101052.14956-6-clin@suse.com/#25068228

Wadim Mueller (3):
  arm64: dts: S32G3: Introduce device trees for S32G-VNP-RDB3
  net: stmmac: Add NXP S32 SoC family support
  dt-bindings: net: add schema for NXP S32 dwmac glue driver

 .../bindings/net/nxp,s32-dwmac.yaml           | 130 +++++++
 .../devicetree/bindings/net/snps,dwmac.yaml   |   5 +-
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 arch/arm64/boot/dts/freescale/s32g3.dtsi      | 352 ++++++++++++++++++
 .../boot/dts/freescale/s32g399a-rdb3.dts      |  57 +++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  12 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 drivers/net/ethernet/stmicro/stmmac/common.h  |   3 +
 .../net/ethernet/stmicro/stmmac/dwmac-s32.c   | 313 ++++++++++++++++
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.c  |   9 +
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.h  |   3 +
 drivers/net/ethernet/stmicro/stmmac/hwif.h    |   5 +
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |   7 +
 .../dt-bindings/clock/nxp,s32-scmi-clock.h    | 158 ++++++++
 include/linux/stmmac.h                        |   9 +
 15 files changed, 1063 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml
 create mode 100644 arch/arm64/boot/dts/freescale/s32g3.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c
 create mode 100644 include/dt-bindings/clock/nxp,s32-scmi-clock.h

-- 
2.25.1




More information about the linux-arm-kernel mailing list