summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7740.dtsi
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2014-08-12 09:04:38 +0900
committerSimon Horman <horms+renesas@verge.net.au>2014-08-23 19:57:37 +0900
commitc10df265febc7e46a60b129756915ad1d4d13e27 (patch)
tree4dc3a4e88e2e3f8b303c9b03b09dce49cce77183 /arch/arm/boot/dts/r8a7740.dtsi
parentae2a8cdd5c52b4e205cc1e5abca31168fb20dadb (diff)
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 <magnus.damm@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7740.dtsi')
-rw-r--r--arch/arm/boot/dts/r8a7740.dtsi12
1 files changed, 12 insertions, 0 deletions
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";