Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4514951ybv; Mon, 17 Feb 2020 00:22:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzFUwMbJytwdFDC/uY/5kedJDDq74B6FeklpTWL04SvuezZ3dQaqgtosWlVWWbOg9H58OJJ X-Received: by 2002:a9d:2264:: with SMTP id o91mr18953ota.328.1581927736183; Mon, 17 Feb 2020 00:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581927736; cv=none; d=google.com; s=arc-20160816; b=sO93sL0dMpnECasdAadtmloNHa9UsXmQk9MMxUbMO/T2bfQ6F1FqFAPMzAQw1DFbur w/qqGBHQmnxlhBNIGl5zWmU48RdqSx77Q8PjEsWLNj6gdhROr/wyE+agZmJjrSzNhVjG 9QzUASHTew3/Y5LaiW8lwFoWNDg3bRFFw8i7iTpcseW7/f8B98qG3pAYpM+IXInz0N6F EpX/R34iidwyLB07WOE0DBzWBsi4uYVqcfaIHvv2XaQ1SYZFL5loho027UyMHNQCNu54 +vZndnK3ICb2gKNVvgdlTDO8mlXS4XayZekDOHTMJKyq/osqsgEhz68AK8Ngz+Y0BJpN lo0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=d43VghUv/8Tkpq6URCj7+Wd5MrM0xlfupQapz3881Nc=; b=Cyw5aeWPLl0BDLLCZH2uxRQraw9jUUXFhr/g/U5qkPovQYA9iHUr7UABOQfYbR9ZI3 W8KE/QFw6SU//PaWscid5+dmlkAPT4wzg5zsE0stRU3cBfEmJXg6x/aemfo9cHy4F7hN 3Awpp5U54V/wCKmVmJ27rebhUSd8sNiPfbBmft8Zly9PL70qwAWSGFdUuyDiT6QL/wUn d7zUMTOuIVm6PJUJPYbNx3wEL0aiwH7JdbHPQx+evACoY0CcoxrSuCcDwp4FhIjF0qMD EHkeod1ZOlzQY+9ORj7b6SYBapbs8rqxKXsjj6L+dEsR4d3ZKFcMSpiBreQHTn4gEOfJ y4Og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17si6977501otk.321.2020.02.17.00.22.04; Mon, 17 Feb 2020 00:22:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728138AbgBQIVg (ORCPT + 99 others); Mon, 17 Feb 2020 03:21:36 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:35885 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbgBQIVf (ORCPT ); Mon, 17 Feb 2020 03:21:35 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3bel-0004Hv-EW; Mon, 17 Feb 2020 09:21:31 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1j3bek-000263-TX; Mon, 17 Feb 2020 09:21:30 +0100 Date: Mon, 17 Feb 2020 09:21:30 +0100 From: Marco Felsch To: Alifer Moraes Cc: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, peng.fan@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, leonard.crestez@nxp.com, festevam@gmail.com Subject: Re: [PATCH 2/2] arm64: dts: imx8mq-evk: add phy-reset-gpios for fec1 Message-ID: <20200217082130.7ckiqwodumqvynla@pengutronix.de> References: <20200214192750.20845-1-alifer.wsdm@gmail.com> <20200214192750.20845-2-alifer.wsdm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200214192750.20845-2-alifer.wsdm@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 09:20:54 up 93 days, 23:39, 104 users, load average: 0.43, 0.28, 0.12 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alifer, On 20-02-14 16:27, Alifer Moraes wrote: > imx8mq-evk has a GPIO connected to AR8031 Ethernet PHY's reset pin. > > Describe it in the device tree, following phy's datasheet reset duration of 10ms. > > Tested booting via NFS. > > Signed-off-by: Alifer Moraes > --- > arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > index c36685916683..a49e2bf8afe5 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts > @@ -110,6 +110,8 @@ > pinctrl-0 = <&pinctrl_fec1>; > phy-mode = "rgmii-id"; > phy-handle = <ðphy0>; > + phy-reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; Same here. Regards, Marco > + phy-reset-duration = <10>; > fsl,magic-packet; > status = "okay"; > > -- > 2.17.1 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |