All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Biju Das <biju.das@bp.renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support
Date: Mon, 26 Nov 2018 13:54:13 +0100	[thread overview]
Message-ID: <be8f6b8eca0f11096acf6e2d6641f6a027218d69.1543236456.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1543236456.git.horms+renesas@verge.net.au>

From: Biju Das <biju.das@bp.renesas.com>

Add CMT[01] support to r8a77470 SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a77470.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 0a7ca2ff4dc4..5c0e48d0449a 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -615,6 +615,38 @@
 			compatible = "renesas,prr";
 			reg = <0 0xff000044 0 4>;
 		};
+
+		cmt0: timer@ffca0000 {
+			compatible = "renesas,r8a77470-cmt0",
+				     "renesas,rcar-gen2-cmt0";
+			reg = <0 0xffca0000 0 0x1004>;
+			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 124>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 124>;
+			status = "disabled";
+		};
+
+		cmt1: timer@e6130000 {
+			compatible = "renesas,r8a77470-cmt1",
+				     "renesas,rcar-gen2-cmt1";
+			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 = <&cpg CPG_MOD 329>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 329>;
+			status = "disabled";
+		};
 	};
 
 	timer {
-- 
2.11.0

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support
Date: Mon, 26 Nov 2018 13:54:13 +0100	[thread overview]
Message-ID: <be8f6b8eca0f11096acf6e2d6641f6a027218d69.1543236456.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1543236456.git.horms+renesas@verge.net.au>

From: Biju Das <biju.das@bp.renesas.com>

Add CMT[01] support to r8a77470 SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a77470.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 0a7ca2ff4dc4..5c0e48d0449a 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -615,6 +615,38 @@
 			compatible = "renesas,prr";
 			reg = <0 0xff000044 0 4>;
 		};
+
+		cmt0: timer at ffca0000 {
+			compatible = "renesas,r8a77470-cmt0",
+				     "renesas,rcar-gen2-cmt0";
+			reg = <0 0xffca0000 0 0x1004>;
+			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 124>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 124>;
+			status = "disabled";
+		};
+
+		cmt1: timer at e6130000 {
+			compatible = "renesas,r8a77470-cmt1",
+				     "renesas,rcar-gen2-cmt1";
+			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 = <&cpg CPG_MOD 329>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 329>;
+			status = "disabled";
+		};
 	};
 
 	timer {
-- 
2.11.0

  parent reply	other threads:[~2018-11-26 23:48 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 12:53 [GIT PULL] Renesas ARM Based SoC DT Updates for v4.21 Simon Horman
2018-11-26 12:53 ` Simon Horman
2018-11-26 12:54 ` [PATCH 01/16] ARM: dts: r9a06g032: Add pinctrl node Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-28 12:50   ` Simon Horman
2018-11-28 12:50     ` Simon Horman
2018-11-26 12:54 ` [PATCH 02/16] ARM: dts: r8a77470: Add I2C[0123] support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 03/16] ARM: dts: r8a77470: Add SDHI0 support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 04/16] ARM: dts: r8a77470: Add SDHI1 support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 05/16] ARM: dts: iwg23s-sbc: Add uSD and eMMC support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 06/16] ARM: dts: r8a779[01]: Disable unconnected LVDS encoders Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 07/16] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 08/16] ARM: dts: r8a77470: Add watchdog support to SoC dtsi Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 09/16] ARM: dts: iwg23s-sbc: Enable watchdog support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 10/16] ARM: dts: r8a77470: Add USB-DMAC device nodes Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` Simon Horman [this message]
2018-11-26 12:54   ` [PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support Simon Horman
2018-11-26 12:54 ` [PATCH 12/16] ARM: dts: iwg23s-sbc: Enable cmt0 Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 13/16] ARM: dts: iwg23s-sbc: Add pinctl support for EtherAVB Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 14/16] ARM: dts: r8a77470: Add QSPI support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 15/16] ARM: dts: iwg23s-sbc: Add QSPI flash support Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-26 12:54 ` [PATCH 16/16] ARM: dts: r9a06g032: Correct the GIC DT node name Simon Horman
2018-11-26 12:54   ` Simon Horman
2018-11-28 13:02 [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.21 Simon Horman
2018-11-28 13:03 ` [PATCH 11/16] ARM: dts: r8a77470: Add CMT SoC specific support Simon Horman
2018-11-28 13:03   ` Simon Horman

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=be8f6b8eca0f11096acf6e2d6641f6a027218d69.1543236456.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=biju.das@bp.renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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.