From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: [PATCH V2] ARM: dts: DRA7: provide arch-timer frequenecy parameter Date: Tue, 17 Sep 2013 12:01:28 -0500 Message-ID: <1379437288-10831-1-git-send-email-nm@ti.com> References: <5238899D.60903@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <5238899D.60903-l0cyMroinI0@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Benoit Cousson Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, santosh.shilimkar-l0cyMroinI0@public.gmane.org, Nishanth Menon , R Sricharan , Rajendra Nayak , Sourav Poddar List-Id: linux-omap@vger.kernel.org CNTFREQ isn't pre-programmed on DRA7 just like O5, so provide the timer frequency via DT. Without a valid value arch_timer_init results in div0 crash. Cc: R Sricharan Cc: Rajendra Nayak Cc: Sourav Poddar Acked-by: Santosh Shilimkar Signed-off-by: Nishanth Menon --- Based on Benoit's for_3.13/dts branch. http://git.kernel.org/cgit/linux/kernel/git/bcousson/linux-omap-dt.git/log/?h=for_3.13/dts Crash log: http://pastebin.com/B2sDauS9 V2: commit message update V1: https://patchwork.kernel.org/patch/2903261/ arch/arm/boot/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index c98997b..71c2749 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -50,6 +50,7 @@ , , ; + clock-frequency = <6144000>; }; gic: interrupt-controller@48211000 { -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html