ARM: dts: rockchip: disable arm-global-timer for rk3188
authorAlexander Kochetkov <al.kochet@gmail.com>
Tue, 31 Jan 2017 12:43:16 +0000 (15:43 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 7 Apr 2017 14:23:07 +0000 (16:23 +0200)
The clocksource and the sched_clock provided by the arm_global_timer
are quite unstable because their rates depend on the cpu frequency.

On the other side, the arm_global_timer has a higher rating than the
rockchip_timer, it will be selected by default by the time framework
while we want to use the stable rockchip clocksource.

Let's disable the arm_global_timer in order to have the rockchip
clocksource selected by default.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3188.dtsi

index 8428fae..1aff4ad 100644 (file)
 
 &global_timer {
        interrupts = <GIC_PPI 11 0xf04>;
+       status = "disabled";
 };
 
 &local_timer {