diff mbox series

[v3,5/7] arm64: tegra: Enable native timers on Jetson TX2

Message ID 20200403202209.299823-6-thierry.reding@gmail.com
State New
Headers show
Series clocksource: Add NVIDIA Tegra186 timers support | expand

Commit Message

Thierry Reding April 3, 2020, 8:22 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Enable the native timers on Jetson TX2 to allow using the watchdog
functionality to recover from system hangs, for example.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Dmitry Osipenko April 3, 2020, 9:11 p.m. UTC | #1
03.04.2020 23:22, Thierry Reding пишет:
> From: Thierry Reding <treding@nvidia.com>
> 
> Enable the native timers on Jetson TX2 to allow using the watchdog
> functionality to recover from system hangs, for example.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
> index da96de04d003..9aa17744c4a0 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
> @@ -58,6 +58,10 @@ memory-controller@2c00000 {
>  		status = "okay";
>  	};
>  
> +	timer@3010000 {
> +		status = "okay";
> +	};

Why timer needs to be enabled per-board?
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
index da96de04d003..9aa17744c4a0 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
@@ -58,6 +58,10 @@  memory-controller@2c00000 {
 		status = "okay";
 	};
 
+	timer@3010000 {
+		status = "okay";
+	};
+
 	serial@3100000 {
 		status = "okay";
 	};