hw/riscv/virt: Add serial alias in DTB
authorVasilis Liaskovitis <vliaskovitis@suse.com>
Thu, 16 Jan 2025 16:10:07 +0000 (17:10 +0100)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 4 Mar 2025 05:42:54 +0000 (15:42 +1000)
commitf73456781bf10a96849e2929488634f61eec8c5c
tree2edcc3d606caaa427dbb0c70e845c919d6927a8b
parent3521f9cadc29c7d68b73b325ddb46a7acebf6212
hw/riscv/virt: Add serial alias in DTB

Add an "aliases" node with a "serial0" entry for the single UART
in the riscv virt machine.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2774
Signed-off-by: Vasilis Liaskovitis <vliaskovitis@suse.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20250116161007.39710-1-vliaskovitis@suse.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/virt.c