Skip to content

Commit 298ea52

Browse files
yangbolu1991nashif
authored andcommitted
samples: net: gptp: add imx943_evk_mimx94398_m33_ddr support
Added imx943_evk_mimx94398_m33_ddr support. Signed-off-by: Yangbo Lu <[email protected]>
1 parent 7e9ed6e commit 298ea52

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_NET_L2_ETHERNET=y
2+
CONFIG_ETH_DRIVER=y
3+
CONFIG_NET_IF_MAX_IPV4_COUNT=7
4+
CONFIG_NET_DSA=y
5+
CONFIG_NET_GPTP_MONITOR_SYNC_STATUS=y
6+
CONFIG_NET_GPTP_NUM_PORTS=5
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&emdio {
8+
status = "okay";
9+
10+
phy0: phy@2 {
11+
status = "okay";
12+
};
13+
14+
phy1: phy@3 {
15+
status = "okay";
16+
};
17+
18+
phy2: phy@5 {
19+
status = "okay";
20+
};
21+
22+
phy3: phy@6 {
23+
status = "okay";
24+
};
25+
26+
phy4: phy@7 {
27+
status = "okay";
28+
};
29+
};
30+
31+
&enetc_psi0 {
32+
ptp-clock = <&netc_ptp_clock0>;
33+
status = "okay";
34+
};
35+
36+
&enetc_psi1 {
37+
ptp-clock = <&netc_ptp_clock0>;
38+
status = "okay";
39+
};
40+
41+
&enetc_psi2 {
42+
ptp-clock = <&netc_ptp_clock0>;
43+
status = "okay";
44+
};
45+
46+
/* Internal port */
47+
&enetc_psi3 {
48+
status = "okay";
49+
};
50+
51+
&netc_switch {
52+
status = "okay";
53+
54+
switch_port0: switch_port@0 {
55+
ptp-clock = <&netc_ptp_clock0>;
56+
status = "okay";
57+
};
58+
59+
switch_port1: switch_port@1 {
60+
ptp-clock = <&netc_ptp_clock0>;
61+
status = "okay";
62+
};
63+
64+
/* Internal port */
65+
switch_port3: switch_port@3 {
66+
status = "okay";
67+
};
68+
};
69+
70+
&netc_ptp_clock0 {
71+
status = "okay";
72+
};

0 commit comments

Comments
 (0)