]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: tegra: Enable watchdog support for Tegra114 and Tegra124
authorMaarten Lankhorst <dev@mblankhorst.nl>
Tue, 17 Nov 2015 10:15:45 +0000 (11:15 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 12 Apr 2016 15:10:21 +0000 (17:10 +0200)
Watchdog support was added to the timer block with Tegra30. Tegra20 did
not have this yet. However, the Tegra114 and Tegra124 DTSI files had an
entry in the compatible string list for "nvidia,tegra20-timer", but not
for "nvidia,tegra30-timer", which is why watchdog support isn't enabled
on them.

Fix this by adding an entry for "nvidia,tegra30-timer" to the compatible
string list of the timer block on Tegra114 and Tegra124.

This allows the watchdog to work on Jetson TK1.

Signed-off-by: Maarten Lankhorst <dev@mblankhorst.nl>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra114.dtsi
arch/arm/boot/dts/tegra124.dtsi

index 5017ed8ad5c4244b07956ce3243f033e76f98d5d..cb9393a53422a7d7083016a7b83363a7a4dce224 100644 (file)
        };
 
        timer@60005000 {
-               compatible = "nvidia,tegra114-timer", "nvidia,tegra20-timer";
+               compatible = "nvidia,tegra114-timer", "nvidia,tegra30-timer", "nvidia,tegra20-timer";
                reg = <0x60005000 0x400>;
                interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
                             <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
index 995289b59e11c7bc5a9ac06c4465839dccf67109..e4eac1f01e645f608e16483a0e37086ad1a2df91 100644 (file)
        };
 
        timer@0,60005000 {
-               compatible = "nvidia,tegra124-timer", "nvidia,tegra20-timer";
+               compatible = "nvidia,tegra124-timer", "nvidia,tegra30-timer", "nvidia,tegra20-timer";
                reg = <0x0 0x60005000 0x0 0x400>;
                interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
                             <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,