projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1f3af
)
hw/arm: versal-virt: Correct the tx/rx GEM clocks
author
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Wed, 9 Sep 2020 17:46:47 +0000
(19:46 +0200)
committer
Peter Maydell
<peter.maydell@linaro.org>
Mon, 14 Sep 2020 13:24:15 +0000
(14:24 +0100)
Correct the GEMs tx/rx clocks to use the 125Mhz fixed-clock.
This matches the setup with the fixed-link 100Mbit PHY.
It also avoids the following warnings from the Linux kernel
driver:
eth0: unable to generate target frequency:
125000000
Hz
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id:
20200909174647
.662864-2-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xlnx-versal-virt.c
patch
|
blob
|
history
diff --git
a/hw/arm/xlnx-versal-virt.c
b/hw/arm/xlnx-versal-virt.c
index 5a01e856fd94d8b1b8ecb9017278dc7b2f825b11..1f9409eb32abdb2f0471043f946849c97577b885 100644
(file)
--- a/
hw/arm/xlnx-versal-virt.c
+++ b/
hw/arm/xlnx-versal-virt.c
@@
-214,7
+214,7
@@
static void fdt_add_gem_nodes(VersalVirt *s)
s->phandle.ethernet_phy[i]);
qemu_fdt_setprop_cells(s->fdt, name, "clocks",
s->phandle.clk_25Mhz, s->phandle.clk_25Mhz,
- s->phandle.clk_
25Mhz, s->phandle.clk_
25Mhz);
+ s->phandle.clk_
125Mhz, s->phandle.clk_1
25Mhz);
qemu_fdt_setprop(s->fdt, name, "clock-names",
clocknames, sizeof(clocknames));
qemu_fdt_setprop_cells(s->fdt, name, "interrupts",