rockchip: px5: add timer0 dts node as tick timer
authorKever Yang <kever.yang@rock-chips.com>
Fri, 29 Mar 2019 14:48:31 +0000 (22:48 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 8 May 2019 09:34:12 +0000 (17:34 +0800)
Let's use rockchip timer before stimer patches can be merged.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi

index 18b841864cc5cc850abfa4dd7c868bca484e2b8a..f5406d4c7e1fbf221dd157da1d7e4f6752e97175 100644 (file)
@@ -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";
+};