From: Philipp Tomsich Date: Fri, 28 Jul 2017 15:46:39 +0000 (+0200) Subject: dts: rk3368: make timer0 accessible for SPL and TPL X-Git-Tag: v2017.09-rc2~5^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc824cc03af5f4f39fed908e508527fcd2e867b9;p=platform%2Fkernel%2Fu-boot.git dts: rk3368: make timer0 accessible for SPL and TPL To use it with the DM timer driver in SPL and TPL, timer0 needs to be marked as pre-reloc. Signed-off-by: Philipp Tomsich Reviewed-by: Simon Glass --- diff --git a/arch/arm/dts/rk3368-lion-u-boot.dtsi b/arch/arm/dts/rk3368-lion-u-boot.dtsi index 2053fb1..6052e8a 100644 --- a/arch/arm/dts/rk3368-lion-u-boot.dtsi +++ b/arch/arm/dts/rk3368-lion-u-boot.dtsi @@ -85,4 +85,9 @@ }; }; +&timer0 { + u-boot,dm-pre-reloc; + clock-frequency = <24000000>; +}; + diff --git a/arch/arm/dts/rk3368.dtsi b/arch/arm/dts/rk3368.dtsi index 22fb7e7..b4f4f61 100644 --- a/arch/arm/dts/rk3368.dtsi +++ b/arch/arm/dts/rk3368.dtsi @@ -687,7 +687,7 @@ status = "disabled"; }; - timer@ff810000 { + timer0: timer@ff810000 { compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer"; reg = <0x0 0xff810000 0x0 0x20>; interrupts = ;