Skip to content

Commit

Permalink
soc: nxp_s32: s32k344: add EMAC support
Browse files Browse the repository at this point in the history
This device has a single instance of EMAC (a 100Mbps version of GMAC).
TCP/UDP checksum calculation is offloaded.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
  • Loading branch information
manuargue authored and Umar Nisar committed Aug 15, 2023
1 parent 431fa6e commit 57cd223
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dts/arm/nxp/nxp_s32k344_m7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,14 @@
#size-cells = <0>;
status = "disabled";
};

emac0: ethernet@40480000 {
reg = <0x40480000 0x4000>;
compatible = "nxp,s32-gmac";
interrupts = <105 0>, <106 0>, <107 0>, <108 0>;
interrupt-names = "common", "tx", "rx", "safety";
status = "disabled";
};
};
};

Expand Down
10 changes: 10 additions & 0 deletions soc/arm/nxp_s32/s32k/Kconfig.defconfig.series
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ config FLASH_BASE_ADDRESS
default 0
endif

if NET_L2_ETHERNET

config NET_TCP_CHECKSUM
default n

config NET_UDP_CHECKSUM
default n

endif # NET_L2_ETHERNET

source "soc/arm/nxp_s32/s32k/Kconfig.defconfig.s32k*"

endif # SOC_SERIES_S32K_M7

0 comments on commit 57cd223

Please sign in to comment.