lib/utils: Support the official clint DT bindings
authorBin Meng <bmeng.cn@gmail.com>
Sat, 27 Mar 2021 05:05:25 +0000 (13:05 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 1 Apr 2021 04:56:41 +0000 (10:26 +0530)
commit9190ad12f7053497f2bd06af29f25015f7890278
tree52dc698afe79eaab0dbbcbdbc4583c4cb12ceac4
parentbfc85c70e7517dc633b74e33768247b4df6a661c
lib/utils: Support the official clint DT bindings

Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings")
adds the official DT bindings for CLINT, which uses "sifive,clint0"
as the compatible string. "riscv,clint0" is now legacy and has to
be kept for backward compatibility of legacy systems.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
lib/utils/ipi/fdt_ipi_clint.c
lib/utils/timer/fdt_timer_clint.c