]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: t210: Enable watchdog from ers-common dtsi file
authorShardar Shariff Md <smohammed@nvidia.com>
Wed, 27 Aug 2014 12:33:24 +0000 (18:03 +0530)
committerTom Cherry <tcherry@nvidia.com>
Sat, 30 Aug 2014 21:59:45 +0000 (14:59 -0700)
By default make watchdog disabled in tegra210.dtsi,
Enable the watchdog from ers-common dtsi file and
also add override entry to enable based on odmdata

Change-Id: I6619f041c3bdd1dce59d0efdd23ead8668ef3423
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
arch/arm64/boot/dts/tegra210-ers-common.dtsi
arch/arm64/boot/dts/tegra210.dtsi

index 3fcfb59cc2772cc5377c7b4a80f8248f4e977c23..7afcee9f0a2ec3f8c1c6ffd005c574ab4f625085 100644 (file)
                vddio_hsic-supply = <&max77620_ldo0>;
                status = "disabled";
        };
+
+       watchdog@60005100 {
+               status = "okay";
+               dt-override-status-odm-data = <0x00010000 0x00010000>;
+       };
 };
index 51efe6c2e1bc2a8c730116224692dce1ad4b1a4c..7ef3875c7ac0d7796518e5de0f89819c6e262151 100644 (file)
                compatible = "nvidia,tegra-wdt";
                reg = <0x0 0x60005100 0x0 0x20              /* WDT0 registers */
                0x0 0x60005070 0x0 0x8>;              /* TMR7 registers */
+               status = "disabled";
        };
 };