| Message ID | 20261105065345.966691-5-maobibo@loongson.cn |
|---|---|
| State | New |
| Headers | show |
| Series | [PULL,01/13] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* | expand |
diff --git a/hw/loongarch/virt-fdt-build.c b/hw/loongarch/virt-fdt-build.c index c6f5d022c5..7be71e2d7a 100644 --- a/hw/loongarch/virt-fdt-build.c +++ b/hw/loongarch/virt-fdt-build.c @@ -474,7 +474,7 @@ static void fdt_add_uart_node(LoongArchVirtMachineState *lvms, qemu_fdt_add_subnode(ms->fdt, nodename); qemu_fdt_setprop_string(ms->fdt, nodename, "compatible", "ns16550a"); qemu_fdt_setprop_cells(ms->fdt, nodename, "reg", 0x0, base, 0x0, size); - qemu_fdt_setprop_cell(ms->fdt, nodename, "clock-frequency", 100000000); + qemu_fdt_setprop_cell(ms->fdt, nodename, "clock-frequency", 1843200); if (chosen) { qemu_fdt_setprop_string(ms->fdt, "/chosen", "stdout-path", nodename); }