soc: nxp_s32: s32k344: add EMAC support
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>
This commit is contained in:
parent
36f11627ce
commit
12627d329e
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue