From patchwork Thu Jul 12 05:50:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Araneda X-Patchwork-Id: 10521081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 66D6B605DC for ; Thu, 12 Jul 2018 05:52:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E42629303 for ; Thu, 12 Jul 2018 05:52:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 521BF2933C; Thu, 12 Jul 2018 05:52:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 09A4129303 for ; Thu, 12 Jul 2018 05:52:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=fLUy+rIodaLtq/TY7rl9RBf2MvnQ5PgEpB9tJQsfr9M=; b=tQkEASJKMkyOO5NoRfjAC3+Lc6 xxXfvExQ3XU/1oYHaDmo/iiyusN5A4NbAKR2lQlsQBgQgvCZwM/rdk6s9wlytKcF6LVqKWRxpDplu +dA8PVpsRDOgTJUMz1M8AVo1eXVFd8uH0DexKKDxXKROv/w3G7vjiOHs9xgMceomn538wlEjHE+EX x9nfFsAQs0PPYzubq2Fdz7ebrr7O8yIVsmYg9+FoXVhw4DsV89JiDWtKsrRvx+J7loRp354BTai+P vgLw0ozW6iqTuSiQgYeDPbeQQ4nWLz7DLG9e5ufVZfNlscREirLNFbjBwoBPuOB8xtfvfM96qikIe 6n4ZfeoA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdUWp-0002RM-4K; Thu, 12 Jul 2018 05:52:35 +0000 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdUWQ-0001kK-M3 for linux-arm-kernel@lists.infradead.org; Thu, 12 Jul 2018 05:52:12 +0000 Received: by mail-qt0-x243.google.com with SMTP id a18-v6so23162775qtj.4 for ; Wed, 11 Jul 2018 22:52:00 -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=t90ApHY2FG1rjRN/hIMB/2W2NIDOFqQ0ODcYOrwNW7k=; b=XHfoYC978+bQ+wwA0WSQfiv1Nej7cRgUtnCQHN3yGEpUlXQNBqfF6rx6QvhaDNfXu7 3VIjVCJRNa/QJ3tif7zgJyxR45PgVTKpmKUgyQ9X99KGGkxHL48dovhi6A4VSWvyNc1f 2JNEbQb1nsUEo5RwCkLuCL4HK2kyTOuM1jAPg2l1dKZQdkAj5OpL8/acKYagoI354SZT jJ2OmrJ/n7k3Sxhd9AGbO9+ImdwdShiYvnY2QhYLhlvToa5TVhot56SvfGVj43JSO5Tm kx56vj/JD8ikbHKduQElec8XcI6S6l4KbJ2SUfiFtQCzmjussZ+4VjHibTPfjgiymard tszA== 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=t90ApHY2FG1rjRN/hIMB/2W2NIDOFqQ0ODcYOrwNW7k=; b=oWF8QWRiPjSQgIS7CAFXDrD8lC5tmf/fY6lSyGihKuhgqgEsiIe40442cL+iHjM74n PRl/r6eyfW0/9IyYJGbQ4Blu9yeW26X/OWYKW+OphQUekMg9Xf+eemxmDrs5Kr6dJsgQ d0ZfET/MH6NCsNGEUPRTBhFyVlQRmxnEfBxdfKojuLzHY7qIwF4txMUJZdVJSUqCGbd9 pg9J32iSw4QrjuMLFzQ1WW1hJf8MOP2CJA7uR+BCOgKHwuYFl+Zd09WKzzx1gn7q0iaV +b0sWhb+TOmvwD4HC7fJCok0f+1+94K+r+2pyGm7KG8ZRXF/lPpbN8D6r6/lxRCduFBz pn9w== X-Gm-Message-State: AOUpUlHd9tGhoJjyFyOK8tWYdgqx8xDMZ0b5vJVhnZ5QPs0cJujvb18R 9augs581pcGh6tKWMR5hB1co21krtu8= X-Google-Smtp-Source: AAOMgpfxZiYRl9Hbm1HQjNbh/U06gXhqjtUngu+6DvOzUnGjiI7yIwDbU+RxtNH7baXvZTpo9dwOYw== X-Received: by 2002:aed:37c2:: with SMTP id j60-v6mr659201qtb.417.1531374719612; Wed, 11 Jul 2018 22:51:59 -0700 (PDT) Received: from localhost.localdomain (186-106-119-105.baf.movistar.cl. [186.106.119.105]) by smtp.gmail.com with ESMTPSA id o31-v6sm13807043qte.16.2018.07.11.22.51.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jul 2018 22:51:59 -0700 (PDT) From: Luis Araneda To: Rob Herring , Michal Simek Subject: [PATCH 2/3] arm: dts: zynq: Use gpio constants for the Zybo Z7 board Date: Thu, 12 Jul 2018 01:50:47 -0400 Message-Id: <20180712055049.5098-3-luaraneda@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180712055049.5098-1-luaraneda@gmail.com> References: <20180712055049.5098-1-luaraneda@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180711_225211_089170_7E7ED6EB X-CRM114-Status: GOOD ( 12.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Luis Araneda MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Include GPIO dt-bindings and use GPIO_ACTIVE_* constants to improve readability Signed-off-by: Luis Araneda --- arch/arm/boot/dts/zynq-zybo-z7.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts b/arch/arm/boot/dts/zynq-zybo-z7.dts index bc81ebee50fe..b68a5e921464 100644 --- a/arch/arm/boot/dts/zynq-zybo-z7.dts +++ b/arch/arm/boot/dts/zynq-zybo-z7.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /dts-v1/; #include "zynq-7000.dtsi" +#include / { model = "Zynq ZYBO Z7 Development Board"; @@ -24,7 +25,7 @@ usb_phy0: phy0 { #phy-cells = <0>; compatible = "usb-nop-xceiv"; - reset-gpios = <&gpio0 46 1>; + reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; }; };