提交 5a9fe404 编写于 作者: M Manivannan Sadhasivam 提交者: Olof Johansson

ARM: dts: rda8810pl: Add timer support

Add timer support for RDA Micro RDA8810PL SoC.
Signed-off-by: NAndreas Färber <afaerber@suse.de>
Signed-off-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册