All of lore.kernel.org
 help / color / mirror / Atom feed
From: biju.das@bp.renesas.com (Biju Das)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] [PATCH 4.4.y-cip 14/17] ARM: dts: r8a7744: Add CMT SoC specific support
Date: Tue, 19 Nov 2019 14:53:39 +0000	[thread overview]
Message-ID: <1574175222-52858-15-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1574175222-52858-1-git-send-email-biju.das@bp.renesas.com>

commit 90bcf80c37df5d76d953673717cdd5082776d98e upstream.

Add CMT[01] support to SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
[biju: removed resets property. Updated power-domains and clocks properties]
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 3f73784..1a4854a 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -850,6 +850,38 @@
 			/* placeholder */
 		};
 
+		cmt0: timer at ffca0000 {
+			compatible = "renesas,cmt-48-r8a7744",
+				     "renesas,cmt-48-gen2";
+			reg = <0 0xffca0000 0 0x1004>;
+			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp1_clks R8A7744_CLK_CMT0>;
+			clock-names = "fck";
+			power-domains = <&cpg_clocks>;
+			renesas,channels-mask = <0x60>;
+			status = "disabled";
+		};
+
+		cmt1: timer at e6130000 {
+			compatible = "renesas,cmt-48-r8a7744",
+				     "renesas,cmt-48-gen2";
+			reg = <0 0xe6130000 0 0x1004>;
+			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp3_clks R8A7744_CLK_CMT1>;
+			clock-names = "fck";
+			power-domains = <&cpg_clocks>;
+			renesas,channels-mask = <0xff>;
+			status = "disabled";
+		};
+
 		clocks {
 			#address-cells = <2>;
 			#size-cells = <2>;
-- 
2.7.4

  parent reply	other threads:[~2019-11-19 14:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-19 14:53 [cip-dev] [PATCH 4.4.y-cip 00/17] Add SYS-DMAC/GPIO/AVB/SMP/SCIF/HSCIF/I2C/IIC/CMT/RWDT support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 01/17] dt-bindings: rcar-dmac: Document r8a7744 support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 02/17] ARM: dts: r8a7744: Add SYS-DMAC support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 03/17] dt-bindings: gpio: rcar: Add r8a7744 (RZ/G1N) support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 04/17] ARM: dts: r8a7744: Add GPIO support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 05/17] dt-bindings: net: ravb: Add support for r8a7744 SoC Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 06/17] ARM: dts: r8a7744: Add Ethernet AVB support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 07/17] dt-bindings: apmu: Document r8a7744 support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 08/17] ARM: dts: r8a7744: Add SMP support Biju Das
2019-11-20 14:36   ` Pavel Machek
2019-11-20 14:38     ` Biju Das
2019-11-20 14:44       ` Pavel Machek
2019-11-20 14:55         ` Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 09/17] ARM: dts: r8a7744: Add [H]SCIF{A|B} support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 10/17] dt-bindings: i2c: rcar: Document r8a7744 support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 11/17] dt-bindings: i2c: sh_mobile: " Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 12/17] ARM: dts: r8a7744: Add I2C and IIC support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 13/17] dt-bindings: timer: renesas, cmt: Document r8a7744 CMT Biju Das
2019-11-19 14:53 ` Biju Das [this message]
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 15/17] dt-bindings: watchdog: renesas-wdt: Document r8a7744 support Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 16/17] ARM: dts: r8a7744: Add RWDT node Biju Das
2019-11-19 14:53 ` [cip-dev] [PATCH 4.4.y-cip 17/17] ARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM Biju Das
2019-11-20 14:38 ` [cip-dev] [PATCH 4.4.y-cip 00/17] Add SYS-DMAC/GPIO/AVB/SMP/SCIF/HSCIF/I2C/IIC/CMT/RWDT support Pavel Machek
2019-11-21  0:16   ` nobuhiro1.iwamatsu at toshiba.co.jp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1574175222-52858-15-git-send-email-biju.das@bp.renesas.com \
    --to=biju.das@bp.renesas.com \
    --cc=cip-dev@lists.cip-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.