From: Krzysztof Kozlowski Date: Sun, 23 Aug 2020 11:15:06 +0000 (+0200) Subject: arm64: dts: imx8mq-phanbell: Replace deprecated phy reset properties X-Git-Tag: v5.10.7~1320^2~27^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=348eb3e4782e0dcdfbbb88de398cfe3128e3caa7;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: imx8mq-phanbell: 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts index 77ab568..3f541dd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts @@ -262,9 +262,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - phy-reset-duration = <10>; - phy-reset-post-delay = <50>; phy-handle = <ðphy0>; fsl,magic-packet; status = "okay"; @@ -275,6 +272,9 @@ ethphy0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <50000>; }; }; };