Commit caa355c5 authored by Michael Walle's avatar Michael Walle Committed by Shawn Guo

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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 67833805
......@@ -54,6 +54,6 @@ &enetc_port0 {
&enetc_port1 {
phy-handle = <&phy0>;
phy-connection-type = "rgmii-id";
phy-mode = "rgmii-id";
status = "okay";
};
......@@ -42,6 +42,6 @@ vddh: vddh-regulator {
&enetc_port1 {
phy-handle = <&phy1>;
phy-connection-type = "rgmii-id";
phy-mode = "rgmii-id";
status = "okay";
};
......@@ -90,7 +90,7 @@ phy0: ethernet-phy@5 {
&enetc_port0 {
phy-handle = <&phy0>;
phy-connection-type = "sgmii";
phy-mode = "sgmii";
managed = "in-band-status";
status = "okay";
};
......
......@@ -320,7 +320,7 @@ mux: mux-controller {
&enetc_port1 {
phy-handle = <&qds_phy1>;
phy-connection-type = "rgmii-id";
phy-mode = "rgmii-id";
status = "okay";
};
......
......@@ -221,7 +221,7 @@ qsgmii_phy3: ethernet-phy@13 {
&enetc_port0 {
phy-handle = <&sgmii_phy0>;
phy-connection-type = "sgmii";
phy-mode = "sgmii";
managed = "in-band-status";
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment