diff mbox series

[v2,devicetree,2/3] arm64: dts: ls1028a: mark enetc port 3 as a DSA master too

Message ID 20220831160124.914453-3-olteanv@gmail.com (mailing list archive)
State New, archived
Headers show
Series NXP LS1028A DT changes for multiple switch CPU ports | expand

Commit Message

Vladimir Oltean Aug. 31, 2022, 4:01 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

The LS1028A switch has 2 internal links to the ENETC controller.

With DSA's ability to support multiple CPU ports, we should mark both
ENETC ports as DSA masters.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
v1->v2: keep 'status' property last

 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Walle Sept. 1, 2022, 7:32 a.m. UTC | #1
Am 2022-08-31 18:01, schrieb Vladimir Oltean:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> The LS1028A switch has 2 internal links to the ENETC controller.
> 
> With DSA's ability to support multiple CPU ports, we should mark both
> ENETC ports as DSA masters.
> 
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Reviewed-by: Michael Walle <michael@walle.cc>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 1215fcdf70fa..ac1c3a7e5f7a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -1169,6 +1169,7 @@  fixed-link {
 					mscc_felix_port5: port@5 {
 						reg = <5>;
 						phy-mode = "internal";
+						ethernet = <&enetc_port3>;
 						status = "disabled";
 
 						fixed-link {