[PATCH net-next v2 32/35] qoriq: Specify which MACs support RGMII
Sean Anderson
sean.anderson at seco.com
Tue Jun 28 15:14:01 PDT 2022
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 at seco.com>
---
Changes in v2:
- Add rgmii property to all DPAA MACs
.../boot/dts/freescale/fsl-ls1043-post.dtsi | 7 +++++++
.../boot/dts/freescale/fsl-ls1046-post.dtsi | 8 ++++++++
arch/powerpc/boot/dts/fsl/b4860si-post.dtsi | 4 ++++
arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 4 ++++
arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 4 ++++
arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 7 +++++++
arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 8 ++++++++
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 16 ++++++++++++++++
8 files changed, 58 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi
index d237162a8744..f12d860a2ed4 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi
@@ -24,23 +24,30 @@ &fman0 {
/* these aliases provide the FMan ports mapping */
enet0: ethernet at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <0>;
};
enet2: ethernet at e4000 {
+ rgmii = <1>;
};
enet3: ethernet at e6000 {
+ rgmii = <1>;
};
enet4: ethernet at e8000 {
+ rgmii = <0>;
};
enet5: ethernet at ea000 {
+ rgmii = <0>;
};
enet6: ethernet at f0000 {
+ rgmii = <0>;
};
};
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 at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <0>;
};
enet2: ethernet at e4000 {
+ rgmii = <1>;
};
enet3: ethernet at e6000 {
+ rgmii = <1>;
};
enet4: ethernet at e8000 {
+ rgmii = <0>;
};
enet5: ethernet at ea000 {
+ rgmii = <0>;
};
enet6: ethernet at f0000 {
+ rgmii = <0>;
};
enet7: ethernet at f2000 {
+ rgmii = <0>;
};
};
diff --git a/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi b/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
index 868719821106..68f68f8cfa4e 100644
--- a/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
@@ -264,15 +264,19 @@ rcpm: global-utilities at e2000 {
/include/ "qoriq-fman3-0-10g-1.dtsi"
fman at 400000 {
enet4: ethernet at e8000 {
+ rgmii = <0>;
};
enet5: ethernet at ea000 {
+ rgmii = <0>;
};
enet6: ethernet at f0000 {
+ rgmii = <0>;
};
enet7: ethernet at f2000 {
+ rgmii = <0>;
};
};
diff --git a/arch/powerpc/boot/dts/fsl/b4si-post.dtsi b/arch/powerpc/boot/dts/fsl/b4si-post.dtsi
index 4f044b41a776..5e50b96e6b52 100644
--- a/arch/powerpc/boot/dts/fsl/b4si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/b4si-post.dtsi
@@ -465,15 +465,19 @@ muram at 0 {
};
enet0: ethernet at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <0>;
};
enet2: ethernet at e4000 {
+ rgmii = <0>;
};
enet3: ethernet at e6000 {
+ rgmii = <0>;
};
mdio at fc000 {
diff --git a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi
index d552044c5afc..e2a7bf643393 100644
--- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi
@@ -508,15 +508,19 @@ sata at 220000 {
/include/ "qoriq-fman3-0-1g-3.dtsi"
fman at 400000 {
enet0: ethernet at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <0>;
};
enet2: ethernet at e4000 {
+ rgmii = <1>;
};
enet3: ethernet at e6000 {
+ rgmii = <1>;
};
};
};
diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
index f58eb820eb5e..a585f5faaf9e 100644
--- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
@@ -606,18 +606,25 @@ sata at 221000 {
/include/ "qoriq-fman3-0-1g-4.dtsi"
fman at 400000 {
enet0: ethernet at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <1>;
+ mii;
};
enet2: ethernet at e4000 {
+ rgmii = <0>;
};
enet3: ethernet at e6000 {
+ rgmii = <1>;
+ mii;
};
enet4: ethernet at e8000 {
+ rgmii = <1>;
};
mdio at fc000 {
diff --git a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
index ecbb447920bc..f8a52ce0b590 100644
--- a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
@@ -619,27 +619,35 @@ usb1: usb at 211000 {
/include/ "qoriq-fman3-0-10g-1.dtsi"
fman at 400000 {
enet0: ethernet at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <0>;
};
enet2: ethernet at e4000 {
+ rgmii = <1>;
};
enet3: ethernet at e6000 {
+ rgmii = <1>;
};
enet4: ethernet at e8000 {
+ rgmii = <0>;
};
enet5: ethernet at ea000 {
+ rgmii = <0>;
};
enet6: ethernet at f0000 {
+ rgmii = <0>;
};
enet7: ethernet at f2000 {
+ rgmii = <1>;
};
mdio at fc000 {
diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
index fcac73486d48..c0aa26db78b0 100644
--- a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
@@ -1018,27 +1018,35 @@ usb1: usb at 211000 {
/include/ "qoriq-fman3-0-10g-1.dtsi"
fman at 400000 {
enet0: ethernet at e0000 {
+ rgmii = <0>;
};
enet1: ethernet at e2000 {
+ rgmii = <0>;
};
enet2: ethernet at e4000 {
+ rgmii = <0>;
};
enet3: ethernet at e6000 {
+ rgmii = <0>;
};
enet4: ethernet at e8000 {
+ rgmii = <1>;
};
enet5: ethernet at ea000 {
+ rgmii = <0>;
};
enet6: ethernet at f0000 {
+ rgmii = <0>;
};
enet7: ethernet at f2000 {
+ rgmii = <0>;
};
mdio at fc000 {
@@ -1061,27 +1069,35 @@ mdio at fd000 {
/include/ "qoriq-fman3-1-10g-1.dtsi"
fman at 500000 {
enet8: ethernet at e0000 {
+ rgmii = <0>;
};
enet9: ethernet at e2000 {
+ rgmii = <0>;
};
enet10: ethernet at e4000 {
+ rgmii = <0>;
};
enet11: ethernet at e6000 {
+ rgmii = <0>;
};
enet12: ethernet at e8000 {
+ rgmii = <1>;
};
enet13: ethernet at ea000 {
+ rgmii = <1>;
};
enet14: ethernet at f0000 {
+ rgmii = <0>;
};
enet15: ethernet at f2000 {
+ rgmii = <0>;
};
mdio at fc000 {
--
2.35.1.1320.gc452695387.dirty
More information about the linux-arm-kernel
mailing list