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: 9726807 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 19B93601E7 for ; Mon, 15 May 2017 12:05:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 097A02898B for ; Mon, 15 May 2017 12:05:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1FBA2898C; Mon, 15 May 2017 12:05:08 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98FC52898E for ; Mon, 15 May 2017 12:05:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751276AbdEOMEy (ORCPT ); Mon, 15 May 2017 08:04:54 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:35138 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751329AbdEOMDh (ORCPT ); Mon, 15 May 2017 08:03:37 -0400 Received: by mail-pf0-f173.google.com with SMTP id n23so57096456pfb.2 for ; Mon, 15 May 2017 05:03:37 -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=mawa+2KR6lw73F1BZxXCA7GWaJyVUQUu5lNJxk8FKLCQ3/d19NyV+BKv3VWA+RGxJ4 tFpwCN/NxyuJyXmOw7C6q/ETaqpIkhqsJtZhSYK4n1GHyEjKZD3X8jOKD5wiCdu/NVJj SFrKylgBS8uijkdC7iJbycLwnWCi40/O8cfTUsNzpFne6tMrjMkEXsSCxqy1ugEnxqNB kgXrKfdXVqEg99aW+5CT46IofHZu4nuvUhi8AMS+aQ+hYrSVMY1MhPfa8X5S5XEWJDRx FvIcGEN3ML+OIZLBz4uK5pgDQzc+g8IH+lFUw1x7EfHAiyvzac770DB9Mb03Bv/n44NH t08A== X-Gm-Message-State: AODbwcAWRLNI+s93UraxAF+AFcglSTp0hjPzRXB785s0XFhfki0x3/r5 YizPau11/+cwlihq 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 Cc: Catalin Marinas , Will Deacon , Ray Jui , Scott Branden , Jon Mason , Florian Fainelli , Oza Pawandeep , Srinath Mannam , Pramod Kumar , Sandeep Tripathy , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, Pramod Kumar 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> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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";