From b9b32798e74505c8d0e473005819088e3d54af40 Mon Sep 17 00:00:00 2001 From: Antony Arun T Date: Tue, 14 May 2019 13:28:15 +0530 Subject: [PATCH] ipq6018: fixing timer frequency Change-Id: I9a93603e3414d41d1f6b7a56e0e0d52b360b7967 Signed-off-by: Antony Arun T --- arch/arm/dts/ipq6018-emulation.dts | 4 ++++ arch/arm/dts/ipq6018-soc.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/ipq6018-emulation.dts b/arch/arm/dts/ipq6018-emulation.dts index b1fb19a55a..be7d1b9670 100644 --- a/arch/arm/dts/ipq6018-emulation.dts +++ b/arch/arm/dts/ipq6018-emulation.dts @@ -150,4 +150,8 @@ qcom,emulation = <1>; }; + timer { + gpt_freq_hz = <240000>; + }; + }; diff --git a/arch/arm/dts/ipq6018-soc.dtsi b/arch/arm/dts/ipq6018-soc.dtsi index 8edde413f2..f10b3bada4 100644 --- a/arch/arm/dts/ipq6018-soc.dtsi +++ b/arch/arm/dts/ipq6018-soc.dtsi @@ -48,7 +48,7 @@ timer { gcnt_cntcv_lo = <0x4a2000>; gcnt_cntcv_hi = <0x4a2004>; - gpt_freq_hz = <240000>; + gpt_freq_hz = <24000000>; timer_load_val = <0x00FFFFFF 0xFFFFFFFF>; };