hw/riscv: virt: Use AIA INTC compatible string when available
commitd207863cd3ed056055e2324a4abe47f54e7c6384
authorAnup Patel <anup.patel@wdc.com>
Fri, 4 Feb 2022 17:46:52 +0000 (4 23:16 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Feb 2022 02:24:19 +0000 (16 12:24 +1000)
tree9354f97acb60f2390a5a8b10d9669e0af9afc8b5
parentac4b0302b0ca986a759538f453b44037c7b66dd9
hw/riscv: virt: Use AIA INTC compatible string when available

We should use the AIA INTC compatible string in the CPU INTC
DT nodes when the CPUs support AIA feature. This will allow
Linux INTC driver to use AIA local interrupt CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-17-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/virt.c