Skip to content

Commit 24b359d

Browse files
committed
dts: arm: nxp_imx943_m33: add NETC switch node
Added NETC switch node. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
1 parent 4c82d7e commit 24b359d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

dts/arm/nxp/nxp_imx943_m33.dtsi

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,16 @@
303303
status = "disabled";
304304
};
305305

306+
/* Internal port */
307+
enetc_psi3: ethernet@4cd40000 {
308+
compatible = "nxp,imx-netc-psi";
309+
reg = <0x4cd40000 0x10000>;
310+
mac-index = <3>;
311+
si-index = <3>;
312+
phy-connection-type = "internal";
313+
status = "disabled";
314+
};
315+
306316
netc_ptp_clock0: ptp_clock@4cd80000 {
307317
compatible = "nxp,netc-ptp-clock";
308318
reg = <0x4cd80000 0x10000>;
@@ -323,6 +333,38 @@
323333
clocks = <&scmi_clk IMX943_CLK_ENET>;
324334
status = "disabled";
325335
};
336+
337+
netc_switch: switch {
338+
compatible = "nxp,netc-switch";
339+
status = "disabled";
340+
#address-cells = <1>;
341+
#size-cells = <0>;
342+
343+
switch_port0: switch_port@0 {
344+
reg = <0>;
345+
status = "disabled";
346+
};
347+
348+
switch_port1: switch_port@1 {
349+
reg = <1>;
350+
status = "disabled";
351+
};
352+
353+
/* Parallel interface is muxed with enetc_psi0. */
354+
switch_port2: switch_port@2 {
355+
reg = <2>;
356+
status = "disabled";
357+
};
358+
359+
/* Internal port */
360+
switch_port3: switch_port@3 {
361+
reg = <3>;
362+
ethernet = <&enetc_psi3>;
363+
phy-connection-type = "internal";
364+
tag-protocol = "netc";
365+
status = "disabled";
366+
};
367+
};
326368
};
327369
};
328370
};

0 commit comments

Comments
 (0)