ARM: dts: keystone: add keystone timer entry
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Thu, 28 Nov 2013 19:23:56 +0000 (21:23 +0200)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 17 Feb 2014 14:29:49 +0000 (09:29 -0500)
Add keystone timer entry to keystone device tree.
This 64-bit timer is used as backup clock event device.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/boot/dts/keystone-clocks.dtsi
arch/arm/boot/dts/keystone.dtsi

index 2363593e1050b7b84b4705878fc10cb653b33cca..16d2aba2a161dcee4c1006a8c3007f491c735dfb 100644 (file)
@@ -737,6 +737,16 @@ clocks {
                domain-id = <0>;
        };
 
+       clktimer15: clktimer15 {
+               #clock-cells = <0>;
+               compatible = "ti,keystone,psc-clock";
+               clocks = <&clkmodrst0>;
+               clock-output-names = "timer15";
+               reg = <0x02350000 0xb00>, <0x02350000 0x400>;
+               reg-names = "control", "domain";
+               domain-id = <0>;
+       };
+
        clkuart0: clkuart0 {
                #clock-cells = <0>;
                compatible = "ti,keystone,psc-clock";
index 3a83ffe030f15156568815b9ae07965c9c273679..d9303e831e8ca636013482116d564314931d0552 100644 (file)
                        reg = <0x022f0080 0x80>;
                        clocks = <&clkwdtimer0>;
                };
+
+               clock_event: timer@22f0000 {
+                       compatible = "ti,keystone-timer";
+                       reg = <0x022f0000 0x80>;
+                       interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>;
+                       clocks = <&clktimer15>;
+               };
        };
 };