From patchwork Sat Jul 29 04:42:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Shah X-Patchwork-Id: 9869749 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 7F6526035E for ; Sat, 29 Jul 2017 04:44:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A68B288FD for ; Sat, 29 Jul 2017 04:44:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11439288FA; Sat, 29 Jul 2017 04:44:58 +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,RCVD_IN_DNSWL_NONE autolearn=unavailable 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 8C9D5288E5 for ; Sat, 29 Jul 2017 04:44:57 +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=8nLY/CvwlM/WNrI1pPI3Rp1XkxjCeLybfnaDnYkyQYU=; b=PQOZoP5KsqoUwz72zawlI+aQ4J Hel83O4SjM8KTdcOuALMF+BMtVW4qItopFZyG3SFzlQ3Zq1/PNmeEMmp5w0VXombu3hkt5a2OwCDq CwShhgxaOHDC7LIK0Y7euIO8CeeZzObqrmZ478bHomQwNszDa7VI6iD0BjT6D0hg2UsykGFRO9owx car1qSJoW/8imJ95ODvrmOd/qCH3hW0M6hRN59iEktZ7JhuxriVVOVcSzTak7dWhjUTo7wcOftla8 Gpb7RC6EmOe+jAMckqW4zRLk5Z/OxF5UIImjeqR+Rmrl1xTwbuolzBKW8RF2K36WfitJktis+pBF+ IV+EkagA==; 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 1dbJbt-0005o5-Jp; Sat, 29 Jul 2017 04:44:17 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbJb5-0004uq-2D for linux-arm-kernel@lists.infradead.org; Sat, 29 Jul 2017 04:43:32 +0000 Received: by mail-wm0-x230.google.com with SMTP id m85so35767646wma.0 for ; Fri, 28 Jul 2017 21:43:06 -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=mfr0Pv3CXWv37hi46h35YxC8g4S1YI37hEue21e0bok=; b=NZym4OFzJTqPTeNxpj8X4xgsK0C0n7DrAH/lXRp8wcQcLBtfCHQlbx+jPQe3t3eXB+ /BJvTyvlcIYBvjvZ20U5UhUs/XayVPldqK31j4bz6QI70Ou1GQ63FgqeYXHfhQr9xqqQ aKKfNMJIFhp5JA03khF2qGUKSgsMVswj6NsGo= 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=mfr0Pv3CXWv37hi46h35YxC8g4S1YI37hEue21e0bok=; b=TmVMIF2d8U2ISumiYTPw8BVfnJDWw4HnUPgjIgm8RI/dwFKutMq7p1OqJZX/cXGYKL x0GklaAAjbRK57hP2amOhHV76Zk2Pfq45fHryUUPsdbvIry1fk12TAaXKXTGWPxF/t8a Uv8j6tQFLAZJCqchmQFyJAYlCjWSmNxdGuB2nYteCVzKP50aKVphZ3yrLniDsS1AZFYE vHdYmtFYI2jz06I5yjvWuGcRIdfw6QH1QpEXSML9PSDkxIW1pLiC2LyEbC4qDwCEVIBd gW9fWRDbDQF9zIMmAhvwilWUKv7Va2B8/Y2I0svUJ1i38A+emR1m5f+c5eBWjKCl98pc hpBA== X-Gm-Message-State: AIVw111CqoG0wQrvPtvnhJtcIGXBpL2uO4jiGg0FvsaPiJfw7NEgBPLV iVkFZtGfQ/nsj7PN X-Received: by 10.28.232.141 with SMTP id f13mr6697566wmi.59.1501303385071; Fri, 28 Jul 2017 21:43:05 -0700 (PDT) Received: from ashah1-OptiPlex-7010.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id p19sm19324566wma.40.2017.07.28.21.42.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Jul 2017 21:43:04 -0700 (PDT) From: Abhishek Shah To: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Ray Jui , Scott Branden , Jon Mason Subject: [PATCH 3/7] arm64: dts: Add sp804 DT nodes for Stingray SoC Date: Sat, 29 Jul 2017 10:12:25 +0530 Message-Id: <1501303349-30007-4-git-send-email-abhishek.shah@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501303349-30007-1-git-send-email-abhishek.shah@broadcom.com> References: <1501303349-30007-1-git-send-email-abhishek.shah@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170728_214328_545026_4E87106E X-CRM114-Status: UNSURE ( 9.38 ) 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, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Anup Patel 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: Anup Patel We have 8 instances of sp804 in Stingray SoC. Let's enable it in Stingray DT. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index 697401d..19ad887 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -314,6 +314,93 @@ status = "disabled"; }; + timer0: timer@00030000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00030000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + + timer1: timer@00040000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00040000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + }; + + timer2: timer@00050000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00050000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + + timer3: timer@00060000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00060000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + + timer4: timer@00070000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00070000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + + timer5: timer@00080000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00080000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + + timer6: timer@00090000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x00090000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + + timer7: timer@000a0000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x000a0000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, + <&hsls_25m_div2_clk>, + <&hsls_div4_clk>; + clock-names = "timer1", "timer2", "apb_pclk"; + status = "disabled"; + }; + i2c0: i2c@000b0000 { compatible = "brcm,iproc-i2c"; reg = <0x000b0000 0x100>;