From patchwork Tue May 16 11:30:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9728935 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 619F76038C for ; Tue, 16 May 2017 11:33:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5328E28A19 for ; Tue, 16 May 2017 11:33:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47C5228A1D; Tue, 16 May 2017 11:33:10 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 CF07A28A19 for ; Tue, 16 May 2017 11:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752559AbdEPLdG (ORCPT ); Tue, 16 May 2017 07:33:06 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:35714 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752067AbdEPLdE (ORCPT ); Tue, 16 May 2017 07:33:04 -0400 Received: by mail-qk0-f170.google.com with SMTP id a72so125060454qkj.2 for ; Tue, 16 May 2017 04:33:04 -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=WE4AO0VDuW5XQ23bMY0ARAboEfKHhe1HpxLTbHgNRS+/rb9UQUNtBRBli4gYTLy0SC vvUdbPKpZ+3VzCtLQgRHzxQ8TzKBhdLkbNAkX2DIARyE8f6Pn0K6nS0Jlo9qiBLwFu8u UyHrz1wKAZFTU/EfHqjfQdkn1klAAkoeqn8y8= 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=iP4mgmgSjeRNUJTaHn4qtvBd9quz/U/n9p/wBlfJpcSObqTTPEMZFu4HP9B6cJYUkq K01ICZwhxZaMkeLwKaTnms/K9BHRk/guYWylXIDA3oplvTpvJzQN74msKjxWjZqsm/jF bOXREu4c7wGWqVQ5JesvMYZxQSvRqkjophpTQNQ6ZEnzTsfqHhIxPfv7vqQJkGRACAh2 KGMZuAscA5F2lI/ObOSXiyZm9rPCKdq9DRJ0JhyQLNgyUQHZXEUcjCoXO2AInmqmR+KM ULlLUS3VekbaeVFSMxHpLIsKGvTdF55mX6k8pGnqPi0mDINLJEYPXIujqpub/HHxkpOl 9BPQ== X-Gm-Message-State: AODbwcDnU262Q6uiv1Aj8sAM1gRVNCqefUyOmnTZF5zsubTAhjwN9Lvh 8KhGAHUx1Wp4VS59 X-Received: by 10.55.9.141 with SMTP id 135mr9178322qkj.20.1494934378353; Tue, 16 May 2017 04:32:58 -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 c142sm10417866qkb.10.2017.05.16.04.32.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 May 2017 04:32:57 -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 v3 08/11] arm64: dts: Add GPIO DT nodes for Stingray SOC Date: Tue, 16 May 2017 17:00:53 +0530 Message-Id: <1494934256-1350-9-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494934256-1350-1-git-send-email-anup.patel@broadcom.com> References: <1494934256-1350-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 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";