diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> | 2013-11-28 23:23:56 +0400 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2014-02-17 18:29:49 +0400 |
commit | 2b4f76b6d0269a23faa69b8a9408aa51d01fdc7c (patch) | |
tree | 793d8bc6b2009e494647528a97d3a9d38ed3cdb9 | |
parent | 20d893130590e6f1e34aef1f40140e38e69cfe7d (diff) | |
download | linux-2b4f76b6d0269a23faa69b8a9408aa51d01fdc7c.tar.xz |
ARM: dts: keystone: add keystone timer entry
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>
-rw-r--r-- | arch/arm/boot/dts/keystone-clocks.dtsi | 10 | ||||
-rw-r--r-- | arch/arm/boot/dts/keystone.dtsi | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/keystone-clocks.dtsi b/arch/arm/boot/dts/keystone-clocks.dtsi index 2363593e1050..16d2aba2a161 100644 --- a/arch/arm/boot/dts/keystone-clocks.dtsi +++ b/arch/arm/boot/dts/keystone-clocks.dtsi @@ -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"; diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi index 3a83ffe030f1..d9303e831e8c 100644 --- a/arch/arm/boot/dts/keystone.dtsi +++ b/arch/arm/boot/dts/keystone.dtsi @@ -214,5 +214,12 @@ 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>; + }; }; }; |