summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-03-29 22:48:31 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-05-08 17:34:12 +0800
commit615e9b3ccef450cb03a2346a4e505bf6dd2944e5 (patch)
tree85cf2b67e4c6b3bc7e92907438a2113f70eac325
parent6459e7f5880f48f38b64989b166bde44f150e465 (diff)
rockchip: px5: add timer0 dts node as tick timer
Let's use rockchip timer before stimer patches can be merged. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/dts/rk3368-px5-evb-u-boot.dtsi7
1 files changed, 7 insertions, 0 deletions
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@ff810000";
};
};
@@ -60,3 +61,9 @@
&emmc {
u-boot,dm-pre-reloc;
};
+
+&timer0 {
+ u-boot,dm-pre-reloc;
+ clock-frequency = <24000000>;
+ status = "okay";
+};