]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 15 Oct 2012 18:22:09 +0000 (12:22 -0600)
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 232eb846112f800eaeff2558cddfc0e68c338098..6934bca15247db509636a10d41505b7d27c94f75 100644 (file)
@@ -4,6 +4,12 @@
        compatible = "nvidia,tegra20";
        interrupt-parent = <&intc>;
 
+       timer@50004600 {
+               compatible = "arm,cortex-a9-twd-timer";
+               reg = <0x50040600 0x20>;
+               interrupts = <1 13 0x304>;
+       };
+
        intc: interrupt-controller {
                compatible = "arm,cortex-a9-gic";
                reg = <0x50041000 0x1000
index e43fbab765086baa2b04f72c3a154283033dd339..81f5df4479a24aa6242932a9dc14be8ef09f9c32 100644 (file)
@@ -4,6 +4,12 @@
        compatible = "nvidia,tegra30";
        interrupt-parent = <&intc>;
 
+       timer@50004600 {
+               compatible = "arm,cortex-a9-twd-timer";
+               reg = <0x50040600 0x20>;
+               interrupts = <1 13 0xf04>;
+       };
+
        intc: interrupt-controller {
                compatible = "arm,cortex-a9-gic";
                reg = <0x50041000 0x1000