rockchip: dts: rk3368-lion: add /chosen/tick-timer
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 11 Sep 2017 20:04:26 +0000 (22:04 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 18 Sep 2017 18:40:36 +0000 (20:40 +0200)
To support bootstage recording, we want to mark our DM timer as the
tick-timer; this triggers the support for 'trying harder' to read the
timer in the Rockchip DM timer driver, even if the device model isn't
ready yet.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3368-lion-u-boot.dtsi

index 6052e8a8d38926ed2ccf92a3b04c5e1792134a87..1ec7d254af976f16f7d34ec505afc43158b8f266 100644 (file)
@@ -13,6 +13,7 @@
        chosen {
                stdout-path = "serial0:115200n8";
                u-boot,spl-boot-order = &emmc, &sdmmc;
+               tick-timer = "/timer@ff810000";
        };
 
 };
@@ -88,6 +89,7 @@
 &timer0 {
        u-boot,dm-pre-reloc;
        clock-frequency = <24000000>;
+       status = "okay";
 };