boards: imx95_evk: a55: add NETC support

Added NETC PSI0 support on the i.MX 95 EVK board for A55 platform.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
This commit is contained in:
Jiafei Pan
2025-06-29 18:37:34 +08:00
committed by Fabio Baltieri
parent 7d747f5a2e
commit 5a56cb6fc0
3 changed files with 36 additions and 2 deletions

View File

@@ -3,6 +3,13 @@
if SOC_MIMX9596_A55
if ETH_NXP_IMX_NETC
config GIC_V3_ITS
default y
endif # ETH_NXP_IMX_NETC
# GIC ITS depends on kernel heap which init priority is 30, so set
# GIC to be 31, mailbox and SCMI will be initialized by the order
# according to dts dependency although they use the same init priority.
@@ -21,4 +28,4 @@ config ARM_SCMI_TRANSPORT_INIT_PRIORITY
config CLOCK_CONTROL_INIT_PRIORITY
default 31
endif
endif # SOC_MIMX9596_A55

View File

@@ -106,8 +106,10 @@ Ethernet
--------
NETC driver supports to manage the Physical Station Interface (PSI).
The first ENET1 port could be enabled on M7 DDR platform.
The first ENET1 port could be enabled on M7 DDR and A55 platforms.
For A55 Core, NETC depends on GIC ITS, so need to make sure to allocate heap memory to
be larger than 851968 byes by setting CONFIG_HEAP_MEM_POOL_SIZE.
Programming and Debugging (A55)
*******************************

View File

@@ -47,6 +47,31 @@
};
};
&emdio {
pinctrl-0 = <&emdio_default>;
pinctrl-names = "default";
status = "okay";
phy0: phy@1 {
compatible = "realtek,rtl8211f";
reg = <0x1>;
status = "okay";
};
};
&enetc_psi0 {
local-mac-address = [00 00 00 01 02 00];
pinctrl-0 = <&eth0_default>;
pinctrl-names = "default";
phy-handle = <&phy0>;
phy-connection-type = "rgmii";
status = "okay";
};
&enetc_ptp_clock {
status = "okay";
};
&lpi2c5 {
pinctrl-0 = <&lpi2c5_default>;
pinctrl-names = "default";