[PATCH net-next 28/28] arm64: dts: ls1046a: Specify which MACs support RGMII

From: Sean Anderson
Date: Fri Jun 17 2022 - 16:39:05 EST


For more precise link mode support, we can add a property specifying
which MACs support RGMII. This silences the warning

missing 'rgmii' property; assuming supported

Signed-off-by: Sean Anderson <sean.anderson@xxxxxxxx>
---

arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi
index d6caaea57d90..4bb314388a72 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi
@@ -23,26 +23,34 @@ &soc {
&fman0 {
/* these aliases provide the FMan ports mapping */
enet0: ethernet@e0000 {
+ rgmii = <0>;
};

enet1: ethernet@e2000 {
+ rgmii = <0>;
};

enet2: ethernet@e4000 {
+ rgmii = <1>;
};

enet3: ethernet@e6000 {
+ rgmii = <1>;
};

enet4: ethernet@e8000 {
+ rgmii = <0>;
};

enet5: ethernet@ea000 {
+ rgmii = <0>;
};

enet6: ethernet@f0000 {
+ rgmii = <0>;
};

enet7: ethernet@f2000 {
+ rgmii = <0>;
};
};
--
2.35.1.1320.gc452695387.dirty