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:
parent
7e56d134c2
commit
49091ff10b
10 changed files with 99 additions and 1 deletions
|
@ -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
|
||||
===================
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
5
boards/shields/nxp_adtja1101/Kconfig.shield
Normal file
5
boards/shields/nxp_adtja1101/Kconfig.shield
Normal 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)
|
BIN
boards/shields/nxp_adtja1101/doc/img/adtja1101-rmii.webp
Normal file
BIN
boards/shields/nxp_adtja1101/doc/img/adtja1101-rmii.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
35
boards/shields/nxp_adtja1101/doc/index.rst
Normal file
35
boards/shields/nxp_adtja1101/doc/index.rst
Normal 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 NXP’s 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
|
20
boards/shields/nxp_adtja1101/nxp_adtja1101.overlay
Normal file
20
boards/shields/nxp_adtja1101/nxp_adtja1101.overlay
Normal 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";
|
||||
};
|
||||
};
|
6
boards/shields/nxp_adtja1101/shield.yml
Normal file
6
boards/shields/nxp_adtja1101/shield.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
shield:
|
||||
name: nxp_adtja1101
|
||||
full_name: NXP ADTJA1101-RMII Automotive Ethernet Adapter
|
||||
vendor: nxp
|
||||
supported_features:
|
||||
- ethernet
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue