From: Simon Horman Date: Tue, 12 Aug 2014 00:04:38 +0000 (+0900) Subject: ARM: shmobile: r8a7740: Add CMT1 device to DT X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c10df265febc7e46a60b129756915ad1d4d13e27;p=openwrt%2Fstaging%2Fblogic.git ARM: shmobile: r8a7740: Add CMT1 device to DT Add the CMT1 counters to the r8a7740 device tree and make it disabled by default. Based on work by Magnus Damm. Cc: Magnus Damm Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi index 6cd6a465b196..1067a96c8425 100644 --- a/arch/arm/boot/dts/r8a7740.dtsi +++ b/arch/arm/boot/dts/r8a7740.dtsi @@ -41,6 +41,18 @@ interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>; }; + cmt1: timer@e6138000 { + compatible = "renesas,cmt-48"; + reg = <0xe6138000 0x170>; + interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks R8A7740_CLK_CMT1>; + clock-names = "fck"; + + renesas,channels-mask = <0x3f>; + + status = "disabled"; + }; + /* irqpin0: IRQ0 - IRQ7 */ irqpin0: irqpin@e6900000 { compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";