From f838f124522ea4fb5202c1b584b4706aa48ee144 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Fri, 13 Nov 2015 00:11:17 -0800 Subject: 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 Acked-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/sandbox/dts/sandbox.dts') 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 { -- cgit