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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,6 +54,6 @@

&enetc_port1 {
	phy-handle = <&phy0>;
	phy-connection-type = "rgmii-id";
	phy-mode = "rgmii-id";
	status = "okay";
};
+1 −1
Original line number Diff line number Diff line
@@ -42,6 +42,6 @@

&enetc_port1 {
	phy-handle = <&phy1>;
	phy-connection-type = "rgmii-id";
	phy-mode = "rgmii-id";
	status = "okay";
};
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@

&enetc_port0 {
	phy-handle = <&phy0>;
	phy-connection-type = "sgmii";
	phy-mode = "sgmii";
	managed = "in-band-status";
	status = "okay";
};
+1 −1
Original line number Diff line number Diff line
@@ -320,7 +320,7 @@

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

+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@

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