]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: r8a7779: Add TWD device to DTS
authorMagnus Damm <damm+renesas@opensource.se>
Tue, 16 Dec 2014 09:39:41 +0000 (18:39 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 21 Dec 2014 10:07:21 +0000 (19:07 +0900)
Now when r8a7779 CCF is in place we can hook up
the ARM Cortex-A9 TWD timer via DTS.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7779.dtsi

index d9e1abf9debecb9fc8fc3434a177158f0f2af2b0..5c2219b9f3eb500327236ed90a519fce21d76ce3 100644 (file)
@@ -12,6 +12,7 @@
 /include/ "skeleton.dtsi"
 
 #include <dt-bindings/clock/r8a7779-clock.h>
+#include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 
 / {
                      <0xf0000100 0x100>;
        };
 
+       timer@f0000600 {
+               compatible = "arm,cortex-a9-twd-timer";
+               reg = <0xf0000600 0x20>;
+               interrupts = <GIC_PPI 13
+                       (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+               clocks = <&cpg_clocks R8A7779_CLK_ZS>;
+       };
+
        gpio0: gpio@ffc40000 {
                compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
                reg = <0xffc40000 0x2c>;