From patchwork Mon Jun 18 02:30:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 930628 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QnVW06gZ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 418FVq4LlSz9s2R for ; Mon, 18 Jun 2018 12:32:35 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 52036C21BE5; Mon, 18 Jun 2018 02:31:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 06F41C21DDC; Mon, 18 Jun 2018 02:31:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B044DC21DEC; Mon, 18 Jun 2018 02:31:12 +0000 (UTC) Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by lists.denx.de (Postfix) with ESMTPS id DF500C21E1A for ; Mon, 18 Jun 2018 02:31:08 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id r11-v6so7393573pfl.6 for ; Sun, 17 Jun 2018 19:31:08 -0700 (PDT) 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=8TsakhJ/tzw7dfJC7cQJ/qIlY6nSwWblI1TNclqJ/vo=; b=QnVW06gZx9ngNDT5+rSVZcAbCKWmm8x3tyn6svm0d2CPEucrnMYgMqg5+e2lJyLO/w xmgp0f19Ogb/un7hRF3iu+96xc9zVEFGr2iw09wS6qBMct7gjEh423+u0XwgEWu2/huK feIACGZG5IbDbaeqDpbxw+GH8O7m9GjrVl84Bg9ACzJkgcIrJSsUrHlv+rqNfSeRsGx1 DTaWzpgAsYE8GLgSYUSWdST7MdFIcZu7c0MZH+BCHl3n4Oecd6txN6oYUXbjraAIEZN3 BgzvspBJt/45LHxSGi4cM3HPdYtwxfzcCONyTbkw+YoaD9DI0ZOmEmEdH/xej+wFwR0J +glQ== 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=8TsakhJ/tzw7dfJC7cQJ/qIlY6nSwWblI1TNclqJ/vo=; b=bQJn5hMqQafxegwHmMMFGOfnm2CtrTBLF74Ug87gU+oTqIZc3/iJyNCb4bMCbOPpXn 6AfGGt34qZnFpkCI6eFanR+zLWA1QN4TcHCWq9a7ahgGNRUYvuDsm5JAUNK5sxFCj84Z lUGAtCLf/uXJcX86LyiiO7ZgctTJBGWuHN0yILTYvzGNlThtFQk9BfvCeoA56NwHLsLy 5TNRjmuoJh0axiI3zz6OWLlrqSpy/aeWS4SWGGHRj6CUGHBuWF9RrK1O/XWI3bwRmgm5 /3xoXdHVGgyX/RLSIrJGhOQlQ7rDCXmo+3illXD6eqqMZ4Pa51hKowCCi2NJoSsEjHwx WV+g== X-Gm-Message-State: APt69E0XHAki8ebElz5eWywQKyKTYHsz4YUaNzID7Goy1LWXMlLAbBRj fjZkua1HfCD6dppa+Jgv1hhhAzqe X-Google-Smtp-Source: ADUXVKIvZywk6y+FnoHTxDn7dYW+FAaQ9x5OWJI/28AcIes9h70ptCD2nHSFuoMDPuiMS0omDbFI9w== X-Received: by 2002:a63:84c6:: with SMTP id k189-v6mr9591137pgd.49.1529289067068; Sun, 17 Jun 2018 19:31:07 -0700 (PDT) Received: from localhost.localdomain ([1.1.125.97]) by smtp.gmail.com with ESMTPSA id t17-v6sm22445455pfj.75.2018.06.17.19.31.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jun 2018 19:31:06 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: u-boot@lists.denx.de Date: Mon, 18 Jun 2018 04:30:54 +0200 Message-Id: <20180618023054.16309-3-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618023054.16309-1-marek.vasut+renesas@gmail.com> References: <20180618023054.16309-1-marek.vasut+renesas@gmail.com> Cc: Marek Vasut Subject: [U-Boot] [PATCH 3/3] ARM: dts: rmobile: Move the PHY reset GPIOs into PHY nodes X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Both the RAVB and SH ether driver now support parsing the PHY reset GPIOs from both the PHY nodes and the MAC nodes, move the reset GPIOs back into the PHY nodes to minimize DT difference between U-Boot and Linux. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77970-eagle.dts | 2 +- arch/arm/dts/salvator-common.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/r8a77970-eagle.dts b/arch/arm/dts/r8a77970-eagle.dts index 5b8b2f8704..5dcad63492 100644 --- a/arch/arm/dts/r8a77970-eagle.dts +++ b/arch/arm/dts/r8a77970-eagle.dts @@ -39,13 +39,13 @@ phy-handle = <&phy0>; phy-mode = "rgmii-id"; status = "okay"; - reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; phy0: ethernet-phy@0 { rxc-skew-ps = <1500>; reg = <0>; interrupt-parent = <&gpio1>; interrupts = <17 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; }; }; diff --git a/arch/arm/dts/salvator-common.dtsi b/arch/arm/dts/salvator-common.dtsi index 6b176ea36a..514c57b2c8 100644 --- a/arch/arm/dts/salvator-common.dtsi +++ b/arch/arm/dts/salvator-common.dtsi @@ -257,7 +257,6 @@ pinctrl-names = "default"; phy-handle = <&phy0>; phy-mode = "rgmii-txid"; - reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; status = "okay"; phy0: ethernet-phy@0 { @@ -265,6 +264,7 @@ reg = <0>; interrupt-parent = <&gpio2>; interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; }; };