Commit 5a9fe404 authored by Manivannan Sadhasivam's avatar Manivannan Sadhasivam Committed by Olof Johansson

ARM: dts: rda8810pl: Add timer support

Add timer support for RDA Micro RDA8810PL SoC.
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 7581d836
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
* Copyright (c) 2018 Manivannan Sadhasivam * Copyright (c) 2018 Manivannan Sadhasivam
*/ */
#include <dt-bindings/interrupt-controller/irq.h>
/ { / {
compatible = "rda,8810pl"; compatible = "rda,8810pl";
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
...@@ -50,6 +52,14 @@ apb@20900000 { ...@@ -50,6 +52,14 @@ apb@20900000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0x0 0x20900000 0x100000>; ranges = <0x0 0x20900000 0x100000>;
timer@10000 {
compatible = "rda,8810pl-timer";
reg = <0x10000 0x1000>;
interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
<17 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hwtimer", "ostimer";
};
}; };
apb@20a00000 { apb@20a00000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment