ARM: Tegra: Add clock entry for smp_twd clock
authorPrashant Gaikwad <pgaikwad@nvidia.com>
Fri, 1 Mar 2013 18:32:24 +0000 (11:32 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 5 Mar 2013 01:16:36 +0000 (17:16 -0800)
As DT support for clocks and smp_twd is enabled, add clock entry
for smp_twd clock to DT.

This fixes the following error while booting the kernel:
smp_twd: clock not found -2

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
[swarren: include kernel log spew that this fixes]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 9a428931d0429d2befef3d6d3084b7499eeb3a02..48d00a099ce38d75d0df6ceb513078383c8d54e5 100644 (file)
                compatible = "arm,cortex-a9-twd-timer";
                reg = <0x50040600 0x20>;
                interrupts = <1 13 0x304>;
+               clocks = <&tegra_car 132>;
        };
 
        intc: interrupt-controller {
index 767803e1fd55f2d6e75053527e47a26d536e4f77..9d87a3ffe9980a140585d063dbb9be5f2fbfa482 100644 (file)
                compatible = "arm,cortex-a9-twd-timer";
                reg = <0x50040600 0x20>;
                interrupts = <1 13 0xf04>;
+               clocks = <&tegra_car 214>;
        };
 
        intc: interrupt-controller {