Skip to content

Commit bf1eab4

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 a887751 commit bf1eab4

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

@@ -105,3 +105,27 @@
105105
pinctrl-0 = <&lpuart8_default>;
106106
pinctrl-names = "default";
107107
};
108+
109+
&switch_port0 {
110+
zephyr,random-mac-address;
111+
pinctrl-0 = <&eth0_default>;
112+
pinctrl-names = "default";
113+
phy-handle = <&phy0>;
114+
phy-connection-type = "mii";
115+
status = "disabled";
116+
};
117+
118+
&switch_port1 {
119+
zephyr,random-mac-address;
120+
pinctrl-0 = <&eth1_default>;
121+
pinctrl-names = "default";
122+
phy-handle = <&phy1>;
123+
phy-connection-type = "mii";
124+
status = "disabled";
125+
};
126+
127+
/* Internal port */
128+
&switch_port3 {
129+
zephyr,random-mac-address;
130+
status = "disabled";
131+
};

0 commit comments

Comments
 (0)