From patchwork Fri Jun 2 06:34:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9761671 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 D074C60365 for ; Fri, 2 Jun 2017 06:37:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C16182856A for ; Fri, 2 Jun 2017 06:37:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B58AD2856F; Fri, 2 Jun 2017 06:37:17 +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 479DF2856A for ; Fri, 2 Jun 2017 06:37:17 +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=PJ2S71xEEu3b6h3mHK+SBsO5iNwjRBl+VNLckF20iWc=; b=ttvWdKXZQ5xmt7ZfGnZdNmwiYC 1OxyF+RKv1PhOqTRCZ0F+Mxcwo5MnTuKyCzbvX8zwjn2tr2GJIJusrXcrzybESJ1jH26582BzZDMf aHAqaRDthAckbWfvFnTjlrv1tZzcb13+keMGKW/OtdjmGGLmO39e1F6pr/7dC7EonvNMGCakC39zQ C4/JUyxfVrkaRaRTEE7q+jliy7h/20Xp7vwxWbmLCmXGBUvPqrI8JpVPAa1cnMY5J4W6YHipe0Kkf /Ci4tKcFQJgJ8j51CS5L7VY458Yo6BW7tVAQndMiwAtlqnSVR/9RayCKStv+KmjYAvSYrH8LMpWUn AXMwC4AQ==; 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 1dGgCy-0001xX-89; Fri, 02 Jun 2017 06:37:16 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGgCT-00013F-OF for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2017 06:37:13 +0000 Received: by mail-wm0-x230.google.com with SMTP id b84so13614785wmh.0 for ; Thu, 01 Jun 2017 23:36:24 -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=jCgevhT1gNNZP0Y2wzoeZWRhqZlAd6SzkEX1jy0C1L0=; b=dui4ZTk5CMajhAeFx4RnIo7hj0nfYngwdLx+8B+tbKRwEEH1kBsuyFTaMmL4iH2giC CGW9dhEXUXbbPcCk5/7M79tA4v28GxTpnmCY2agm/+5uUHv6FaCysFTvwYDvE4D+UX2Q Ox7B9CZI+vz+eCacwWd3vWQbuS9Jgh4K2NCcc= 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=jCgevhT1gNNZP0Y2wzoeZWRhqZlAd6SzkEX1jy0C1L0=; b=NJ7T/RXrDzGQPcgtYkWfSmSeqprP++3J/I1Apep41CdwtAszYAiQ1AMNMLE42AW4nM dW8LatjMU76oRCC5rPyRQIDneGLCL5GeCx1ET6JTZ4+dOqwz4VGlQH/ULs5U4kPipoz7 TMP2zFnSQ/6PnDe+KgNvKRLVmYVhek3LSxkoxROWJw+f9TFS5UqNPxbIx8a1l3exoCHa Bzy+VhUgZ/McFYDJqKu1uwCLlp3iYgUJHvQEwQlSklpTR4m2rXeOkrQel2F3hJitpf/q ZeghX6ik7Ntgd+YgScPjATZcb7QusNIK8dQEUkov9F5yZblngPmrBwY9SVWOzd0pfcYB nb7w== X-Gm-Message-State: AODbwcCCxUuRVAJekG6lc48AqY1VsCTRQ5OnnA5kDDVx4ny5CxqpmiJC v+hJGudGDZ+EOc/x X-Received: by 10.223.147.196 with SMTP id 62mr3812573wrp.107.1496385382900; Thu, 01 Jun 2017 23:36:22 -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 p65sm1767170wmf.24.2017.06.01.23.36.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Jun 2017 23:36:22 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd Subject: [PATCH v6 08/11] arm64: dts: Add GPIO DT nodes for Stingray SOC Date: Fri, 2 Jun 2017 12:04:32 +0530 Message-Id: <1496385275-6899-9-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496385275-6899-1-git-send-email-anup.patel@broadcom.com> References: <1496385275-6899-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170601_233646_454755_8265583B X-CRM114-Status: UNSURE ( 9.77 ) 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 639c25d..e91debe 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@00024800 { + 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@000d0000 { + 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@00100000 { device_type = "serial"; compatible = "snps,dw-apb-uart";