OSDN Git Service

hw/riscv: Support the official CLINT DT bindings
authorBin Meng <bin.meng@windriver.com>
Fri, 30 Apr 2021 07:12:57 +0000 (15:12 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 7 Jun 2021 23:59:42 +0000 (09:59 +1000)
commit7cfbb17f023dc014d366b2f30af852aa62a5c3b1
tree807de7885510cc5ad2b76972acea1f572342432f
parent2cc04550ac222237b979b5a45679ff746fc99a46
hw/riscv: 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 <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-3-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/sifive_u.c
hw/riscv/spike.c
hw/riscv/virt.c