dts: ca5: add the global timer for the A5
authorMatthew Leach <matthew.leach@arm.com>
Fri, 14 Mar 2014 10:18:21 +0000 (10:18 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 22 Apr 2014 09:44:26 +0000 (11:44 +0200)
The Cortex A5 contains a global timer: add the appropriate device tree
node.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/boot/dts/vexpress-v2p-ca5s.dts

index c544a55045918ee1879d59b0282c37bd23d402eb..d2709b73316b20cb6a379be4cf9ac1aea136a039 100644 (file)
                interrupts = <1 13 0x304>;
        };
 
+       timer@2c000200 {
+               compatible = "arm,cortex-a5-global-timer",
+                            "arm,cortex-a9-global-timer";
+               reg = <0x2c000200 0x20>;
+               interrupts = <1 11 0x304>;
+               clocks = <&oscclk0>;
+       };
+
        watchdog@2c000620 {
                compatible = "arm,cortex-a5-twd-wdt";
                reg = <0x2c000620 0x20>;
                compatible = "arm,vexpress,config-bus";
                arm,vexpress,config-bridge = <&v2m_sysreg>;
 
-               osc@0 {
+               oscclk0: osc@0 {
                        /* CPU and internal AXI reference clock */
                        compatible = "arm,vexpress-osc";
                        arm,vexpress-sysreg,func = <1 0>;