From: Maxime Ripard Date: Sun, 11 Jan 2015 19:33:44 +0000 (+0100) Subject: ARM: sun6i: Enable ARM arch timers X-Git-Tag: fixes-v4.0-rc1~86^2~14^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121b96cd9d7e6ec090331c4e7ef1298198bd8522;p=pandora-kernel.git ARM: sun6i: Enable ARM arch timers The A31 has non-initialized architected timers, without CNTFRQ or CNTVOFF set by the Allwinner's bootloader. Use the new DT property for such case, and enable the arch timers. Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 4ae3e2eef679..0c17079b4636 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -87,6 +87,16 @@ }; }; + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + clock-frequency = <24000000>; + arm,cpu-registers-not-fw-configured; + }; + cpus { enable-method = "allwinner,sun6i-a31"; #address-cells = <1>;