arm64: dts: imx8mq-thor96: Replace deprecated phy reset properties
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 23 Aug 2020 11:15:08 +0000 (13:15 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 30 Aug 2020 11:58:50 +0000 (19:58 +0800)
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>
arch/arm64/boot/dts/freescale/imx8mq-thor96.dts

index b4795a0..5d5aa65 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec1>;
        phy-mode = "rgmii-id";
-       phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
        phy-handle = <&ethphy>;
        fsl,magic-packet;
        status = "okay";
                ethphy: ethernet-phy@3 {
                        compatible = "ethernet-phy-ieee802.3-c22";
                        reg = <3>;
+                       reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
                };
        };
 };