summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-12-11 14:52:20 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-12-20 16:33:19 +0100
commitdf1a0aac0a533e6f3ff843c64a9a0d3b7f37c89c (patch)
tree6026955947f44d30e420ba206ac35d8bbc2d849d
parent61b58e3f6e518c511e54d56d362d505928df4e86 (diff)
downloadlwn-df1a0aac0a533e6f3ff843c64a9a0d3b7f37c89c.tar.gz
lwn-df1a0aac0a533e6f3ff843c64a9a0d3b7f37c89c.zip
ARM: dts: sh73a0: Add device node for ARM global timer
Add a device node for the global timer, which is part of the Cortex-A9 MPCore. The global timer can serve as an accurate (3 ns) clock source for scheduling and delay loops. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20191211135222.26770-3-geert+renesas@glider.be
-rw-r--r--arch/arm/boot/dts/sh73a0.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 75785052640f..f8494d168e84 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -39,6 +39,13 @@
};
};
+ timer@f0000200 {
+ compatible = "arm,cortex-a9-global-timer";
+ reg = <0xf0000200 0x100>;
+ interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
+ clocks = <&periph_clk>;
+ };
+
timer@f0000600 {
compatible = "arm,cortex-a9-twd-timer";
reg = <0xf0000600 0x20>;