diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-02-17 09:52:39 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-02-23 18:22:48 -0500 |
commit | 30225743852ed5c3e732d7debe6c1f473c807d62 (patch) | |
tree | cd0bedd08dcdc49eabec4d39d6488b6517304cf0 /arch/arm/boot/dts | |
parent | 7a91cc14f3ff6c70855d25fe7b7c0592ab023050 (diff) |
ARM: shmobile: sh73a0 dtsi: Add Cortex-A9 TWD node
Add a node for the Private Timer and Watchdog, as found in the Cortex-A9
MPCore.
Without this, there's no clocksource available during early kernel
initialization, before cmt1 is initialized, leading to a lock-up if
CONFIG_CPU_IDLE=y.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/sh73a0.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index 70b694f09fd5..0b933e254d19 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi | |||
@@ -11,6 +11,7 @@ | |||
11 | /include/ "skeleton.dtsi" | 11 | /include/ "skeleton.dtsi" |
12 | 12 | ||
13 | #include <dt-bindings/clock/sh73a0-clock.h> | 13 | #include <dt-bindings/clock/sh73a0-clock.h> |
14 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
14 | #include <dt-bindings/interrupt-controller/irq.h> | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
15 | 16 | ||
16 | / { | 17 | / { |
@@ -35,6 +36,13 @@ | |||
35 | }; | 36 | }; |
36 | }; | 37 | }; |
37 | 38 | ||
39 | timer@f0000600 { | ||
40 | compatible = "arm,cortex-a9-twd-timer"; | ||
41 | reg = <0xf0000600 0x20>; | ||
42 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; | ||
43 | clocks = <&twd_clk>; | ||
44 | }; | ||
45 | |||
38 | gic: interrupt-controller@f0001000 { | 46 | gic: interrupt-controller@f0001000 { |
39 | compatible = "arm,cortex-a9-gic"; | 47 | compatible = "arm,cortex-a9-gic"; |
40 | #interrupt-cells = <3>; | 48 | #interrupt-cells = <3>; |