]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: ls1028a: use phy-mode instead of phy-connection-type
authorMichael Walle <michael@walle.cc>
Tue, 31 Aug 2021 13:40:13 +0000 (15:40 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Oct 2021 13:00:40 +0000 (21:00 +0800)
In linux both are identical, phy-mode is used more often, though. Also
for the ls1028a both phy-connection-type and phy-mode was used, one for
the enetc nodes and the other for the switch nodes. Unify them. But the
main reason for this is that the device tree files can be shared with
the u-boot ones; there the enetc driver only supports the "phy-mode"
property.

Suggested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts

index 836a9b7d826362a9ece962b9e08b6e4d1d1e4e9d..7cd29ab970d9237ee4675c87ee6f39b279aae2ba 100644 (file)
@@ -54,6 +54,6 @@
 
 &enetc_port1 {
        phy-handle = <&phy0>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        status = "okay";
 };
index 77ed0ebd2c75efd3f8e55333ab6e49fd3172f568..9b5e92fb753e22effdb5b14f04cf3371291df162 100644 (file)
@@ -42,6 +42,6 @@
 
 &enetc_port1 {
        phy-handle = <&phy1>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        status = "okay";
 };
index b3e9c499e8b0e4968be8cccbe3be30ca9337dc21..d74e738e40706c811c585a19a36ae989018ba278 100644 (file)
@@ -90,7 +90,7 @@
 
 &enetc_port0 {
        phy-handle = <&phy0>;
-       phy-connection-type = "sgmii";
+       phy-mode = "sgmii";
        managed = "in-band-status";
        status = "okay";
 };
index f36f87858aef015a1cc7c6e9db8978c29cd02e19..6e2a1da662fb452b22a2af29bdfbe707e2323d1f 100644 (file)
 
 &enetc_port1 {
        phy-handle = <&qds_phy1>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        status = "okay";
 };
 
index ea11b1eb01f882d4bcee8d25c27964f484460a07..7719f44bcaedebc325ad8f6fedf2d186d37105b5 100644 (file)
 
 &enetc_port0 {
        phy-handle = <&sgmii_phy0>;
-       phy-connection-type = "sgmii";
+       phy-mode = "sgmii";
        managed = "in-band-status";
        status = "okay";
 };