]> git.proxmox.com Git - mirror_qemu.git/commit - hw/riscv/sifive_u.c
riscv: sifive_u: Change UART node name in device tree
authorBin Meng <bmeng.cn@gmail.com>
Fri, 6 Sep 2019 16:20:13 +0000 (09:20 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 17 Sep 2019 15:42:48 +0000 (08:42 -0700)
commit5f7134d3b34955d1e99780b27ea0844ff7f778e2
treeadf4c0a519678af1b8716729af002747e25c7cbb
parent4b55bc2b5f7ff065da5d2b813ee5153c598d3764
riscv: sifive_u: Change UART node name in device tree

OpenSBI for fu540 does DT fix up (see fu540_modify_dt()) by updating
chosen "stdout-path" to point to "/soc/serial@...", and U-Boot will
use this information to locate the serial node and probe its driver.
However currently we generate the UART node name as "/soc/uart@...",
causing U-Boot fail to find the serial node in DT.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/sifive_u.c