From patchwork Mon May 15 12:02:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9726849 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 394356028A for ; Mon, 15 May 2017 12:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22A8E289A6 for ; Mon, 15 May 2017 12:20:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17049289A8; Mon, 15 May 2017 12:20:28 +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 3738A2899D for ; Mon, 15 May 2017 12:20:27 +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=6IHzp3uCE3b39l/swgh2fbQUt9h1Js0RU308hVLpzY8=; b=Ao4qHBLLLOzLV0bC8IWXwhQalG WNO3XgOgExl65SdBdRTU2JAlAmRMLWA8rfF4VpdDP58hbMs/GCB+J0UBqTgh4vmN9l02MOpL+I1PH 8HtuPZuQMqEuugrn5Wf2BPVRwdoQsb40MOZAOEgsAWKixBCKeoQhsiVXZtSnWDISI8b8B/4H6ZG8u OxJMpnL9a7NVuZTre/YgL1rj1Jes8lyVS471s6RPosq7Smyn7ELFUveFXP2X9F0IxlhTtkyM3l1fA pi9m8XITvxaN69udMUQmjY21vcA5LMBL6/ny+cBxG+YuZcyficpm8op/LjEdCh6OSODLHp7d5wX+l C35XjvEQ==; 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 1dAEzC-0001hu-O7; Mon, 15 May 2017 12:20:26 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAEz0-0000a2-8U for linux-arm-kernel@bombadil.infradead.org; Mon, 15 May 2017 12:20:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0X3LZNDjZs1fzU5zrL1SAUdMieQDr27gOhomgHoKAGw=; b=PrUVi/xubRr8pYlQPk+8ve4qb 3AGsuq8uSqQnr//xOG6dnxC4SbhfhEElXuPsNmXrK4gds4BlxfLMmMUnZH7srfW8rWgEJlUxg/tct Xw0fu3HtmfR6qJG04QIgvGtxRqTRaA6J7tD4tHUZNryPgrL1SINR4sWDjkv7Z6/4L0Wu4Yjt/w3JU wkhtIftyZLGTQNgAp547u72LzPzLH7mk6iFxY8yiVFj49gFon6MCNr8TZqsNtITFMLlRSMsyU9yS0 F5vIY38Q1LhpicE7QadATzxq8OeNPNh6J/xEo4qlzB27aZW54/x9UKNqHg1QPGbOAFoW1YzHcb5LG AS14KnjFA==; Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAEjB-0006WC-LD for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 12:03:57 +0000 Received: by mail-pf0-x22d.google.com with SMTP id 9so22194414pfj.1 for ; Mon, 15 May 2017 05:03:33 -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=0X3LZNDjZs1fzU5zrL1SAUdMieQDr27gOhomgHoKAGw=; b=f0xw5A8z9lXAWNf+y77vvxc3ZO4Kd5Yqf1lZEI3ZvuLkmSIr9rjZJ1BeU4H5hs/QNs Sk+e6wV+GYHiNFRA/YA2emE4BcpDd/vn59Ulv/rJzReUsbOFcNIES1ZF6P8KPU9ZUj2+ rlxV1XoK4kfTQQCfoE4RSNH/Hmo4xMUb/YvlQ= 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=0X3LZNDjZs1fzU5zrL1SAUdMieQDr27gOhomgHoKAGw=; b=ZkHrb4H0tgIsFmsknENz20sZDLF21dO8x9epf+SVSRVmaKq9GHAEzIFXgF8ceajBHU MbFANi1+tbCqUBXa0RLq0Rn7Xo75Vjxqj8QQUghUEdZJ3zIGlAdGNE00J7KE8UKF7Ea4 adrA8P6Fe1DPguZYYgazqI6QAORFig+3reRTCG/vm/WzAdnFLkiAjEFM9V0ywjDnCPmL 4Ob3AbOvVGXPk0EUkEsfqlUhmXI+XAOvV97fSpc0vzYRN+CU+hxH3fD0rMQmyj4c43Ua 9a9pxUcRbDe62cEUGSwf2Ay08ivSBITbe1FO/q5uUucfhsy1BZyEOL1/csX50u9Hb1/f yCKw== X-Gm-Message-State: AODbwcDIhDg79xpQywmGGhatHeWoNBVWfI1mG3Q7+rUXYsAA1HXf8AMU PcPGJAqCICsAd5bL X-Received: by 10.99.152.67 with SMTP id l3mr5942680pgo.97.1494849811503; Mon, 15 May 2017 05:03:31 -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 m12sm4776572pgn.30.2017.05.15.05.03.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 May 2017 05:03:31 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette Subject: [PATCH v2 08/11] arm64: dts: Add GPIO DT nodes for Stingray SOC Date: Mon, 15 May 2017 17:32:18 +0530 Message-Id: <1494849741-21294-9-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494849741-21294-1-git-send-email-anup.patel@broadcom.com> References: <1494849741-21294-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170515_130353_860773_CEFB754D X-CRM114-Status: GOOD ( 11.18 ) 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 c3a8cee..2b24d07 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -256,6 +256,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 { @@ -266,6 +274,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";