summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7779.dtsi
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-12-16 18:39:41 +0900
committerSimon Horman <horms+renesas@verge.net.au>2014-12-21 19:07:21 +0900
commitcea806542f6d7ec40eea1c5f9db2065996f56627 (patch)
tree4d713dbddddc287a63687b0d226f74dbf11bb9f7 /arch/arm/boot/dts/r8a7779.dtsi
parent631324cf83a04cbfcc81a21801f321679493a072 (diff)
downloadblackbird-obmc-linux-cea806542f6d7ec40eea1c5f9db2065996f56627.tar.gz
blackbird-obmc-linux-cea806542f6d7ec40eea1c5f9db2065996f56627.zip
ARM: shmobile: r8a7779: Add TWD device to DTS
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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7779.dtsi')
-rw-r--r--arch/arm/boot/dts/r8a7779.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
index d9e1abf9debe..5c2219b9f3eb 100644
--- a/arch/arm/boot/dts/r8a7779.dtsi
+++ b/arch/arm/boot/dts/r8a7779.dtsi
@@ -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>
/ {
@@ -62,6 +63,14 @@
<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>;
OpenPOWER on IntegriCloud