Skip to content

Commit 5bd8bed

Browse files
committed
boards: nxp: imx943_evk: add NETC switch support for M33
Added NETC switch support for M33. Signed-off-by: Yangbo Lu <[email protected]>
1 parent 1a5c358 commit 5bd8bed

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.dts

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
pinctrl-names = "default";
2929
status = "disabled";
3030

31-
phy0: phy@f {
31+
phy0: phy@2 {
3232
compatible = "ethernet-phy";
33-
reg = <0xf>;
33+
reg = <0x2>;
3434
status = "disabled";
3535
};
3636

37-
phy1: phy@10 {
37+
phy1: phy@3 {
3838
compatible = "ethernet-phy";
39-
reg = <0x10>;
39+
reg = <0x3>;
4040
status = "disabled";
4141
};
4242

@@ -89,3 +89,27 @@
8989
pinctrl-0 = <&lpuart8_default>;
9090
pinctrl-names = "default";
9191
};
92+
93+
&switch_port0 {
94+
zephyr,random-mac-address;
95+
pinctrl-0 = <&eth0_default>;
96+
pinctrl-names = "default";
97+
phy-handle = <&phy0>;
98+
phy-connection-type = "mii";
99+
status = "disabled";
100+
};
101+
102+
&switch_port1 {
103+
zephyr,random-mac-address;
104+
pinctrl-0 = <&eth1_default>;
105+
pinctrl-names = "default";
106+
phy-handle = <&phy1>;
107+
phy-connection-type = "mii";
108+
status = "disabled";
109+
};
110+
111+
/* Internal port */
112+
&switch_port3 {
113+
zephyr,random-mac-address;
114+
status = "disabled";
115+
};

0 commit comments

Comments
 (0)