]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 63c25cefaad7442344c377bc2a37c06fc2e22792..b8effa1cbda7331078d9d85bcc3d7a9bf9a891d3 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 f7af06621cc8920a6db47c7462d16d92bc38ae91..547db83af266693d1b427888e95d5d086a6e19c1 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>;