Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2101351ybv; Fri, 14 Feb 2020 11:28:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwHXYlHU64y0WvtAshvfyx9qQL/HMrxaJ75sG+Q4leuvaMoK+K6/mv0BTJkPXhvKuTGyyk2 X-Received: by 2002:aca:ab53:: with SMTP id u80mr2873158oie.94.1581708530391; Fri, 14 Feb 2020 11:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581708530; cv=none; d=google.com; s=arc-20160816; b=l4T74Vyr5msXMhM8tImMpXeM/u69y8U0GdWNNwonabne3v+dq0Yv7ndITvnbWmXqjW GGWJZnQH4Z31FUCKemqTQ+XBragUGpQy3AdMoCDIsUZCfWGCPpDqQg6/q9/K806MejWZ zqXYAgKC+eidV6DzpA52tqZfhisHMdwt4T9MWrRamSKeKPHQt2sz2BCAYHK1WHJjBvXz ZE4kZZwTCXEUCdJ7MORoyB0nbdd2WxBz6GFUJmqLKHQ39e1IE3AIABUXu4mUd1COGjS+ uLjSiKzLwahlnCY9yzDEE5xG97EUGbePrObBWk65yBAObmkhZOoriH+4czya28tKy61/ uvuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=keLfPhE4Ew2fJjPOO0h+Ikr94hI4U8Ahj9pUlPHGqTg=; b=i0TndE9DQLMIy1ZEclH4uglnMToc5aMzHOHaF9HCLXw0kfo3irg30jSWdUd+mQSSao xtjZeywIJT0/TOxIIkZOHDU7UNMWVetNGWUtc27qRuYGWm3KPPWVDYTrFfWPaN7L+l+2 Vf1Jyk3H5IxR1iaV5ls39dDQsf4vMGlu9Z+rVKpkU2hTw667F5xPgmYjGx4noeyKlFDJ SIPOR+G+u87KpyceDnFkf1aAwwrZ7I7gTjy24gDEI4fQEgaNwJFhjr9i3BwKLXc0nEtz yD8LXsQtxslE6tklallURzyl8RR/Uti/LlLcqB1WMNo9rheo6wWr/Q9viVV10Xt2LMow HvjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bGyoSAm7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si3136931oia.264.2020.02.14.11.28.37; Fri, 14 Feb 2020 11:28:50 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bGyoSAm7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388633AbgBNT1V (ORCPT + 99 others); Fri, 14 Feb 2020 14:27:21 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43400 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387576AbgBNT1U (ORCPT ); Fri, 14 Feb 2020 14:27:20 -0500 Received: by mail-qk1-f195.google.com with SMTP id p7so10298621qkh.10; Fri, 14 Feb 2020 11:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=keLfPhE4Ew2fJjPOO0h+Ikr94hI4U8Ahj9pUlPHGqTg=; b=bGyoSAm7bVU/WOL0Bt768495trYhUnfkR9+rrHNuhlHAt8hg4lUnEcj5YYfwc6K8WV 4wrZ0ytdBZeCqZ6A/lLkX7uEaIj4z4Jd/guLstDF5euKKhEoja2ugEVzNRzXzvds9Whw bybPcz+4+iPtualAN74gr0eLWr8UxqQXKFhhJ7oK65IjpwzD4nNrpy6di5wwFH8IZ/UU rfMQghXUJmllLMAQFHbSV5aYlv0HRseg28FpGI2LZpMv7jkyx+wMqBkwhNbkI+5TE1Bz 2zmYooBWsJIKIJsdujXRLKeDvpkB1o39odLwn295YFpx99derFD00H0+wa1E5zz0FRFb PBrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=keLfPhE4Ew2fJjPOO0h+Ikr94hI4U8Ahj9pUlPHGqTg=; b=AYUVdjlCZtZNybYxboCTx9YSEUTE5R2AhD7f8VL1hSa+HWeZO9nKfwnXeYWukLN1A3 1I8UY7bPWvD0nBkcbJMERKheHTT/+kttrOkehWYrn1yj//pDQ9ogh2UQpEd9Lk0B5ETU VRSvHosSjJ91s3qHfClOFBV9Eazb1YqZha45l4Czqp0LiFAms6sa9VF02kg0JVYqaaVJ 8/BdT/Sfu4KGipBwT4CPy6Yu7yBgvsfn8IfyxYwy/t/yLT2dn0GHOLT1Frv9lQvvgfau l7hCE7bgIWKleAKpALVwXYFVL/09gbN/uiwst2dy0fKlZwJ60x0YAkWS2DQI+kdJ5d1I lwDQ== X-Gm-Message-State: APjAAAWQhWC03Uhbhp9hNP7fP8xfCCdJYa2X+M3SWb+kMHy9owI4XAJ1 vCCaxUUaBdIkuyMucF9a0Zk= X-Received: by 2002:a37:4743:: with SMTP id u64mr3997368qka.289.1581708439650; Fri, 14 Feb 2020 11:27:19 -0800 (PST) Received: from L-E5450.nxp.com ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id o55sm4009953qtf.46.2020.02.14.11.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 11:27:19 -0800 (PST) From: Alifer Moraes To: robh+dt@kernel.org Cc: mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, leonard.crestez@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alifer Moraes Subject: [PATCH 2/2] arm64: dts: imx8mq-evk: add phy-reset-gpios for fec1 Date: Fri, 14 Feb 2020 16:27:50 -0300 Message-Id: <20200214192750.20845-2-alifer.wsdm@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200214192750.20845-1-alifer.wsdm@gmail.com> References: <20200214192750.20845-1-alifer.wsdm@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + phy-reset-duration = <10>; fsl,magic-packet; status = "okay"; -- 2.17.1