diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-07-09 09:12:37 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-16 20:00:55 -0400 |
commit | 39cf6d73dc1ed11c7d5d2c96a0ccbbb868a7f3ce (patch) | |
tree | 10dc8a8bbadc7d1a2dddf62ffe9f8a960dea3f7d | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
ARM: shmobile: r8a7790: Add CMT devices to DT
Add the CMT0 and CMT1 counters to the r8a7790 device tree and make them
disabled by default.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/r8a7790.dtsi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index d9ddecbb859c..7218bfff0bca 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi | |||
@@ -206,6 +206,38 @@ | |||
206 | <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; | 206 | <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
207 | }; | 207 | }; |
208 | 208 | ||
209 | cmt0: timer@ffca0000 { | ||
210 | compatible = "renesas,cmt-48-gen2"; | ||
211 | reg = <0 0xffca0000 0 0x1004>; | ||
212 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>, | ||
213 | <0 143 IRQ_TYPE_LEVEL_HIGH>; | ||
214 | clocks = <&mstp1_clks R8A7790_CLK_CMT0>; | ||
215 | clock-names = "fck"; | ||
216 | |||
217 | renesas,channels-mask = <0x60>; | ||
218 | |||
219 | status = "disabled"; | ||
220 | }; | ||
221 | |||
222 | cmt1: timer@e6130000 { | ||
223 | compatible = "renesas,cmt-48-gen2"; | ||
224 | reg = <0 0xe6130000 0 0x1004>; | ||
225 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>, | ||
226 | <0 121 IRQ_TYPE_LEVEL_HIGH>, | ||
227 | <0 122 IRQ_TYPE_LEVEL_HIGH>, | ||
228 | <0 123 IRQ_TYPE_LEVEL_HIGH>, | ||
229 | <0 124 IRQ_TYPE_LEVEL_HIGH>, | ||
230 | <0 125 IRQ_TYPE_LEVEL_HIGH>, | ||
231 | <0 126 IRQ_TYPE_LEVEL_HIGH>, | ||
232 | <0 127 IRQ_TYPE_LEVEL_HIGH>; | ||
233 | clocks = <&mstp3_clks R8A7790_CLK_CMT1>; | ||
234 | clock-names = "fck"; | ||
235 | |||
236 | renesas,channels-mask = <0xff>; | ||
237 | |||
238 | status = "disabled"; | ||
239 | }; | ||
240 | |||
209 | irqc0: interrupt-controller@e61c0000 { | 241 | irqc0: interrupt-controller@e61c0000 { |
210 | compatible = "renesas,irqc-r8a7790", "renesas,irqc"; | 242 | compatible = "renesas,irqc-r8a7790", "renesas,irqc"; |
211 | #interrupt-cells = <2>; | 243 | #interrupt-cells = <2>; |