arm64: dts: ls1028a: use phy-mode instead of phy-connection-type

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>
This commit is contained in:
Michael Walle 2021-08-31 15:40:13 +02:00 committed by Shawn Guo
parent 6783380506
commit caa355c53b
5 changed files with 5 additions and 5 deletions

View File

@ -54,6 +54,6 @@
&enetc_port1 {
phy-handle = <&phy0>;
phy-connection-type = "rgmii-id";
phy-mode = "rgmii-id";
status = "okay";
};

View File

@ -42,6 +42,6 @@
&enetc_port1 {
phy-handle = <&phy1>;
phy-connection-type = "rgmii-id";
phy-mode = "rgmii-id";
status = "okay";
};

View File

@ -90,7 +90,7 @@
&enetc_port0 {
phy-handle = <&phy0>;
phy-connection-type = "sgmii";
phy-mode = "sgmii";
managed = "in-band-status";
status = "okay";
};

View File

@ -320,7 +320,7 @@
&enetc_port1 {
phy-handle = <&qds_phy1>;
phy-connection-type = "rgmii-id";
phy-mode = "rgmii-id";
status = "okay";
};

View File

@ -221,7 +221,7 @@
&enetc_port0 {
phy-handle = <&sgmii_phy0>;
phy-connection-type = "sgmii";
phy-mode = "sgmii";
managed = "in-band-status";
status = "okay";
};