From patchwork Sat May 6 11:54:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9714669 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 D827560387 for ; Sat, 6 May 2017 11:57:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E62BA2863C for ; Sat, 6 May 2017 11:57:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA7A3286B3; Sat, 6 May 2017 11:57:59 +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 632522863C for ; Sat, 6 May 2017 11:57:59 +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=GdzBQ+oBIi2C4UbRt6JgLRmMtwTZ06Kt1s8a+FMXV3k=; b=VOOfxKanxUi9aj27SqDhf3SEPu 6pdJIK6I3WmZkciKKdqPE6K2GL8Mue92xn+23QYqLGOd6Yz4jCumn7MPK0FAIrcR3SDiO9PpK3SSY VlgAqvoFiupqfV19pVPwmx8SwYdQkUm6wABX4JrYao1q0aCD4mCxoCE7NYC5idLcsIGgjm7qBjfcj sjCdGoBst4vwPtASKO4oaemHAh0amW7MzwZNSwUBiVYmBvvJDVFjVPzVMn3BlRjI1GBEQEIOzpsj5 Ou1w8MdC6gtzHJTKsJ5Qx3ni9qTv/TbEphlNM50hKF+0K7S8Bo3PoUDQSlbMOMq9k6JubSUadIYkj Pyyg6/Sg==; 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 1d6yLU-0000K3-T1; Sat, 06 May 2017 11:57:56 +0000 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6yL3-0007v9-3z for linux-arm-kernel@lists.infradead.org; Sat, 06 May 2017 11:57:41 +0000 Received: by mail-wr0-x231.google.com with SMTP id l9so15776541wre.1 for ; Sat, 06 May 2017 04:57:09 -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=Iqf11VDOdV3QcBG77gc+08apQp0VQx6kr8L4L66S+3I=; b=LK99W8B0WQ1kk9u6iyw86nFQ1mmbCF2d2i7puXx18RH0NtOxVuO3/I/MOWNKMJyT/u V5Yv6UoT9FuqrepMrWaQ5j7zYFm4mumVa5tVljhFX0giJL5Ej9oAYB79CqGxEMqdXNDk vY3UasDg5RjGUrKent6aVdkdm2++qv9/IHSPY= 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=Iqf11VDOdV3QcBG77gc+08apQp0VQx6kr8L4L66S+3I=; b=dy2HxvewsWLkasY/u6hzDhR40NNiRe//MW6cOMGCzzEZwTMcoCPfLUygNf8wrAr/64 MBT3z1mpZh4VqAQQpBHCNyO7zYq6SEdGWmyhdPREHNbKwtdtOE56zE9lobSgqWFC4PDZ oSUDwz7sD433toHmliyua4XnfsZ4wTY8xd1TsdrEAk8JwDATnC4hgnqZAMGTk3H1Y5Vz 8Yu0nFi1ukhVlZRyQRYPUIAgmc2l3vmHNiDbv3wLiDXbcCbTS0Qxr6m8P2oHxEpfReCP HLt3WH6BCNcyUJiORcNn7Z+e9p3q1hXs6T0SeOLLeezEB128DEabc2OSSWAOtG1YKdEd ygZg== X-Gm-Message-State: AN3rC/41qBimOoCuCbS8I19QClilCut+hXuv2nJWK+kNlJy+8DaotN4/ 12wDqsrjOScppvAK X-Received: by 10.223.153.195 with SMTP id y61mr35117701wrb.96.1494071827682; Sat, 06 May 2017 04:57:07 -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 8sm7775789wrb.55.2017.05.06.04.56.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 06 May 2017 04:57:07 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette Subject: [PATCH 08/11] arm64: dts: Add GPIO DT nodes for Stingray SOC Date: Sat, 6 May 2017 17:24:43 +0530 Message-Id: <1494071686-19098-9-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494071686-19098-1-git-send-email-anup.patel@broadcom.com> References: <1494071686-19098-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170506_045729_955380_4717907B X-CRM114-Status: GOOD ( 10.45 ) 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, Pramod Kumar , Srinath Mannam , linux-arm-kernel@lists.infradead.org, Ray Jui , Pramod Kumar , bcm-kernel-feedback-list@broadcom.com, linux-clk@vger.kernel.org, Oza Pawandeep 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 f9a8e8d..fb51473 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -258,6 +258,40 @@ #include "stingray-clock.dtsi" #include "stingray-pinctrl.dtsi" + gpio_crmu: gpio@66424800 { + compatible = "brcm,iproc-gpio"; + reg = <0x66424800 0x4c>; + ngpios = <6>; + #gpio-cells = <2>; + gpio-controller; + }; + + gpio_hsls: gpio@689d0000 { + compatible = "brcm,iproc-gpio"; + reg = <0x689d0000 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";