ARM: tegra: add TWD to device tree
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Sep 2012 20:17:24 +0000 (14:17 -0600)
committerStephen Warren <swarren@nvidia.com>
Fri, 16 Nov 2012 19:22:16 +0000 (12:22 -0700)
This will allow timer.c to use twd_local_timer_of_register(), and
hence not need to hard-code the TWD address or IRQ.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 63c25ce..b8effa1 100644 (file)
                };
        };
 
+       timer@50004600 {
+               compatible = "arm,cortex-a9-twd-timer";
+               reg = <0x50040600 0x20>;
+               interrupts = <1 13 0x304>;
+       };
+
        cache-controller@50043000 {
                compatible = "arm,pl310-cache";
                reg = <0x50043000 0x1000>;
index f7af066..547db83 100644 (file)
                };
        };
 
+       timer@50004600 {
+               compatible = "arm,cortex-a9-twd-timer";
+               reg = <0x50040600 0x20>;
+               interrupts = <1 13 0xf04>;
+       };
+
        cache-controller@50043000 {
                compatible = "arm,pl310-cache";
                reg = <0x50043000 0x1000>;