diff mbox

[v2,05/10] ARM: shmobile: sh73a0: Add CMT1 device to DT

Message ID 1409649186-1046-6-git-send-email-ulrich.hecht+renesas@gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Ulrich Hecht Sept. 2, 2014, 9:13 a.m. UTC
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
 arch/arm/boot/dts/sh73a0.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Laurent Pinchart Sept. 9, 2014, 9:52 p.m. UTC | #1
Hi Ulrich,

Thank you for the patch.

On Tuesday 02 September 2014 11:13:01 Ulrich Hecht wrote:
> Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  arch/arm/boot/dts/sh73a0.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
> index dad8404..39cb4cf 100644
> --- a/arch/arm/boot/dts/sh73a0.dtsi
> +++ b/arch/arm/boot/dts/sh73a0.dtsi
> @@ -49,6 +49,18 @@
>  			     <0 56 IRQ_TYPE_LEVEL_HIGH>;
>  	};
> 
> +	cmt1: timer@e6138000 {
> +		compatible = "renesas,cmt-48";
> +		reg = <0xe6138000 0x200>;
> +		interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>;
> +		clocks = <&mstp3_clks SH73A0_CLK_CMT1>;
> +		clock-names = "fck";
> +
> +		renesas,channels-mask = <0x3f>;
> +
> +		status = "disabled";
> +	};
> +
>  	irqpin0: irqpin@e6900000 {
>  		compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
>  		#interrupt-cells = <2>;
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index dad8404..39cb4cf 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -49,6 +49,18 @@ 
 			     <0 56 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	cmt1: timer@e6138000 {
+		compatible = "renesas,cmt-48";
+		reg = <0xe6138000 0x200>;
+		interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks SH73A0_CLK_CMT1>;
+		clock-names = "fck";
+
+		renesas,channels-mask = <0x3f>;
+
+		status = "disabled";
+	};
+
 	irqpin0: irqpin@e6900000 {
 		compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
 		#interrupt-cells = <2>;