From patchwork Mon Nov 26 12:55:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10698355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 26B6713AD for ; Mon, 26 Nov 2018 13:18:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15FC32977A for ; Mon, 26 Nov 2018 13:18:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08D882983F; Mon, 26 Nov 2018 13:18:17 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 9EBE82977A for ; Mon, 26 Nov 2018 13:18:16 +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=uja4/lyp5cENQhaotltMD4AtyFMLZc+ROjyf2qHtprg=; b=DWvlM2qZ8pCiLa7YO3d08rn84Z Nc6t0rWBLqoFv9FAlhgFX8Efnh9sOH8Q0wRT3L9U+RrvyuJHCrUyLAi4CsfRQc2sLjRC6hRdFF8aH gPufOIBaWpeOpXpyQKNUw7AsAr8Rc3TxBicxdd5YGXThmw7lEz0XXbtH1psbtH/iMzm6B7xJIsBmY 98PhFM/TD4sGRg+YJhLZmHT7l1A5kmgZ4C0HsMMil9GrxMpooRb+/CuxNRmsmIHUx8Acm8hqX+RnX Rz9xsEIur7uUQqaHtzzkZi9XCpmPNUmNZxN1c1Gjntn6Eg+NQno4mzFB2Znq3zAmmfpMdd2uSIEG6 W4jytUMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGm7-0003Jv-Uw; Mon, 26 Nov 2018 13:18:08 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGgH-0005IA-Qz for linux-arm-kernel@bombadil.infradead.org; Mon, 26 Nov 2018 13:12:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QMiUrgDqzAiIf/KMwriFuMiVAkSw6ukH7lnSeGESk8s=; b=Ob/9DeMbHLFFyLLi9EsN2yhwe F6WwU5Xfg68VbYHUtCqoSJB4lLk/lD6MmPqZ/cI/UnSQc98UJMBx3t8s7KEOHnbTZGZztm+E/+pyf 2RQnMWVp3roSUbXSpBGOf0p58OuO0+sm4h8CGfN4ATmcPpflc6EygYPznyugsbU3HosxFZWhXqbl6 W+QzZCs5zCdKnj63MkhNDMRWM4Wmfl7STWbQq02+SGAl3PN2DqlcCuqd8u0rkSeASO6wT3k+ptCMM sNVOYRIpFM+5jj0nBZwXPpaFX20XKCgB10c5oBwKskuL9KGu79hthL7JINcQxj2aTJuyClnl4R3K/ TTptu81VA==; Received: from kirsty.vergenet.net ([202.4.237.240]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGak-0005w7-Ut for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 13:06:29 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 47D7C25BF44; Mon, 26 Nov 2018 23:55:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543236912; bh=KvEecJhLW5RUBcOl1+ERQsl1+qHzs8tsnQgUKxKTptQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=alixpXIORxN/NQ5IYxo+63DvDOobcEbIL4pQKNgXf5Gfzt7JM8Np/aiaAUij74tZh mpuNgZNShhbe/TLKhUjGlgSqSG0D+yM/GmUNVJPZFGyIEfW3CkBJGHs0LKpDpc1BFg b2clg5wFb6W6xcBb0uPHpEETdWaalhX5z5M0qqCM= Received: by reginn.horms.nl (Postfix, from userid 7100) id 27053940C57; Mon, 26 Nov 2018 13:55:10 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 37/40] arm64: dts: renesas: r8a7796: Add CMT device nodes Date: Mon, 26 Nov 2018 13:55:03 +0100 Message-Id: <8942ce2bfaa162f8d915b50778724be0c5c2662b.1543229516.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_130623_576053_61D41182 X-CRM114-Status: GOOD ( 10.70 ) 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: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das This patch adds CMT{0|1|2|3} device nodes for r8a7796 SoC. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 70 ++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index e62c1702ab72..e7614b781308 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -433,6 +433,76 @@ reg = <0 0xe6060000 0 0x50c>; }; + cmt0: timer@e60f0000 { + compatible = "renesas,r8a7796-cmt0", + "renesas,rcar-gen3-cmt0"; + reg = <0 0xe60f0000 0 0x1004>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 303>; + clock-names = "fck"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 303>; + status = "disabled"; + }; + + cmt1: timer@e6130000 { + compatible = "renesas,r8a7796-cmt1", + "renesas,rcar-gen3-cmt1"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 302>; + clock-names = "fck"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 302>; + status = "disabled"; + }; + + cmt2: timer@e6140000 { + compatible = "renesas,r8a7796-cmt1", + "renesas,rcar-gen3-cmt1"; + reg = <0 0xe6140000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 301>; + clock-names = "fck"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 301>; + status = "disabled"; + }; + + cmt3: timer@e6148000 { + compatible = "renesas,r8a7796-cmt1", + "renesas,rcar-gen3-cmt1"; + reg = <0 0xe6148000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 300>; + clock-names = "fck"; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + resets = <&cpg 300>; + status = "disabled"; + }; + cpg: clock-controller@e6150000 { compatible = "renesas,r8a7796-cpg-mssr"; reg = <0 0xe6150000 0 0x1000>;