boards: shields: Add shield for NXP ADTJA1101 Ethernet Adapter

Add a shield for NXP ADTJA1101 Ethernet Adapter. This shield can
be used with the s32k148_evb.

Signed-off-by: Kevin Shaju <kevin.shaju@accenture.com>
This commit is contained in:
Kevin Shaju 2025-03-26 15:33:08 +01:00 committed by Dan Kalowsky
commit 49091ff10b
10 changed files with 99 additions and 1 deletions

View file

@ -37,6 +37,11 @@ Supported Features
.. zephyr:board-supported-hw::
.. note::
Before using the Ethernet interface, please take note of the following:
- For boards with the part number ``LSF24D`` at ``U16``, ``R553`` needs to be depopulated.
Connections and IOs
===================

View file

@ -179,3 +179,15 @@
vref-mv = <5000>;
status = "okay";
};
&enet_mac {
pinctrl-0 = <&pinmux_enet>;
pinctrl-names = "default";
zephyr,random-mac-address;
phy-connection-type = "rmii";
};
&enet_mdio {
pinctrl-0 = <&pinmux_enet_mdio>;
pinctrl-names = "default";
};

View file

@ -0,0 +1,5 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
config SHIELD_NXP_ADTJA1101
def_bool $(shields_list_contains,nxp_adtja1101)

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,35 @@
.. _nxp_adtja1101:
NXP ADTJA1101-RMII Automotive Ethernet Adapter
##############################################
Overview
********
The ADTJA1101-RMII is an automotive Ethernet adapter card specifically built to
add 100Mbps automotive Ethernet connectivity to the S32K148 Microcontroller and
i.MX8 platforms.
This shield can be used with the NXP S32K148-Q176 evaluation board by plugging
into the common expansion connector, through which the ADTJA1101-RMII connects
the RMII interfaces of the S32K148 directly to NXPs 100BASE-T1 Ethernet PHY
TJA1101.
.. figure:: img/adtja1101-rmii.webp
:align: center
:alt: NXP ADTJA1101-RMII Automotive Ethernet Adapter
More information about this module can be found at `ADTJA1101-RMII`_.
Programming
***********
Set ``--shield nxp_adtja1101`` when you invoke ``west build``.
References
**********
.. target-notes::
.. _ADTJA1101-RMII:
https://www.nxp.com/part/ADTJA1101-RMII

View file

@ -0,0 +1,20 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&enet_mac {
status = "okay";
phy-handle = <&phy>;
};
&enet_mdio {
status = "okay";
phy: phy@0 {
compatible = "nxp,tja11xx";
reg = <0>;
status = "okay";
};
};

View file

@ -0,0 +1,6 @@
shield:
name: nxp_adtja1101
full_name: NXP ADTJA1101-RMII Automotive Ethernet Adapter
vendor: nxp
supported_features:
- ethernet

View file

@ -14,3 +14,9 @@ tests:
sample.net.sockets.dumb_http_server:
extra_configs:
- CONFIG_POSIX_API=y
platform_exclude: s32k148_evb/s32k148
sample.net.sockets.dumb_http_server.s32k148_evb:
extra_configs:
- CONFIG_POSIX_API=y
extra_args: SHIELD=nxp_adtja1101
platform_allow: s32k148_evb/s32k148

View file

@ -11,4 +11,8 @@ common:
integration_platforms:
- qemu_x86
tests:
sample.net.sockets.socketpair: {}
sample.net.sockets.socketpair:
platform_exclude: s32k148_evb/s32k148
sample.net.sockets.socketpair.s32k148_evb:
extra_args: SHIELD=nxp_adtja1101
platform_allow: s32k148_evb/s32k148

View file

@ -13,3 +13,8 @@ common:
tests:
sample.posix.gettimeofday:
harness: net
platform_exclude: s32k148_evb/s32k148
sample.posix.gettimeofday.s32k148_evb:
harness: net
extra_args: SHIELD=nxp_adtja1101
platform_allow: s32k148_evb/s32k148