Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1032688ybm; Wed, 27 May 2020 14:21:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+RR+fTmijkV+60u4E6AMaLpWNq2n8GP30/DwcTGSEuNvD3unLsvjWvYo+VwaQQ+0tP9FW X-Received: by 2002:a50:9547:: with SMTP id v7mr126751eda.78.1590614514304; Wed, 27 May 2020 14:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590614514; cv=none; d=google.com; s=arc-20160816; b=XwPxosFzFkN7pK+jlLaKons3xNAAxr2MnjpjUrq8Gk7Ekg4xahyPy+0msQJfK8cSwM 4VHn62m2Mj7DcdubOH50wuxPoV0fUWlU4t3qFd1KuCWpR4BclzkLEu8CCpOn3Wxf8bz/ zN7lIwPmddQqyqfE7wT7lc3Ge4+UvNrZJuD+zNwIWODx8xyphnus4lERqeYyHTHpbb+V A2YHanR1hvjstF1moUtcNQ+MZ6RF3/+nXZVd1lFPM20cYpodmRmOtUCue9RSmPtR1rzK 1bdxdFmsvaDzv4k7DERA3ExO53YwAtDPk54Jx8cHGhxkYwfGhW/U7ea5gFa9aU9k8JHU 9tVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=X87vwOQesSUkYTIMK2jei0nIUbjjTwE8H97gICBI9ds=; b=wJkMdXhk3Ut/h23W51ICPmmdbgAJCSY05pG+aRYq8k7c/TPGcyIz6eKLzhv6Hq67b0 z2/P0SjiEIqRJv4Y6NHksCJ+Ayec/E6O2BC8BLpeRdXe65jBLbLudq2mCrbSa1Mk2YrJ ecUbJoQ9VW32x009vs/kNxcD1JT9CKNuh5mnB/t3RkNDB5eG35dSxqlcNwFHH6MDEUVt ue5bhh6LvOGdWRL1R8YidAzPBW1RvF8Kc5g4lLwgSJHOd4c5payxJ2OhcpdTunNGV4NK 0QdLWo2rywQznS3aiB2F+QVBtAK6dKqOrV+5vjQ8rxGx2zdZ3LeQ/RK6Cu0ILnXzcaN3 bu3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si2426094eda.482.2020.05.27.14.21.31; Wed, 27 May 2020 14:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728843AbgE0VTj (ORCPT + 99 others); Wed, 27 May 2020 17:19:39 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:5763 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728799AbgE0VTh (ORCPT ); Wed, 27 May 2020 17:19:37 -0400 X-IronPort-AV: E=Sophos;i="5.73,442,1583161200"; d="scan'208";a="47965378" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 28 May 2020 06:19:36 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 6FFD7400C4CB; Thu, 28 May 2020 06:19:34 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 4/4] ARM: dts: r8a7742: Add CMT SoC specific support Date: Wed, 27 May 2020 22:18:40 +0100 Message-Id: <1590614320-30160-5-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590614320-30160-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1590614320-30160-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add CMT[01] support to r8a7742 SoC DT. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi index f57db05..08af9e2 100644 --- a/arch/arm/boot/dts/r8a7742.dtsi +++ b/arch/arm/boot/dts/r8a7742.dtsi @@ -1368,6 +1368,38 @@ compatible = "renesas,prr"; reg = <0 0xff000044 0 4>; }; + + cmt0: timer@ffca0000 { + compatible = "renesas,r8a7742-cmt0", + "renesas,rcar-gen2-cmt0"; + reg = <0 0xffca0000 0 0x1004>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 124>; + clock-names = "fck"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 124>; + status = "disabled"; + }; + + cmt1: timer@e6130000 { + compatible = "renesas,r8a7742-cmt1", + "renesas,rcar-gen2-cmt1"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 329>; + clock-names = "fck"; + power-domains = <&sysc R8A7742_PD_ALWAYS_ON>; + resets = <&cpg 329>; + status = "disabled"; + }; }; thermal-zones { -- 2.7.4