[U-Boot] [PATCH 8/8] rockchip: px5: add timer0 dts node as tick timer

Kever Yang kever.yang at rock-chips.com
Fri Mar 29 14:48:31 UTC 2019


Let's use rockchip timer before stimer patches can be merged.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi b/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
index 18b841864c..f5406d4c7e 100644
--- a/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
+++ b/arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
@@ -5,6 +5,7 @@
 / {
 	chosen {
 		u-boot,spl-boot-order = &emmc;
+		tick-timer = "/timer at ff810000";
 	};
 };
 
@@ -60,3 +61,9 @@
 &emmc {
 	u-boot,dm-pre-reloc;
 };
+
+&timer0 {
+	u-boot,dm-pre-reloc;
+	clock-frequency = <24000000>;
+	status = "okay";
+};
-- 
2.20.1



More information about the U-Boot mailing list