Skip to content

Commit 26c8fa8

Browse files
committed
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>
1 parent 52ac515 commit 26c8fa8

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

boards/nxp/imx95_evk/Kconfig.defconfig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
if SOC_MIMX9596_A55
55

6+
if ETH_NXP_IMX_NETC
7+
8+
config GIC_V3_ITS
9+
default y
10+
11+
endif # ETH_NXP_IMX_NETC
12+
613
# GIC ITS depends on kernel heap which init priority is 30, so set
714
# GIC to be 31, mailbox and SCMI will be initialized by the order
815
# according to dts dependency although they use the same init priority.
@@ -21,4 +28,4 @@ config ARM_SCMI_TRANSPORT_INIT_PRIORITY
2128
config CLOCK_CONTROL_INIT_PRIORITY
2229
default 31
2330

24-
endif
31+
endif # SOC_MIMX9596_A55

boards/nxp/imx95_evk/doc/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ Ethernet
106106
--------
107107

108108
NETC driver supports to manage the Physical Station Interface (PSI).
109-
The first ENET1 port could be enabled on M7 DDR platform.
109+
The first ENET1 port could be enabled on M7 DDR and A55 platforms.
110110

111+
For A55 Core, NETC depends on GIC ITS, so need to make sure to allocate heap memory to
112+
be larger than 851968 byes by setting CONFIG_HEAP_MEM_POOL_SIZE.
111113

112114
Programming and Debugging (A55)
113115
*******************************

boards/nxp/imx95_evk/imx95_evk_mimx9596_a55.dts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,31 @@
4747
};
4848
};
4949

50+
&emdio {
51+
pinctrl-0 = <&emdio_default>;
52+
pinctrl-names = "default";
53+
status = "okay";
54+
55+
phy0: phy@1 {
56+
compatible = "realtek,rtl8211f";
57+
reg = <0x1>;
58+
status = "okay";
59+
};
60+
};
61+
62+
&enetc_psi0 {
63+
local-mac-address = [00 00 00 01 02 00];
64+
pinctrl-0 = <&eth0_default>;
65+
pinctrl-names = "default";
66+
phy-handle = <&phy0>;
67+
phy-connection-type = "rgmii";
68+
status = "okay";
69+
};
70+
71+
&enetc_ptp_clock {
72+
status = "okay";
73+
};
74+
5075
&lpi2c5 {
5176
pinctrl-0 = <&lpi2c5_default>;
5277
pinctrl-names = "default";

0 commit comments

Comments
 (0)