2022-08-31 16:21:47

by Vladimir Oltean

[permalink] [raw]
Subject: [PATCH v2 devicetree 2/3] arm64: dts: ls1028a: mark enetc port 3 as a DSA master too

From: Vladimir Oltean <[email protected]>

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 <[email protected]>
---
v1->v2: keep 'status' property last

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

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 {
--
2.34.1


2022-09-01 07:44:52

by Michael Walle

[permalink] [raw]
Subject: Re: [PATCH v2 devicetree 2/3] arm64: dts: ls1028a: mark enetc port 3 as a DSA master too

Am 2022-08-31 18:01, schrieb Vladimir Oltean:
> From: Vladimir Oltean <[email protected]>
>
> 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 <[email protected]>

Reviewed-by: Michael Walle <[email protected]>