summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/dts
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-11-13 00:11:17 -0800
committerSimon Glass <sjg@chromium.org>2015-12-01 06:23:51 -0700
commitf838f124522ea4fb5202c1b584b4706aa48ee144 (patch)
treea95f0a80de4de52db5f515b0010650e9d5807249 /arch/sandbox/dts
parent9e360a5c9cac27c40547bc2e0b81bbadeffb3ca2 (diff)
downloadtalos-obmc-uboot-f838f124522ea4fb5202c1b584b4706aa48ee144.tar.gz
talos-obmc-uboot-f838f124522ea4fb5202c1b584b4706aa48ee144.zip
timer: sandbox: Use device tree to pass the clock frequency
We should use device tree to pass the clock frequency of the timer instead of hardcoded in the driver codes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts')
-rw-r--r--arch/sandbox/dts/sandbox.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index 720ef932ff..d2addb4cf0 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -179,6 +179,7 @@
timer {
compatible = "sandbox,timer";
+ clock-frequency = <1000000>;
};
tpm {
OpenPOWER on IntegriCloud