Skip to content

Commit

Permalink
[xlnx-versal-virt]: change DT compat string to match vxworks
Browse files Browse the repository at this point in the history
VxWorks looks for "xlnx,versal" compatible string at the top level
node of the device tree to match the compatible string in the versal
board description found in the VxWorks Versal BSP. VxWorks does not
match the "xlnx-versal-virt" compatible string in the qemu generated
device tree for this machine model.

Change the compatible string in the device tree that qemu generates
for the xlnx-versal-virt board to match VxWorks BOARD_DESC for
xilinx versal.

Signed-off-by: Nelson Ho <[email protected]>
  • Loading branch information
ho28 committed Sep 25, 2024
1 parent 02ee127 commit 6a09aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/arm/xlnx-versal-virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static void fdt_create(VersalVirt *s)
qemu_fdt_setprop_cell(s->fdt, "/", "#size-cells", 0x2);
qemu_fdt_setprop_cell(s->fdt, "/", "#address-cells", 0x2);
qemu_fdt_setprop_string(s->fdt, "/", "model", mc->desc);
qemu_fdt_setprop_string(s->fdt, "/", "compatible", "xlnx-versal-virt");
qemu_fdt_setprop_string(s->fdt, "/", "compatible", "xlnx,versal");
}

static void fdt_add_clk_node(VersalVirt *s, const char *name,
Expand Down

0 comments on commit 6a09aca

Please sign in to comment.