From patchwork Tue Mar 30 07:36:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Green Wan X-Patchwork-Id: 1459916 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F8hB53Dknz9sVt for ; Tue, 30 Mar 2021 18:37:49 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 379988292B; Tue, 30 Mar 2021 09:37:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 02E4A828E6; Tue, 30 Mar 2021 09:37:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 Received: from transporter.internal.sifive.com (unknown [64.62.193.209]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8AC72828E6 for ; Tue, 30 Mar 2021 09:37:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=green.wan@sifive.com Received: from gamma15.internal.sifive.com (gamma15.internal.sifive.com [10.14.21.64]) by transporter.internal.sifive.com (Postfix) with ESMTPS id 6633F201FA; Tue, 30 Mar 2021 00:37:34 -0700 (PDT) Received: from localhost (gamma15.internal.sifive.com [local]) by gamma15.internal.sifive.com (OpenSMTPD) with ESMTPA id 04b02563; Tue, 30 Mar 2021 07:37:32 +0000 (UTC) From: Green Wan To: Cc: bmeng.cn@gmail.com, narmstrong@baylibre.com, Green Wan , Rick Chen , Paul Walmsley , Pragnesh Patel , u-boot@lists.denx.de (open list) Subject: [RFC PATCH 1/3] arch: riscv: dts: change perstn-gpios to reset-gpios of FU740 Date: Tue, 30 Mar 2021 00:36:12 -0700 Message-Id: <20210330073615.38787-2-green.wan@sifive.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210330073615.38787-1-green.wan@sifive.com> References: <20210330073615.38787-1-green.wan@sifive.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean To use more common gpio name for PCIE reset in DT, change the 'perstn-gpios' to 'reset-gpios'. The name is also aligned with designware based uboot driver and Linux driver. Signed-off-by: Green Wan --- arch/riscv/dts/fu740-c000.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/dts/fu740-c000.dtsi b/arch/riscv/dts/fu740-c000.dtsi index 0325e51e39..9e876a4fe3 100644 --- a/arch/riscv/dts/fu740-c000.dtsi +++ b/arch/riscv/dts/fu740-c000.dtsi @@ -317,7 +317,7 @@ <0x0 0x0 0x0 0x3 &plic0 59>, <0x0 0x0 0x0 0x4 &plic0 60>; pwren-gpios = <&gpio 5 0>; - perstn-gpios = <&gpio 8 0>; + reset-gpios = <&gpio 8 0>; clocks = <&prci PRCI_CLK_PCIEAUX>; clock-names = "pcieaux"; resets = <&prci PRCI_RST_PCIE_POWER_UP_N>;