From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CEC95C433FE for ; Wed, 23 Feb 2022 09:49:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7BADE837F5; Wed, 23 Feb 2022 10:48:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hdLMZuEO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B3A228009D; Wed, 23 Feb 2022 10:48:57 +0100 (CET) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3B23183A86 for ; Wed, 23 Feb 2022 10:48:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-ed1-x52f.google.com with SMTP id bq11so21926554edb.2 for ; Wed, 23 Feb 2022 01:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7xEQnyM2SdFNVmwIgUGQvnRTXBACyOiHZVqUMct5j1U=; b=hdLMZuEOYQvzj5tVdQXaj/e+b2mNmFkPzJCCqSRSoP01R9OQZxrUnPHuEgv+0YK0BP dqeoA3rdnyhkqVQSHDUi2wFN4q2iMgI1aLIHwV5Q2IBrQ2bxxwfQmgqh0BUDFVsjattz 1CxRJOnnLnxPCnSBMgGgL2DlbNq3aO7LcmZIF3umE8rAjyx0LgWsYnZ/LZsnuvE4xhEx N/gZYlwsVKVMhpWWokL0AOLyx4+bsfUm8JWDzZIcyPREZ9QYlPclzIDvuZ7heP0dysat Wy3P0lUBbFnm08xNs7rJgsj0h7YLtL+2MjhVWp6efpKLWz278MpzTkJkmi6KwV1HRzf1 1yfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7xEQnyM2SdFNVmwIgUGQvnRTXBACyOiHZVqUMct5j1U=; b=Bm+z5vsOKxIYKNq14FZjXVdDnTzemOJy8brRF7l8//Q27imMRNifLO2fVKDvp/4AP1 ei9r6PsETaUD6doIgr19meWE2L+GsUPiu2F47r90LiWaz3FyHRcLaTa1FCzfQ+W2pPhQ h/W6w4DxD0EhTk9Z017Yhik/hirNGhmHby96NOZ8AaWNXYpLjo0xsMeWpQBYvu3AY6hm eg3gGti3bSQLcCV2elVy8G3C3eOi06yeLrB+MbJfo+/+tC/bhC1Eke4yTb3ZqzJs03GN vrNX7YUk67xYbVhfXRIJLfTGqpQ0bm5GuKhZaupm2p0rvWPrtWg0NS8MohK84+xmXlB3 G/TQ== X-Gm-Message-State: AOAM531PXpWHJ3zNe+lEO3bN3Wiz8ceyJ963UFbrqMBGFPTBP/toiAr3 mmS4iR8IZVpLR+7nqDz0nuspMLTsOb6OharH X-Google-Smtp-Source: ABdhPJypVpeKNKMcQztoe36xklvzlXzO/4eJebftp+g81MFiMaOAXh7mhqEG5kvuiy52GvbZz158Bg== X-Received: by 2002:a50:f118:0:b0:413:2c9e:d519 with SMTP id w24-20020a50f118000000b004132c9ed519mr4579741edl.387.1645609734423; Wed, 23 Feb 2022 01:48:54 -0800 (PST) Received: from hthiery.kontron.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id vs2sm7084022ejb.64.2022.02.23.01.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 01:48:54 -0800 (PST) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Stefano Babic , Michael Walle , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Frieder Schrempf , Marek Vasut , Heiko Thiery Subject: [PATCH 1/2] ARM: imx: imx8mn-*-evk: use reset-gpios in phy node Date: Wed, 23 Feb 2022 10:48:26 +0100 Message-Id: <20220223094826.483283-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean 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 --- arch/arm/dts/imx8mn-evk.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/imx8mn-evk.dtsi b/arch/arm/dts/imx8mn-evk.dtsi index fc2c7f1d44..ed865444da 100644 --- a/arch/arm/dts/imx8mn-evk.dtsi +++ b/arch/arm/dts/imx8mn-evk.dtsi @@ -53,7 +53,6 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; - 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 { -- 2.30.2