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: 9728953 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 EDE4A602DB for ; Tue, 16 May 2017 11:33:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFD3B28A19 for ; Tue, 16 May 2017 11:33:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2F2028A1C; Tue, 16 May 2017 11:33:41 +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 54AE328A19 for ; Tue, 16 May 2017 11:33:41 +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=GQzdByZa65XVuG4PMCEmNmeqHPWV+D8rNdHQzrlTjlU=; b=pahqoMBCQOOJL2W6JHnaEPcmK6 dLk4fc6BbRF5qpTA4oulfjXb3Fv2cTZ+AUTFnFbm3oN2ifCSYCbHAmOezmKPVtbQ0SEpPyvvjiW6U enZv7FqAavTbggDs1xYKcNcvm1dHR9U8TAE/7leWLXzwkO3eLMdbLrmHuxZ4jIdbX4W50bygCwB5Y 0ptyVl4iip50tXVNro0+KEsugySv0KdR9pkk4+ysJNebZTU1uc98WORmX4Z/B+RbMnmX1v4ElYheS htkelTP8xoJZrPM6dc1DGfRzc2CVZLz3PTi8S9SyXAjgxlK7u/WwZC+Ej1tHiHoZ8x91X39rrVB0U iJHKObSA==; 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 1dAajT-0000tJ-RB; Tue, 16 May 2017 11:33:39 +0000 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAaj9-0000HU-M4 for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2017 11:33:22 +0000 Received: by mail-qk0-x231.google.com with SMTP id k74so125549502qke.1 for ; Tue, 16 May 2017 04:32:59 -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=apjCc1SuVGJRlDYjSiIdfcU/HsoYwU0R6LPwZWzEgzdg/0GFa+KKHyyfNozdmo9U1I exu530++cAlhkrU/2YhtGWIOGtCIo8/bJfldZd4/g4iQLi+bHvS8jsqdAhB0bUTgr0xo vJ5h5xc/Zqzcoikbhkb5tjfLU4pjOAiQQu4R3XUbhhqln87ghWY9BFCGB7Tdbacpk6Rz IWzEjjhgoF9Za5WBnA0NXMquQM4LY/r5OvUnYR33KoyT0qejsTPtD7yHKFesOpwL47uQ y8Ioh5ioGs9CGHPrGR03uUWZ+rOkB3mwXoTWH25UF5Xst1vSKXUrJYTo3dCpCZz/TqGS 0u2A== X-Gm-Message-State: AODbwcAb2uAcF/cRqon1/NDwgxK+Jf8HvBSRlpBcymZnleWoZdbBs3ni 89ZlRgm2BZxEtIZ4 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170516_043320_085895_237D19DB X-CRM114-Status: GOOD ( 10.11 ) 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 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";