The BROM of TH1520 always initializes its clock and configure the
baudrate to 115200. Add a clock-frequency property to provide such
information without introducing CCF to SPL.

Signed-off-by: Yao Zi <[email protected]>
---
 arch/riscv/dts/th1520.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/dts/th1520.dtsi b/arch/riscv/dts/th1520.dtsi
index cbe3481fadd..e4c8cee66bc 100644
--- a/arch/riscv/dts/th1520.dtsi
+++ b/arch/riscv/dts/th1520.dtsi
@@ -175,6 +175,7 @@
                        reg = <0xff 0xe7014000 0x0 0x100>;
                        interrupts = <36 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&uart_sclk>;
+                       clock-frequency = <100000000>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
                        status = "disabled";
-- 
2.49.0

Reply via email to