boards: nxp: imx943_evk: support NETC ENETC for M33

Supported NETC for M33.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
Yangbo Lu 2025-06-12 15:04:04 +08:00 committed by Benjamin Cabé
commit 6a56874a22
5 changed files with 102 additions and 0 deletions

View file

@ -62,6 +62,13 @@ Serial Port
This board configuration uses a single serial communication channel with the
CPU's UART1 for Cortex-A55, and UART8 for Cortex-M33.
Ethernet
--------
NETC driver supports to manage the Physical Station Interface (PSI).
The ENET0, ENETC1, ENETC2 ports could be enabled for M33 by west build option
``-DEXTRA_DTC_OVERLAY_FILE=enetc.overlay``.
Programming and Debugging (A55)
*******************************

View file

@ -0,0 +1,33 @@
/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&emdio {
status = "okay";
phy2: phy@5 {
status = "okay";
};
phy3: phy@6 {
status = "okay";
};
phy4: phy@7 {
status = "okay";
};
};
&enetc_psi0 {
status = "okay";
};
&enetc_psi1 {
status = "okay";
};
&enetc_psi2 {
status = "okay";
};

View file

@ -23,6 +23,66 @@
};
};
&emdio {
pinctrl-0 = <&emdio_default>;
pinctrl-names = "default";
status = "disabled";
phy0: phy@f {
compatible = "ethernet-phy";
reg = <0xf>;
status = "disabled";
};
phy1: phy@10 {
compatible = "ethernet-phy";
reg = <0x10>;
status = "disabled";
};
phy2: phy@5 {
compatible = "realtek,rtl8211f";
reg = <0x5>;
status = "disabled";
};
phy3: phy@6 {
compatible = "realtek,rtl8211f";
reg = <0x6>;
status = "disabled";
};
phy4: phy@7 {
compatible = "realtek,rtl8211f";
reg = <0x7>;
status = "disabled";
};
};
&enetc_psi0 {
pinctrl-0 = <&eth2_default>;
pinctrl-names = "default";
phy-handle = <&phy2>;
phy-connection-type = "rgmii";
status = "disabled";
};
&enetc_psi1 {
pinctrl-0 = <&eth3_default>;
pinctrl-names = "default";
phy-handle = <&phy3>;
phy-connection-type = "rgmii";
status = "disabled";
};
&enetc_psi2 {
pinctrl-0 = <&eth4_default>;
pinctrl-names = "default";
phy-handle = <&phy4>;
phy-connection-type = "rgmii";
status = "disabled";
};
&lpuart8 {
status = "okay";
current-speed = <115200>;

View file

@ -15,4 +15,5 @@ toolchain:
- gnuarmemb
supported:
- uart
- netif:eth
vendor: nxp

View file

@ -14,4 +14,5 @@ toolchain:
- gnuarmemb
supported:
- uart
- netif:eth
vendor: nxp