diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-23 14:15:06 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-30 14:58:50 +0300 |
commit | 348eb3e4782e0dcdfbbb88de398cfe3128e3caa7 (patch) | |
tree | f9c6363221ab66a54b604074787eeeac4aa1b45f /arch/arm64 | |
parent | b73af7fca916e9b5e0d11f01bf49f1807fae91b6 (diff) | |
download | linux-348eb3e4782e0dcdfbbb88de398cfe3128e3caa7.tar.xz |
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 <krzk@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts b/arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts index 77ab568fae67..3f541ddf0768 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>; }; }; }; |