summaryrefslogtreecommitdiffstats
path: root/arch/arc/boot/dts/skeleton_hs.dtsi
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-01-01 18:48:40 +0530
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 09:32:29 +0530
commit7ec9f34a03e4a08469cca206ff5324f6b99fdc3f (patch)
tree4ba97a85326dbb9e93a95806ca90c543ec82b020 /arch/arc/boot/dts/skeleton_hs.dtsi
parentb3d6aba8bd92c20b7748ccd82b6fab8ea5081066 (diff)
downloadop-kernel-dev-7ec9f34a03e4a08469cca206ff5324f6b99fdc3f.zip
op-kernel-dev-7ec9f34a03e4a08469cca206ff5324f6b99fdc3f.tar.gz
ARC: [dts] Introduce Timer bindings
ARC Timers have historically been probed directly. As precursor to start probing Timers thru DT introduce these bindings Note that to keep series bisectable, these bindings are not yet used in code. Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: devicetree@vger.kernel.org Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot/dts/skeleton_hs.dtsi')
-rw-r--r--arch/arc/boot/dts/skeleton_hs.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arc/boot/dts/skeleton_hs.dtsi b/arch/arc/boot/dts/skeleton_hs.dtsi
index a538766..71fd308 100644
--- a/arch/arc/boot/dts/skeleton_hs.dtsi
+++ b/arch/arc/boot/dts/skeleton_hs.dtsi
@@ -25,6 +25,26 @@
};
};
+ /* TIMER0 with interrupt for clockevent */
+ timer0 {
+ compatible = "snps,arc-timer";
+ interrupts = <16>;
+ interrupt-parent = <&core_intc>;
+ clocks = <&core_clk>;
+ };
+
+ /* 64-bit Local RTC: preferred clocksource for UP */
+ rtc {
+ compatible = "snps,archs-timer-rtc";
+ clocks = <&core_clk>;
+ };
+
+ /* TIMER1 for free running clocksource: Fallback if rtc not found */
+ timer1 {
+ compatible = "snps,arc-timer";
+ clocks = <&core_clk>;
+ };
+
memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256M */
OpenPOWER on IntegriCloud