timer: sifive_clint: Support the official clint DT bindings
authorBin Meng <bmeng.cn@gmail.com>
Sat, 27 Mar 2021 11:57:35 +0000 (19:57 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Apr 2021 07:37:29 +0000 (15:37 +0800)
commit9c02e50fa10982a9500503a0075307179d481388
tree528a7ef171c0fdab3a87d6d2467036652487e36c
parent8f0dc4cfd106edbb8f8efb4583b33ecd52610e6c
timer: sifive_clint: 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: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/timer/sifive_clint_timer.c