From patchwork Mon May 22 11:58:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9740081 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 6CF8A601C2 for ; Mon, 22 May 2017 12:12:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58AC72867E for ; Mon, 22 May 2017 12:12:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CD8228706; Mon, 22 May 2017 12:12:19 +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 B72102867E for ; Mon, 22 May 2017 12:12:18 +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=VnHMdp4z8uCrnwCpap2UTFfVW2 Q6Oumb1sJPbxoPGtb/YuJLbdEyIeHVR3KGKu4Iw6UCI9TKiTGWD/kAHtwqE1IvtBAyrOSgPgbfZmO KRPNCIUS7Lct8kt0yyh5M5Lymm9NmGrY3IsJlCuwrS/7BwrQHKt7wdBAk7vrGG/JisQZsPXu9RJEV fjC14ynbgoRUPguf+NbR8VgunyhoVO1J0MEwUzjusWYjCQOCrHEWf6WG+oPAXW1pMRYnbsGfZ4ocb P9frldSHDAarKhN7WFaeIvx/XU6Mz+fWNvN0TukMMEGGDpb/wrhoG7i71Ic+Z14p0DUO6H3HsFngg dq+A65Lw==; 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 1dCmC9-00022C-Su; Mon, 22 May 2017 12:12:17 +0000 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCm0D-0008TH-CC for linux-arm-kernel@lists.infradead.org; Mon, 22 May 2017 12:00:10 +0000 Received: by mail-pf0-x22d.google.com with SMTP id m17so80365817pfg.3 for ; Mon, 22 May 2017 04:59:41 -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=J815OqMrvQo8K5IaQgONNocDtIPlwRdzmsdssfKyk7AnGV3l+NLO1qfCHgE3SHp3Nf s1fkT/J1pzpbqgfvD/LyKtuvzX4RYM2UUxCiQpmAq0PE9ktTidgNiEQCdyP3Dc9ih2U0 7lbiHFWH5jfuyU7lqyo/adgIxcZ86xMOhc09s= 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=JkUnCRpaXESOcboK0YoJLUAiv2OJKs/OvtIoVNyAQKcDPUkctQrP9OimNqvY+y3qaN ediNmh4KfuAnb6UYzCDpBzgxnZN2eNjlFcZWctHLQkE35+2jBpvbrYCX3/Rf9YRPmvMJ UjzlkKjSI/j3OSCuqM44ieJdjtnSmWVpNj/ts8D8VzgoXvt6vlCvcoKPX1ighpWg31dK ZkyzCFpcOzXDU1XV75Aeum9do2z1/X6ZSpuGzk89V/gxpUp/dVDJ/bCUFOb//kvIFAtT 7mAiejpmwpHhT44bX0hvSnDS7pZHiHDRuxi1nB/NhSP5gq97vpWocoPpoTiAjybcvYEf TmXQ== X-Gm-Message-State: AODbwcDRbZ0is5kMLPXR2cqAVHek1vGozA9DOB2G5/TJ38EZHK71te8Q a9zM5gT+ipeiLQMe X-Received: by 10.84.130.67 with SMTP id 61mr28834097plc.150.1495454380771; Mon, 22 May 2017 04:59:40 -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 m24sm28673653pfi.129.2017.05.22.04.59.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 May 2017 04:59:40 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd Subject: [PATCH v4 08/11] arm64: dts: Add GPIO DT nodes for Stingray SOC Date: Mon, 22 May 2017 17:28:24 +0530 Message-Id: <1495454307-23464-9-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495454307-23464-1-git-send-email-anup.patel@broadcom.com> References: <1495454307-23464-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170522_045957_706408_983500E5 X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. 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";