ARM: dts: rda8810pl: Add timer support
[muen/linux.git] / arch / arm / boot / dts / rda8810pl.dtsi
index 15547b1389772f60bb08c4257be9827ea005c4f3..84baa4c0a14c99a617567f8ebecda791dd976ff4 100644 (file)
@@ -6,6 +6,8 @@
  * Copyright (c) 2018 Manivannan Sadhasivam
  */
 
+#include <dt-bindings/interrupt-controller/irq.h>
+
 / {
        compatible = "rda,8810pl";
        interrupt-parent = <&intc>;
                #address-cells = <1>;
                #size-cells = <1>;
                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 {