On 2025-05-12 05:57, Leo Liang wrote:
On Sat, Apr 26, 2025 at 04:56:56PM +0000, Yao Zi wrote:
[EXTERNAL MAIL]

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(+)

Reviewed-by: Leo Yu-Chi Liang <[email protected]>

NAK from me. Quoting Emil "The uart0 node already has a reference to the uart0_core clock, so it shouldn't need this property." If SPL does not support the clock framework to do this parent node lookup properly from device-tree then we should not be adjusting the device-tree in this way; use instead the codepath in serial driver that checks a compile-time define.

See for example: https://lore.kernel.org/u-boot/[email protected]/

- E

Reply via email to