]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: imx8mn-*-evk: use reset-gpios in phy node
authorHeiko Thiery <heiko.thiery@gmail.com>
Wed, 23 Feb 2022 09:48:26 +0000 (10:48 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 13:36:17 +0000 (15:36 +0200)
To be in sync with the linux devicetree change the 'phy-reset-gpios' in
the fec node to 'reset-gpios' in the phy node. The PHY reset will be
done by the eth-phy-uclass driver while probing the PHY. This is ok
since it is done before probing the fec.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-by: Marek Vasut <marex@denx.de> # 8MNANOD4-EVK
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx8mn-evk.dtsi

index fc2c7f1d440d59511e6be940faa05a46935cd9d4..ed865444da54c0c403bfa885e1fc527c30720717 100644 (file)
@@ -53,7 +53,6 @@
        pinctrl-0 = <&pinctrl_fec1>;
        phy-mode = "rgmii-id";
        phy-handle = <&ethphy0>;
-       phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
        fsl,magic-packet;
        status = "okay";
 
@@ -64,6 +63,8 @@
                ethphy0: ethernet-phy@0 {
                        compatible = "ethernet-phy-ieee802.3-c22";
                        reg = <0>;
+                       reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
+                       reset-assert-us = <10000>;
                        vddio-supply = <&vddio>;
 
                        vddio: vddio-regulator {