Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1268076ybb; Sat, 28 Mar 2020 23:59:24 -0700 (PDT) X-Google-Smtp-Source: ADFU+vudjsuWPaDThdZl2/FskGoSRFLtZ3TpsHZANSQz0fgyVaeg51MvIynUL8wDQDLOY73arQZR X-Received: by 2002:a9d:6a12:: with SMTP id g18mr4873645otn.19.1585465163946; Sat, 28 Mar 2020 23:59:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585465163; cv=none; d=google.com; s=arc-20160816; b=0qo2pORQgD9r/Rqx7w6H/TzbC6MhkBz+PN54+oar9zUMeqhll+lx3To4IaQpBZaX7L bQdmK9qxyoMac6XT8R+aEcV80jN3jzttMs43fk6UI5kPQZskNLvb20zBKEwBQKN4AFVV s1sljxhmgENUQcsBKpIQVfycLeO8RhpTRVTLudfNSFsbym5AlCp8SBbQWzs8+aetSerW w1riiTj4GiEzep9d8c9zlIaX+Fqk9KdqEwb/2JnI76y8ueDt+dm7Z3qKOGFfh5lQvDqQ uD5dG6iE7qRrkGkHvEOFESKnVU4NZsBHq8K5qMDwNSY+zyM6GbQojqNh2GSvUpPb+b5N GpRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=b5kb5HP8U3fD9jqZmOne/4BFG0fV1U85DxKh4XX5+tg=; b=bpeDRK8XhzDUn/0djNlnAoR6GZLUkX1CTQLfmNv/05AzJn82A5rYhZEACR4OfIOROl gkB+5R1KND1FUSYCw2Efgi0ooWOlkgcvPZ21FFkdkz3tUD9qK5a2h7UfPD/1wM/Ts+jw ejDqPr0dokqQBNVrQzHIocS1xdXgebFxI1X3SR680gSSoRx7arR473+xr5XS/Y1AzagM yCbSSXKf4ITVgTrT6vcXSO8bepoPqjevFiAjnxrpVIlZsiHsujaFFdh58DXqDtQyY92Q L5ejnVw0hdDN53LZg908eMYF0q8BMoDUK0mBHvAaszll82qjcoHXOEy+G9K/lcA0SBNR XIjA== 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 h9si4794081otr.176.2020.03.28.23.58.54; Sat, 28 Mar 2020 23:59:23 -0700 (PDT) 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 S1727167AbgC2GaT (ORCPT + 99 others); Sun, 29 Mar 2020 02:30:19 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:52103 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbgC2GaT (ORCPT ); Sun, 29 Mar 2020 02:30:19 -0400 X-Greylist: delayed 493 seconds by postgrey-1.27 at vger.kernel.org; Sun, 29 Mar 2020 02:30:19 EDT Received: from tarshish (unknown [10.0.8.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 548D744039C; Sun, 29 Mar 2020 09:22:03 +0300 (IDT) References: <20200328212115.12477-1-eichest@gmail.com> User-agent: mu4e 1.2.0; emacs 26.1 From: Baruch Siach To: Stefan Eichenberger Cc: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , devicetree@vger.kernel.org, Stefan Eichenberger , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Rabeeh Khoury Subject: Re: [PATCH] arm64: dts: clearfog-gt-8k: fix ge phy reset pin In-reply-to: <20200328212115.12477-1-eichest@gmail.com> Date: Sun, 29 Mar 2020 09:22:03 +0300 Message-ID: <877dz3el4k.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, On Sun, Mar 29 2020, eichest@gmail.com wrote: > From: Stefan Eichenberger > > According to the ClearFog-GT-8K-rev-1_1-Simplified-Schematic the reset > pin for the gigabit phy is MPP62 and not MPP43. Have you tested that on real hardware? The 1Gb PHY reset on my Clearfog GT-8K is connected to MPP43. Russell's commit 46f94c7818e7 ("arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay") indicates that this is the case on his board as well. In case there was a hardware change between board revisions, we need another dtb for that revision. baruch > Signed-off-by: Stefan Eichenberger > --- > .../dts/marvell/armada-8040-clearfog-gt-8k.dts | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > index b90d78a5724b..d371d938b41e 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > @@ -144,7 +144,6 @@ > * [35-38] CP0 I2C1 and I2C0 > * [39] GPIO reset button > * [40,41] LED0 and LED1 > - * [43] 1512 phy reset > * [47] USB VBUS EN (active low) > * [48] FAN PWM > * [49] SFP+ present signal > @@ -155,6 +154,7 @@ > * [54] NFC reset > * [55] Micro SD card detect > * [56-61] Micro SD > + * [62] 1512 phy reset > */ > > cp0_pci0_reset_pins: pci0-reset-pins { > @@ -197,11 +197,6 @@ > marvell,function = "gpio"; > }; > > - cp0_copper_eth_phy_reset: copper-eth-phy-reset { > - marvell,pins = "mpp43"; > - marvell,function = "gpio"; > - }; > - > cp0_xhci_vbus_pins: xhci0-vbus-pins { > marvell,pins = "mpp47"; > marvell,function = "gpio"; > @@ -232,6 +227,11 @@ > "mpp60", "mpp61"; > marvell,function = "sdio"; > }; > + > + cp0_copper_eth_phy_reset: copper-eth-phy-reset { > + marvell,pins = "mpp62"; > + marvell,function = "gpio"; > + }; > }; > > &cp0_pcie0 { > @@ -365,7 +365,7 @@ > reg = <0>; > pinctrl-names = "default"; > pinctrl-0 = <&cp0_copper_eth_phy_reset>; > - reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>; > + reset-gpios = <&cp0_gpio2 30 GPIO_ACTIVE_LOW>; > reset-assert-us = <10000>; > reset-deassert-us = <10000>; > }; -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -