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

Andy Yan andyshrk at gmail.com
Mon Apr 29 09:28:37 UTC 2019


Kever Yang <kever.yang at rock-chips.com> 于2019年3月29日周五 下午10:54写道:

> 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(+)
>
> Tested-by: Andy Yan <andy.yan at rock-chips.com>


> 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
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>


More information about the U-Boot mailing list