RPI bootloader sets `clocks/clk-uart/clock-frequency` in the DTB
to this value. Set it accordingly to get a working debug UART
at 115200 baud.

Signed-off-by: Andrei Lalaev <[email protected]>
---
 arch/arm/dts/bcm2712-rpi.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/bcm2712-rpi.dtsi b/arch/arm/dts/bcm2712-rpi.dtsi
index 9ca671d8df7b..e58138512194 100644
--- a/arch/arm/dts/bcm2712-rpi.dtsi
+++ b/arch/arm/dts/bcm2712-rpi.dtsi
@@ -3,3 +3,7 @@
 / {
        barebox,deep-probe;
 };
+
+&clk_uart {
+       clock-frequency = <44236800>;
+};

-- 
2.55.0


Reply via email to