arm64: dts: imx8mm-evk: Replace deprecated phy reset properties
Use preferred properties of phy node instead of deprecated phy-reset-gpios (and others). This avoids copying deprecated code into future DTSes. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
1197989df7
commit
0e825b32c0
@ -123,8 +123,6 @@
|
|||||||
pinctrl-0 = <&pinctrl_fec1>;
|
pinctrl-0 = <&pinctrl_fec1>;
|
||||||
phy-mode = "rgmii-id";
|
phy-mode = "rgmii-id";
|
||||||
phy-handle = <ðphy0>;
|
phy-handle = <ðphy0>;
|
||||||
phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
|
|
||||||
phy-reset-duration = <10>;
|
|
||||||
fsl,magic-packet;
|
fsl,magic-packet;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
@ -135,6 +133,8 @@
|
|||||||
ethphy0: ethernet-phy@0 {
|
ethphy0: ethernet-phy@0 {
|
||||||
compatible = "ethernet-phy-ieee802.3-c22";
|
compatible = "ethernet-phy-ieee802.3-c22";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
|
||||||
|
reset-assert-us = <10000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user