From patchwork Tue Dec 4 16:57:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aditya Prayoga X-Patchwork-Id: 1007763 X-Patchwork-Delegate: sr@denx.de 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=none (p=none dis=none) header.from=kobol.io Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 438Sn159kgz9s47 for ; Wed, 5 Dec 2018 04:01:09 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 6D481C22336; Tue, 4 Dec 2018 16:59:09 +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=RCVD_IN_MSPIKE_H2 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 427CCC22336; Tue, 4 Dec 2018 16:58:32 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AE4CBC222AA; Tue, 4 Dec 2018 16:58:04 +0000 (UTC) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lists.denx.de (Postfix) with ESMTPS id 1D1DFC223CB for ; Tue, 4 Dec 2018 16:58:01 +0000 (UTC) X-Originating-IP: 36.85.228.191 Received: from ubuntuVM.lan (unknown [36.85.228.191]) (Authenticated sender: aditya@kobol.io) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id D516324000C; Tue, 4 Dec 2018 16:57:57 +0000 (UTC) From: Aditya Prayoga To: u-boot@lists.denx.de Date: Wed, 5 Dec 2018 00:57:25 +0800 Message-Id: <1543942645-52770-7-git-send-email-aditya@kobol.io> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543942645-52770-1-git-send-email-aditya@kobol.io> References: <1543942645-52770-1-git-send-email-aditya@kobol.io> Cc: Baruch Siach , Gauthier Provost , Aditya Prayoga , Dennis Gilmore , Stefan Roese Subject: [U-Boot] [PATCH v3 6/6] arm: mvebu: helios4: Reset uSOM onboard phy during board init 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" Similar to Clearfog rev 2.1, GPIO 19 also used to reset onboard ethernet PHY. This patch depend on net: mvneta: Add GPIO configuration support [URL: https://patchwork.ozlabs.org/patch/1007736/] Signed-off-by: Aditya Prayoga Reviewed-by: Stefan Roese --- v2: * Use generic gpio_* API (Baruch Siach) v3: * Use named gpios (Stefan Roese) --- arch/arm/dts/armada-388-helios4-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi b/arch/arm/dts/armada-388-helios4-u-boot.dtsi index 4bc00ae..4b20610 100644 --- a/arch/arm/dts/armada-388-helios4-u-boot.dtsi +++ b/arch/arm/dts/armada-388-helios4-u-boot.dtsi @@ -8,6 +8,10 @@ }; }; +ð0 { + phy-reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; +}; + &spi1 { u-boot,dm-spl; };