OSDN Git Service

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 836a9b7..7cd29ab 100644 (file)
@@ -54,6 +54,6 @@
 
 &enetc_port1 {
        phy-handle = <&phy0>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        status = "okay";
 };
index 77ed0eb..9b5e92f 100644 (file)
@@ -42,6 +42,6 @@
 
 &enetc_port1 {
        phy-handle = <&phy1>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        status = "okay";
 };
index b3e9c49..d74e738 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 f36f878..6e2a1da 100644 (file)
 
 &enetc_port1 {
        phy-handle = <&qds_phy1>;
-       phy-connection-type = "rgmii-id";
+       phy-mode = "rgmii-id";
        status = "okay";
 };
 
index ea11b1e..7719f44 100644 (file)
 
 &enetc_port0 {
        phy-handle = <&sgmii_phy0>;
-       phy-connection-type = "sgmii";
+       phy-mode = "sgmii";
        managed = "in-band-status";
        status = "okay";
 };