From patchwork Fri May 26 09:25:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9750221 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 8640E60249 for ; Fri, 26 May 2017 09:29:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C87C2793B for ; Fri, 26 May 2017 09:29:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7133E28390; Fri, 26 May 2017 09:29:31 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 16FBD2793B for ; Fri, 26 May 2017 09:29:31 +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=GQzdByZa65XVuG4PMCEmNmeqHPWV+D8rNdHQzrlTjlU=; b=p6wflo2/tUdgO7DC22ZNYyj24U kIJrkQJvpXwll1oTkjlOag3G/sdSxR3MaOika5382HJBAICY7AJ/ZOVAI9gY5kZ3v05a6feHywJET iPtRastWK/udkcaaGyLQWPX6yDWIevbE0Y379fmAYI/Cmpj655oqk/cQUwSnJ0IsPRanj8LoVuA/n PSpXSIWNCkMiOUbL3RBdpbHDTmjKnlT0oUnj24IwvH76duLgO/EE9ES6IFBHzqTpFI5drTB9VC2Gu lqKS73TjCo+UKdorAx0ONJSQrh8rJPICpZObk7uMKGKpnnf76yxhrWwDwpGnWWiTCy7i/dKQVtH4d Lwa49D1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dEBYn-0005OS-Je; Fri, 26 May 2017 09:29:29 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dEBWv-0003HF-6S for linux-arm-kernel@lists.infradead.org; Fri, 26 May 2017 09:27:37 +0000 Received: by mail-wm0-x234.google.com with SMTP id e127so14506194wmg.1 for ; Fri, 26 May 2017 02:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OHB1cqcMMgUh7vD4kqLnqQK7OTS8WUnZLFpn9Bi8YRw=; b=g+9sivgSEJTFgs+GO+BCaBrQnG0/JMSk51dJoWZ06vikDZAzXl5vyH/rDlnHonNf3t lD7llgIjWZpFx4TplNENa3Pe0hZYFlwRZVLBlcWdqg7cFJFSfBzORRMIqCsc4WWg3Hee aYm7tdjjfmuXS96DJXG9Ieip4MG+5/NLqK/rs= 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=OHB1cqcMMgUh7vD4kqLnqQK7OTS8WUnZLFpn9Bi8YRw=; b=EWGJg/wmBxljPzaxHawuZiSMUGNE7TRfLtQGrHI29MzscrHUYybG112DuPENJ4u5tz 4U/JGVg8kGhH9aOoE1Nn67eCHbZ7qE5NrLhcRFsqs+FeVdDeO0MnJpX8uMXhdMo09hBS PZfKapXUKUb+ppjZ2qdvaMlbtiWa70IZ10ljdTbGJmeGnuM4rSalTT5Ug3J6YXyOaMr5 hWfnGZaV34zt88Ln1hTvh4No8d+5gM26huxaL33NFn3yon3DrwE+/WcPgUB1+H08JlGF PKebkq4kEQXQ3x3Cm0iEmoqtOwG8K5xgzp9aj1mHIyjVJs0GAFzttrQyO0lWcElkgm9j 0L5Q== X-Gm-Message-State: AODbwcDdsNQMsSW88corgiwHmcY45kYu0tPSHcqAFpxJ2ofQ+OpRM8m8 fE3PERyyET9v9lu1 X-Received: by 10.223.172.48 with SMTP id v45mr981057wrc.112.1495790831346; Fri, 26 May 2017 02:27:11 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id v62sm5832259wmv.15.2017.05.26.02.27.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 May 2017 02:27:10 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd Subject: [PATCH v5 08/11] arm64: dts: Add GPIO DT nodes for Stingray SOC Date: Fri, 26 May 2017 14:55:01 +0530 Message-Id: <1495790704-2438-9-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495790704-2438-1-git-send-email-anup.patel@broadcom.com> References: <1495790704-2438-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170526_022733_634235_486962DA X-CRM114-Status: UNSURE ( 9.87 ) 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: devicetree@vger.kernel.org, Florian Fainelli , Sandeep Tripathy , Scott Branden , Jon Mason , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Pramod Kumar , Oza Pawandeep , Ray Jui , Pramod Kumar , Srinath Mannam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.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 From: Pramod Kumar The GPIOs on Stingray SOC are based on iProc GPIOs hence using this we add GPIO DT nodes for Stingray SOC. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index a4afd44..059086f 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -251,6 +251,14 @@ ranges = <0x0 0x0 0x66400000 0x100000>; #include "stingray-clock.dtsi" + + gpio_crmu: gpio@66424800 { + compatible = "brcm,iproc-gpio"; + reg = <0x00024800 0x4c>; + ngpios = <6>; + #gpio-cells = <2>; + gpio-controller; + }; }; hsls { @@ -261,6 +269,32 @@ #include "stingray-pinctrl.dtsi" + gpio_hsls: gpio@689d0000 { + compatible = "brcm,iproc-gpio"; + reg = <0x000d0000 0x864>; + ngpios = <151>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + interrupts = ; + gpio-ranges = <&pinmux 0 0 16>, + <&pinmux 16 71 2>, + <&pinmux 18 131 8>, + <&pinmux 26 83 6>, + <&pinmux 32 123 4>, + <&pinmux 36 43 24>, + <&pinmux 60 89 2>, + <&pinmux 62 73 4>, + <&pinmux 66 95 28>, + <&pinmux 94 127 4>, + <&pinmux 98 139 10>, + <&pinmux 108 16 27>, + <&pinmux 135 77 6>, + <&pinmux 141 67 4>, + <&pinmux 145 149 6>, + <&pinmux 151 91 4>; + }; + uart0: uart@68a00000 { device_type = "serial"; compatible = "snps,dw-apb-uart";