From patchwork Wed Oct 3 22:54:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10625381 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5EF6315A7 for ; Wed, 3 Oct 2018 22:55:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D3A728FEB for ; Wed, 3 Oct 2018 22:55:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E6AE28FF1; Wed, 3 Oct 2018 22:55:27 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 A506C28FEB for ; Wed, 3 Oct 2018 22:55:26 +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: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:In-Reply-To: References:List-Owner; bh=hjwmM2CuDn4GRH3gHCf8HJPFM9HEUEt9iK6Asp78Qh8=; b=YFG oCu4Ai4YlaPJvqg9jqTT9dMzf7KQPnTY6QpNmRSpHgGXEdxmmyDiLZrUC472bmRSfgscgT/etRULu x4OPzL77WwVph/EL7S3yVMrtkAc1xcKIKmT7wZe0PYadh6FNkcyvf/NUYI9AmZj5i8p0VnzSynUA6 2Tv8OE1jfZGxzcRATXGbGXncuA3GB03WgMw0Q9/QmNzdbMRSqGLj0lBEn7oqnXTXvFUpfu5B2PXhO eaNoUq28HStEXgwLeRE5viIk80JcJHVsfvIlA8SJM1JeqHROrLpw2l0bETNbWlLYbacs6m+VwEsxH j1MN1fW9xeM3BdmN/UxAJntDWVtOPnw==; 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 1g7q34-00083a-PL; Wed, 03 Oct 2018 22:55:19 +0000 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7q2b-0007UH-Oy for linux-arm-kernel@lists.infradead.org; Wed, 03 Oct 2018 22:54:53 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42QWYV46QDz1qtNm; Thu, 4 Oct 2018 00:54:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42QWYV3vBkz1qr2Q; Thu, 4 Oct 2018 00:54:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id vSPHDN2mj9Nb; Thu, 4 Oct 2018 00:54:37 +0200 (CEST) X-Auth-Info: Esvx/sj3nMYBI/4FoWJgIplpbsRu3kgkA8rGy5zkxRE= Received: from kurokawa.lan (ip-86-49-30-92.net.upcbroadband.cz [86.49.30.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 4 Oct 2018 00:54:37 +0200 (CEST) From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: socfpga: Add FPGA manager GPIO binding Date: Thu, 4 Oct 2018 00:54:36 +0200 Message-Id: <20181003225436.21793-1-marex@denx.de> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181003_155449_995638_0B3CF614 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. 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: Marek Vasut , dinguyen@kernel.org 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 Add gpio-syscon binding to export the GPIO pins accessible via the FPGA manager GPIO block. Signed-off-by: Marek Vasut --- arch/arm/boot/dts/socfpga.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 1835a824c9b9..b77c96bc445c 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -557,6 +557,13 @@ interrupts = <0 175 4>; }; + fpgamgr_gpio: gpio@ff706010 { + compatible = "altr,fpga-mgr-gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio,syscon-dev = <&fpgamgr0 0x4>; + }; + gmac0: ethernet@ff700000 { compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; altr,sysmgr-syscon = <&sysmgr 0x60 0>;