[PATCH 0/1] Fix RPI5 uart clock when loading kernel with non-boot DT

Bruno Leite brunosampaioleite at gmail.com
Tue Apr 15 10:30:13 CEST 2025


From: Bruno Leite <brule at prevas.dk>


When loading the kernel with a DT that was not used to boot
the rpi (e.g. when using a FIT image), the uart-clk property
that should have been patched by the firmware will be passed
as is to the driver and thus cause the divisor to be set
incorrectly, hence the uart will not work properly. Fix that
by copying the correct uart-clk set by the firmware to the new
DT loaded to be passed to the kernel.


Bruno Leite (1):
  rpi: copy over uart clock-frequency in DT

 board/raspberrypi/rpi/rpi.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.45.2



More information about the U-Boot mailing list