aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2015-06-17 10:33:33 +0100
committerJon Medhurst <tixy@linaro.org>2016-10-25 18:31:42 +0100
commitc0d05e2f013cf298d294e3eb192bf42c493f8ae4 (patch)
tree6a0b4c0120aecbbfcd8722cf8249d49eebdac19d
parentf13dd0428ac0e91141fe2e92b7f900f2af313c9f (diff)
arm64: juno: Enable memory mapped timer for Juno r0
Add arm,cnttidr value for timer because the register is not accessible from non-secure mode on Juno r0. This means we can now use the timer so don't mark it 'disabled'. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--arch/arm64/boot/dts/arm/juno-base.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index fd63d90446f5..d293cb3d06ad 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -5,11 +5,11 @@
memtimer: timer@2a810000 {
compatible = "arm,armv7-timer-mem";
reg = <0x0 0x2a810000 0x0 0x10000>;
+ arm,cnttidr = <0x1>;
clock-frequency = <50000000>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
- status = "disabled";
frame@2a830000 {
frame-number = <1>;
interrupts = <0 60 4>;