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:
parent
89e324dee6
commit
6a56874a22
5 changed files with 102 additions and 0 deletions
|
@ -62,6 +62,13 @@ Serial Port
|
||||||
This board configuration uses a single serial communication channel with the
|
This board configuration uses a single serial communication channel with the
|
||||||
CPU's UART1 for Cortex-A55, and UART8 for Cortex-M33.
|
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)
|
Programming and Debugging (A55)
|
||||||
*******************************
|
*******************************
|
||||||
|
|
||||||
|
|
33
boards/nxp/imx943_evk/dts/enetc.overlay
Normal file
33
boards/nxp/imx943_evk/dts/enetc.overlay
Normal 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";
|
||||||
|
};
|
|
@ -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 = <ð2_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
phy-handle = <&phy2>;
|
||||||
|
phy-connection-type = "rgmii";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&enetc_psi1 {
|
||||||
|
pinctrl-0 = <ð3_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
phy-handle = <&phy3>;
|
||||||
|
phy-connection-type = "rgmii";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&enetc_psi2 {
|
||||||
|
pinctrl-0 = <ð4_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
phy-handle = <&phy4>;
|
||||||
|
phy-connection-type = "rgmii";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
&lpuart8 {
|
&lpuart8 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
|
|
|
@ -15,4 +15,5 @@ toolchain:
|
||||||
- gnuarmemb
|
- gnuarmemb
|
||||||
supported:
|
supported:
|
||||||
- uart
|
- uart
|
||||||
|
- netif:eth
|
||||||
vendor: nxp
|
vendor: nxp
|
||||||
|
|
|
@ -14,4 +14,5 @@ toolchain:
|
||||||
- gnuarmemb
|
- gnuarmemb
|
||||||
supported:
|
supported:
|
||||||
- uart
|
- uart
|
||||||
|
- netif:eth
|
||||||
vendor: nxp
|
vendor: nxp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue